Due to the death of the machine I was doing all my flightgear work on I'm currently trying to set up another machine so I can still build packages, but I've run into a bit of a problem. While my old packages work ok on this machine (it's not gonna win any awards for framerates, but it proves it works) the current cvs code segfaults on startup like this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 18753)]
0x401861b2 in _glthread_SetTSD () from /usr/X11R6/lib/libGL.so.1
(gdb) bt
#0  0x401861b2 in _glthread_SetTSD () from /usr/X11R6/lib/libGL.so.1
#1  0x401863f3 in glXCreateGLXPbufferSGIX () from /usr/X11R6/lib/libGL.so.1
#2  0x0846a17a in RenderTexture::Initialize (this=0x891d220, width=1,
    height=1075494657, shareObjects=false, copyContext=false)
    at RenderTexture.cpp:508
#3  0x08414179 in SGBbCache::init (this=0xa2cc490, cacheCount=64)
    at bbcache.cxx:125
#4  0x0840b604 in SGNewCloud::init (this=0xa239b1c) at newcloud.cxx:78
#5  0x0840b762 in SGNewCloud (this=0xa239ae0, classification=CLFamilly_cu)
    at newcloud.cxx:85
#6  0x08409691 in SGCloudField::buildTestLayer (this=0xa6db588)
    at cloudfield.cxx:297
#7  0x08402d9e in SGCloudLayer::rebuild (this=0xa762ce0) at cloud.cxx:468
#8  0x084024f6 in SGCloudLayer (this=0xa762ce0, [EMAIL PROTECTED])
    at cloud.cxx:227
#9  0x08053f2c in fgIdleFunction () at sg_path.hxx:122
#10 0x0808a472 in GLUTidle () at fg_os.cxx:114
#11 0x400a1929 in __glutRegisterEventParser () from /usr/X11R6/lib/libglut.so.3
#12 0x400a20ad in glutMainLoop () from /usr/X11R6/lib/libglut.so.3
#13 0x080553d8 in fgMainInit (argc=1, argv=0xbffff794) at main.cxx:1011
#14 0x08051766 in main (argc=1, argv=0xbffff794) at bootstrap.cxx:193

I'm guessing it's a problem with the GL capabilities of this machine, and that we're now stressing th GL stuff more than we were before, but a segfault isn't a particularly graceful exit, so I thought I'd better let people know - maybe it's something we need to trap. Googling for _glthread_SetTSD throws up lots of problems and very few solutions.

--
Jon Stockill
[EMAIL PROTECTED]

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to