[FFmpeg-trac] #2598(FFmpeg:new): ffmpeg hangs when given any invalid option
FFmpeg
trac at avcodec.org
Thu May 23 06:36:02 CEST 2013
#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
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 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
libpostproc 52. 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
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 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
libpostproc 52. 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
More information about the FFmpeg-trac
mailing list