Hi Robert,
You mention that the problem is hanging somewhere in the new texture object
management code; I have seen osgcatch hang on exit before your new object
management code was added.
This leads me to believe that either the two issues are separate, or they are
both related to the same thing. Unfortunately I was not running the debug
version of osgcatch when it did hang, and it very rarely happened to me (maybe
twice out of about fifty times running osgcatch). I still haven't been able to
get it to hang on-exit using the newest svn revision.
Just a few more issues I wanted to bring up regarding osgcatch: Sometimes I get
a crash mid-game with the error "List iterator not incrementable". Further
debugging leads me to the GameEventHandler::handle() function where it attempts
to move objects
for(CatchableObjectList::iterator itr=_catchableObjects.begin();
itr!=_catchableObjects.end();
++itr)
{
}
(here's the stack trace if anyone's interested)
msvcp90d.dll!6895d4c3()
[Frames below may be incorrect and/or missing, no symbols loaded for
msvcp90d.dll]
osgcatchd.exe!std::list<osg::ref_ptr<CatchableObject>,std::allocator<osg::ref_ptr<CatchableObject>
> >::_Const_iterator<1>::operator++() Line 242 + 0x17 bytes C++
osgcatchd.exe!std::list<osg::ref_ptr<CatchableObject>,std::allocator<osg::ref_ptr<CatchableObject>
> >::_Iterator<1>::operator++() Line 405 C++
> osgcatchd.exe!GameEventHandler::handle(const osgGA::GUIEventAdapter &
> ea={...}, osgGA::GUIActionAdapter & __formal={...}) Line 882 + 0x8 bytes
> C++
osg61-osgGAd.dll!osgGA::GUIEventHandler::handle(const
osgGA::GUIEventAdapter & ea={...}, osgGA::GUIActionAdapter & aa={...},
osg::Object * __formal=0x00000000, osg::Object * __formal=0x00000000) Line 67
+ 0x26 bytes C++
osg61-osgGAd.dll!osgGA::GUIEventHandler::handleWithCheckAgainstIgnoreHandledEventsMask(const
osgGA::GUIEventAdapter & ea={...}, osgGA::GUIActionAdapter & aa={...},
osg::Object * object=0x00000000, osg::NodeVisitor * nv=0x00000000) Line 78 +
0x1f bytes C++
osg61-osgViewerd.dll!osgViewer::Viewer::eventTraversal() Line 902 + 0x4f
bytes C++
osg61-osgViewerd.dll!osgViewer::ViewerBase::frame(double
simulationTime=1.7976931348623157e+308) Line 637 + 0xf bytes C++
osgcatchd.exe!main(int argc=1, char * * argv=0x02e9d688) Line 1477 + 0x1a
bytes C++
osgcatchd.exe!__tmainCRTStartup() Line 586 + 0x19 bytes C
osgcatchd.exe!mainCRTStartup() Line 403 C
kernel32.dll!7628eccb()
ntdll.dll!7767d24d()
ntdll.dll!7767d45f()
where it strangely attempts to increment past the end, leading me to believe an
iterator is being invalidated somewhere.
The particle effects are strangely also not working for me, they all appear in
the bottom left corner of osgcatch where the blue background and sky texture
meet.
I'm running on Windows Vista 64-bit with an NVIDIA card with the latest drivers.
Sorry for not being able to get to the cause of the problem -- but hope I've
provided some insight.
Regards,
Kim.
> Date: Sun, 11 Oct 2009 07:38:27 +0100
> From: [email protected]
> To: [email protected]
> Subject: [osg-users] Away on a trip
>
> Hi All,
>
> It's school mid term holidays so my family and I are heading off to
> see the extended family for the week. I'll be beavering away on the
> OpenGLES port, but otherwise won't be popping up online.
>
> This morning I was attempt to put the 2.9.6 dev release out, and came
> close, everything was done, but I put some last round of testing in
> and found that the osgcatch example is now hanging due to a mutex lock
> not being freed somewhere in the new texture object management code.
> Setting this example to SingleThreaded cures the symptom but doesn't
> fix the problem. To fix this I'll need to do quite an indepth
> investigation to the mechanics of close down , something I can't do
> whilst packing for a trip, so rather than put out a dev release that
> is broken I'll wait another week and get the problem fixed, then roll
> out 2.9.6.
>
> Cheers,
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org