[MPlayer-users] crash on exiting

Markus Riester mriester at gmx.de
Tue Nov 12 05:06:02 CET 2002


i sent  this a couple of weeks ago and pre10 has still this bug 
(it first occured in pre 7 i think). i got no reply, so did i something wrong?
 i can make this gdb thing once again with pre10 if you need it

Subject: bugreport
Date: 23 Sep 2002 19:19:00 +0200

reproducable bug: crash on exiting

ao oss, vo sdl

========================
MPlayer interrupted by signal 11 in module: exit_player
- MPlayer crashed by bad usage of CPU/FPU/RAM.
========================

    * Debian Sarge
    * kernel version: 2.4.19||
    * libc version: libc6          2.2.5-14
      ||
    * X version: 4.1.0.1  (now 4.2.1)
      ||
    * gcc version 2.95.4 20011002 (Debian prerelease)
      GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux
    * GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux
    * cat /proc/cpuinfo
      processor       : 0
      vendor_id       : GenuineIntel
      cpu family      : 6
      model           : 8
      model name      : Pentium III (Coppermine)
      stepping        : 6
      cpu MHz         : 851.939
      cache size      : 256 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 apic sep mtrr
      pge mca cmov pat pse36 mmx fxsr sse
      bogomips        : 1697.38
    * lspci -vv
      00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge
      (rev 03)
              Subsystem: Asustek Computer, Inc.: Unknown device 1040
              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: 64
              Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
              Capabilities: <available only to root>

      00:01.0 PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge
      (rev 03) (prog-if 00 [Normal decode])
              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: 128
              Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
              Memory behind bridge: f0000000-f7ffffff
              BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+

      00:06.0 Multimedia audio controller: ESS Technology ES1988
      Allegro-1 (rev 12)
              Subsystem: Asustek Computer, Inc.: Unknown device 1049
              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: 32 (500ns min, 6000ns max)
              Interrupt: pin A routed to IRQ 10
              Region 0: I/O ports at f800 [size=256]
              Capabilities: <available only to root>

      00:06.1 Communication controller: ESS Technology ESS Modem (rev 12)
              Subsystem: Asustek Computer, Inc.: Unknown device 1049
              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 A routed to IRQ 10
              Region 0: I/O ports at f400 [disabled] [size=256]
              Capabilities: <available only to root>

      00:07.0 ISA bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
              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:07.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01)
      (prog-if 80 [Master])
              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: 64
              Region 4: I/O ports at fcd0 [size=16]

      00:07.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
      (prog-if 00 [UHCI])
              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 D routed to IRQ 9
              Region 4: I/O ports at fce0 [size=32]

      00:07.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 03)
              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 ? routed to IRQ 9

      00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
      RTL-8139 (rev 10)
              Subsystem: Asustek Computer, Inc.: Unknown device 1045
              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: 64 (8000ns min, 16000ns max)
              Interrupt: pin A routed to IRQ 9
              Region 0: I/O ports at f000 [size=256]
              Region 1: Memory at fedffc00 (32-bit, non-prefetchable)
      [size=256]
              Capabilities: <available only to root>

      00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
              Subsystem: Asustek Computer, Inc.: Unknown device 1044
              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 9
              Region 0: Memory at 10000000 (32-bit, non-prefetchable)
      [size=4K]
              Bus: primary=00, secondary=02, subordinate=05, sec-latency=0
              I/O window 0: 00000000-00000003
              I/O window 1: 00000000-00000003
              BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+
      PostWrite-
              16-bit legacy interface ports at 0001

      00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
              Subsystem: Asustek Computer, Inc.: Unknown device 1044
              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 0
              Region 0: Memory at 10001000 (32-bit, non-prefetchable)
      [size=4K]
              Bus: primary=00, secondary=06, subordinate=09, sec-latency=0
              I/O window 0: 00000000-00000003
              I/O window 1: 00000000-00000003
              BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+
      PostWrite-
              16-bit legacy interface ports at 0001

      01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/MX-MV
      (rev 11) (prog-if 00 [VGA])
              Subsystem: Asustek Computer, Inc.: Unknown device 1042
              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: 64 (1000ns min, 63750ns max), cache line size 08
              Interrupt: pin A routed to IRQ 9
              Region 0: Memory at f0000000 (32-bit, non-prefetchable)
      [size=128M]
              Expansion ROM at <unassigned> [disabled] [size=64K]
              Capabilities: <available only to root>


===================================================


GDB


