Hi Stephan,

On 2/7/07, Stefan Eilemann <[EMAIL PROTECTED]> wrote:
[Switching to osg-users]

Robert,

It is osgviewer, the latest CVS version.

OK, that lest osgProducer/Producer and Don off the hook.  And puts me on it :-)


I have a stack trace for the exit hang on OS X/X11. The osgViewer
receives an X error when I press <Esc> and then hangs in _XLockDisplay:


Got an X11ErrorHandling call display=0x180a800 event=0xbfffe460
^C
Program received signal SIGINT, Interrupt.
0x90024427 in semaphore_wait_signal_trap ()
(gdb) where
#0  0x90024427 in semaphore_wait_signal_trap ()
#1  0x90001102 in pthread_mutex_lock ()
#2  0x010c68e3 in _XLockDisplay ()
#3  0x00779c61 in SendMakeCurrentRequest ()
#4  0x00779f97 in MakeContextCurrent ()
#5  0x0008dde1 in
osgViewer::GraphicsWindowX11::releaseContextImplementation ()
#6  0x00514538 in osg::GraphicsContext::releaseContext ()
#7  0x00517aef in osg::GraphicsContext::close ()
#8  0x00085425 in osgViewer::Viewer::~Viewer ()
#9  0x0000355b in main ()
(gdb) info threads
* 1 process 7846 local thread 0xf03  0x90024427 in
semaphore_wait_signal_trap ()
(gdb)

Any Ideas?

No ideas right now, so will need to expand on what the set up is.

Could you explain what system(s) you have seen this problem under.
Things like OS, hardware are all important.  You mentioned one machine
on osg-submssions, is this the only one?  Reinterating the
configuration here on osg-users will help others get any idea of where
the problem is occuring.

Is the osgviewer running multi-threaded, multi-screen?  Do you know
which threading model its chosen?  I'll add text label to the stats to
report this.  If you press 'm' the thread model is adjusted, the new
threading model being printed to the console.  It'd be interesting to
see if some threading models have the problem, other note.

If you are running across two screens try:

 osgviewer --screen 0 cow.osg

Then see if the problem on exit occurs.

Where the trail might lead I don't know, it could be an GLX bug under
OSX, it could be an osgViewer::GraphicsWindowX11 bug that isn't
revealed under Linux, it could be a threading problem.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to