View Single Post
Old 09-10-11, 06:19 PM   #15
valdis
Registered User
 
Join Date: Apr 2003
Posts: 48
Default Re: 285.03: X Server 1.11.0 IgnoreABI required to work

OK, *here* is a weird one for you. Looks like I'm getting bit by the "intentional segfault' problem - programs that use GL are dying. For instance, glxgears dies on me. The odd part? Running the program under strace or gdb causes it to not hit the segv:

% glxgears
Segmentation fault (core dumped)
% gdb glxgears core.112829
GNU gdb (GDB) Fedora (7.3.50.20110722-6.fc16)
...
Reading symbols from /usr/bin/glxgears...(no debugging symbols found)...done.
...
(gdb) where
#0 0x0000003a6329bf7b in ?? () from /usr/lib64/libGL.so.1
#1 0x0000003a632a056b in ?? () from /usr/lib64/libGL.so.1
#2 0x0000003a632a3f20 in ?? () from /usr/lib64/libGL.so.1
#3 0x0000003a4da0ecab in call_init (l=0x7f1cce23e000, argc=1,
argv=0x7fff2816d6e8, env=0x7fff2816d6f8) at dl-init.c:68
#4 0x0000003a4da0edd3 in call_init (env=<optimized out>,
argv=<optimized out>, argc=<optimized out>, l=<optimized out>)
at dl-init.c:50
....
% strace -c glxgears
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 136 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x27
Serial number of failed request: 33
Current serial number in output stream: 34
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
58.65 0.001916 35 54 ioctl
32.14 0.001050 6 170 45 read
4.81 0.000157 0 1170 getpid
2.39 0.000078 4 18 munmap
1.25 0.000041 6 7 brk
<yadda yadda yadda>

Programs like mplayer that have optional support for GL will continue working after
that using their non-GL methods.

So why does running it under strace or gdb make it miss the segv?
valdis is offline   Reply With Quote