Really Unexpected Behavior

It is something with me? Or it is about my box?
This is my last production, from gdb:

GNU gdb 6.1.1
Copyright 2004 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-slackware-linux”…Using host
libthread_db library “/lib/libthread_db.so.1”.

67 if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)){
(gdb) next

Program received signal SIG32, Real-time event 32.
0x402992e1 in sigpending () from /lib/libc.so.6
(gdb) next
Single stepping until exit from function sigpending,
which has no line number information.
0x402993a7 in sigsuspend () from /lib/libc.so.6
(gdb) next
Single stepping until exit from function sigsuspend,
which has no line number information.
0x40357b00 in pthread_setcanceltype () from /lib/libc.so.6
(gdb) next

Here ends gdb execution and my X11 session is restarted.
Any idea?–
Lucas Clemente Vella
@Lucas_Clemente_Vella

Lucas Clemente Vella wrote:

It is something with me? Or it is about my box?
This is my last production, from gdb:

GNU gdb 6.1.1
Copyright 2004 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-slackware-linux”…Using host
libthread_db library “/lib/libthread_db.so.1”.

67 if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)){
(gdb) next

Program received signal SIG32, Real-time event 32.
0x402992e1 in sigpending () from /lib/libc.so.6
(gdb) next
Single stepping until exit from function sigpending,
which has no line number information.
0x402993a7 in sigsuspend () from /lib/libc.so.6
(gdb) next
Single stepping until exit from function sigsuspend,
which has no line number information.
0x40357b00 in pthread_setcanceltype () from /lib/libc.so.6
(gdb) next

Here ends gdb execution and my X11 session is restarted.
Any idea?

Could you please give us a backtrace, and maybe a small program
reproducing the problem too ?
Here’s how to get a backtrace :
http://www.libsdl.org/cgi/docwiki.cgi/FAQ_20Getting_20a_20backtrace

Stephane

I foud out the problem.
I do not know why, but when I loaded the “extend” module of X11, it
started to work.

Thanks anyway.

Stephane Marchesin wrote:> Lucas Clemente Vella wrote:

It is something with me? Or it is about my box?
This is my last production, from gdb:

GNU gdb 6.1.1
Copyright 2004 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-slackware-linux”…Using host
libthread_db library “/lib/libthread_db.so.1”.

67 if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)){
(gdb) next

Program received signal SIG32, Real-time event 32.
0x402992e1 in sigpending () from /lib/libc.so.6
(gdb) next
Single stepping until exit from function sigpending,
which has no line number information.
0x402993a7 in sigsuspend () from /lib/libc.so.6
(gdb) next
Single stepping until exit from function sigsuspend,
which has no line number information.
0x40357b00 in pthread_setcanceltype () from /lib/libc.so.6
(gdb) next

Here ends gdb execution and my X11 session is restarted.
Any idea?

Could you please give us a backtrace, and maybe a small program
reproducing the problem too ?
Here’s how to get a backtrace :
http://www.libsdl.org/cgi/docwiki.cgi/FAQ_20Getting_20a_20backtrace

Stephane


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Lucas Clemente Vella
@Lucas_Clemente_Vella