Segmentation fault after update to pull request #1168

classic Classic list List threaded Threaded
1 message Options
DamianDixon DamianDixon
Reply | Threaded
Open this post in threaded view

Segmentation fault after update to pull request #1168

I can't spot why this is occurring. I've done a clean build of osgEarth and my application.

The only updates were to fix expected issue with the Annotation updates.

valgrind is too noisy (i965 driver and Qt).

The segmentation fault occurs when the application is exiting in the C++ object cleanup.

Any ideas or thoughts as to where to look?

[Thread 0x7fffbf7fe700 (LWP 25331) exited]
[Thread 0x7fffa56c1700 (LWP 25341) exited]
[Thread 0x7fffa5ec2700 (LWP 25340) exited]
[Thread 0x7fffacffe700 (LWP 25336) exited]
[Thread 0x7fffbeffd700 (LWP 25335) exited]
[Thread 0x7fffcff35700 (LWP 25328) exited]
[Thread 0x7fffbd481700 (LWP 25334) exited]

Thread 1 "display" received signal SIGSEGV, Segmentation fault.
0x0000000000000041 in ?? ()
(gdb) where
#0  0x0000000000000041 in  ()
#1  0x00007fffefe11ad8 in OpenThreads::Mutex::~Mutex() (this=0x7ffff4103d50 <osgEarth::Features::ScriptEngineFactory::s_singletonMutex>, __in_chrg=<optimised out>)
    at /home/xxxxx/trackmanager/OpenSceneGraph/src/OpenThreads/pthreads/PThreadMutex.cpp:115
#2  0x00007ffff08c1615 in __cxa_finalize (d=0x7ffff41028a0) at cxa_finalize.c:83
#3  0x00007ffff3dbef43 in __do_global_dtors_aux ()
    at /home/xxxxx/local/lib64/
#4  0x00007fffffffdca0 in  ()
#5  0x00007ffff7de5b73 in _dl_fini () at dl-fini.c:138