Re: [FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option

2013-05-22 Thread FFmpeg
#2598: ffmpeg hangs when given any invalid option
+--
 Reporter:  191919  |Owner:
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  FFmpeg
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by cehoyos):

 Please provide backtrace etc. as explained on
 http://ffmpeg.org/bugreports.html to make this a valid ticket.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/2598#comment:2
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option

2013-05-22 Thread FFmpeg
#2598: ffmpeg hangs when given any invalid option
+--
 Reporter:  191919  |Owner:
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  FFmpeg
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by cehoyos):

 Replying to [ticket:2598 191919]:
  {{{
  % ffmpeg -aaa bbb
  ffmpeg version N-54349-g714aacc
  }}}

 The current version is 53346, and git doesn't know about 714aacc so I
 suggest you test ''FFmpeg'' first.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/2598#comment:3
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option

2013-05-22 Thread FFmpeg
#2598: ffmpeg hangs when given any invalid option
+--
 Reporter:  191919  |Owner:
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  FFmpeg
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by 191919):

 This is what I got by running OS X's sample utility. It looked like there
 was an infinite loop in the code to match the codec.

 {{{
 Sampling process 990 for 10 seconds with 1 millisecond of run time between
 samples
 Sampling completed, processing symbols...
 Sample analysis of process 990 written to file
 /tmp/ffmpeg_2013-05-22_182323_uh3s.sample.txt

 Analysis of sampling ffmpeg (pid 990) every 1 millisecond
 Process: ffmpeg [990]
 Path:/usr/local/bin/ffmpeg
 Load Address:0x10cb5a000
 Identifier:  ffmpeg
 Version: ??? (???)
 Code Type:   X86-64 (Native)
 Parent Process:  bash [987]

 Date/Time:   2013-05-22 18:23:23.995 +0800
 OS Version:  Mac OS X 10.8.3 (12D78)
 Report Version:  7

 Call graph:
 9166 Thread_48551   DispatchQueue_1: com.apple.main-thread  (serial)
   9137 start  (in libdyld.dylib) + 1  [0x7fff8900f7e1]
   + 9137 main  (in ffmpeg) + 191  [0x10cb6e91f]
   +   9137 ffmpeg_parse_options  (in ffmpeg) + 121  [0x10cb5dd69]
   + 9137 split_commandline  (in ffmpeg) + 1117  [0x10cb7309d]
   +   9137 opt_default  (in ffmpeg) + 317  [0x10cb7142d]
   + 8407 av_opt_find2  (in libavutil.52.dylib) + 295
 [0x10dc1f1b7]
   + ! 2665 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86922  [0x10ccdb922]
   + ! : 2665 av_iformat_next  (in libavformat.55.dylib) +
 23,16,...  [0x10cd18a17,0x10cd18a10,...]
   + ! 2477 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x8691a  [0x10ccdb91a]
   + ! 737 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86910  [0x10ccdb910]
   + ! 700 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86925  [0x10ccdb925]
   + ! 627 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x8693e  [0x10ccdb93e]
   + ! : 627 av_oformat_next  (in libavformat.55.dylib) +
 23,16,...  [0x10cd18a37,0x10cd18a30,...]
   + ! 575 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86936  [0x10ccdb936]
   + ! 167 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86930  [0x10ccdb930]
   + ! 91 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86991  [0x10ccdb991]
   + ! : 91 av_oformat_next  (in libavformat.55.dylib) +
 23,0,...  [0x10cd18a37,0x10cd18a20,...]
   + ! 71 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86922  [0x10ccdb922]
   + ! 51 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x8692a  [0x10ccdb92a]
   + ! 47 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86970  [0x10ccdb970]
   + ! 47 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86984  [0x10ccdb984]
   + ! 29 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86973  [0x10ccdb973]
   + ! 17 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86939  [0x10ccdb939]
   + ! 17 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x8698c  [0x10ccdb98c]
   + ! 16 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x8693e  [0x10ccdb93e]
   + ! 14 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86980  [0x10ccdb980]
   + ! 13 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86966  [0x10ccdb966]
   + ! 8 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86987  [0x10ccdb987]
   + ! 7 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86969  [0x10ccdb969]
   + ! 6 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x8692c  [0x10ccdb92c]
   + ! 5 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x868f0  [0x10ccdb8f0]
   + ! 5 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x8691d  [0x10ccdb91d]
   + ! 4 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x868f2  [0x10ccdb8f2]
   + ! 3 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x868fc  [0x10ccdb8fc]
   + ! 3 ???  (in libavformat.55.dylib)  load address
 0x10cc55000 + 0x86998  [0x10ccdb998]
   + ! 2 ???  (in 

Re: [FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option

2013-05-22 Thread FFmpeg
#2598: ffmpeg hangs when given any invalid option
+--
 Reporter:  191919  |Owner:
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  FFmpeg
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by cehoyos):

 Could you elaborate on the strange version information that your
 executable provides? Where did you get the sources from?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/2598#comment:5
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option

2013-05-22 Thread FFmpeg
#2598: ffmpeg hangs when given any invalid option
+--
 Reporter:  191919  |Owner:
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  FFmpeg
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by 191919):

 I got it from `git://source.ffmpeg.org/ffmpeg`. Anything wrong?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/2598#comment:6
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option

2013-05-22 Thread FFmpeg
#2598: ffmpeg hangs when given any invalid option
+--
 Reporter:  191919  |Owner:
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  FFmpeg
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by cehoyos):

 As said the version number is too high and git does not know {{{714aacc}}}
 indicating that you are not using (vanilla) FFmpeg from source.ffmpeg.org.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/2598#comment:7
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option

2013-05-22 Thread FFmpeg
#2598: ffmpeg hangs when given any invalid option
+--
 Reporter:  191919  |Owner:
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  FFmpeg
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by 191919):

 I have recloned ffmpeg source from `git://source.ffmpeg.org/ffmpeg` (I
 guess SourceTree messed up the version number). The problem is still
 reproducible.

 {{{
 ~/ffmpeg$ ffmpeg -aaa bbb
 ffmpeg version N-53359-gc54a156 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on May 23 2013 12:21:45 with llvm-gcc 4.2.1 (LLVM build
 2336.11.00)
   configuration: --enable-shared --disable-static --enable-libx264
 --enable-libfaac --enable-gpl --enable-nonfree --enable-libmp3lame
 --enable-libopus --enable-libaacplus
   libavutil  52. 33.100 / 52. 33.100
   libavcodec 55. 10.101 / 55. 10.101
   libavformat55.  7.100 / 55.  7.100
   libavdevice55.  1.101 / 55.  1.101
   libavfilter 3. 69.100 /  3. 69.100
   libswscale  2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc52.  3.100 / 52.  3.100
 ^C^C^CReceived signal 2: terminating.
 }}}

 The output of OS X's `sample` utility is identical as before.

 Since Apple doesn't provide gcc as their compiler, I had to switch to the
 clang's svn version.

 {{{
 ~/ffmpeg$ /opt/bin/clang -v
 clang version 3.4 (trunk 182231)
 Target: x86_64-apple-darwin12.3.0
 Thread model: posix
 }}}

 This time:

 {{{
 ~/ffmpeg$ ffmpeg -aaa bbb
 ffmpeg version N-53359-gc54a156 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on May 23 2013 12:32:49 with clang version 3.4 (trunk 182231)
   configuration: --enable-shared --disable-static --enable-libx264
 --enable-libfaac --enable-gpl --enable-nonfree --enable-libmp3lame
 --enable-libopus --enable-libaacplus --cc=/opt/bin/clang
   libavutil  52. 33.100 / 52. 33.100
   libavcodec 55. 10.101 / 55. 10.101
   libavformat55.  7.100 / 55.  7.100
   libavdevice55.  1.101 / 55.  1.101
   libavfilter 3. 69.100 /  3. 69.100
   libswscale  2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc52.  3.100 / 52.  3.100
 Unrecognized option 'aaa'.
 Error splitting the argument list: Option not found
 }}}

 So the conclusion: it was a bug of Xcode compiler. I will commit a bug to
 their bug tracker and will try to find which caused the problem.

 Thank you all guys.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/2598#comment:8
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


[FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option

2013-05-21 Thread FFmpeg
#2598: ffmpeg hangs when given any invalid option
+--
 Reporter:  191919  | Type:  defect
   Status:  new | Priority:  important
Component:  FFmpeg  |  Version:  git-master
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--
 Summary of the bug:
 ffmpeg hangs when given any invalid option

 How to reproduce:
 {{{
 % ffmpeg -aaa bbb
 ffmpeg version N-54349-g714aacc Copyright (c) 2000-2013 the FFmpeg
 developers
   built on May 22 2013 09:34:58 with llvm-gcc 4.2.1 (LLVM build
 2336.11.00)
   configuration: --enable-shared --disable-static --enable-libx264
 --enable-libfaac --enable-gpl --enable-nonfree --enable-libmp3lame
 --enable-libopus --enable-libaacplus
   libavutil  52. 33.100 / 52. 33.100
   libavcodec 55. 10.101 / 55. 10.101
   libavformat55.  7.100 / 55.  7.100
   libavdevice55.  1.100 / 55.  1.100
   libavfilter 3. 68.103 /  3. 68.103
   libswscale  2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc52.  3.100 / 52.  3.100
 ^C^C^CReceived signal 2: terminating.
 }}}

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/2598
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option

2013-05-21 Thread FFmpeg
#2598: ffmpeg hangs when given any invalid option
+--
 Reporter:  191919  |Owner:
 Type:  defect  |   Status:  new
 Priority:  important   |Component:  FFmpeg
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by ubitux):

 I think this is a bug in the Mac LLVM. Can you try with another compiler?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/2598#comment:1
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac