[MPlayer-users] crash when option selected

José Pedro zezepedro at gmail.com
Sat Jan 22 03:49:19 CET 2005


Hello mplayer-users!

I'm running slackware 10.0 and compiled mplayer1.0-pre6a with the
following options:

./configure --enable-gui --enable-debug=3

And this is what's happening:

I have a "crash" bug when I run gmplayer. The program starts ok and I
can even put some file (I tried lots of types) playing. The problem
arrives when I click on the right side of the playing window and try
to select one of the options present (preferences,etc...). It simply
crashes and exits the program. Than I open it again with some other
file type and the same happens again... I went through this steps
within gdb (see below - 2)

I can't seem to find the problem, so I decided to report it as a bug.

This is the message I get:
# Mplayer interrupted by signal 11 in module: key_events
# Mplayer crashed by bad usage of CPU/FPU/RAM ...
#....

Can someone give me an idea how to solve this? (thanks in advance)

1. Here's my system INFO:

*******************************
GENERAL SYSTEM INFORMATION:
*******************************

* KERNEL VERSION: (uname -a)
Linux 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004 i686 unknown unknown GNU/Linux

* LIBC VERSION:
libc-2.3.2.so

* gcc & ld VERSIONS:
gcc version 3.3.4
GNU ld version 2.15.90.0.3 20040415

* (as --version):
GNU assembler 2.15.90.0.3 20040415
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i486-slackware-linux'.

**************************
HARDWARE INFORMATION:
**************************

* (cat /proc/cpuinfo):
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 9
cpu MHz         : 2992.549
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 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips        : 5976.88

* VIDEO CARD:
VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600
128MB (DDR)] (rev a1)

* VIDEO DRIVER:
nVidia-Linux-x86-1.0-6629 (from nvidia.com)

* SOUND CARD & DRIVER:
Creative Labs SB Audigy2 (I'm still working on the driver.. I have no
sound yet- still I decided to experiment mplayer withtout it...)

********************************************
********************************************

2. And here's the gmplayer within gdb to ilustrate my crash (hope it helps):

(gdb) run gmplayer 
Starting program: /usr/local/bin/gmplayer gmplayer
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
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.
Playing /usr/local/bin/gmplayer.
Playing dvd://1.
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 36 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such device
alsa-init: no soundcards found: Success
[AO ARTS] Connected to sound server.
[AO ARTS] Stream opened.
[AO ARTS] buffer size: 20480
[AO ARTS] buffer size: 2048
AO: [arts] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: using unscaled Planar YV12 -> BGR 24-bit special converter
VO: [gl2] 720x576 => 1024x576 BGR 24-bit 
[gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok!)
[gl2] antialiasing off
[gl2] bilinear linear
A:   8.1 V:   8.0 A-V:  0.012 ct:  0.058 196/196 11% 12%  0.7% 0 0
Program received signal SIGSEGV, Segmentation fault.
0x40219992 in pthread_mutex_lock () from /lib/libpthread.so.0

(gdb) bt
#0  0x40219992 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x4046c166 in g_mem_chunk_new () from /usr/lib/libglib-1.2.so.0
#2  0x4035e105 in gtk_ctree_construct () from /usr/lib/libgtk-1.2.so.0
#3  0x4035e1eb in gtk_ctree_new_with_titles () from /usr/lib/libgtk-1.2.so.0
#4  0x4035e228 in gtk_ctree_new () from /usr/lib/libgtk-1.2.so.0
#5  0x080d8dc4 in create_PlayList () at mplayer/gtk/pl.c:433
#6  0x080d8099 in ShowPlayList () at mplayer/gtk/pl.c:118
#7  0x080d2089 in gtkShow (type=1078440640, param=0x0) at mplayer/widgets.c:188
#8  0x080d3466 in mplEventHandling (msg=10, param=0) at mplayer/mw.c:237
#9  0x080d5e70 in ActivateMenuItem (Item=1078440640) at mplayer/gtk/menu.c:69
#10 0x40396877 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#11 0x403c5d9e in gtk_signal_remove_emission_hook () from
/usr/lib/libgtk-1.2.so.0
#12 0x403c516a in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#13 0x403c3234 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#14 0x403f92ae in gtk_widget_activate () from /usr/lib/libgtk-1.2.so.0
#15 0x4039ed9c in gtk_menu_shell_activate_item () from /usr/lib/libgtk-1.2.so.0
#16 0x4039e04c in gtk_menu_shell_deactivate () from /usr/lib/libgtk-1.2.so.0
#17 0x4039664d in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#18 0x403c519f in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#19 0x403c3234 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#20 0x403f8fd9 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#21 0x403964d0 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#22 0x403955c1 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#23 0x4043db44 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#24 0x4046ae75 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#25 0x4046b32c in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#26 0x4046b4f5 in g_main_iteration () from /usr/lib/libglib-1.2.so.0
#27 0x40395388 in gtk_main_iteration_do () from /usr/lib/libgtk-1.2.so.0
#28 0x080d1dcf in gtkEventHandling () at mplayer/widgets.c:111
#29 0x0807e4be in main (argc=2, argv=0xbffffc04) at mplayer.c:3811

