Author Topic: Crash when messing with debug mode settings  (Read 1041 times)

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Crash when messing with debug mode settings
« on: 16 September 2011, 22:09:52 »
I was fooling around in-game with some of the debug mode options, then when I clicked to toggle debug mode on, the game crashed.  This was when running the current git version of Project Green.
Code: [Select]
Crash
Version: Advanced Engine git-master (A62E449) 0.3-826-ga62e449
Built: Sun Aug 14 21:38:52 EDT 2011
Time: Fri Sep 16 16:35:09 2011
Description: SIGABRT:
Address: 0x4bd1
Backtrace:
/home/john/glestae_git/build/source/game/glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x11a) [0x837fa2a]
[0x18f40c]
[0x18f416]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x51) [0x884e71]
/lib/i386-linux-gnu/libc.so.6(abort+0x17e) [0x88834e]
/lib/i386-linux-gnu/libc.so.6(__assert_fail+0xf8) [0x87d888]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest3Gui9GameState11toggleDebugEPNS_7Widgets6WidgetE+0x13d) [0x816c5dd]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest7Widgets6Button7mouseUpEN6Shared8Platform11MouseButtonENS2_4Math4Vec2IiEE+0x6f) [0x83007df]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest7Widgets12WidgetWindow12eventMouseUpEiiN6Shared8Platform11MouseButtonE+0x52) [0x830a612]
/home/john/glestae_git/build/source/game/glestadv(_ZN6Shared8Platform6Window11handleEventEv+0x117) [0x837f6b7]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest4Main7Program4loopEv+0x22b) [0x81d8f1b]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest4Main9glestMainEiPPc+0x2e0) [0x81d67e0]
/home/john/glestae_git/build/source/game/glestadv(main+0x38) [0x81d6da8]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x870e37]
/home/john/glestae_git/build/source/game/glestadv() [0x8102e21]

=======================
Code: [Select]
[URL=http://imageshack.us/photo/my-images/208/glestadvcrash16sep20111.jpg/][IMG]http://img208.imageshack.us/img208/9615/glestadvcrash16sep20111.th.jpg[/img][/URL]
« Last Edit: 7 October 2016, 21:25:41 by filux »

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash when messing with debug mode settings
« Reply #1 on: 17 September 2011, 04:52:31 »
It looks as if the code was changed to make the assert redundant but the assert was never removed. It should work now. (Commit 2c3e7def..)
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

 

anything