[MPlayer-users] MPlayer CRASHES!!! every time when closing

Michal Semler (volny.cz) cijoml at volny.cz
Tue Oct 7 14:56:21 CEST 2003


HI,

Both MPlayers 0.9.2 and 1.0pre2 crashes on my computer when MPlayer quiting. 
Doesn't metter if I terminate it by "Q" key or movie finished.

Thanks for fixing

M.

gdb mplayer
GNU gdb 5.3-debian
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"...

(gdb)
(gdb) run -v Trois_Couleurs_-_Bleu.avi
Starting program: /usr/local/bin/mplayer -v Trois_Couleurs_-_Bleu.avi
[New Thread 1024 (LWP 21472)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer 1.0pre2-3.3 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 834.7 MHz (Family: 6, 
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /home/cijoml/.mplayer/config
Reading /home/cijoml/.mplayer/codecs.conf: Can't open 
'/home/cijoml/.mplayer/codecs.conf': není souborem ani adresářem
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': není souborem ani adresářem
Using built-in default codecs.conf
CommandLine: '-v' 'Trois_Couleurs_-_Bleu.avi'
get_path('font/font.desc') -> '/home/cijoml/.mplayer/font/font.desc'
font: can't open file: /home/cijoml/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/cijoml/.mplayer/input.conf'
Can't open input config file /home/cijoml/.mplayer/input.conf: není souborem 
ani adresářem
Can't open input config file /usr/local/etc/mplayer/input.conf: není souborem 
ani adresářem
Falling back on default (hardcoded) input config
get_path('Trois_Couleurs_-_Bleu.avi.conf') -> 
'/home/cijoml/.mplayer/Trois_Couleurs_-_Bleu.avi.conf'

Playing Trois_Couleurs_-_Bleu.avi
[file] File size is 735584256 bytes
STREAM: [file] Trois_Couleurs_-_Bleu.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill: 16,50% (1384448 bytes)    AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 40000  (fps=25,000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 140872   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  576 x 304
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25000/1000 = 25,000
Start: 0   Len: 140872
Suggested BufferSize: 73640
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 576
  biHeight 304
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 525312
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41,667
Start: 0   Len: 234786
Suggested BufferSize: 576
Quality -1
Sample size: 0
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16799
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=403
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x2292
list_end=0x22B6
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1346  (id=JUNK)
list_end=0x2B7C64BA
Found movie at 0x280C - 0x2B7C64BA
Reading INDEX block, 375658 chunks for 140872 frames (fpos=0x2b7c64c2)
AVI index offset: 0x2808 (movi=0x280C 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 size=631824988 (140872) audio size=94662048 (234786)
VIDEO:  [DIV3]  576x304  24bpp  25,000 fps  897,0 kbps (109,5 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:576x304  fps:25,00  ftime:=0,0400
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/cijoml/.mplayer/sub/'
get_path('default.sub') -> '/home/cijoml/.mplayer/default.sub'
==========================================================================
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
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 112 kbit Joint-Stereo, BPF: 336
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 14000->192000 (112,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours STAYS_ON_TOP X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [arts] Connected to sound server
AO: [arts] Stream opened
AO: [arts] buffer size: 36864
AO: [arts] packet size: 2048
AO: [arts] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: aRts audio output
AO: Author: Michele Balistreri <brain87 at gmx.net>
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
Starting playback...
[ffmpeg] aspect_ratio: 0,000000
VDec: vo config request - 576 x 304 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (576x304->576x304,flags=0,'MPlayer',0x32315659)
VO: [xv] 576x304 => 576x304 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 83 for hw scaling
[xv] dx: 0 dy: 0 dw: 576 dh: 304
*** [vo] Allocating (slices) mp_image_t, 576x304x12bpp YUV planar, 262656 
bytes
XXX initial  v_pts=0,000  a_pos=6432 (0,383) /  1   0%  0%  0,0% 0 0 0%
[xv] dx: 0 dy: 0 dw: 576 dh: 304:  0,016   11/ 11   0%  0%  0,0% 1 0 99%
*** [vo] Allocating (slices) mp_image_t, 576x304x12bpp YUV planar, 262656 
bytes
Uninit audio filters... 0,145 ct:  0,038   73/ 73  14%  8%  1,8% 2 0 97%
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x8584c30
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 21472)]
0x401ace90 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0x401ace90 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x41a737c0 in Arts::MCOPUtils::traderPath () from /usr/lib/libmcop.so.1
#2  0x40621e53 in exit () from /lib/libc.so.6
#3  0x08083047 in exit_player_with_rc (how=0x834f29e "Quit", rc=1098330560)
    at mplayer.c:472
#4  0x08086181 in main (argc=3, argv=0xbffffbc4) at mplayer.c:2538
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x401ace70 to 0x401aceb0:
0x401ace70 <pthread_mutex_trylock+760>: pop    %ebx
0x401ace71 <pthread_mutex_trylock+761>: pop    %esi
0x401ace72 <pthread_mutex_trylock+762>: pop    %edi
0x401ace73 <pthread_mutex_trylock+763>: leave
0x401ace74 <pthread_mutex_trylock+764>: ret
0x401ace75 <pthread_mutex_trylock+765>: lea    0x0(%esi),%esi
0x401ace78 <pthread_mutex_lock>:        push   %ebp
0x401ace79 <pthread_mutex_lock+1>:      mov    %esp,%ebp
0x401ace7b <pthread_mutex_lock+3>:      sub    $0xc,%esp
0x401ace7e <pthread_mutex_lock+6>:      push   %edi
0x401ace7f <pthread_mutex_lock+7>:      push   %esi
0x401ace80 <pthread_mutex_lock+8>:      push   %ebx
0x401ace81 <pthread_mutex_lock+9>:
    call   0x401ace86 <pthread_mutex_lock+14>
0x401ace86 <pthread_mutex_lock+14>:     pop    %ebx
0x401ace87 <pthread_mutex_lock+15>:     add    $0xcc5a,%ebx
0x401ace8d <pthread_mutex_lock+21>:     mov    0x8(%ebp),%edi
0x401ace90 <pthread_mutex_lock+24>:     mov    0xc(%edi),%eax
0x401ace93 <pthread_mutex_lock+27>:     cmp    $0x3,%eax
0x401ace96 <pthread_mutex_lock+30>:
    ja     0x401acfd6 <pthread_mutex_lock+350>
---Type <return> to continue, or q <return> to quit---
0x401ace9c <pthread_mutex_lock+36>:     mov    %ebx,%edx
0x401ace9e <pthread_mutex_lock+38>:     sub    0xffff33d0(%ebx,%eax,4),%edx
0x401acea5 <pthread_mutex_lock+45>:     jmp    *%edx
0x401acea7 <pthread_mutex_lock+47>:     mov    %esi,%esi
0x401acea9 <pthread_mutex_lock+49>:     lea    0x0(%edi,1),%edi
End of assembler dump.
(gdb) info all-registers
eax            0x417731c0       1098330560
ecx            0x4      4
edx            0x20     32
ebx            0x401b9ae0       1075550944
esp            0xbfffd760       0xbfffd760
ebp            0xbfffd778       0xbfffd778
esi            0x417731d4       1098330580
edi            0x41773200       1098330624
eip            0x401ace90       0x401ace90
eflags         0x210212 2163218
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x0      0
st0            -nan(0x797b7e7f81828384) (raw 0xffff797b7e7f81828384)
st1            -nan(0x7e8081807e7d7e80) (raw 0xffff7e8081807e7d7e80)
st2            25.18099993642408662708476185798645      (raw 
0x4003c972b0183c280000)
st3            42.073599893774371594190597534179688     (raw 
0x4004a84b5dc543000000)
---Type <return> to continue, or q <return> to quit---
st4            3.02742862701416015625   (raw 0x4000c1c1640000000000)
st5            0.1447618007659912109375 (raw 0x3ffc943c700000000000)
st6            2.88000011444091796875   (raw 0x4000b851ec0000000000)
st7            1.831355150522693708836641235393472      (raw 
0x3fffea69d8776d959000)
fctrl          0x37f    895
fstat          0x120    288
ftag           0xffff   65535
fiseg          0x23     35
fioff          0x406452d3       1080316627
foseg          0x2b     43
fooff          0xbfffc350       -1073757360
fop            0x51c    1308
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
    0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
---Type <return> to continue, or q <return> to quit---
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
    0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
    0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
    0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
    0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
---Type <return> to continue, or q <return> to quit---
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
    0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
    0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {
    0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff,
    0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff,
    0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff,
    0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff}
mxcsr          0x1f80   8064
orig_eax       0xffffffff       -1
mm0            {uint64 = 0x797b7e7f81828384, v2_int32 = {0x81828384,
    0x797b7e7f}, v4_int16 = {0x8384, 0x8182, 0x7e7f, 0x797b}, v8_int8 = {0x84,
    0x83, 0x82, 0x81, 0x7f, 0x7e, 0x7b, 0x79}}
---Type <return> to continue, or q <return> to quit---
mm1            {uint64 = 0x7e8081807e7d7e80, v2_int32 = {0x7e7d7e80,
    0x7e808180}, v4_int16 = {0x7e80, 0x7e7d, 0x8180, 0x7e80}, v8_int8 = {0x80,
    0x7e, 0x7d, 0x7e, 0x80, 0x81, 0x80, 0x7e}}
mm2            {uint64 = 0xc972b0183c280000, v2_int32 = {0x3c280000,
    0xc972b018}, v4_int16 = {0x0, 0x3c28, 0xb018, 0xc972}, v8_int8 = {0x0,
    0x0, 0x28, 0x3c, 0x18, 0xb0, 0x72, 0xc9}}
mm3            {uint64 = 0xa84b5dc543000000, v2_int32 = {0x43000000,
    0xa84b5dc5}, v4_int16 = {0x0, 0x4300, 0x5dc5, 0xa84b}, v8_int8 = {0x0,
    0x0, 0x0, 0x43, 0xc5, 0x5d, 0x4b, 0xa8}}
mm4            {uint64 = 0xc1c1640000000000, v2_int32 = {0x0, 0xc1c16400},
  v4_int16 = {0x0, 0x0, 0x6400, 0xc1c1}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x64, 0xc1, 0xc1}}
mm5            {uint64 = 0x943c700000000000, v2_int32 = {0x0, 0x943c7000},
  v4_int16 = {0x0, 0x0, 0x7000, 0x943c}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x70, 0x3c, 0x94}}
mm6            {uint64 = 0xb851ec0000000000, v2_int32 = {0x0, 0xb851ec00},
  v4_int16 = {0x0, 0x0, 0xec00, 0xb851}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0xec, 0x51, 0xb8}}
mm7            {uint64 = 0xea69d8776d959000, v2_int32 = {0x6d959000,
    0xea69d877}, v4_int16 = {0x9000, 0x6d95, 0xd877, 0xea69}, v8_int8 = {0x0,
    0x90, 0x95, 0x6d, 0x77, 0xd8, 0x69, 0xea}}

Computer Info:
Linux tata 2.4.22-rc3 #2 Po srp 25 09:21:10 CEST 2003 i686 unknown
/lib/libc-2.2.5.so
gcc-3.3
ldd - GNU ld version 2.13.90.0.18 20030121 Debian GNU/Linux
GNU assembler 2.13.90.0.18 20030121 Debian GNU/Linux
model name      : Pentium III (Coppermine)
02:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01)
XFree-4.2.1




More information about the MPlayer-users mailing list