[MPlayer-advusers] [BUGREPORT] twolame crash

Nico Sabbi nicola_sabbi at fastwebnet.it
Tue Oct 3 23:38:23 CEST 2006


RC wrote:

>This is a sneaky bug...  Twolame works on it's own, but when both it and
>toolame are compiled-in, -oac toolame works, while -oac twolame
>instantly segfaults.  
>
>I've been seeing it since twolame support was added.  Obviously a low
>priority.
>
>gdb output attached.
>  
>
>  
>
>Program received signal SIGSEGV, Segmentation fault.
>[Switching to Thread 16384 (LWP 9111)]
>0x084f9886 in toolame_getBitrate (glopts=0x0) at toolame.c:677
>677     toolame.c: No such file or directory.
>        in toolame.c
>(gdb) bt 
>#0  0x084f9886 in toolame_getBitrate (glopts=0x0) at toolame.c:677
>#1  0x08500c74 in available_bits (header=0x88d5670, glopts=0x0)
>    at availbits.c:43
>#2  0x402cf922 in encode_frame (glopts=0x88d5670, bs=0x88ea308)
>    at twolame.c:448
>#3  0x402cf39f in twolame_encode_buffer_interleaved (glopts=0x88d5670, 
>    pcm=0x88e48d0, num_samples=0, mp2buffer=0x40ae9008 "", 
>    mp2buffer_size=1048576) at twolame.c:727
>#4  0x080d5cfe in encode_twolame (encoder=0x0, dest=0x40ae9008 "", src=0x0, 
>    len=4608, max_size=1048576) at ae_twolame.c:89
>#5  0x080a74cf in main (argc=0, argv=0x0) at mencoder.c:1176
>(gdb) disass $pc-32 $pc+32
>  
>

last I checked there was a name clash between toolame and twolame



More information about the MPlayer-advusers mailing list