Hi Brian,
I wonder if something silly like stio support is being unloaded before
the plugins, or something equally as daft. We've seen this problem
under OSX a long while back and had to avoid doing
osg::notify(osg::NOTICE)<<"mess..." on several key destructors to
avoid problems. These problems have now all been caught, we haven't
had these problems on exit under the OSX for a number of years now, or
perhaps OSX just got fixed...
If you can get osgconv running and exiting cleanly then you may well
find the other exit problems fixing themselves too. Then again maybe
not...
It might be worth searching Cygwin records for problems with clean up
of libraries, perhaps there is known bug.
Robert.
On 5/31/07, Brian Keener <[EMAIL PROTECTED]> wrote:
Robert Osfield wrote:
> Finally with testing the reading and writing of files in isolation try :
>
> osgconv cow.osg test.osg
Hmmm,
Robert I tried the above with OSG_NOTIFY_LEVEL set to DEBUG when I executed
osgconv did the work but then hung at the end like some of the other apps have
been doing. What I find interesting is that you can see the messages where it
opens the dynamic library for osgdb_osg and osgdb_rgb but then when it goes to
close it attempts to close osgdb_osg but you haven't seen the close for
osgdb_rgb yet - shouldn't you? I added the print of the handle to the messages
cause I thought maybe handles were getting confused but those seem to stay the
same. This looks like things are attempting to close all at once instead of
some heirarchal close - could it be something like that? Here is the output:
[EMAIL PROTECTED] /usr/tmp
$ osgconv cow.osg ./test.osg
itr='/usr/local/bin'
FindFileInPath() : trying /usr/local/bin/cygosgdb_osg.dll ...
FindFileInPath() : USING /usr/local/bin/cygosgdb_osg.dll
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
Opened DynamicLibrary cygosgdb_osg.dll for handle 0x1080000
itr='/usr/local/OpenSceneGraph-data'
FindFileInPath() : trying /usr/local/OpenSceneGraph-data/cow.osg ...
FindFileInPath() : USING /usr/local/OpenSceneGraph-data/cow.osg
itr='/usr/local/bin'
FindFileInPath() : trying /usr/local/bin/cygosgdb_rgb.dll ...
FindFileInPath() : USING /usr/local/bin/cygosgdb_rgb.dll
Opened DynamicLibrary cygosgdb_rgb.dll for handle 0x11c0000
itr='/usr/local/OpenSceneGraph-data'
FindFileInPath() : trying /usr/local/OpenSceneGraph-data/Images/reflect.rgb ...
FindFileInPath() : USING /usr/local/OpenSceneGraph-data/Images/reflect.rgb
raw->sizeX = 128
raw->sizeY = 128
raw->sizeZ = 3
raw->bpc = 1
image read ok 128 128
Time to load files 1261.67 ms
Stats before:
Object Type #Unique #Instanced
StateSet 1 1
Group 1 1
Transform 0 0
LOD 0 0
Switch 0 0
Geode 1 1
Drawable 1 1
Geometry 1 1
Vertices 7772 7772
Primitives 5804 5804
Optimizer::optimize() doing REMOVE_LOADED_PROXY_NODES
Optimizer::optimize() doing COMBINE_ADJACENT_LODS
Optimizer::optimize() doing OPTIMIZE_TEXTURE_SETTINGS
Optimizer::optimize() doing SHARE_DUPLICATE_STATE
Num of StateSet=1
state attribute list
0x102c7160 TexGen
0x102c6400 Material
0x102c68f8 Texture2D
searching for duplicate attributes
Optimizer::optimize() doing FLATTEN_STATIC_TRANSFORMS
** RemoveStaticTransformsVisitor *** Pass 0
Optimizer::optimize() doing CHECK_GEOMETRY
Optimizer::optimize() doing MERGE_GEOMETRY
MERGE_GEOMETRY took 3.15683e-05
Optimizer::optimize() doing REMOVE_REDUNDANT_NODES
Stats after:
Object Type #Unique #Instanced
StateSet 1 1
Group 1 1
Transform 0 0
LOD 0 0
Switch 0 0
Geode 1 1
Drawable 1 1
Geometry 1 1
Vertices 7772 7772
Primitives 5804 5804
Data written to './test.osg'.
Closing DynamicLibrary cygosgdb_osg.dll for handle 0x1080000
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/