[MPlayer-users] [BUG REPORT] Problem with arts - crash

CrimeDog crimedog at wp.pl
Tue Mar 25 14:59:06 CET 2003


Hello!

I have arts as audio output. When I exit MPlayer it crash with this
message:

MPlayer interrupted by signal 11 in module: exit_player
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. For details, see DOCS/bugreports.html#crash.b.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc
  version. If you think it's MPlayer's fault, please read
DOCS/bugreports.html
  and follow the instructions there. We can't and won't help unless you
provide
  this information when reporting a possible bug.
vo: x11 uninit called but X11 not inited..


Bug appear in root and normal user, with gui ang without gui and with
any files. Always with arts (with oss all is OK). One strange think:
when movie was played twice (one after start MPlayer and second is
defoult looped - in gui the movies always are played twice), MPlayer
don't crash. Mayby, becouse arts are properly closed?? This crash appear
with rc3, rc4 and rc5. Befor rc3 I had KDE 2.2, now I have KDE 3.0.5
with new (buggy) arts.

In attachment is output from dbg.

I have:
Debian woody with upgrated KDE
kernel - 2.4.17
libc - 2.2.5
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
cpuinfo:
GenuineIntel Celeron (Mendocino) 467.737
nVidia TNT2 m64
video driver - binary nVidia 1.0-4191
sound cart - SondBlaster PCI 128 with es1371 kernel module

I hope that I made proper bur report. :-)

PS. Sorry for my english, I still learning. ;-)

-- 
With kindest regards:
CrimeDog - crimedog at wp.pl

MPlayer... and nothing else matters
-------------- next part --------------
zorg at localhost:~$ rm mplayer.log
zorg at localhost:~$ gdb mplayer
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"...
(gdb) run -v -ao arts /mnt/dysk/Filmy/Chlopaki_nie_placza/chlopaki_nie_placza_pi.avi
Starting program: /usr/local/bin/mplayer -v -ao arts /mnt/dysk/Filmy/Chlopaki_nie_placza/chlopaki_nie_placza_pi.avi
[New Thread 1024 (LWP 7575)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 5)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/local/etc/mplayer/mplayer.conf: Nie ma takiego pliku ani katalogu
Reading config file /home/zorg/.mplayer/config
Reading /home/zorg/.mplayer/codecs.conf: can't open '/home/zorg/.mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
CommandLine: '-v' '-ao' 'arts' '/mnt/dysk/Filmy/Chlopaki_nie_placza/chlopaki_nie_placza_pi.avi'
get_path('font/font.desc') -> '/home/zorg/.mplayer/font/font.desc'
font: can't open file: /home/zorg/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (210 chars)
Using MMX Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Brak dost?pu
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/zorg/.mplayer/input.conf'
Can't open input config file /home/zorg/.mplayer/input.conf : Nie ma takiego pliku ani katalogu
Can't open input config file /usr/local/etc/mplayer/input.conf : Nie ma takiego pliku ani katalogu
Falling back on default (hardcoded) input config
get_path('chlopaki_nie_placza_pi.avi.conf') -> '/home/zorg/.mplayer/chlopaki_nie_placza_pi.avi.conf'

