[Pkg-games-ubuntu] [Bug 913523] Re: Segfault on Root::Initialise

David Ballesteros Mayo 913523 at bugs.launchpad.net
Sun Jan 15 14:20:33 UTC 2012


I have the same error trying to run my Ogre game project and with the
Ogre tutorials in Debian Sid with Ogre 1.7.3-3. The game runs fine with
1.7.3-2.

I have changed the PluginFolder in plugins.cfg to
"PluginFolder=/usr/lib/x86_64-linux-gnu/OGRE".

I have debugged the execution and the problem seems to be with the
constant "Ogre::StringUtil::BLANK" defined as "static const String
BLANK;" in OgreString.h. The segfault raises in OgreRoot.cpp line 635
(Ogre::Root::initialise):

"if(customCapabilitiesConfig != StringUtil::BLANK)"

I have changed the call to Root::initialise from

m_root->initialise(false);

to

m_root->initialise(false, "test", "");

but the game crashes in the next place where there is a string
comparation with "StringUtil::BLANK".

Maybe it's something related to the change of the compilation options in
Ogre 1.7.3-3.

-- 
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to ogre in Ubuntu.
https://bugs.launchpad.net/bugs/913523

Title:
  Segfault on Root::Initialise

Status in “ogre” package in Ubuntu:
  Confirmed

Bug description:
  With the move to Multiarch the same code that worked with the old
  ogre-1.7.3 packages now produces a segfault at Root::Initialise.

  The ogre-1.7.3-dbg doesn't contain libraries for OgreMain, but only
  for plugins (or at least i can't fidn them). So I'm not able to debug
  this situation...

  I am using latest Precise on Amd64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ogre/+bug/913523/+subscriptions



More information about the Pkg-games-ubuntu mailing list