[MPlayer-users] crashes using SDL video output

Bartosz Fenski aka fEnIo fenio at debian.org
Fri Oct 12 16:38:16 CEST 2007


Hello.

I've got problems using mplayer with SDL video output, but that output is
preferred one, so I followed your Bug reporting howto and here goes
relevant informations:

First of all, the problem occures only when I am switching between
windowed and full-screen mode. It's quite easily reproducible on my system. 

I mean I can play whatever film and pressing "f" several times almost
always leads to segfault, and my X session is then frozen (I have to reboot
laptop, cause don't have other machine around to ssh and kill X).

Now some information which you ask for in your reporting howto

Distro: Debian Sid/unstable

Kernel: Linux lapik 2.6.23 #1 PREEMPT Thu Oct 11 14:04:15 CEST 2007 i686 GNU/Linux

libc: /lib/libc-2.6.1.so

gcc:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
--enable-targets=all --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.2 (Debian 4.2.2-1)

ld:
GNU ld (GNU Binutils for Debian) 2.18

as:
GNU assembler (GNU Binutils for Debian) 2.18
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `i486-linux-gnu'.

Window Manager:
FVWM 2.5.23

cpuinfo:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 1.60GHz
stepping        : 6
cpu MHz         : 600.000
cache size      : 2048 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 mce cx8 apic sep mtrr pge mca cmov
pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe bts est tm2
bogomips        : 1197.74
clflush size    : 64

Video Card:
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated 
Graphics Device (rev 02)

Video Driver:
X built-in

SoundCard:
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)

Since it crashes I downloaded SVN snapshot and compiled it with
--enable-debug=3. 

Attached is output of the following commands made on dumped core:
bt
disass $pc-32 $pc+32
info all-registers

If there more information I could provide then please tell me and I'll do
it.

regards
fEnIo

-- 
  ,''`.  Bartosz Fenski | mailto:fenio at debian.org | pgp:0x13fefc40 | irc:fEnIo
 : :' :       32-050 Skawina - Glowackiego 3/15 - malopolskie v. - Poland
 `. `'           phone:+48602383548 | proud Debian maintainer and user
   `-            http://fenski.pl | xmpp:fenio at jabber.org | rlu:172001
-------------- next part --------------
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./mplayer -v /home/fenio/Polscybohaterowie.avi'.
Program terminated with signal 11, Segmentation fault.
#0  0xb772289c in free () from /lib/libc.so.6
#0  0xb772289c in free () from /lib/libc.so.6
#1  0xb7c0d7ac in SDL_FreeSurface () from /usr/lib/libSDL-1.2.so.0
#2  0x080d24c6 in sdl_close () at vo_sdl.c:549
#3  0x080d2504 in uninit () at vo_sdl.c:1581
#4  0x08084b70 in uninit_player (mask=3078590452) at mplayer.c:615
#5  0x08084f5e in exit_player_with_rc (how=0x0, rc=1) at mplayer.c:669
#6  0x08085149 in exit_player (how=0x0) at mplayer.c:707
#7  <signal handler called>
#8  0xb7c2134d in ?? () from /usr/lib/libSDL-1.2.so.0
#9  0xb7c21329 in ?? () from /usr/lib/libSDL-1.2.so.0
#10 0xb7e72b24 in ?? () from /usr/lib/libX11.so.6
#11 0xbfe94cd8 in ?? ()
#12 0xb7dc833d in _XIOError () from /usr/lib/libX11.so.6
Backtrace stopped: frame did not save the PC
Dump of assembler code from 0xb772287c to 0xb77228bc:
0xb772287c <free+44>:	mov    %edi,(%esp)
0xb772287f <free+47>:	mov    %eax,0x4(%esp)
0xb7722883 <free+51>:	call   *%edx
0xb7722885 <free+53>:	mov    -0xc(%ebp),%ebx
0xb7722888 <free+56>:	mov    -0x8(%ebp),%esi
0xb772288b <free+59>:	mov    -0x4(%ebp),%edi
0xb772288e <free+62>:	mov    %ebp,%esp
0xb7722890 <free+64>:	pop    %ebp
0xb7722891 <free+65>:	ret    
0xb7722892 <free+66>:	test   %edi,%edi
0xb7722894 <free+68>:	je     0xb7722885 <free+53>
0xb7722896 <free+70>:	lea    -0x8(%edi),%eax
0xb7722899 <free+73>:	mov    %eax,-0x1c(%ebp)
0xb772289c <free+76>:	mov    0x4(%eax),%eax
0xb772289f <free+79>:	test   $0x2,%al
0xb77228a1 <free+81>:	jne    0xb77228f6 <free+166>
0xb77228a3 <free+83>:	test   $0x4,%al
0xb77228a5 <free+85>:	lea    0x114c(%ebx),%esi
0xb77228ab <free+91>:	je     0xb77228b9 <free+105>
0xb77228ad <free+93>:	andl   $0xfff00000,-0x1c(%ebp)
0xb77228b4 <free+100>:	mov    -0x1c(%ebp),%eax
0xb77228b7 <free+103>:	mov    (%eax),%esi
0xb77228b9 <free+105>:	xor    %eax,%eax
0xb77228bb <free+107>:	mov    $0x1,%ecx
End of assembler dump.
eax            0xb5d1cff8	-1244540936
ecx            0xb77fa154	-1216372396
edx            0x0	0
ebx            0xb77f8ff4	-1216376844
esp            0xbfe94908	0xbfe94908
ebp            0xbfe94938	0xbfe94938
esi            0x889f5d8	143259096
edi            0xb5d1d000	-1244540928
eip            0xb772289c	0xb772289c <free+76>
eflags         0x210286	[ PF SF IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
st0            0	(raw 0x00000000000000000000)
st1            0	(raw 0x00000000000000000000)
st2            0	(raw 0x00000000000000000000)
st3            0	(raw 0x00000000000000000000)
st4            0	(raw 0x00000000000000000000)
st5            0	(raw 0x00000000000000000000)
st6            0	(raw 0x00000000000000000000)
st7            0	(raw 0x00000000000000000000)
fctrl          0x0	0
fstat          0x0	0
ftag           0x0	0
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
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 = {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}
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 16 times>}, v8_int16 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
xmm4           {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}
xmm5           {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}
xmm6           {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}
xmm7           {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}
mxcsr          0x0	[ ]
mm0            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}}
mm1            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}}
mm2            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}}
mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}}
mm4            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}}
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 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20071012/316d32f4/attachment.pgp>


More information about the MPlayer-users mailing list