-
Notifications
You must be signed in to change notification settings - Fork 816
Description
Discussed in #2855
Originally posted by kurok134 October 25, 2025
Hello, could you tell me why, after building osgEarth from source, some examples run successfully, while others, such as osgearth_cluster or osgearth_graticule, fail with a segmentation fault? An example of a segmentation fault for graticule looks like this:
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe46006c0 (LWP 525383)]
[New Thread 0x7fffe3c006c0 (LWP 525384)]
[New Thread 0x7fffe32006c0 (LWP 525385)]
[New Thread 0x7fffe28006c0 (LWP 525386)]
Thread 1 "osgearth_gratic" received signal SIGSEGV, Segmentation fault.
0x00007ffff7603abc in osgEarth::Contrib::MouseCoordsTool::MouseCoordsTool(osgEarth::MapNode*, osgEarth::Util::Controls::LabelControl*, osgEarth::Util::Formatter*) ()
from /usr/local/lib/libosgEarth.so.171
(gdb) bt
#0 0x00007ffff7603abc in osgEarth::Contrib::MouseCoordsTool::MouseCoordsTool(osgEarth::MapNode*, osgEarth::Util::Controls::LabelControl*, osgEarth::Util::Formatter*) ()
from /usr/local/lib/libosgEarth.so.171
#1 0x000055555556ee3a in main ()
Thanks in advance for your help