MegaGlest Forum
Archives (read only) => Glest Advanced Engine => Bug reports => Topic started by: John.d.h on 16 January 2011, 06:20:51
-
This is on whatever the current trunk version is. Any time I start a game with my Solunar test faction, it seems to load, then an error message pops up for a split second (haven't managed to grab it yet). Units are selectable, but I'm unable to issue orders. This happens consistently with my Solunar test faction but I haven't had it happen with Magic. When I end the game, it crashes.
******************************************************
An error ocurred and Glest will close.
Crash info has been saved in the crash.txt file
Please report this bug to glestae-devel@lists.sourceforge.net
******************************************************
Crash
Version: Advanced Engine svn-trunk
Time: Sun Jan 16 01:06:20 2011
Description: SIGSEGV: address not mapped to object
Address: 0xc
Backtrace:
./glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x301) [0x8484e7b]
[0xe2240c]
./glestadv(_ZNSt8_Rb_treeIiSt4pairIKiPN5Glest8Entities4UnitEESt10_Select1stIS6_ESt4lessIiESaIS6_EE8_M_beginEv+0x6) [0x8251b38]
./glestadv(_ZNSt8_Rb_treeIiSt4pairIKiPN5Glest8Entities4UnitEESt10_Select1stIS6_ESt4lessIiESaIS6_EE4findERS1_+0x23) [0x825863d]
./glestadv(_ZNSt3mapIiPN5Glest8Entities4UnitESt4lessIiESaISt4pairIKiS3_EEE4findERS7_+0x20) [0x8258490]
./glestadv(_ZN5Glest3Sim13EntityFactoryINS_8Entities4UnitEE11getInstanceEi+0x22) [0x82584ec]
./glestadv(_ZN5Glest3Sim19MasterEntityFactory7getUnitEi+0x18) [0x825846e]
./glestadv(_ZN5Glest8Entities6EffectD0Ev+0x27) [0x82745dd]
./glestadv(_ZN5Glest3Sim13EntityFactoryINS_8Entities6EffectEED1Ev+0x57) [0x8423c41]
./glestadv(_ZN5Glest3Sim19MasterEntityFactoryD2Ev+0x70) [0x8422052]
./glestadv(_ZN5Glest3Sim5WorldD1Ev+0x2ca) [0x841ace4]
./glestadv(_ZN5Glest3Sim19SimulationInterface16destroyGameWorldEv+0x133) [0x84304d5]
./glestadv(_ZN5Glest3Gui9GameStateD0Ev+0x203) [0x8292617]
./glestadv(_ZN5Glest4Main7Program8setStateEPNS0_12ProgramStateE+0x37) [0x82f583f]
./glestadv(_ZN5Glest3Gui9GameState6updateEv+0xab) [0x829395f]
./glestadv(_ZN5Glest4Main7Program4loopEv+0x1b1) [0x82f52f5]
./glestadv(_ZN5Glest4Main9glestMainEiPPc+0x33f) [0x82f775d]
./glestadv(main+0x79) [0x82f7a04]
/lib/libc.so.6(__libc_start_main+0xe7) [0x529ce7]
./glestadv() [0x822ee11]
=======================
(http://img195.imageshack.us/img195/9526/glestadvcrash.th.jpg) (http://img195.imageshack.us/i/glestadvcrash.jpg/)
Error log: http://pastebin.com/E8T5yahz (http://pastebin.com/E8T5yahz) -- none of my units are cloaked, but it seems to be trying to bring in the invisible daemon mod?
-
Hi John, unfortunately that stack trace is from a crash while 'cleaning up' the 'World', post error, and doesn't tell us anything about the initial cause.
It does tell me that some 'object factory' code I recently introduced is faulty, but that is no big deal and has nothing to do with what initially went wrong here.
I added a defence tower that can hold archers to Shibboleth recently, hoping to reproduce an earlier crash you reported, but have had no 'luck' yet.
I play Constellus via a hard link in my addons folder to constellus(latest) in my DropBox folder... this has proved very useful in locating problems Zoy has informed me of, and I know you are a fan and proponent of DropBox, so . . .
My DropBox username is my email addie, I can be trusted ;) (Omega?!? Chuppa?!?).
That error log seems strange (with the magitech stuff...), but only one of each logfile is created per 'program run', is it possible you started a game with magitech and finished it / quit it (returning to menu) before starting the game with Solunar?
PS: what was 'svn trunk' is now 'git master' ('delete cache' in CMake, or just delete your build directory and CMake again, the version string will be updated)
-
I play Constellus via a hard link in my addons folder to constellus(latest) in my DropBox folder... this has proved very useful in locating problems Zoy has informed me of, and I know you are a fan and proponent of DropBox, so . . .
My DropBox username is my email addie, I can be trusted ;) (Omega?!? Chuppa?!?).
Sure thing.
That error log seems strange (with the magitech stuff...), but only one of each logfile is created per 'program run', is it possible you started a game with magitech and finished it / quit it (returning to menu) before starting the game with Solunar?
Upon reproducing the crash, that does seem to be the case.
-
Fixed with commit 434ca77..