gdb: Symbol `emacs_ctlx_keymap' has different size in shared object, 
consider re-linking
GNU gdb 2002-04-01-cvs
Copyright 2002 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-linux"...(no debugging symbols found)...
(gdb) run -v test.avi
Starting program: /usr/bin/mplayer -v test.avi
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 1024 (LWP 5240)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...


MPlayer 0.90pre8-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, 
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

/etc/mplayer/mplayer.conf(3): option: vo
/etc/mplayer/mplayer.conf(3): parameter: xv
/home/markus/.mplayer/config(3): option: ao
/home/markus/.mplayer/config(3): parameter: arts
/home/markus/.mplayer/config(4): option: vo
/home/markus/.mplayer/config(4): parameter: sdl
/home/markus/.mplayer/config(5): option: osdlevel
/home/markus/.mplayer/config(5): parameter: 1
Reading /home/markus/.mplayer/codecs.conf: this codecs.conf is too old, 
incompatible with this mplayer release! at line 6
Reading /etc/mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine: '-v' 'test.avi'
get_path('font/font.desc') -> '/home/markus/.mplayer/font/font.desc'
Font /home/markus/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/markus/.mplayer/input.conf'
Can't open input config file /home/markus/.mplayer/input.conf : No such 
file or directory
Can't open input config file /etc/mplayer/input.conf : No such file or 
directory
Falling back on default (hardcoded) input config

Playing test.avi
Not an URL!
File size is 1374868184 bytes
Detected AVI file format!
list_end=0x144
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 190364   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 352
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25.000
Start: 0   Len: 190364
Suggested BufferSize: 72934
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 352
  biPlanes 1
  biBitCount 24
  biCompression 808802372='DX50'
  biSizeImage 675840
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x144
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 48000/1152 = 41.667
Start: 0   Len: 317293
Suggested BufferSize: 960
Quality 0
Sample size: 0
found 'wf', 28 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 22513
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=209
list_end=0x172
hdr=Software  size=26
Software  : MEncoder 0.90pre8-2.95.4
Broken chunk?  chunksize=1670  (id=JUNK)
list_end=0x5176E240
Found movie at 0x80C - 0x5176E240
Reading INDEX block, 507657 chunks for 190364 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 507657 chunks for 190364 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x18C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=1362365063
VIDEO:  [DX50]  640x352  24bpp  25.00 fps  1431.3 kbps (174.7 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:640x352  fps:25.00  ftime:=0.0400
Clip info:
 Software: MEncoder 0.90pre8-2.95.4
get_path('sub/') -> '/home/markus/.mplayer/sub/'
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer III, 48000 Hz 128 kbit Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->192000 (128.0 kbit)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Detected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
AO: [arts] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: aRts audio output
AO: Author: Michele Balistreri <brain87 at gmx.net>
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
AO: [arts] Connected to sound server
AO: [arts] Stream opened
AO: [arts] buffer size: 45056
AO: [arts] packet size: 2048
Start playing...
This file was encoded with DivX501 Build20020416
VDec: vo config request - 640 x 352 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x352->640x352,flags=0,'MPlayer',0x32315659)
VO: [sdl] 640x352 => 640x352 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann 
<atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1024x768
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode
*** [vo] Allocating mp_image_t, 640x352x12bpp YUV planar, 337920 bytes
XXX initial  v_pts=0.000  a_pos=9120 (0.405) /  1   0%  0%  0.0% 0 0 0%
*** [vo] Allocating mp_image_t, 640x352x12bpp YUV planar, 337920 bytes
DEMUXER: freeing demuxer at 0x83e1558  2   61/ 61  114% 11%  1.8% 4 0 0%
SDL: activating XScreensaver/DPMS
vo: x11 uninit called but X11 not inited..

Exiting... (Quit)
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
[Switching to Thread 1024 (LWP 5240)]
0x40030d70 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0x40030d70 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x421a8e30 in Arts::MCOPUtils::traderPath () from /usr/lib/libmcop.so.1
#2  0x40d66b43 in exit () from /lib/libc.so.6
#3  0x0806b03a in exit_player ()
#4  0x0806f021 in main ()
#5  0x40d540bf in __libc_start_main () from /lib/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x40030d50 to 0x40030d90:
0x40030d50 <pthread_mutex_trylock+760>: pop    %ebx
0x40030d51 <pthread_mutex_trylock+761>: pop    %esi
0x40030d52 <pthread_mutex_trylock+762>: pop    %edi
0x40030d53 <pthread_mutex_trylock+763>: leave
0x40030d54 <pthread_mutex_trylock+764>: ret
0x40030d55 <pthread_mutex_trylock+765>: lea    0x0(%esi),%esi
0x40030d58 <pthread_mutex_lock>:        push   %ebp
0x40030d59 <pthread_mutex_lock+1>:      mov    %esp,%ebp
0x40030d5b <pthread_mutex_lock+3>:      sub    $0xc,%esp
0x40030d5e <pthread_mutex_lock+6>:      push   %edi
0x40030d5f <pthread_mutex_lock+7>:      push   %esi
0x40030d60 <pthread_mutex_lock+8>:      push   %ebx
0x40030d61 <pthread_mutex_lock+9>:
    call   0x40030d66 <pthread_mutex_lock+14>
0x40030d66 <pthread_mutex_lock+14>:     pop    %ebx
0x40030d67 <pthread_mutex_lock+15>:     add    $0xcd5a,%ebx
0x40030d6d <pthread_mutex_lock+21>:     mov    0x8(%ebp),%edi
0x40030d70 <pthread_mutex_lock+24>:     mov    0xc(%edi),%eax
0x40030d73 <pthread_mutex_lock+27>:     cmp    $0x3,%eax
0x40030d76 <pthread_mutex_lock+30>:
    ja     0x40030eb6 <pthread_mutex_lock+350>
0x40030d7c <pthread_mutex_lock+36>:     mov    %ebx,%edx
---Type <return> to continue, or q <return> to quit---
0x40030d7e <pthread_mutex_lock+38>:     sub    0xffff32d0(%ebx,%eax,4),%edx
0x40030d85 <pthread_mutex_lock+45>:     jmp    *%edx
0x40030d87 <pthread_mutex_lock+47>:     mov    %esi,%esi
0x40030d89 <pthread_mutex_lock+49>:     lea    0x0(%edi,1),%edi
End of assembler dump.








More information about the MPlayer-users mailing list