Also try to check the OpenSG log,
#include <OpenSG/OSGLog.h>
OSG::osgLog().setLogLevel(OSG::LOG_DEBUG);
OSG::osgLog().setLogFile( "osglog.txt" );
Might give some clues. ?
Regards,
Toni
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bart
Kevelham
Sent: Thursday, November 23, 2006 4:06 PM
Cc: [email protected]
Subject: Re: [Opensg-users] glutMainLoopEvent, threads and what not
Hi
well, I'm down to general advice then: what does your plugin do, that
might be required anywhere else. Especially what happens during loading
of that plugin, i.e. what static initializers do run ?
Hm, one more thing comes to mind: Do you have a debugging version of
freeglut, can you check where in glutMainLoopEvent it is stuck, or
provide a backtrace ? Maybe that can give a clue ?
I've checked with the debug version of freeglut.
It hangs/blocks on the call to RedrawWindow() that's called from
fghcbDisplayWindow()
I've copied the callstack below.
Thanks, Bart.
freeglut.dll!fghcbDisplayWindow(tagSFG_Window * window=0x031d2ae0,
tagSFG_Enumerator * enumerator=0x0459f620) Line 234 C
freeglut.dll!fgEnumWindows(void (tagSFG_Window *, tagSFG_Enumerator *)*
enumCallback=0x1000eaa0, tagSFG_Enumerator * enumerator=0x0459f620) Line
388 + 0xd C
freeglut.dll!fghDisplayAll() Line 251 + 0xe C
freeglut.dll!glutMainLoopEvent() Line 1000 C
vhdMetaEngine_md_dbg.exe!vhdOpenSGViewerServiceBody::_updateImplem() Line
382 C++
vhdMetaEngine_md_dbg.exe!vhdServiceBody::_update() Line 564 + 0x11 C++
vhdMetaEngine_md_dbg.exe!vhdServiceHandle::update() Line 813 + 0x22 C++
vhdMetaEngine_md_dbg.exe!vhdScheduler::_JTCRunnableExecutor::run() Line 630
C++
vhdMetaEngine_md_dbg.exe!JTCThread::run() Line 782 + 0x1a C++
vhdMetaEngine_md_dbg.exe!JTCThread::entrance_hook() Line 1138 + 0xc C++
vhdMetaEngine_md_dbg.exe!lsf_thread_adapter(void * arg=0x034377e8) Line 165
+ 0x8 C++
msvcr71d.dll!_threadstartex(void * ptd=0x03437c00) Line 241 + 0xd C
kernel32.dll!7c80b683()
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users