[MPlayer-users] Fwd: Mplayer bug

Vladislav vvy at vvy.dp.ua
Wed Jun 2 08:26:31 CEST 2004


Mplayer CRASH. Affected versions: 0.92.1, 1.0pre4, cvs 20040526 22:00

System Debian unstable, KDE 3.2.2, arts 1.2.2
affected version:	0.92.1, 1.0-pre4, cvs 20040526
kernel: 	2.4.26, 2.6.6
CPU:	Celeron Tualatin 1 Ghz

Reproduction:

1. Set up in Gui audio settings ao - > arts
start avi file from filemanager, click on video stream vindow, mplayer
freezing.
In case alsa1x this bug not appear.

vvy at yagdzhyev-home:~/Compile/MPlayer-cvs/main$ gdb ./gmplayer
GNU gdb 6.1-debian
Copyright 2004 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"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /home/vvy/Compile/MPlayer-cvs/main/gmplayer
[Thread debugging using libthread_db enabled]
[New Thread 1085887264 (LWP 16305)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer dev-CVS-040531-19:44-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Tualatin 1296 MHz (Family: 6, Stepping: 1)
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/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/vvy/.mplayer/config
[cfg] read config file: /home/vvy/.mplayer/gui.conf
Reading config file /home/vvy/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/vvy/.mplayer/codecs.conf: Can't open 
'/home/vvy/.mplayer/codecs.conf': No such file or directory
Reading /usr/etc/mplayer/codecs.conf: Can't open 
'/usr/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/vvy/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
Can't open input config file /home/vvy/.mplayer/input.conf: No such file or 
directory
Can't open input config file /usr/etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config
SKIN dir 1: '/home/vvy/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

Playing /mnt/hda5/video/new6/ostrov_oshibok.avi.
AVI file format detected.
VIDEO:  [DIV3]  384x288  24bpp  15,036 fps  405,4 kbps (49,5 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 3000->88200 (24,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 22050 hz, little endian signed int
AF_pre: 22050Hz 2ch Signed 16-bit (Little-Endian)
AO: [arts] Connected to sound server
AO: [arts] Stream opened
AO: [arts] buffer size: 20480
AO: [arts] packet size: 2048
AO: [arts] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 384 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 384x288 => 384x288 Planar YV12
A:   1,9 V:   1,9 A-V: -0,002 ct:  0,026   29/ 29  15%  5%  0,4% 1 0 0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1085887264 (LWP 16305)]
0x403426a1 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
(gdb) bt
#0  0x403426a1 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
#1  0x4043cb94 in ?? () from /usr/lib/libgtk-1.2.so.0
#2  0x4034ba08 in ?? ()
#3  0x405a4072 in g_tree_new () from /usr/lib/libglib-1.2.so.0
#4  0x405164a8 in gtk_type_set_chunk_alloc () from /usr/lib/libgtk-1.2.so.0
#5  0x404c64b8 in gtk_menu_item_get_type () from /usr/lib/libgtk-1.2.so.0
#6  0x404c6648 in gtk_menu_item_new () from /usr/lib/libgtk-1.2.so.0
#7  0x404c6672 in gtk_menu_item_new_with_label () 
from /usr/lib/libgtk-1.2.so.0
#8  0x080d3fc2 in AddMenuItem (Menu=0x405a92c0, label=0x405a92c0 
"п\204\210@\004`\a\b", Number=1079677632)
    at mplayer/gtk/menu.c:44
#9  0x080d4188 in create_PopUpMenu () at mplayer/gtk/menu.c:293
#10 0x080d0249 in gtkShow (type=1079677632, param=0x0) at 
mplayer/widgets.c:219
#11 0x080e5cad in wsEvents (display=0x8583718, Event=0xbfffd5e0, arg=0x0) at 
wm/ws.c:679
#12 0x080ca8ab in guiGetEvent (type=1079677632, arg=0xbfffd5e0 "\004") at 
interface.c:511
#13 0x080a0055 in vo_x11_check_events (mydisplay=0x8583718) at 
x11_common.c:730
#14 0x080a5726 in check_events () at vo_xv.c:414
#15 0x0807d2b4 in main (argc=1, argv=0xbffffac4) at mplayer.c:2261
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x40342681 to 0x403426c1:
0x40342681 <pthread_mutex_lock+1>:      in     (%dx),%al
0x40342682 <pthread_mutex_lock+2>:      sbb    %cl,0x891c2454(%ebx)
0x40342688 <pthread_mutex_lock+8>:      pop    %esp
0x40342689 <pthread_mutex_lock+9>:      and    $0x10,%al
0x4034268b <pthread_mutex_lock+11>:     mov    %esi,0x14(%esp)
0x4034268f <pthread_mutex_lock+15>:     call   0x4034014a 
<__i686.get_pc_thunk.bx>
0x40342694 <pthread_mutex_lock+20>:     add    $0x64fc,%ebx
0x4034269a <pthread_mutex_lock+26>:     mov    %gs:0x48,%esi
0x403426a1 <pthread_mutex_lock+33>:     mov    0xc(%edx),%ecx
0x403426a4 <pthread_mutex_lock+36>:     cmp    $0x1,%ecx
0x403426a7 <pthread_mutex_lock+39>:     je     0x403426e8 
<pthread_mutex_lock+104>
0x403426a9 <pthread_mutex_lock+41>:     jg     0x403426d7 
<pthread_mutex_lock+87>
0x403426ab <pthread_mutex_lock+43>:     xor    %eax,%eax
0x403426ad <pthread_mutex_lock+45>:     mov    $0x1,%ecx
0x403426b2 <pthread_mutex_lock+50>:     lock cmpxchg %ecx,(%edx)
0x403426b6 <pthread_mutex_lock+54>:     jne    0x4034273e <_L_mutex_lock_24>
0x403426bc <pthread_mutex_lock+60>:     mov    0x8(%edx),%eax
0x403426bf <pthread_mutex_lock+63>:     test   %eax,%eax
End of assembler dump.
(gdb) info all-registers
eax            0x405a92c0       1079677632
ecx            0x800    2048
edx            0x0      0
ebx            0x40348b90       1077185424
esp            0xbfffcd64       0xbfffcd64
ebp            0xbfffcda8       0xbfffcda8
esi            0x3fb1   16305
edi            0x405a92ac       1079677612
eip            0x403426a1       0x403426a1
eflags         0x10216  66070
cs             0xf33    3891
ss             0xf3b    3899
ds             0xf3b    3899
es             0xf3b    3899
fs             0x0      0
gs             0x33     51
st0            -nan(0x7a808686827f7e80) (raw 0xffff7a808686827f7e80)
st1            -nan(0x7a008000860086)   (raw 0xffff007a008000860086)
st2            -nan(0x84817e7e80828280) (raw 0xffff84817e7e80828280)
st3            -nan(0x840081007e007e)   (raw 0xffff00840081007e007e)
st4            -nan(0x8600840081007f)   (raw 0xffff008600840081007f)
st5            0.06861579418182373046875        (raw 0x3ffb8c86700000000000)
st6            3        (raw 0x4000c000000000000000)
st7            0.92024539877300613494471442921351922    (raw 
0x3ffeeb9533d406483ed2)
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0xf33    3891
fioff          0x40596104       1079599364
foseg          0xf3b    3899
fooff          0x405a6998       1079667096
fop            0x2e9    745
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, 
0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {
---Type <return> to continue, or q <return> to quit---
    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 = 
{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
mm0            {uint64 = 0x7a808686827f7e80, v2_int32 = {0x827f7e80, 
0x7a808686}, v4_int16 = {0x7e80, 0x827f, 0x8686,
    0x7a80}, v8_int8 = {0x80, 0x7e, 0x7f, 0x82, 0x86, 0x86, 0x80, 0x7a}}
mm1            {uint64 = 0x7a008000860086, v2_int32 = {0x860086, 0x7a0080}, 
v4_int16 = {0x86, 0x86, 0x80, 0x7a},
  v8_int8 = {0x86, 0x0, 0x86, 0x0, 0x80, 0x0, 0x7a, 0x0}}
mm2            {uint64 = 0x84817e7e80828280, v2_int32 = {0x80828280, 
0x84817e7e}, v4_int16 = {0x8280, 0x8082, 0x7e7e,
    0x8481}, v8_int8 = {0x80, 0x82, 0x82, 0x80, 0x7e, 0x7e, 0x81, 0x84}}
mm3            {uint64 = 0x840081007e007e, v2_int32 = {0x7e007e, 0x840081}, 
v4_int16 = {0x7e, 0x7e, 0x81, 0x84},
  v8_int8 = {0x7e, 0x0, 0x7e, 0x0, 0x81, 0x0, 0x84, 0x0}}
mm4            {uint64 = 0x8600840081007f, v2_int32 = {0x81007f, 0x860084}, 
v4_int16 = {0x7f, 0x81, 0x84, 0x86},
  v8_int8 = {0x7f, 0x0, 0x81, 0x0, 0x84, 0x0, 0x86, 0x0}}
mm5            {uint64 = 0x8c86700000000000, v2_int32 = {0x0, 0x8c867000}, 
v4_int16 = {0x0, 0x0, 0x7000, 0x8c86},
---Type <return> to continue, or q <return> to quit---
  v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x70, 0x86, 0x8c}}
mm6            {uint64 = 0xc000000000000000, v2_int32 = {0x0, 0xc0000000}, 
v4_int16 = {0x0, 0x0, 0x0, 0xc000}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc0}}
mm7            {uint64 = 0xeb9533d406483ed2, v2_int32 = {0x6483ed2, 
0xeb9533d4}, v4_int16 = {0x3ed2, 0x648, 0x33d4,
    0xeb95}, v8_int8 = {0xd2, 0x3e, 0x48, 0x6, 0xd4, 0x33, 0x95, 0xeb}}
(gdb)

-- 
Yagdzhyyev Vladislav
Dnepropetrovsk, Ukraine




More information about the MPlayer-users mailing list