Hello, MPlayer crashes reproducibly trying to seek to a chapter in a multi-VTS DVD if the title provided on the command line is greater than 1. Seeking to chapters (both using command line and "@" / "!") in a DVD with a single VTS or playing dvd://1 in a multi-VTS DVD is fine. The crash is not specific to r28207, it is not a new issue. MPlayer is built with the internal libdvdread, the corresponding part of config.h: /* DVD/VCD/CD */ #define DEFAULT_CDROM_DEVICE "/dev/cdrom" #define DEFAULT_DVD_DEVICE "/dev/dvd" #define CONFIG_CDDB #undef DVD_STRUCT_IN_SYS_CDIO_H #define CONFIG_CDDA #define DVD_STRUCT_IN_LINUX_CDROM_H 1 #undef DVD_STRUCT_IN_DVD_H #define HAVE_LINUX_DVD_STRUCT 1 #undef DVD_STRUCT_IN_SYS_DVDIO_H #undef CONFIG_DVDNAV #define CONFIG_DVDREAD 1 #define CONFIG_DVDREAD_INTERNAL 1 #undef CONFIG_LIBCDIO #define CONFIG_VCD 1 Two text files with the gdb output are attached; just copying them into the body of the message would produce a lot of new line-breaks and make the content less readable. -- Regards Ilja
gdb ./mplayer GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (gdb) run -v -dvd-device /dev/scd0 dvd://6 -chapter 2 Starting program: /home/ilja/the_real_path_differs_from_this/mplayer -v -dvd-device /dev/scd0 dvd://6 -chapter 2 [Thread debugging using libthread_db enabled] MPlayer dev-SVN-r28207-4.3.2 (C) 2000-2008 MPlayer Team CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 get_path('codecs.conf') -> '/home/ilja/.mplayer/codecs.conf' Reading /home/ilja/.mplayer/codecs.conf: Can't open '/home/ilja/.mplayer/codecs.conf': No such file or directory Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --enable-debug=3 --disable-rtc --disable-lirc --disable-x264 --enable-menu CommandLine: '-v' '-dvd-device' '/dev/scd0' 'dvd://6' '-chapter' '2' init_freetype get_path('font/font.desc') -> '/home/ilja/.mplayer/font/font.desc' font: can't open file: /home/ilja/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/home/ilja/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/ilja/.mplayer/input.conf' Can't open input config file /home/ilja/.mplayer/input.conf: No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config get_path('6.conf') -> '/home/ilja/.mplayer/6.conf' Playing dvd://6. get_path('sub/') -> '/home/ilja/.mplayer/sub/' URL: dvd://6 Reading disc structure, please wait... There are 8 titles on this DVD. There are 1 angles in this DVD title. DVD successfully opened. audio stream: 0 format: ac3 (stereo) language: en aid: 128. number of audio channels on disk: 1. subtitle ( sid ): 0 language: en number of subtitles on disk: 1 DVD start cell: 0 pack: 0x0-0xDFB6 DVD start=0 end=2802514 STREAM: [null] dvd://6 STREAM: Description: DVD stream STREAM: Author: STREAM: Comment: DVD Seek! lba=0x0 cell=0 packs: 0x0-0xDFB6 Angle-seek synced by cell/vob IDN search! system stream synced at 0xD (13)! ==> Found video stream: 0 MPEG-PS file format detected. ==> Found audio stream: 128 [New Thread 0xb5f906f0 (LWP 28204)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb5f906f0 (LWP 28204)] control (stream=0xa8a7968, cmd=2, arg=0xbfabd5b4) at stream/stream_dvd.c:575 575 ptt = vts_file->vts_ptt_srpt->title[title_no].ptt[chapter]; (gdb) bt #0 control (stream=0xa8a7968, cmd=2, arg=0xbfabd5b4) at stream/stream_dvd.c:575 #1 0x08165776 in demuxer_seek_chapter (demuxer=0xa8bd640, chapter=1, mode=1, seek_pts=0xbfabd6e4, num_chapters=0x0, chapter_name=0x0) at libmpdemux/demuxer.c:1346 #2 0x08091167 in main (argc=7, argv=0xbfabe834) at mplayer.c:3302 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x81ca0c8 to 0x81ca108: 0x081ca0c8 <control+232>: add %al,(%eax) 0x081ca0ca <control+234>: imul %esi,%edx 0x081ca0cd <control+237>: add 0x8(%eax),%edx 0x081ca0d0 <control+240>: movzwl (%edx),%eax 0x081ca0d3 <control+243>: cmp %eax,%edi 0x081ca0d5 <control+245>: jge 0x81ca008 <control+40> 0x081ca0db <control+251>: mov 0x2(%edx),%eax 0x081ca0de <control+254>: mov 0x30(%ecx),%ecx 0x081ca0e1 <control+257>: mov $0xc,%ebx 0x081ca0e6 <control+262>: xor %esi,%esi 0x081ca0e8 <control+264>: mov (%eax,%edi,4),%edx 0x081ca0eb <control+267>: movzwl %dx,%eax 0x081ca0ee <control+270>: shr $0x10,%edx 0x081ca0f1 <control+273>: imul %ebx,%eax 0x081ca0f4 <control+276>: add 0x8(%ecx),%eax 0x081ca0f7 <control+279>: mov -0x4(%eax),%ecx 0x081ca0fa <control+282>: mov 0xf0(%ecx),%eax 0x081ca100 <control+288>: movzbl -0x1(%eax,%edx,1),%eax 0x081ca105 <control+293>: mov 0xf4(%ecx),%edx End of assembler dump.
(gdb) info all-registers eax 0x50001 327681 ecx 0xa8ac3c8 176866248 edx 0xa8ac0ee 176865518 ebx 0xc 12 esp 0xbfabd4b0 0xbfabd4b0 ebp 0xbfabd538 0xbfabd538 esi 0x0 0 edi 0x1 1 eip 0x81ca0e8 0x81ca0e8 <control+264> eflags 0x210246 [ PF ZF IF RF ID ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 0 (raw 0x00000000000000000000) st6 -9223372036854775808 (raw 0xc03e8000000000000000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x20 32 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xec, 0x51, 0xb8, 0x1e, 0x85, 0xeb, 0xd1, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = { 0x51ec, 0x1eb8, 0xeb85, 0x3fd1, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x1eb851ec, 0x3fd1eb85, 0x0, 0x0}, v2_int64 = {0x3fd1eb851eb851ec, 0x0}, uint128 = 0x00000000000000003fd1eb851eb851ec} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} mxcsr 0x1f80 [ IM DM ZM OM UM PM ] mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} fop 0x0 0 xmm0 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xec, 0x51, 0xb8, 0x1e, 0x85, 0xeb, 0xd1, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = { 0x51ec, 0x1eb8, 0xeb85, 0x3fd1, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x1eb851ec, 0x3fd1eb85, 0x0, 0x0}, v2_int64 = {0x3fd1eb851eb851ec, 0x0}, uint128 = 0x00000000000000003fd1eb851eb851ec} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = { 0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} mxcsr 0x1f80 [ IM DM ZM OM UM PM ] mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm4 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm5 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} mm6 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}} mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
_______________________________________________ MPlayer-users mailing list MPlayer-users@xxxxxxxxxxxx https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users