(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x40219972 to 0x402199b2:
0x40219972 <pthread_mutex_trylock+178>: add    $0x31,%al
0x40219974 <pthread_mutex_trylock+180>: shr    $0x71,%cl
0x40219977 <pthread_mutex_trylock+183>: (bad)  
0x40219978 <pthread_mutex_trylock+184>: (bad)  
0x40219979 <pthread_mutex_trylock+185>: decl   0xb6(%ebp)
0x4021997f <pthread_mutex_trylock+191>: add    %dl,0xffffff89(%ebp)
0x40219982 <pthread_mutex_lock+2>:      in     $0x83,%eax
0x40219984 <pthread_mutex_lock+4>:      in     (%dx),%al
0x40219985 <pthread_mutex_lock+5>:      sbb    %cl,0x7d8bfc7d(%ecx)
0x4021998b <pthread_mutex_lock+11>:     or     %cl,0x7589f45d(%ecx)
0x40219991 <pthread_mutex_lock+17>:     clc    
0x40219992 <pthread_mutex_lock+18>:     mov    0xc(%edi),%eax
0x40219995 <pthread_mutex_lock+21>:     call   0x40217649
<pthread_getattr_np+201>
0x4021999a <pthread_mutex_lock+26>:     add    $0x8226,%ebx
0x402199a0 <pthread_mutex_lock+32>:     cmp    $0x1,%eax
0x402199a3 <pthread_mutex_lock+35>:     je     0x40219a17
<pthread_mutex_lock+151>
0x402199a5 <pthread_mutex_lock+37>:     cmp    $0x1,%eax
0x402199a8 <pthread_mutex_lock+40>:     jle    0x40219a00
<pthread_mutex_lock+128>
0x402199aa <pthread_mutex_lock+42>:     cmp    $0x2,%eax
0x402199ad <pthread_mutex_lock+45>:     je     0x402199d4
<pthread_mutex_lock+84>
0x402199af <pthread_mutex_lock+47>:     cmp    $0x3,%eax
End of assembler dump.

(gdb) info all-registers
eax            0x4047b2c0       1078440640
ecx            0x2000   8192
edx            0x1      1
ebx            0x4047b4a8       1078441128
esp            0xbfffcb30       0xbfffcb30
ebp            0xbfffcb48       0xbfffcb48
esi            0x881f338        142734136
edi            0x0      0
eip            0x40219992       0x40219992
eflags         0x10286  66182
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x7      7
st0            -nan(0x080808080)        (raw 0xffff0000000080808080)
st1            -nan(0x080808080)        (raw 0xffff0000000080808080)
st2            -1       (raw 0xbfff8000000000000000)
st3            0.077026174980481698639778187498450279   (raw
0x3ffb9dbfe633d1300000)
st4            2        (raw 0x40008000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            3        (raw 0x4000c000000000000000)
st7            1.0810810810810810810283361105277322     (raw
0x3fff8a60dd67c8a60dd6)
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0x23     35
fioff          0x40467f30       1078361904
foseg          0x2b     43
fooff          0x40478658       1078429272
fop            0x1c9    457
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
0x0, 0x0, 0x0,
    0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x6e, 0x12, 0x83, 0x3b, 0x0 <repeats 12 times>},
v8_int16 = {0x126e,
    0x3b83, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x3b83126e,
0x0, 0x0, 0x0}, v2_int64 = {0x3b83126e, 0x0},
  uint128 = 0x0000000000000000000000003b83126e}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
0x0, 0x0, 0x0,
    0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x0 <repeats 12 times>, 0x1, 0x1, 0x1, 0x0},
