Ogre 1.9 SharedPtr problem

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
aoikonom
Gnoblar
Posts: 23
Joined: Tue Aug 07, 2012 11:05 am

Ogre 1.9 SharedPtr problem

Post by aoikonom »

After porting my project from 1.8 to 1.9 I have a crash in Ogre::SharedPtr destructor.

I guess that the problem may not be in this point, just crashing there.

I am not using Ogre directly, rather trying to complete a port from Ogre to Marmalade and use a custom allocator.

The project worked fine in Ogre 1.8.

Is it possible that the new version of SharedPtr may be causing the problem?

scrawl
OGRE Expert User
OGRE Expert User
Posts: 1119
Joined: Sat Jan 01, 2011 7:57 pm
x 214

Re: Ogre 1.9 SharedPtr problem

Post by scrawl »

You need to make sure that all SharedPtr's are destroyed before Ogre is shut down. This has been the case in the past also.

aoikonom
Gnoblar
Posts: 23
Joined: Tue Aug 07, 2012 11:05 am

Re: Ogre 1.9 SharedPtr problem

Post by aoikonom »

I am not getting an error during Ogre shutdown, but while compiling a material

User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: Ogre 1.9 SharedPtr problem

Post by Klaim »

I think we can't help much without you providing the error message.

Post Reply