[MPlayer-users] mplayer crashes on subtitles (fetched today from cvs/head)

Arkadiusz Miskiewicz misiek at pld.ORG.PL
Sat Jan 4 18:44:15 CET 2003


When playing any film with subtitles (well, tested few only) mplayer crashes.

Playing Amadeus.cd1.avi
AVI file format detected.
VIDEO:  [XVID]  608x256  24bpp  25,00 fps  1029,9 kbps (125,7 kbyte/s)
Clip info:
 Software: Nandub v1.0rc2
 Name: Amadeus Special Edition: The Director's Cut
 Subject: Amadeus Special Edition: The Director's Cut
 Artist: RARE *CZ*
 Copyright: 
 Comments: 
SUB: Detected sub file: Amadeus.cd1.txt
SUB: Detected subtitle file format: microdvd
SUB: Read 845 subtitles.
SUB: Adjusted 109 subtitle(s).

ElectricFence Aborting: free(42f52f30): address not from malloc().

Program received signal SIGILL, Illegal instruction.
0x4065f4e1 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x4065f4e1 in kill () from /lib/libc.so.6
#1  0x4002de56 in Page_Size () from /usr/lib/libefence.so.0
#2  0x4002e0d2 in EF_Abortv () from /usr/lib/libefence.so.0
#3  0x4002e102 in EF_Abort () from /usr/lib/libefence.so.0
#4  0x4002d947 in free () from /usr/lib/libefence.so.0
#5  0x080840d4 in sub_read_file (filename=0x421f6fe8 "Amadeus.cd1.txt", fps=25) at subreader.c:1260
#6  0x0807256b in main (argc=2, argv=0xbffff8c4) at mplayer.c:1364
#7  0x4064ba24 in __libc_start_main () from /lib/libc.so.6
(gdb) frame 5
#5  0x080840d4 in sub_read_file (filename=0x421f6fe8 "Amadeus.cd1.txt", fps=25) at subreader.c:1260
1260            free(&first[j]);
(gdb) 

Commenting out
    for (j = sub_orig - 1; j >= 0; --j) {
        for (i = first[j].lines - 1; i >= 0; --i) {
            free(first[j].text[i]);
        }
//      free(&first[j]);
    }

helps.

-- 
Arkadiusz Miśkiewicz    CS at FoE, Wroclaw University of Technology
arekm at sse.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux



More information about the MPlayer-users mailing list