Hi,
I forgot a few details. I am runnign Windows 7 with Visual Studio 2010.
The relevent bit of the stack trace is:
msvcr100.dll!free(void * pBlock=0x0c3acde8) Line 51 C
> osgUtilrd.dll!std::vector<osg::Vec3f *,std::allocator<osg::Vec3f *>
> >::reserve(unsigned int _Count=141) Line 765 + 0x6 bytes C++
osgUtilrd.dll!std::vector<osg::Vec3f *,std::allocator<osg::Vec3f *>
>::_Reserve(unsigned int _Count=150271084) Line 1297 + 0x21 bytes C++
osgUtilrd.dll!std::vector<osg::Vec3f *,std::allocator<osg::Vec3f *>
>::push_back(osg::Vec3f * const & _Val=0x00000000) Line 995 + 0xe bytes C++
08f4f488()
osgrd.dll!__gl_renderCache(osg::GLUtesselator * tess=0x08f4f9b4) Line
493 + 0x1a bytes C++
Cheers,
Brad
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Christiansen,
Brad
Sent: Wednesday, 13 October 2010 2:05 PM
To: OpenSceneGraph Users
Subject: [osg-users] Crash with SVN version of Tessellator
Hi,
I have just updated to the latest revision of OSG and am now getting a crash
when calling Tessellator.retessellatePolygons.
The code in my application calling this function hasn't changed in many years
and has started breaking since the update. I have debugged the issue a little
and the crash is occuring when the Tessellator::endTessellation function is
called. The crash occurs on a call to free. I think I will need to do a full
debug build of OSG to get much further with my debuging (I am using release
with debug info) but a full rebuild will take me a while.
The previous (working) version of OSG I used was revision 11703 and the new
(broken) revision is 11835.
I know al the new GLU code has been added between these revision so I am
guessing that is what is causing the error. Before I go much further I was
wondering if anyone had any info that might help me track down the issue. It
doesn't seem that the required usage of Tessellator has changed but I am hoping
it has so I can simply call some different methods to fix the issue.
Cheers,
Brad
DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or
copyright
material or information that is subject to legal professional privilege. They
are for
the use of the intended recipient only. Any unauthorised viewing, use,
disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without
the
written permission of the owner. If you have received this transmission in
error, or
are not an authorised recipient, please immediately notify the sender by return
email,
delete this message and all copies from your e-mail system, and destroy any
printed
copies. Receipt by anyone other than the intended recipient should not be
deemed a
waiver of any privilege or protection. Thales Australia does not warrant or
represent
that this e-mail or any documents, files and previous e-mail messages attached
are
error or virus free.
--------------------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or
copyright
material or information that is subject to legal professional privilege. They
are for
the use of the intended recipient only. Any unauthorised viewing, use,
disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without
the
written permission of the owner. If you have received this transmission in
error, or
are not an authorised recipient, please immediately notify the sender by return
email,
delete this message and all copies from your e-mail system, and destroy any
printed
copies. Receipt by anyone other than the intended recipient should not be
deemed a
waiver of any privilege or protection. Thales Australia does not warrant or
represent
that this e-mail or any documents, files and previous e-mail messages attached
are
error or virus free.
--------------------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org