[MPlayer-users] SIGILL with gcc-3.2/3.3

Giuseppe Ciotta giuppi at acaro.org
Mon May 19 14:47:15 CEST 2003


Hi,
i've tried to 0.90/cvs main with gcc 2.95/3.2/3.3 today.

with 2.95 all goes fine, with 3.2/3.3 mplayer receives SIGILL in
video_read_properties() (with both 0.90 and cvs)

here is the bugreport:


Debian Gnu/Linux unstable
Linux ummagumma 2.4.21-pre5-acpi-v4l2 #4 Mon Apr 7 19:44:06 CEST 2003 i686 GNU/Linux

-rwxr-xr-x    1 root     root      1103880 Apr 19 20:57 /lib/libc-2.3.1.so
lrwxrwxrwx    1 root     root           13 May 15 14:03 /lib/libc.so.6---> libc-2.3.1.so

XFree86 Version 4.2.1.1 (Debian 4.2.1-6 20030225230350 branden at progeny.com) / X Window System
GNU ld version 2.14.90.0.1 20030505 Debian GNU/Linux

gcc:

(2.95)
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

(3.3)
Reading specs from /usr/lib/gcc-lib/i386-linux/3.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
i386-linux
Thread model: posix
gcc version 3.3 (Debian)

GNU assembler 2.14.90.0.1 20030505 Debian GNU/Linux

cpu:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP 2000+
stepping        : 0
cpu MHz         : 1659.275
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 3309.56

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 730 Host (rev
02)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
(rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900
10/100 Ethernet (rev 82)
00:01.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
Controller (rev 07)
00:01.3 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
Controller (rev 07)
00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS]
SiS PCI Audio Accelerator (rev 02)
00:01.6 Modem: Silicon Integrated Systems [SiS] Intel 537 [56k
Winmodem] (rev a0)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual
PCI-to-PCI bridge (AGP)
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio
Capture (rev 11)
00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio
Capture (rev 11)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
SiS630 GUI Accelerator+3D (rev 31)

gdb:
(gdb) run -v -vo xv -ao null ~/pvrtest.mpeg 
Starting program: /root/patches/MPlayer-0.90/mplayer -v -vo xv -ao
null ~/pvrtest.mpeg
[New Thread 16384 (LWP 18614)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


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

CPU: Advanced Micro Devices  (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file
or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video
codecs
CommandLine: '-v' '-vo' 'xv' '-ao' 'null' '/root/pvrtest.mpeg'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file
or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No
such file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('pvrtest.mpeg.conf') -> '/root/.mplayer/pvrtest.mpeg.conf'

Playing /root/pvrtest.mpeg
Not an URL!
File size is 23248896 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8349768  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8349768  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8349768  
Checking for REAL
DEMUXER: freeing demuxer at 0x8349768  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8349768  
Searching demuxer type for filename /root/pvrtest.mpeg ext: .mpeg
Checking for MOV
DEMUXER: freeing demuxer at 0x834a038  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x834a038  
DEMUXER: freeing demuxer at 0x834a038  
DEMUXER: freeing demuxer at 0x834a038  
DEMUXER: freeing demuxer at 0x834a038  
DEMUXER: freeing demuxer at 0x834a038  
Checking for PVA
DEMUXER: freeing demuxer at 0x834a038  
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 0
Searching for sequence header... OK!

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 16384 (LWP 18614)]
0x080dec1e in video_read_properties (sh_video=0x834a9d8) at
video.c:213
213        sh_video->fps=picture.fps*0.0001f;
(gdb) bt
#0  0x080dec1e in video_read_properties (sh_video=0x834a9d8) at
video.c:213
#1  0x080527c2 in main (argc=7, argv=0xbffffd44) at mplayer.c:1394
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x80debfe to 0x80dec3e:
0x80debfe <video_read_properties+510>:  inc    %esi
0x80debff <video_read_properties+511>:  sub    $0xd9,%al
0x80dec01 <video_read_properties+513>:  out    %al,(%dx)
0x80dec02 <video_read_properties+514>:  xor    %eax,%eax
0x80dec04 <video_read_properties+516>:  mov    0x8(%ebp),%edx
0x80dec07 <video_read_properties+519>:  cmpl   $0x0,0x82ac420
0x80dec0e <video_read_properties+526>:  sete   %al
0x80dec11 <video_read_properties+529>:  add    $0x10000001,%eax
0x80dec16 <video_read_properties+534>:  mov    %eax,0x8(%edx)
0x80dec19 <video_read_properties+537>:  mov    0x82ac434,%eax
0x80dec1e <video_read_properties+542>:  cvtsi2ss %eax,%xmm0
0x80dec22 <video_read_properties+546>:  movss  %xmm0,0xfffffff0(%ebp)
0x80dec27 <video_read_properties+551>:  flds   0xfffffff0(%ebp)
0x80dec2a <video_read_properties+554>:  fmuls  0x8219170
0x80dec30 <video_read_properties+560>:  fucomi %st(1),%st
0x80dec32 <video_read_properties+562>:  fstp   %st(1)
0x80dec34 <video_read_properties+564>:  fstps  0x24(%edx)
0x80dec37 <video_read_properties+567>:  jne    0x80ded08
<video_read_properties+776>
0x80dec3d <video_read_properties+573>:  jp     0x80ded08
<video_read_properties+776>
End of assembler dump.
(gdb) info all-registers
eax            0x492b4  299700
ecx            0x405ac098       1079689368
edx            0x834a9d8        137669080
ebx            0x405ac094       1079689364
esp            0xbfffe980       0xbfffe980
ebp            0xbfffe9c8       0xbfffe9c8
esi            0x834a9d8        137669080
edi            0x834a908        137668872
eip            0x80dec1e        0x80dec1e
eflags         0x210202 2163202
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x0      0
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.334233343601226806640625       (raw
0x3ffdab20a20000000000)
fctrl          0x37f    895
fstat          0x3820   14368
ftag           0x7fff   32767
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
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 = {
    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
orig_eax       0xffffffff       -1
mm0            {uint64 = 0xab20a20000000000, v2_int32 = {0x0,
0xab20a200}, v4_int16 = {0x0, 0x0, 0xa200, 0xab20}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0xa2, 0x20, 0xab}}
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}}

hope this can help.

thanks!
-- 
Giuseppe Ciotta
gpg key id: 0x62C77413
(string 72 101 108 108 111)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030519/67ae1990/attachment.pgp>


More information about the MPlayer-users mailing list