[MPlayer-users] Mplayer crashes while playing DVD

JonY 10walls at gmail.com
Thu Aug 30 17:40:59 CEST 2007


Hi,

I am using MPlayer dev-SVN-r24302-4.2.1 on Windows MingW. When I pressed 
the "@" button to skip to the next chapter of the DVD, Mplayer crashed.

Unfortunately I do not know how to use GDB, maybe somebody can at least 
tell me what went wrong. Is it caused by a bad DVD?

(gdb) r
Starting program: mplayer.exe dvd://2

Program received signal SIGSEGV, Segmentation fault.
control (stream=0x2e28098, cmd=2, arg=0x22eb44) at stream_dvd.c:572
572         pgc = vts_file->vts_pgcit->pgci_srp[ptt.pgcn-1].pgc;
(gdb) bt
#0  control (stream=0x2e28098, cmd=2, arg=0x22eb44) at stream_dvd.c:572
#1  0x004da710 in demuxer_seek_chapter (demuxer=0x2e78008, chapter=1, 
mode=0,
     seek_pts=0x22ebdc, num_chapters=0x22ebe4, chapter_name=0x22ebe8)
     at demuxer.c:1150
#2  0x0040ec8c in run_command (mpctx=0xa5f2f0, cmd=0x2e7b4c0) at 
command.c:2722
#3  0x00405ee1 in main (argc=2, argv=0x3f5830) at mplayer.c:3507
(gdb) list
567
568         if(chapter < 0 || chapter > 
vts_file->vts_ptt_srpt->title[title_no].nr_of_ptts-1) //no such chapter
569            return 0;
570
571         ptt = vts_file->vts_ptt_srpt->title[title_no].ptt[chapter];
572         pgc = vts_file->vts_pgcit->pgci_srp[ptt.pgcn-1].pgc;
573
574         cell = pgc->program_map[ptt.pgn - 1] - 1;
575         pos = (off_t) pgc->cell_playback[cell].first_sector * 2048;
576         mp_msg(MSGT_OPEN,MSGL_V,"\r\nSTREAM_DVD, seeked to chapter: 
%d, cell: %u, pos: %"PRIu64"\n",
(gdb) k
(gdb) q

It didn't crash when I played title 1 or if I used the PageUp button to 
skip ahead. What should I do next?




More information about the MPlayer-users mailing list