Re: [osg-users] Debugging example hangs in Cygwin and need some insight into cygwin_osgdb_osg.dll

2008-06-03 Thread Alberto Luaces
El Jueves 29 Mayo 2008ES 22:06:09 Brian Keener escribió: Alberto Luaces wrote: This almost seems as if iot has something to do with the actually writing of the osg file when it writes the data and then something not terminating as it should. I think this could be a non-valid example,

Re: [osg-users] Debugging example hangs in Cygwin and need some insight into cygwin_osgdb_osg.dll

2008-06-03 Thread Brian Keener
Alberto Luaces wrote: yes, this is what I meant. To load a dynamic symbol you have first to open the DLL file containing it, and then load it explicitly before use (if you used RTLD_LAZY). The source code at DynamicLibrary.cpp shows this. This can explain why it hangs depending on the

Re: [osg-users] Debugging example hangs in Cygwin and need some insight into cygwin_osgdb_osg.dll

2008-05-29 Thread Brian Keener
Alberto Luaces wrote: This almost seems as if iot has something to do with the actually writing of the osg file when it writes the data and then something not terminating as it should. I think this could be a non-valid example, because osgDB::DynamicLibrary on UNIX (including Cygwin)

Re: [osg-users] Debugging example hangs in Cygwin and need some insight into cygwin_osgdb_osg.dll

2008-05-28 Thread Alberto Luaces
El Martes 27 Mayo 2008ES 21:44:03 Brian Keener escribió: This almost seems as if iot has something to do with the actually writing of the osg file when it writes the data and then something not terminating as it should. I think this could be a non-valid example, because osgDB::DynamicLibrary

Re: [osg-users] Debugging example hangs in Cygwin and need some insight into cygwin_osgdb_osg.dll

2008-05-27 Thread Brian Keener
Robert Osfield wrote: The bug certainly seems to be a cygwin bug, unless the OSG's handle is being corrupted for some reason. This code works fine on other platforms so I wouldn't expect the later to be an issue. Perhaps you could write a small example that just loadeds the osg plugin,

Re: [osg-users] Debugging example hangs in Cygwin and need some insight into cygwin_osgdb_osg.dll

2008-05-22 Thread Robert Osfield
HI Brian, Good detective work, looks like you are now much closer to characterising the bug. The bug certainly seems to be a cygwin bug, unless the OSG's handle is being corrupted for some reason. This code works fine on other platforms so I wouldn't expect the later to be an issue. Perhaps

[osg-users] Debugging example hangs in Cygwin and need some insight into cygwin_osgdb_osg.dll

2008-05-21 Thread Brian Keener
Hello folks. I just can't seem to leave this alone and now I need a little insight. As has been reported before when trying to use OSG on Cygwin we experience some hangs and I believe this has been confirmed by Alberto Luaces. Working with debug version of the Cygwin Dll and debug version