[MPlayer-users] BUG: mencoder -include segfaults
Brian J. Murrell
4984cdac03160e27b24fc0ce3b4148af at interlinx.bc.ca
Wed Jan 8 18:12:12 CET 2003
mencoder from latest CVS segfaults if you use "-include" with
particular options. My file contents:
oac= mp3lame
lameopts= abr:br=128:mode=1
ovc= lavc
lavcopts= vcodec=mpeg4:aspect=1.3333:vbitrate=3000
and here is what happens when I run mencoder with it. Also, below, is
the stack trace of the segfault.
$ gdb mencoder
(gdb) run -include mencoder.rc -o "foonc.avi" "foonc.qt"
Starting program: /usr/src/mplayer/mencoder -include mencoder.rc -o "foonc.avi" "foonc.qt"
[New Thread 16384 (LWP 3143)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder CVS-030105-04:00-3.2.1 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Reading /home/brian/.mplayer/codecs.conf: 43 audio & 110 video codecs
File not found: 'frameno.avi'
Reading config file /home/brian/.mplayer/mencoder: No such file or directory
Reading config file mencoder.rc
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 3143)]
0x40402e25 in strcasecmp () from /lib/i686/libc.so.6
(gdb) where
#0 0x40402e25 in strcasecmp () from /lib/i686/libc.so.6
#1 0x08076813 in parse_flag (opt=0x823aa38, name=0x401a6230 "d\234K at d\226K@ MK@", param=0x0, dst=0x830e270, src=0) at m_option.c:58
#2 0x080761b9 in m_config_parse_option (config=0x830de58, arg=0x0, param=0x0, set=1) at m_option.h:187
#3 0x080762b9 in m_config_parse_option (config=0x830de58, arg=0xbfffe0b4 "oac:mp3lame", param=0xbfffe140 "mp3lame", set=1) at m_config.c:248
#4 0x08076429 in m_config_set_option (config=0x401a6230, arg=0xbfffe1b0 "oac", param=0xbfffe140 "mp3lame") at m_config.c:273
#5 0x080785d7 in m_config_parse_config_file (config=0x830de58, conffile=0x8327d90 "mencoder.rc") at parser-cfg.c:190
#6 0x080778cd in set_func_param (opt=0x823ac20, dst=0x80622a0, src=0x401a6230) at m_option.c:691
#7 0x080761fc in m_config_parse_option (config=0x830de58, arg=0x80622a0 "U¡à?0\b\211å\211E\bÉéß^\001", param=0xbffff8fe "mencoder.rc", set=1) at m_option.h:207
#8 0x08076429 in m_config_set_option (config=0x401a6230, arg=0xbffff8f6 "include", param=0xbffff8fe "mencoder.rc") at m_config.c:273
#9 0x08083a97 in m_config_parse_me_command_line () at parser-mecmd.c:123
#10 0x08062792 in main (argc=1075470896, argv=0x401a6230) at mencoder.c:401
#11 0x4039cb17 in __libc_start_main () from /lib/i686/libc.so.6
b.
--
Brian J. Murrell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030108/fc2abba2/attachment.pgp>
More information about the MPlayer-users
mailing list