[FFmpeg-devel] ffmpeg -h coredumps

Frank Liu gfrankliu
Sat Mar 1 19:57:41 CET 2008

Just tried today's ffmpeg svn on Solaris 10. All compiles good and a
few test of video conversions work fine.

But a simple "ffmpeg -h" gives me core dump

gdb -c core ffmpeg_g -h

Core was generated by `./ffmpeg_g -h'.
Program terminated with signal 11, Segmentation fault.
#0  0xff0b0c90 in strlen () from /lib/libc.so.1
(gdb) bt
#0  0xff0b0c90 in strlen () from /lib/libc.so.1
#1  0xff116248 in _ndoprnt () from /lib/libc.so.1
#2  0xff118724 in vfprintf () from /lib/libc.so.1
#3  0x00542cb8 in av_log (avcl=0x0, level=1, fmt=0x608600 "%s AVOptions:\n")
    at /app/src/ffmpeg/ffmpeg-svn/libavutil//log.c:60
#4  0x000f1af8 in av_opt_show (obj=0x8687c0, av_log_obj=0x0)
    at /app/src/ffmpeg/ffmpeg-svn/libavcodec//opt.c:374
#5  0x0002caa4 in opt_show_help () at /app/src/ffmpeg/ffmpeg-svn//ffmpeg.c:3524
#6  0x00037aa4 in parse_options (argc=2, argv=0xffbffc1c, options=0x5ecc0c,
    parse_arg_function=0x30114 <opt_output_file>)
    at /app/src/ffmpeg/ffmpeg-svn//cmdutils.c:136
#7  0x00034e10 in main (argc=2, argv=0xffbffc1c)
    at /app/src/ffmpeg/ffmpeg-svn//ffmpeg.c:3929
(gdb) quit

$ ./ffmpeg_g -version
FFmpeg version SVN-r12287, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --prefix=/app/src/ffmpeg/pkg --disable-shared
--enable-libmp3lame --enable-libfaad --enable-libfaac
--enable-pthreads --enable-gpl --enable-libamr-nb --enable-libamr-wb
--disable-ffserver --disable-ffplay --enable-nonfree
  libavutil version: 49.6.0
  libavcodec version: 51.50.1
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Mar  1 2008 10:48:04, gcc: 4.2.0 (gccfss)
FFmpeg SVN-r12287
libavutil   3212800
libavcodec  3355137
libavformat 3409664
libavdevice 3407872

More information about the ffmpeg-devel mailing list