v8_int16 = {0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x101, 0x1}, v4_int32 = {0x0, 0x0, 0x0,
0x10101}, v2_int64 = {0x0, 0x1010100000000}, uint128 =
0x00010101000000000000000000000000}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x46, 0xb8, 0xb, 0xb8, 0x1e, 0xc9, 0x3b, 0xba, 0xb5,
0x4b, 0xa1,
    0x3a, 0x24, 0x4f, 0x32, 0xba}, v8_int16 = {0xb846, 0xb80b, 0xc91e,
0xba3b, 0x4bb5, 0x3aa1, 0x4f24, 0xba32}, v4_int32 = {0xb80bb846,
0xba3bc91e,
    0x3aa14bb5, 0xba324f24}, v2_int64 = {0xba3bc91eb80bb846,
0xba324f243aa14bb5}, uint128 = 0xba324f243aa14bb5ba3bc91eb80bb846}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x61, 0x83, 0xd4, 0x3a, 0x94, 0x64, 0x78, 0xb9,
0xd7, 0x5f, 0x44,
    0x3a, 0x7, 0xe4, 0x2a, 0x3a}, v8_int16 = {0x8361, 0x3ad4, 0x6494,
0xb978, 0x5fd7, 0x3a44, 0xe407, 0x3a2a}, v4_int32 = {0x3ad48361,
0xb9786494,
    0x3a445fd7, 0x3a2ae407}, v2_int64 = {0xb97864943ad48361,
0x3a2ae4073a445fd7}, uint128 = 0x3a2ae4073a445fd7b97864943ad48361}
xmm6           {v4_float = {0x1, 0xffffffff, 0x0, 0x0}, v2_double =
{0x0, 0x0}, v16_int8 = {0x0, 0x0, 0x80, 0x3f, 0x0, 0x0, 0x80, 0xbf,
0xf3, 0x4, 0x35,
    0x3f, 0xf3, 0x4, 0x35, 0xbf}, v8_int16 = {0x0, 0x3f80, 0x0,
0xbf80, 0x4f3, 0x3f35, 0x4f3, 0xbf35}, v4_int32 = {0x3f800000,
0xbf800000, 0x3f3504f3,
    0xbf3504f3}, v2_int64 = {0xbf8000003f800000, 0xbf3504f33f3504f3},
uint128 = 0xbf3504f33f3504f3bf8000003f800000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf3, 0x4,
0x35, 0x3f, 0xf3,
    0x4, 0x35, 0xbf}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x4f3, 0x3f35,
0x4f3, 0xbf35}, v4_int32 = {0x0, 0x0, 0x3f3504f3, 0xbf3504f3},
v2_int64 = {0x0,
    0xbf3504f33f3504f3}, uint128 = 0xbf3504f33f3504f30000000000000000}
mxcsr          0x1fa0   8096
mm0            {uint64 = 0x80808080, v2_int32 = {0x80808080, 0x0},
v4_int16 = {0x8080, 0x8080, 0x0, 0x0}, v8_int8 = {0x80, 0x80, 0x80,
0x80, 0x0, 0x0,
 0x0, 0x0}}
mm1            {uint64 = 0x80808080, v2_int32 = {0x80808080, 0x0},
v4_int16 = {0x8080, 0x8080, 0x0, 0x0}, v8_int8 = {0x80, 0x80, 0x80,
0x80, 0x0, 0x0,
    0x0, 0x0}}
mm2            {uint64 = 0x8000000000000000, v2_int32 = {0x0,
0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0,
    0x0, 0x80}}
mm3            {uint64 = 0x9dbfe633d1300000, v2_int32 = {0xd1300000,
0x9dbfe633}, v4_int16 = {0x0, 0xd130, 0xe633, 0x9dbf}, v8_int8 = {0x0,
0x0, 0x30,
    0xd1, 0x33, 0xe6, 0xbf, 0x9d}}
mm4            {uint64 = 0x8000000000000000, v2_int32 = {0x0,
0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
0x0, 0x0, 0x0, 0x0,
    0x0, 0x80}}
mm5            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
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 = 0x8a60dd67c8a60dd6, v2_int32 = {0xc8a60dd6,
0x8a60dd67}, v4_int16 = {0xdd6, 0xc8a6, 0xdd67, 0x8a60}, v8_int8 =
{0xd6, 0xd, 0xa6,
    0xc8, 0x67, 0xdd, 0x60, 0x8a}}




More information about the MPlayer-users mailing list