Author Topic: [fixed] git+4768.5660876 / CEGUI: Crash on exit game prompt  (Read 762 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
I'm not sure this is actually a bug or just lack of implementation. Currently, when I just run the CEGUI branch on atibox and press Escape while the intro is still running, I run into this:

Code: [Select]
megaglest v3.10.0-dev
Compiled using: GNUC: 40801 [64bit] on: Mar 13 2014 17:43:41 platform: Linux-X64 endianness: little
GIT: [Rev: 4768.5660876] - using STREFLOP [SSE] - [no-denormals]
In [/home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5660] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
*ERROR* [2014-03-13 18:01:04] In [/home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp::handleRuntimeError Line: 633] [In [/home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5660] Error detected: signal 11:
] gameInitialized = 1, program = 0x1eea630
*ERROR* [2014-03-13 18:01:06] In [/home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp::handleRuntimeError Line: 652] [In [/home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5660] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x809102] line: 643
./megaglest() [0x80941f]address [0x80941f]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f075f615ff0] line: 0
./megaglest:CEGUI::NamedElement::isChild(CEGUI::String const&) constaddress [0xd52754] line: 0
./megaglest:Glest::Game::MegaGlest_CEGUIManager::getMessageBoxRoot(std::string)address [0x7c3214] line: 506
./megaglest:Glest::Game::MegaGlest_CEGUIManager::isMessageBoxShowing(std::string)address [0x7c416f] line: 542
./megaglest:Glest::Game::Program::keyDown(SDL_KeyboardEvent)address [0x836552] line: 327
./megaglest:Glest::Game::MainWindow::eventKeyDown(SDL_KeyboardEvent)address [0x7e942e] line: 1105
./megaglest:Shared::Platform::Window::handleEvent()address [0xc4e3d7] line: 420
./megaglest:Glest::Game::glestMain(int, char**)address [0x8194e5] line: 5422
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x81bd31] line: 5757
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x81bf34] line: 5831
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f075f600de5] line: 0
./megaglest() [0x6175f9]address [0x6175f9]
]
In [/home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5660] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x809102] line: 643
./megaglest() [0x80941f]address [0x80941f]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f075f615ff0] line: 0
./megaglest:CEGUI::NamedElement::isChild(CEGUI::String const&) constaddress [0xd52754] line: 0
./megaglest:Glest::Game::MegaGlest_CEGUIManager::getMessageBoxRoot(std::string)address [0x7c3214] line: 506
./megaglest:Glest::Game::MegaGlest_CEGUIManager::isMessageBoxShowing(std::string)address [0x7c416f] line: 542
./megaglest:Glest::Game::Program::keyDown(SDL_KeyboardEvent)address [0x836552] line: 327
./megaglest:Glest::Game::MainWindow::eventKeyDown(SDL_KeyboardEvent)address [0x7e942e] line: 1105
./megaglest:Shared::Platform::Window::handleEvent()address [0xc4e3d7] line: 420
./megaglest:Glest::Game::glestMain(int, char**)address [0x8194e5] line: 5422
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x81bd31] line: 5757
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x81bf34] line: 5831
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f075f600de5] line: 0
./megaglest() [0x6175f9]address [0x6175f9]

gdb:
Code: [Select]
Program terminated with signal 6, Aborted.
#0  0x00007fce7ada2f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#0  0x00007fce7ada2f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fce7ada65e8 in __GI_abort () at abort.c:90
#2  0x0000000000808e6e in Glest::Game::ExceptionHandler::handleRuntimeError (msg=msg@entry=0x7fff22cc5b00 "In [/home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5660] Error detected: signal 11:\n", getStackTraceString=getStackTraceString@entry=true) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:760
#3  0x000000000080941f in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:5664
#4  <signal handler called>
#5  0x0000000000d52754 in CEGUI::NamedElement::isChild(CEGUI::String const&) const ()
#6  0x00000000007c3214 in Glest::Game::MegaGlest_CEGUIManager::getMessageBoxRoot (this=this@entry=0x144ec20 <Glest::Game::MegaGlest_CEGUIManager::getInstance()::manager>, rootMessageBoxFullName=...) at /home/tomreyn/SCM/megaglest-source/source/glest_game/gui/megaglest_cegui_manager.cpp:506
#7  0x00000000007c416f in Glest::Game::MegaGlest_CEGUIManager::isMessageBoxShowing (this=this@entry=0x144ec20 <Glest::Game::MegaGlest_CEGUIManager::getInstance()::manager>, rootMessageBoxFullName=...) at /home/tomreyn/SCM/megaglest-source/source/glest_game/gui/megaglest_cegui_manager.cpp:542
#8  0x0000000000836552 in Glest::Game::Program::keyDown (this=0x30a8630, key=...) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/program.cpp:327
#9  0x00000000007e942e in Glest::Game::MainWindow::eventKeyDown (this=0x30d7c60, key=...) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:1103
#10 0x0000000000c4e3d7 in Shared::Platform::Window::handleEvent () at /home/tomreyn/SCM/megaglest-source/source/shared_lib/sources/platform/sdl/window.cpp:419
#11 0x00000000008194e5 in Glest::Game::glestMain (argc=argc@entry=1, argv=argv@entry=0x7fff22ccdff8) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:5422
#12 0x000000000081bd31 in Glest::Game::glestMainSEHWrapper (argc=argc@entry=1, argv=argv@entry=0x7fff22ccdff8) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:5755
#13 0x000000000081bf34 in Glest::Game::glestMainWrapper (argc=1, argv=0x7fff22ccdff8) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:5830
#14 0x00007fce7ad8dde5 in __libc_start_main (main=0x5fdc80 <main(int, char**)>, argc=1, ubp_av=0x7fff22ccdff8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff22ccdfe8) at libc-start.c:260
#15 0x00000000006175f9 in _start ()
« Last Edit: 13 March 2014, 17:20:27 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: git+4768.5660876 / CEGUI: Crash on exit game prompt
« Reply #1 on: 13 March 2014, 17:37:05 »
Fixed in git moments ago.