Sometimes when using gdb with my program I see error:

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 1024 (LWP 2340)]
0x405cdcfb in _mesa_test_os_sse_exception_support () from 
/usr/X11R6/lib/modules/dri/tdfx_dri.so

This is not my program fault, because there is same message with glxgears and
other OpenGL applications. However I remember - sometimes I could debug OpenGL
program without problems! 

Stack:

(gdb) bt
#0  0x405cdcfb in _mesa_test_os_sse_exception_support ()
   from /usr/X11R6/lib/modules/dri/tdfx_dri.so
#1  0x405cda4e in check_os_sse_support () at common_x86.c:190
#2  0x405cdbab in _mesa_init_all_x86_transform_asm () at common_x86.c:273
#3  0x4052380b in _math_init () at m_xform.c:220
#4  0x404b9f86 in one_time_init () at context.c:448
#5  0x404bc111 in _mesa_initialize_context (ctx=0x8078cf8, visual=0xbffff2d4, 
share_list=0x0, 
    driver_ctx=0x80782f8, direct=1) at context.c:1435
#6  0x404bc4e3 in _mesa_create_context (visual=0xbffff2d4, share_list=0x0, 
driver_ctx=0x80782f8, 
    direct=1) at context.c:1612
#7  0x405d173a in tdfxCreateContext (dpy=0x80710d8, mesaVis=0xbffff2d4, 
driContextPriv=0x8077490, 
    sharedContextPrivate=0x0) at tdfx_context.c:152
#8  0x404a93ec in driCreateContext (dpy=0x80710d8, vis=0x8077058, sharedPrivate=0x0, 
    pctx=0x8077ac4) at dri_util.c:849
#9  0x4010ecf9 in _glthread_SetTSD () from /usr/lib/libGL.so.1
#10 0x4010ee18 in glXCreateContext () from /usr/lib/libGL.so.1
#11 0x40046929 in X11_GL_CreateContext (this=0x806f560) at SDL_x11gl.c:185
#12 0x400457ed in X11_CreateWindow (this=0x806f560, screen=0x80721b0, w=800, h=600, 
bpp=16, 
    flags=2) at SDL_x11video.c:791
#13 0x40045b1a in X11_SetVideoMode (this=0x806f560, current=0x80721b0, width=800, 
height=600, 
    bpp=16, flags=2) at SDL_x11video.c:908
#14 0x4003f51d in SDL_SetVideoMode (width=800, height=600, bpp=16, flags=2) at 
SDL_video.c:621
#15 0x080579ab in GL_Init ()
#16 0x080608a3 in GameManager::GameManager ()
#17 0x0804aee6 in main ()
#18 0x4022817d in __libc_start_main (main=0x804ae70 <main>, argc=1, ubp_av=0xbffff994, 
    init=0x804a544 <_init>, fini=0x80624f0 <_fini>, rtld_fini=0x4000a534 <_dl_fini>, 
    stack_end=0xbffff98c) at ../sysdeps/generic/libc-start.c:129

-- 
http://decopter.sf.net - free unrealistic helicopter simulator


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to