[MPlayer-users] [BUG] a realmedia video crashes MPlayer

陆然 hephooey at gmail.com
Tue Jul 25 05:54:08 CEST 2006


Hi,

On Tuesday 25 July 2006 11:35, RC wrote:
> It crashes just fine, actually.  It just doesn't exit.  That's more than
> enough to get a gdb backtrace and such as bugreports.html explains.

Yes, I studied the video a little more, it crashed because a "*** glibc 
detected *** /usr/local/mplayer/bin/mplayer: malloc(): memory corruption: 
0x0889deb8 ***", and backtrace suggest it crashed in the new_demux_packet() 
in demuxer.h:

demux_packet_t* dp=(demux_packet_t*)malloc(sizeof(demux_packet_t));

Since this line is perfectly fine I think the memory corruption happened 
before the call of the function, and there are some warning message about 
assemble subpacket before the crash, indicate the data is corrupted.

BTW, crash but not exit is nasty enough, especially when the user watch a 
video in fullscreen ;)

-- 
Best Regards,
LR



More information about the MPlayer-users mailing list