PCZ with Ogre 1.8.0. Stack overflow on SceneNode delete.

jessome

26-06-2012 18:51:09

I'm starting on a possibly ambitious project to retrofit the game I'm working on to use the PCZSceneManager.

I've got the scene up and running with everything added to the default zone.That starts up well enough although my players head is screwed on backwards( I'll deal with that later ).

On shut down I discovered a recursive infinite loop between Ogre::SceneManager and Ogre::PCZSceneManager tossing back and forth trying to delete a sceneNode. First by pointer, then by name ... repeat ... repeat.. until I get a stack overflow error. I've fixed this locally for my purposes, but I'm curious if anyone else has experienced similar behaviour. I'm little wary about what other things like this I'll come across as I try to work with PCZ.

noorus

20-10-2012 12:51:04

I just came accross this same problem when I recompiled Ogre from source.
I've fixed this locally for my purposes
So uh, why don't you post the patch..? I didn't look into it yet to figure out what's wrong.
I'm little wary about what other things like this I'll come across as I try to work with PCZ.
I haven't had any problems with PCZSM before this, and there have been quite a few projects bigger than mine.
It's not the most widely used scenemanager, but it's quite mature anyway.

noorus

20-10-2012 18:10:39

Reported and fixed(?) here: http://www.ogre3d.org/mantis/view.php?id=584