Bug#390560: libgl1-mesa-swx11: opengl applications die with Illegal instruction after upgrade

Timo Juhani Lindfors timo.lindfors at iki.fi
Sun Oct 1 19:45:23 UTC 2006


Package: libgl1-mesa-swx11
Version: 6.5.1-0.1
Severity: grave
Justification: renders package unusable

Steps to reproduce:
1) sudo apt-get install libgl1-mesa-swx11
2) glxgears

Expected results:
2) glxgears opens a window and shows an animation

Actual results:
2) glxgears does not open a window and dies immediately with
"Illegal instruction (core dumped)"

More info:
0) Note: This bug seems to happen with any opengl application but I am
using glxgears here as a simple testcase. I originally hit this
problem when using xmoto 0.2.1-1

1) This bug started to appear after "apt-get dist-upgrade" upgraded
libgl1-mesa-swx11 to version 6.5.1-0.1. The bug disappears if I
manually install the old version of the package from

http://snapshot.debian.net/debian/pool/main/m/mesa/libgl1-mesa-swx11_6.5.0.cvs.20060524-1.1_i386.deb

2) GDB shows the following backtrace:
lindi at sauna:~$ gdb glxgears
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/bin/glxgears
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 8946)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 16384 (LWP 8946)]
0x400bdfc1 in _mesa_init_default_imports () from /usr/lib/i686/cmov/libGL.so.1
(gdb) bt
#0  0x400bdfc1 in _mesa_init_default_imports () from /usr/lib/i686/cmov/libGL.so.1
#1  0x4006d285 in _mesa_initialize_context () from /usr/lib/i686/cmov/libGL.so.1
#2  0x4023ac3d in XMesaCreateContext () from /usr/lib/i686/cmov/libGL.so.1
#3  0x40238112 in _kw_ungrab_all () from /usr/lib/i686/cmov/libGL.so.1
#4  0x40235160 in glXCreateContext () from /usr/lib/i686/cmov/libGL.so.1
#5  0x0804aa5a in ?? ()
#6  0x0804c860 in ?? ()
#7  0x08053f70 in ?? ()
#8  0x00000000 in ?? ()
(gdb) x/8i $eip
0x400bdfc1 <_mesa_init_default_imports+113>:    movss  0xffffffe8(%ebp),%xmm0
0x400bdfc6 <_mesa_init_default_imports+118>:    jp     0x400bdfca <_mesa_init_default_imports+122>
0x400bdfc8 <_mesa_init_default_imports+120>:    je     0x400bdfe0 <_mesa_init_default_imports+144>
0x400bdfca <_mesa_init_default_imports+122>:    fstps  (%esp)
0x400bdfcd <_mesa_init_default_imports+125>:    call   0x400531b4 <sqrtf at plt>
0x400bdfd2 <_mesa_init_default_imports+130>:    fstps  0xffffffe8(%ebp)
0x400bdfd5 <_mesa_init_default_imports+133>:    movss  0xffffffe8(%ebp),%xmm0
0x400bdfda <_mesa_init_default_imports+138>:    jmp    0x400bdfe2 <_mesa_init_default_imports+146>

3) I'm using an AMD Athlon system:

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) processor
stepping        : 2
cpu MHz         : 701.604
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 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 1399.19


Please let me know if you can't reproduce this bug on a similar
system. I am happy to provide more info.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32sauna0
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)

Versions of packages libgl1-mesa-swx11 depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libx11-6                     2:1.0.0-9   X11 client-side library
ii  libxext6                     1:1.0.1-2   X11 miscellaneous extension librar

libgl1-mesa-swx11 recommends no packages.

-- no debconf information




More information about the Pkg-mesa-devel mailing list