[SOLVED] Assertion `insert_successful' failed.

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Locked
Message
Author
User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

[SOLVED] Assertion `insert_successful' failed.

#1 Post by kroddn »

After solving the bug viewtopic.php?f=25&t=2512 a new one arises:

Code: Select all

SceneManagerFactory for type 'OctreeSceneManager' registered.
SceneManagerFactory for type 'TerrainSceneManager' registered.
Loading library libGiGiOgrePlugin_OIS.so
freeorion: ./GG/Flags.h:231: void GG::FlagSpec<FlagType>::insert(FlagType, const std::string&, bool) [with FlagType = GG::ModKey]: Assertion `insert_successful' failed.
Any suggestions what goes wrong?

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Assertion `insert_successful' failed.

#2 Post by kroddn »

A clean build of GG and FreeOrion fixes this problem, but the application now crashes with a segfault.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: [SOLVED] Assertion `insert_successful' failed.

#3 Post by kroddn »

The problem was NOT freeorion but OGRE configured/built with parameter CPPFLAGS=-DOGRE_STATIC_LIB - rebuilding OGRE without that did the trick.

Locked