************************************************** gdb's output ************************************************** Starting program: /usr/local/FlightGear/bin/fgfs [Thread debugging using libthread_db enabled] [New Thread -1220822336 (LWP 10344)] Program received signal SIGFPE, Arithmetic exception. [Switching to Thread -1220822336 (LWP 10344)] 0xafd2d5f0 in _mesa_test_os_sse_exception_support () from /usr/X11R6/lib/modules/dri//r200_dri.so (gdb) where #0 0xafd2d5f0 in _mesa_test_os_sse_exception_support () from /usr/X11R6/lib/modules/dri//r200_dri.so #1 0xafd2d07a in check_os_sse_support () at common_x86.c:233 #2 0xafd2d503 in _mesa_init_all_x86_transform_asm () at common_x86.c:435 #3 0xafc56f32 in _math_init_transformation () at m_xform.c:214 #4 0xafc56f50 in _math_init () at m_xform.c:227 #5 0xafb8b50d in one_time_init (ctx=0x889a308) at context.c:637 #6 0xafb8c523 in _mesa_initialize_context (ctx=0x889a308, visual=0x888bf20, share_list=0x0, driverFunctions=0xbffff068, driverContext=0x8894c48) at context.c:1171 #7 0xafb8c77c in _mesa_create_context (visual=0x888bf20, share_list=0x0, driverFunctions=0xbffff068, driverContext=0x8894c48) at context.c:1262 #8 0xafd3c7ff in r200CreateContext (glVisual=0x888bf20, driContextPriv=0x888e6c8, sharedContextPrivate=0x0) at r200_context.c:313 #9 0xafd3ae62 in driCreateNewContext (dpy=0x886f470, modes=0x888bf20, render_type=0, sharedPrivate=0x0, pctx=0x888e268) at dri_util.c:782 #10 0xb7a7e39f in CreateContext (dpy=0x886f470, vis=0x888d2b0, fbconfig=0x0, shareList=0x0, allowDirect=1, contextID=0, use_glx_1_3=0, renderType=0) at glxcmds.c:353 #11 0xb7a7e7bd in glXCreateContext (dpy=0x886f470, vis=0x888d2b0, shareList=0x0, allowDirect=1) at glxcmds.c:430 #12 0xb7bace54 in X11_GL_CreateContext () from /usr/lib/libSDL-1.2.so.0 #13 0xb7bb1f31 in X11_CheckMouseMode () from /usr/lib/libSDL-1.2.so.0 #14 0xb7ba78a9 in SDL_SetVideoMode () from /usr/lib/libSDL-1.2.so.0 #15 0x080854d4 in fgOSOpenWindow (w=800, h=600, bpp=16, alpha=false, stencil=true, fullscreen=false) at fg_os_sdl.cxx:92 #16 0x08057b38 in fgMainInit (argc=1, argv=0xbffff8a4) at main.cxx:1000 #17 0x08057349 in main (argc=1, argv=0xbffff8a4) at bootstrap.cxx:193 (gdb) cont Continuing. Disabling HW TCL support opening file: /usr/local/FlightGear/share/FlightGear/Navaids/carrier_nav.dat /usr/local/FlightGear/share/FlightGear/Navaids/TACAN_freq.dat [New Thread -1492833360 (LWP 10345)] Breakpoint 1, RenderTexture::Initialize (this=0xb899658, width=256, height=256, shareObjects=true, copyContext=false) at RenderTexture.cpp:497 497 GL_TRUE); Current language: auto; currently c++ (gdb) step glXCreateContext (dpy=0x886f470, vis=0xb855b88, shareList=0x888e1b8, allowDirect=1) at glxcmds.c:430 430 return CreateContext(dpy, vis, NULL, shareList, allowDirect, None, Current language: auto; currently c (gdb) CreateContext (dpy=0x886f470, vis=0xb855b88, fbconfig=0x0, shareList=0x888e1b8, allowDirect=1, contextID=0, use_glx_1_3=0, renderType=0) at glxcmds.c:317 317 if ( dpy == NULL ) (gdb) next 320 gc = AllocateGLXContext(dpy); (gdb) 321 if (!gc) (gdb) 324 if (None == contextID) { (gdb) 325 if ( (vis == NULL) && (fbconfig == NULL) ) (gdb) 329 if (allowDirect) { (gdb) 330 int screen = (fbconfig == NULL) ? vis->screen : fbconfig->screen; (gdb) 331 __GLXscreenConfigs * const psc = GetGLXScreenConfigs(dpy, screen); (gdb) 337 if ( fbconfig == NULL ) { (gdb) 341 mode = _gl_context_modes_find_visual( psc->configs, (gdb) 343 assert( mode != NULL ); (gdb) 344 assert( mode->screen == screen ); (gdb) 350 if (psc && psc->driScreen.private) { (gdb) 352 ? shareList->driContext.private : NULL; (gdb) 353 gc->driContext.private = (gdb) step driCreateNewContext (dpy=0x886f470, modes=0x888b620, render_type=0, sharedPrivate=0x888e6c8, pctx=0xb873dd8) at dri_util.c:738 738 __DRIcontextPrivate *pshare = (__DRIcontextPrivate *) sharedPrivate; (gdb) next 740 void * const shareCtx = (pshare != NULL) ? pshare->driverPrivate : NULL; (gdb) 742 pDRIScreen = (*dri_interface->getScreen)(dpy, modes->screen); (gdb) 743 if ( (pDRIScreen == NULL) || (pDRIScreen->private == NULL) ) { (gdb) 748 psp = (__DRIscreenPrivate *)pDRIScreen->private; (gdb) 750 pcp = (__DRIcontextPrivate *)_mesa_malloc(sizeof(__DRIcontextPrivate)); (gdb) 751 if (!pcp) { (gdb) 755 if (! (*dri_interface->createContext)(dpy, modes->screen, modes->fbconfigID, (gdb) step XF86DRICreateContextWithConfig (dpy=0x886f470, screen=0, configID=35, context=0xb73e638, hHWContext=0xb73e63c) at XF86dri.c:336 336 XExtDisplayInfo *info = find_display (dpy); (gdb) next 341 XF86DRICheckExtension (dpy, info, False); (gdb) 343 LockDisplay(dpy); (gdb) 344 GetReq(XF86DRICreateContext, req); (gdb) 345 req->reqType = info->codes->major_opcode; (gdb) 346 req->driReqType = X_XF86DRICreateContext; (gdb) 347 req->visual = configID; (gdb) 348 req->screen = screen; (gdb) 349 *context = XAllocID(dpy); (gdb) 350 req->context = *context; (gdb) 351 if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { (gdb) step _XReply (dpy=0x886f470, rep=0xbffff06c, extra=0, discard=0) at XlibInt.c:1670 1670 unsigned long cur_request = dpy->request; (gdb) next 1675 if (dpy->flags & XlibDisplayIOError) (gdb) 1680 cvl = QueueReplyReaderLock(dpy); (gdb) 1681 if (cvl) { (gdb) 1692 _XFlushInt(dpy, cvl ? cvl->cv : NULL); (gdb) 1698 if(dpy->lock && (gdb) 1702 dpy->flags |= XlibDisplayReply; (gdb) 1710 if (!dpy->lock || !dpy->lock->reply_was_read) (gdb) 1712 (void) _XRead(dpy, (char *)rep, (long)SIZEOF(xReply)); (gdb) 1714 if (dpy->lock) (gdb) 1718 switch ((int)rep->generic.type) { (gdb) 1776 register Bool ret = False; (gdb) 1778 xError *err = (xError *) rep; (gdb) 1781 dpy->flags &= ~XlibDisplayReply; (gdb) 1782 serial = _XSetLastRequestRead(dpy, (xGenericReply *)rep); (gdb) 1783 if (serial == cur_request) (gdb) 1810 for (ext = dpy->ext_procs; !ret && ext; ext = ext->next) { (gdb) 1811 if (ext->error) (gdb) 1810 for (ext = dpy->ext_procs; !ret && ext; ext = ext->next) { (gdb) 1811 if (ext->error) (gdb) 1810 for (ext = dpy->ext_procs; !ret && ext; ext = ext->next) { (gdb) 1811 if (ext->error) (gdb) 1810 for (ext = dpy->ext_procs; !ret && ext; ext = ext->next) { (gdb) 1814 if (!ret) { (gdb) 1815 _XError(dpy, err); (gdb) step _XError (dpy=0x886f470, rep=0xbffff06c) at XlibInt.c:2861 2861 event.xerror.serial = _XSetLastRequestRead(dpy, (xGenericReply *)rep); (gdb) next 2863 for (async = dpy->async_handlers; async; async = next) { (gdb) 2870 event.xerror.display = dpy; (gdb) 2871 event.xerror.type = X_Error; (gdb) 2872 event.xerror.resourceid = rep->resourceID; (gdb) 2873 event.xerror.error_code = rep->errorCode; (gdb) 2874 event.xerror.request_code = rep->majorCode; (gdb) 2875 event.xerror.minor_code = rep->minorCode; (gdb) 2876 if (dpy->error_vec && (gdb) 2879 if (_XErrorFunction != NULL) { (gdb) 2882 if (dpy->lock) (gdb) 2884 UnlockDisplay(dpy); (gdb) 2886 rtn_val = (*_XErrorFunction)(dpy, (XErrorEvent *)&event); /* upcall */ (gdb) 0xb7bb00e0 in X11_CheckMouseMode () from /usr/lib/libSDL-1.2.so.0 (gdb) Single stepping until exit from function X11_CheckMouseMode, which has no line number information. _XDefaultError (dpy=0x886f470, event=0xbfffef7c) at XlibInt.c:2832 2832 { (gdb) 2833 if (_XPrintDefaultError (dpy, event, stderr) == 0) return 0; (gdb) X Error of failed request: GLXUnsupportedPrivateRequest Major opcode of failed request: 144 (GLX) Minor opcode of failed request: 16 (X_GLXVendorPrivate) Serial number of failed request: 30 Current serial number in output stream: 31 2834 exit(1); (gdb) *** glibc detected *** free(): invalid pointer: 0xa71f6400 *** Program received signal SIGABRT, Aborted. 0xb75f37a7 in raise () from /lib/tls/libc.so.6 (gdb) Single stepping until exit from function raise, which has no line number information. Couldn't get registers: No such process. (gdb) quit The program is running. Exit anyway? (y or n) y Quitting: thread_db_get_info: cannot get thread info: generic error