Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


#271 Seg fault on opening world file through command line

stage (111)

When opening a world file with the command stage worlds/fasr.world I ran into the following error
Stage 3.1.0
[Loading worlds/fasr.world][Include pioneer.inc][Include map.inc][Include sick.inc]Segmentation fault

A more elaborate error description:
Stage 3.1.0
[New Thread 0xb77846c0 (LWP 9875)]
[Loading fasr.world][Include pioneer.inc][Include map.inc][Include sick.inc]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb77846c0 (LWP 9875)]
0xb7e36156 in glGenLists () from /usr/lib/libGL.so.1
(gdb) bt
#0 0xb7e36156 in glGenLists () from /usr/lib/libGL.so.1
#1 0xb7fb2782 in Stg::ModelLaser::ModelLaser ()
from /usr/local/lib/libstage.so.3.1.0
#2 0xb7fbeb13 in CreateModelLaser () from /usr/local/lib/libstage.so.3.1.0
#3 0xb7fbfcec in Stg::World::LoadModel ()
from /usr/local/lib/libstage.so.3.1.0
#4 0xb7fc0298 in Stg::World::Load () from /usr/local/lib/libstage.so.3.1.0
#5 0xb7fc7f5e in Stg::WorldGui::Load () from /usr/local/lib/libstage.so.3.1.0
#6 0x08048d26 in main ()
(gdb) c

My OpenGL may be the cause of this, because if I open a world file through the GUI it works fine but does not go to the background if I select another window. Also, I have to pause and unpause before display starts. The model is running before I do that, but it just does not show anything on the screen unless I touch a button.


  • I've changed the laser code in a way that *should* fix this, if I understand the problem correctly. I can't reproduce the effect myself, so I'll leave the bug open until I hear what happens.

  • Toby Collett
    Toby Collett

    • status: open --> closed-fixed
  • Toby Collett
    Toby Collett

    If we havent heard back by now I dont think we will. Closing as it should be fixed