[MPlayer-users] MPlayer-0.90 pre3 reproducible crash

Anant Sahai sahai at eecs.berkeley.edu
Tue May 7 08:28:01 CEST 2002


MPlayer is a very nice piece of software. I use am IBM x22 laptop 
running ALSA-0.90rc1 on current updated Redhat 7.2. The DVD I used was 
the first volume of DUNE (SciFi channel miniseries). It worked fine when 
I just used: mplayer -gui dvd://

But an attempt to use -dvdnav results in a crash as documented below. I 
have libdvdnav-0.1.0 installed from source.


  [sahai at localhost MPlayer-0.90pre3]$ gdb mplayer
GNU gdb Red Hat Linux (5.1-1)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -v -gui -dvdnav
Starting program: /usr/local/src/mplayer/MPlayer-0.90pre3/mplayer -v 
-gui -dvdnav
[New Thread 1024 (LWP 7660)]


MPlayer 0.90pre3-3.0.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Tualatin (Type: 6, Stepping: 1)
extended cpuid-level: 4
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 SSE
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0" => 
local display)
Reading /home/sahai/.mplayer/codecs.conf: can't open 
'/home/sahai/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio & 91 video codecs
CommandLine: '-v' '-gui' '-dvdnav'
get_path('font/font.desc') -> '/home/sahai/.mplayer/font/font.desc'
font: can't open file: /home/sahai/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/sahai/.mplayer/input.conf'
Can't open input config file /home/sahai/.mplayer/input.conf : No such 
file or directory
Falling back on default (hardcoded) config
get_path('Skin') -> '/home/sahai/.mplayer/Skin'
SKIN dir 1: '/home/sahai/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
mplayer: playtree.c:244: play_tree_add_file: Assertion `file != ((void 
*)0)' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 7660)]
0x406f5b01 in __kill () from /lib/i686/libc.so.6
(gdb) bg
Undefined command: "bg".  Try "help".
(gdb) bt
#0  0x406f5b01 in __kill () from /lib/i686/libc.so.6
#1  0x400ac79b in raise (sig=6) at signals.c:65
#2  0x406f7082 in abort () at ../sysdeps/generic/abort.c:88
#3  0x406ef220 in __assert_fail () at assert.c:74
#4  0x08075059 in play_tree_add_file () at playtree.c:258
#5  0x08068e53 in main (argc=4, argv=0xbfffe3f4, envp=0xbfffe408) at 
mplayer.c:811
#6  0x406e3647 in __libc_start_main (main=0x80687d0 <main>, argc=4, 
ubp_av=0xbfffe3f4,
     init=0x8065bb0 <_init>, fini=0x819fce4 <_fini>, 
rtld_fini=0x4000dcd4 <_dl_fini>,
  stack_end=0xbfffe3ec) at ../sysdeps/generic/libc-start.c:129
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x406f5ae1 to 0x406f5b21:
0x406f5ae1 <__sigprocmask+77>:	pop    %ebp
0x406f5ae2 <__sigprocmask+78>:	ret
0x406f5ae3 <sigprocmask+79>:	lea    0x0(%esi),%esi
0x406f5ae9 <sigprocmask+85>:	lea    0x0(%edi,1),%edi
0x406f5af0 <__kill>:	mov    %ebx,%edx
0x406f5af2 <__kill+2>:	mov    0x8(%esp,1),%ecx
0x406f5af6 <__kill+6>:	mov    0x4(%esp,1),%ebx
0x406f5afa <__kill+10>:	mov    $0x25,%eax
0x406f5aff <__kill+15>:	int    $0x80
0x406f5b01 <__kill+17>:	mov    %edx,%ebx
0x406f5b03 <__kill+19>:	cmp    $0xfffff001,%eax
0x406f5b08 <__kill+24>:	jae    0x406f5b0f <__kill+31>
0x406f5b0a <__kill+26>:	ret
0x406f5b0b <__kill+27>:	mov    (%esp,1),%ebx
0x406f5b0e <__kill+30>:	ret
0x406f5b0f <__kill+31>:	push   %ebx
0x406f5b10 <__kill+32>:	call   0x406f5b0b <__kill+27>
0x406f5b15 <__kill+37>:	add    $0x1082bf,%ebx
0x406f5b1b <__kill+43>:	xor    %edx,%edx
0x406f5b1d <__kill+45>:	sub    %eax,%edx
0x406f5b1f <__kill+47>:	push   %edx
0x406f5b20 <__kill+48>:	call   0x406e3034 <object.2+116440>
End of assembler dump.
(gdb) print $eax
$1 = 0
(gdb) print $ebx
$2 = 7660
(gdb) print $ecx
$3 = 6
(gdb) print $edx
$4 = 1074493720
(gdb) print $esp
$5 = (void *) 0xbfffcf1c
(gdb) print $ebp
$6 = (void *) 0xbfffcf48
(gdb) print $edi
$7 = 1074466560
(gdb) print $esi
$8 = 7660
(gdb)

Hardware info:
[sahai at localhost MPlayer-0.90pre3]# cat /proc/cpuinfo
processor 
: 0
vendor_id 
: GenuineIntel
cpu family	: 6
model 
	: 11
model name	: Intel(R) Pentium(R) III Mobile CPU       800MHz
stepping 
: 1
cpu MHz		: 797.355
cache size	: 512 KB
fdiv_bug 
: no
hlt_bug 
	: no
f00f_bug 
: no
coma_bug 
: no
fpu 
	: yes
fpu_exception 
: yes
cpuid level	: 2
wp 
	: yes
flags 
	: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx 
fxsr ssebogomips	: 1592.52

[sahai at localhost MPlayer-0.90pre3]# lspci -vv
00:00.0 Host bridge: Intel Corporation: Unknown device 3575 (rev 02)
	Subsystem: IBM: Unknown device 021d
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ >SERR- <PERR-
	Latency: 0
	Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Capabilities: [40] #09 [0105]
	Capabilities: [a0] AGP version 2.0
		Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2
		Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Intel Corporation: Unknown device 3576 (rev 02) 
(prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 96
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: c0100000-c01fffff
	Prefetchable memory behind bridge: e0000000-e7ffffff
	BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-

00:1d.0 USB Controller: Intel Corporation: Unknown device 2482 (rev 01) 
(prog-if 00 [UHCI])
	Subsystem: IBM: Unknown device 0220
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 4: I/O ports at 1800 [size=32]

00:1d.1 USB Controller: Intel Corporation: Unknown device 2484 (rev 01) 
(prog-if 00 [UHCI])
	Subsystem: IBM: Unknown device 0220
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 11
	Region 4: I/O ports at 1820 [size=32]

00:1d.2 USB Controller: Intel Corporation: Unknown device 2487 (rev 01) 
(prog-if 00 [UHCI])
	Subsystem: IBM: Unknown device 0220
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin C routed to IRQ 11
	Region 4: I/O ports at 1840 [size=32]

00:1e.0 PCI bridge: Intel Corporation 82801BA PCI (rev 41) (prog-if 00 
[Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0
	Bus: primary=00, secondary=02, subordinate=08, sec-latency=64
	I/O behind bridge: 00003000-00007fff
	Memory behind bridge: c0200000-cfffffff
	Prefetchable memory behind bridge: e8000000-efffffff
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corporation: Unknown device 248c (rev 01)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0

00:1f.1 IDE interface: Intel Corporation: Unknown device 248a (rev 01) 
(prog-if 8a [Master SecP PriP])
	Subsystem: IBM: Unknown device 0220
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374
	Region 4: I/O ports at 1860 [size=16]
	Region 5: Memory at 28000000 (32-bit, non-prefetchable) [size=1K]

00:1f.3 SMBus: Intel Corporation: Unknown device 2483 (rev 01)
	Subsystem: IBM: Unknown device 0220
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Interrupt: pin B routed to IRQ 11
	Region 4: I/O ports at 1880 [size=32]

00:1f.5 Multimedia audio controller: Intel Corporation: Unknown device 
2485 (rev 01)
	Subsystem: IBM: Unknown device 0222
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 11
	Region 0: I/O ports at 1c00 [size=256]
	Region 1: I/O ports at 18c0 [size=64]

01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 
4c59 (prog-if 00 [VGA])
	Subsystem: IBM: Unknown device 0239
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping+ SERR+ FastB2B+
	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 66 (2000ns min), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
	Region 1: I/O ports at 2000 [size=256]
	Region 2: Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
	Expansion ROM at <unassigned> [disabled] [size=128K]
	Capabilities: [58] AGP version 2.0
		Status: RQ=47 SBA+ 64bit- FW- Rate=x1,x2
		Command: RQ=0 SBA+ AGP- 64bit- FW- Rate=<none>
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:03.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
	Subsystem: IBM: Unknown device 0185
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 168
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at c0202000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=02, secondary=03, subordinate=05, sec-latency=176
	Memory window 0: e8000000-e83ff000 (prefetchable)
	Memory window 1: c0400000-c07ff000
	I/O window 0: 00004000-000040ff
	I/O window 1: 00004400-000044ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001

02:03.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
	Subsystem: IBM: Unknown device 0185
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 168
	Interrupt: pin B routed to IRQ 11
	Region 0: Memory at c0203000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=02, secondary=06, subordinate=08, sec-latency=176
	Memory window 0: e8400000-e87ff000 (prefetchable)
	Memory window 1: c0800000-c0bff000
	I/O window 0: 00004800-000048ff
	I/O window 1: 00004c00-00004cff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001

02:05.0 Communication controller: Lucent Microelectronics WinModem 56k 
(rev 01)
	Subsystem: AMBIT Microsystem Corp.: Unknown device 0410
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0 (63000ns min, 3500ns max)
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at c0201000 (32-bit, non-prefetchable) [size=256]
	Region 1: I/O ports at 7440 [size=8]
	Region 2: I/O ports at 7000 [size=256]
	Capabilities: [f8] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:08.0 Ethernet controller: Intel Corporation: Unknown device 1031 (rev 41)
	Subsystem: IBM: Unknown device 0209
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 66 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at c0200000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at 7400 [size=64]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable+ DSel=0 DScale=2 PME-





More information about the MPlayer-users mailing list