Have you picked up a Debug lib(if in release or visa versa)  you should not
have?

Have you picked up a lib/dll build with a different compiler or re-dist
package?

Have you done a full clean and rebuild just incase a change has not been
picked up by VS (I see this one a lot where we have a stale lib/dll)

If you do a osg::Node* node = new osg::Node(); instaead of osg::Geode* geode
= new osg::Geode(); does that work ? ( ps I always but () on my news for
none POD's should not make a difference unless theres an issue with a
default Ctor or Ctor chain)

____________________________________________________________________________
__
Gordon Tomlinson 

[email protected] IM: [email protected] 
www.vis-sim.com        
www.gordontomlinson.com
www.PhotographyByGordon.com
____________________________________________________________________________
__


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tom Pearce
Sent: Wednesday, June 23, 2010 2:10 AM
To: [email protected]
Subject: [osg-users] Sudden runtime error

Hello OSG users,

This afternoon, I had a program I've been working on start crashing on me
and I thought I'd see if anyone had insight into where I should be looking
for the problem.  I've been making changes to the code and re-building the
project to test the changes, but I don't know that my changes had anything
to do with this.

Basically, yesterday morning my application started crashing right when I
exited the viewer (by hitting "esc") - instead of just exiting the program,
an error message would pop up that the program stopped working unexpectedly.
This seemed unusual since I'd never had it happen before, but it wasn't
interfering with my ability to test the part of the code I was working on so
I didn't pursue it further at that point.

This afternoon, the application starts up but at one particular line
(nothing complicated, just osg::Geode* geode = new osg::Geode; ) the command
prompts displays "This application has requested the Runtime to terminate it
in an unusual way.  Please contact the application's support team for more
information."

Thus far, I have rebooted and re-extracted all osg files from the zip I
downloaded.  I tried changing the name of the variable on that line, and I
made sure to clean and rebuild the solution.  None of that changed anything.
I also set the OSG_NOTIFY_LEVEL to DEBUG but there were no messages that
popped up between my debugging message the line before and when it displays
the error message.  I don't think the issue is with my code because when I
copy the source to my other computer, the program works just fine.  In
addition, other applications I've created with osg (including Geode of
course) still execute just fine.

I'm not looking for someone to solve this for me, but I thought I'd see if
anyone else has had similar issues crop up and could point me in the right
direction.  System info:  Windows 7 64-bit, osg-2.8.2, Visual Studio 9.


Cheers,
Tom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29281#29281





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to