Playing /mnt/dysk/Filmy/Chlopaki_nie_placza/chlopaki_nie_placza_pi.avi
Not an URL!
File size is 657451008 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: 144218   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 384
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25,000
Start: 0   Len: 144218
Suggested BufferSize: 94493
Quality 5000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 384
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 737280
===========================
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: 15963/1 = 15963,000
Start: 0   Len: 92076102
Suggested BufferSize: 7452
Quality -1
Sample size: 1
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 15963
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=417
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x2292
Broken chunk?  chunksize=1382  (id=JUNK)
list_end=0x26E97696
Found movie at 0x280C - 0x26E97696
Reading INDEX block, 288406 chunks for 144218 frames (fpos=0x26e9769e)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1D28)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=558299227 (144218) audio size=92076102 (92076102)
VIDEO:  [DIV3]  640x384  24bpp  25,00 fps  774,2 kbps (94,5 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x384  fps:25,00  ftime:=0,0400
get_path('sub/') -> '/home/zorg/.mplayer/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, 44100 Hz 128 kbit Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
==========================================================================
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 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [arts] Connected to sound server
AO: [arts] Stream opened
AO: [arts] buffer size: 40960
AO: [arts] packet size: 2048
AO: [arts] 44100Hz 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 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
[ffmpeg] aspect_ratio: 0,000000
VDec: vo config request - 640 x 384 (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 (640x384->640x384,flags=0,'MPlayer',0x32315659)
VO: [xv] 640x384 => 640x384 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: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 78 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 384
*** [vo] Allocating (slices) mp_image_t, 640x384x12bpp YUV planar, 368640 bytes
XXX initial  v_pts=0,000  a_pos=7452 (0,467) /  1   0%  0%  0,0% 0 0 0%
*** [vo] Allocating (slices) mp_image_t, 640x384x12bpp YUV planar, 368640 bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 384:  0,024    7/  7   0%  0%  0,0% 2 0 0%
Uninit audio filters...-0,008 ct:  0,007   61/ 61  31% 14%  3,5% 5 0 0%
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x844d128
vo: uninit ...

Exiting... (Quit)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7575)]
0x4050de90 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0x4050de90 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x415f5e30 in Arts::MCOPUtils::traderPath () from /usr/lib/libmcop.so.1
#2  0x4063de53 in exit () from /lib/libc.so.6
#3  0x08071e15 in exit_player_with_rc () at mplayer.c:452
#4  0x080768ff in main (argc=5, argv=0xbffffa24) at mplayer.c:2337
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x4050de70 to 0x4050deb0:
0x4050de70 <pthread_mutex_trylock+760>: pop    %ebx
0x4050de71 <pthread_mutex_trylock+761>: pop    %esi
0x4050de72 <pthread_mutex_trylock+762>: pop    %edi
0x4050de73 <pthread_mutex_trylock+763>: leave
0x4050de74 <pthread_mutex_trylock+764>: ret
0x4050de75 <pthread_mutex_trylock+765>: lea    0x0(%esi),%esi
0x4050de78 <pthread_mutex_lock>:        push   %ebp
0x4050de79 <pthread_mutex_lock+1>:      mov    %esp,%ebp
0x4050de7b <pthread_mutex_lock+3>:      sub    $0xc,%esp
0x4050de7e <pthread_mutex_lock+6>:      push   %edi
0x4050de7f <pthread_mutex_lock+7>:      push   %esi
0x4050de80 <pthread_mutex_lock+8>:      push   %ebx
0x4050de81 <pthread_mutex_lock+9>:      call   0x4050de86 <pthread_mutex_lock+14>
0x4050de86 <pthread_mutex_lock+14>:     pop    %ebx
0x4050de87 <pthread_mutex_lock+15>:     add    $0xcc5a,%ebx
0x4050de8d <pthread_mutex_lock+21>:     mov    0x8(%ebp),%edi
0x4050de90 <pthread_mutex_lock+24>:     mov    0xc(%edi),%eax
0x4050de93 <pthread_mutex_lock+27>:     cmp    $0x3,%eax
0x4050de96 <pthread_mutex_lock+30>:     ja     0x4050dfd6 <pthread_mutex_lock+350>
0x4050de9c <pthread_mutex_lock+36>:     mov    %ebx,%edx
0x4050de9e <pthread_mutex_lock+38>:     sub    0xffff33d0(%ebx,%eax,4),%edx
0x4050dea5 <pthread_mutex_lock+45>:     jmp    *%edx
0x4050dea7 <pthread_mutex_lock+47>:     mov    %esi,%esi
0x4050dea9 <pthread_mutex_lock+49>:     lea    0x0(%edi,1),%edi
End of assembler dump.
(gdb) info all-registers
eax            0x41376040       1094148160
ecx            0x4      4
edx            0x20     32
ebx            0x4051aae0       1079093984
esp            0xbfffd674       0xbfffd674
ebp            0xbfffd68c       0xbfffd68c
esi            0x41376054       1094148180
edi            0x41376080       1094148224
eip            0x4050de90       0x4050de90
eflags         0x210212 2163218
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x7      7
st0            -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st1            -1       (raw 0xbfff8000000000000000)
st2            0.0073509360663592815399169921875        (raw 0x3ff7f0e01f0000000000)
st3            0.0065205930732190608978271484375        (raw 0x3ff7d5aab30000000000)
st4            -0.0083034287191032010982255640030302857 (raw 0xbff8880b1ab2c40a9b00)
st5            2.400000095367431640625  (raw 0x400099999a0000000000)
st6            2.6122862358093261719166333634234434     (raw 0x4000a72fb29ba5e353f8)
st7            3.5357516068017647015153670508880168     (raw 0x4000e249c11b7f8dd000)
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0x23     35
fioff          0x406612d3       1080431315
foseg          0x2b     43
fooff          0xbfffc244       -1073757628
fop            0x51c    1308
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr          0x1f80   8064
orig_eax       0xffffffff       -1
(gdb)


More information about the MPlayer-users mailing list