[MPlayer-dev-eng] [BUG] -alang + AVI = 10l

Gabucino gabucino at mplayer.dev.hu
Fri Mar 29 21:09:03 CET 2002


MPlayer segfaults when specifying -alang for an AVI file. Originally
reported by someone on the -users list.

(gdb) run -v ~/Media/Movie/Neon_Genesis_Evangelion-OP.avi -alang hu
Starting program: /home/gabucino/mplayer/src/mplayer -v ~/Media/Movie/Neon_Genesis_Evangelion-OP.avi -alang hu
[New Thread 1024 (LWP 22250)]


MPlayer CVS-020329-20:47-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
/home/gabucino/.mplayer/config(1): option: vo
/home/gabucino/.mplayer/config(1): parameter: xmga
/home/gabucino/.mplayer/config(2): option: fs
/home/gabucino/.mplayer/config(2): parameter: igen
/home/gabucino/.mplayer/config(6): option: osdlevel
/home/gabucino/.mplayer/config(6): parameter: 1
/home/gabucino/.mplayer/config(7): option: framedrop
/home/gabucino/.mplayer/config(7): parameter: nem
/home/gabucino/.mplayer/config(8): option: autoq
/home/gabucino/.mplayer/config(8): parameter: 100
/home/gabucino/.mplayer/config(11): option: cache
/home/gabucino/.mplayer/config(11): parameter: 1024
Reading /home/gabucino/.mplayer/codecs.conf: 30 audio & 80 video codecs
CommandLine: '-v' '/home/gabucino/Media/Movie/Neon_Genesis_Evangelion-OP.avi' '-alang' 'hu'
get_path('font/font.desc') -> '/home/gabucino/.mplayer/font/font.desc'
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/gabucino/.mplayer/input.conf'
Parsing input config file /home/gabucino/.mplayer/input.conf
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds
Playing /home/gabucino/Media/Movie/Neon_Genesis_Evangelion-OP.avi
Can't open IFO file: No such file or directory
Not an URL!
File size is 15527936 bytes

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 22250)]
0x813fb5f in dvd_aid_from_lang (stream=0x8305900, lang=0x82fcc20 "hu")
    at open.c:507
507         for(i=0;i<d->nr_of_channels;i++){
(gdb) bt
#0  0x813fb5f in dvd_aid_from_lang (stream=0x8305900, lang=0x82fcc20 "hu")
    at open.c:507
#1  0x80694d8 in main (argc=5, argv=0xbffff934, envp=0xbffff94c)
    at mplayer.c:1001
#2  0x405a6906 in __libc_start_main () from /lib/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x813fb3f to 0x813fb7f:
0x813fb3f <dvd_aid_from_lang+19>:       inc    %ebp
0x813fb40 <dvd_aid_from_lang+20>:       cld    
0x813fb41 <dvd_aid_from_lang+21>:       
    jmp    0x813fbcb <dvd_aid_from_lang+159>
0x813fb46 <dvd_aid_from_lang+26>:       movzbl 0x1(%ecx),%eax
0x813fb4a <dvd_aid_from_lang+30>:       movzbl (%ecx),%edx
0x813fb4d <dvd_aid_from_lang+33>:       mov    %edx,%ebx
0x813fb4f <dvd_aid_from_lang+35>:       mov    %edx,0xfffffff4(%ebp)
0x813fb52 <dvd_aid_from_lang+38>:       mov    0xfffffffc(%ebp),%edx
0x813fb55 <dvd_aid_from_lang+41>:       shl    $0x8,%ebx
0x813fb58 <dvd_aid_from_lang+44>:       or     %eax,%ebx
0x813fb5a <dvd_aid_from_lang+46>:       xor    %edi,%edi
0x813fb5c <dvd_aid_from_lang+48>:       mov    %eax,0xfffffff8(%ebp)
0x813fb5f <dvd_aid_from_lang+51>:       mov    0x430(%edx),%eax
0x813fb65 <dvd_aid_from_lang+57>:       cmp    %eax,%edi
0x813fb67 <dvd_aid_from_lang+59>:       
    jge    0x813fbb8 <dvd_aid_from_lang+140>
0x813fb69 <dvd_aid_from_lang+61>:       xor    %esi,%esi
0x813fb6b <dvd_aid_from_lang+63>:       nop    
0x813fb6c <dvd_aid_from_lang+64>:       lea    0x0(%esi,1),%esi
0x813fb70 <dvd_aid_from_lang+68>:       mov    0xfffffffc(%ebp),%edx
0x813fb73 <dvd_aid_from_lang+71>:       cmp    %ebx,0x438(%esi,%edx,1)
0x813fb7a <dvd_aid_from_lang+78>:       
    jne    0x813fbb0 <dvd_aid_from_lang+132>
0x813fb7c <dvd_aid_from_lang+80>:       mov    0xfffffff8(%ebp),%eax
End of assembler dump.

-- 
Gabucino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020329/b7491450/attachment.pgp>


More information about the MPlayer-dev-eng mailing list