Author Topic: Crash when unloading  (Read 996 times)

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Crash when unloading
« on: 17 September 2011, 09:03:23 »
I had loaded and unloaded this Initiate into the Portal a few times in quick succession, then when double-clicking to unload, the game crashed.

Terminal output:
Code: [Select]
glestadv: /home/john/glestae_git/source/shared_lib/include/platform/timer.h:79: void Shared::Platform::Chrono::start(): Assertion `!running' failed.
Crash log:
Code: [Select]
Crash
Version: Advanced Engine git-master (A62E449) 0.3-826-ga62e449
Built: Sun Aug 14 21:38:52 EDT 2011
Time: Sat Sep 17 03:57:25 2011
Description: SIGABRT:
Address: 0x655a
Backtrace:
./glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x11a) [0x837f96a]
[0x82b40c]
[0x82b416]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x51) [0x392e71]
/lib/i386-linux-gnu/libc.so.6(abort+0x17e) [0x39634e]
/lib/i386-linux-gnu/libc.so.6(__assert_fail+0xf8) [0x38b888]
./glestadv() [0x8382ac1]
./glestadv(_ZN6Shared5Sound6OpenAL17SoundPlayerOpenAL4stopEPNS0_8StrSoundEx+0x56) [0x8382b26]
./glestadv(_ZN5Glest5Sound13SoundRenderer11stopAmbientEPN6Shared5Sound8StrSoundE+0x2e) [0x82d230e]
./glestadv(_ZN5Glest3Sim8TimeFlow6updateEv+0x16f) [0x8342bdf]
./glestadv(_ZN5Glest3Sim5World12processFrameEv+0x5a) [0x833634a]
./glestadv(_ZN5Glest3Sim19SimulationInterface11updateWorldEv+0x89) [0x8326da9]
./glestadv(_ZN5Glest3Gui9GameState6updateEv+0xdf) [0x81727ef]
./glestadv(_ZN5Glest4Main7Program4loopEv+0x211) [0x81d8e41]
./glestadv(_ZN5Glest4Main9glestMainEiPPc+0x2e0) [0x81d6720]
./glestadv(main+0x38) [0x81d6ce8]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x37ee37]
./glestadv() [0x8102e21]

=======================

Code: [Select]
[URL=http://imageshack.us/photo/my-images/685/glestadvcrash17sep20110.jpg/][IMG]http://img685.imageshack.us/img685/9774/glestadvcrash17sep20110.th.jpg[/img][/URL]
« Last Edit: 7 October 2016, 21:06:43 by filux »

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Crash when unloading
« Reply #1 on: 17 September 2011, 09:14:12 »
Same procedure, same results:
Code: [Select]
Crash
Version: Advanced Engine git-master (A62E449) 0.3-826-ga62e449
Built: Sun Aug 14 21:38:52 EDT 2011
Time: Sat Sep 17 04:10:53 2011
Description: SIGABRT:
Address: 0x6600
Backtrace:
./glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x11a) [0x837f96a]
[0xbb340c]
[0xbb3416]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x51) [0x48ee71]
/lib/i386-linux-gnu/libc.so.6(abort+0x17e) [0x49234e]
/lib/i386-linux-gnu/libc.so.6(__assert_fail+0xf8) [0x487888]
./glestadv() [0x8382ac1]
./glestadv(_ZN6Shared5Sound6OpenAL17SoundPlayerOpenAL4stopEPNS0_8StrSoundEx+0x56) [0x8382b26]
./glestadv(_ZN5Glest5Sound13SoundRenderer11stopAmbientEPN6Shared5Sound8StrSoundE+0x2e) [0x82d230e]
./glestadv(_ZN5Glest3Sim8TimeFlow6updateEv+0x16f) [0x8342bdf]
./glestadv(_ZN5Glest3Sim5World12processFrameEv+0x5a) [0x833634a]
./glestadv(_ZN5Glest3Sim19SimulationInterface11updateWorldEv+0x89) [0x8326da9]
./glestadv(_ZN5Glest3Gui9GameState6updateEv+0xdf) [0x81727ef]
./glestadv(_ZN5Glest4Main7Program4loopEv+0x211) [0x81d8e41]
./glestadv(_ZN5Glest4Main9glestMainEiPPc+0x2e0) [0x81d6720]
./glestadv(main+0x38) [0x81d6ce8]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x47ae37]
./glestadv() [0x8102e21]

=======================
Code: [Select]
[URL=http://imageshack.us/photo/my-images/198/glestadvcrash17sep20110.jpg/][IMG]http://img198.imageshack.us/img198/9774/glestadvcrash17sep20110.th.jpg[/img][/URL]
I'm not sure whether I even clicked on the unit icon this time.
« Last Edit: 7 October 2016, 21:07:53 by filux »

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Crash when unloading
« Reply #2 on: 17 September 2011, 09:41:39 »
I guess the whole unloading thing was just a coincidence, because this time it happened while initializing a match:
Code: [Select]
Crash
Version: Advanced Engine git-master (A62E449) 0.3-826-ga62e449
Built: Sun Aug 14 21:38:52 EDT 2011
Time: Sat Sep 17 04:37:11 2011
Description: SIGABRT:
Address: 0x68c6
Backtrace:
./glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x11a) [0x837f96a]
[0x37740c]
[0x377416]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x51) [0x5f0e71]
/lib/i386-linux-gnu/libc.so.6(abort+0x17e) [0x5f434e]
/lib/i386-linux-gnu/libc.so.6(__assert_fail+0xf8) [0x5e9888]
./glestadv() [0x83829c1]
./glestadv(_ZN6Shared5Sound6OpenAL17SoundPlayerOpenAL4playEPNS0_8StrSoundEx+0x3b) [0x83834bb]
./glestadv(_ZN5Glest5Sound13SoundRenderer11playAmbientEPN6Shared5Sound8StrSoundE+0x34) [0x82d22b4]
./glestadv(_ZN5Glest3Gui9GameState4initEv+0xbb4) [0x8173544]
./glestadv(_ZN5Glest4Main7Program8setStateEPNS0_12ProgramStateE+0x40) [0x81d9e70]
./glestadv(_ZN5Glest4Menu16MenuStateNewGame6updateEv+0x9fb) [0x81fe51b]
./glestadv(_ZN5Glest4Main7Program4loopEv+0x211) [0x81d8e41]
./glestadv(_ZN5Glest4Main9glestMainEiPPc+0x2e0) [0x81d6720]
./glestadv(main+0x38) [0x81d6ce8]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x5dce37]
./glestadv() [0x8102e21]

=======================
Code: [Select]
[URL=http://imageshack.us/photo/my-images/705/glestadvcrash17sep20110.jpg/][IMG]http://img705.imageshack.us/img705/9774/glestadvcrash17sep20110.th.jpg[/img][/URL]
« Last Edit: 7 October 2016, 21:08:09 by filux »

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash when unloading
« Reply #3 on: 17 September 2011, 14:21:15 »
It's got something to do with the day/night ambient sounds. It might be related to
Code: [Select]
http://sourceforge.net/apps/trac/glestae/ticket/347
Try it now. (commit 7b8a7e0e28..)
« Last Edit: 7 October 2016, 21:06:06 by filux »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/