Author Topic: [fixed] git+4773.4f216e7 / CEGUI: Tutorial fails to start  (Read 918 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
When you try to start the advanced tutorial from the CEGUI-fied tutorial menu, you run into a SegF with this:

Code: [Select]
*ERROR* [2014-03-14 21:53:57] In [/home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp::handleRuntimeError Line: 633] [listBoxScenario.getSelectedItemIndex() >= scenarioFiles.size(), = [4][3]
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xc54ad8] line: 305
./megaglest:Glest::Game::MenuStateScenario::loadGameSettings(Glest::Game::ScenarioInfo const*, Glest::Game::GameSettings*)address [0x8b6871] line: 532
./megaglest:Glest::Game::MenuStateScenario::launchGame()address [0x8b9cbc] line: 441
./megaglest:Glest::Game::MenuStateScenario::callDelayedCallbacks()address [0x8b5e58] line: 207
./megaglest:Glest::Game::MenuStateScenario::update()address [0x8c0528] line: 432
./megaglest:Glest::Game::Program::loopWorker()address [0x8396ac] line: 467
./megaglest:Glest::Game::glestMain(int, char**)address [0x819e07] line: 5509
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x81c631] line: 5757
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x81c834] line: 5831
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7faf87219de5] line: 0
./megaglest() [0x617f09]address [0x617f09]
] gameInitialized = 1, program = 0x3216630
listBoxScenario.getSelectedItemIndex() >= scenarioFiles.size(), = [4][3]

Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xc54ad8] line: 305
./megaglest:Glest::Game::MenuStateScenario::loadGameSettings(Glest::Game::ScenarioInfo const*, Glest::Game::GameSettings*)address [0x8b6871] line: 532
./megaglest:Glest::Game::MenuStateScenario::launchGame()address [0x8b9cbc] line: 441
./megaglest:Glest::Game::MenuStateScenario::callDelayedCallbacks()address [0x8b5e58] line: 207
./megaglest:Glest::Game::MenuStateScenario::update()address [0x8c0528] line: 432
./megaglest:Glest::Game::Program::loopWorker()address [0x8396ac] line: 467
./megaglest:Glest::Game::glestMain(int, char**)address [0x819e07] line: 5509
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x81c631] line: 5757
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x81c834] line: 5831
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7faf87219de5] line: 0
./megaglest() [0x617f09]address [0x617f09]

GDB:
Code: [Select]
Core was generated by `./megaglest'.
Program terminated with signal 6, Aborted.
#0  0x00007faf8722ef77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#0  0x00007faf8722ef77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007faf872325e8 in __GI_abort () at abort.c:90
#2  0x000000000080976e in Glest::Game::ExceptionHandler::handleRuntimeError (msg=<optimized out>, getStackTraceString=getStackTraceString@entry=false) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:760
#3  0x0000000000809c84 in Glest::Game::ExceptionHandler::handleRuntimeError (ex=...) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:614
#4  0x0000000000810b2e in Glest::Game::glestMain (argc=argc@entry=1, argv=argv@entry=0x7fff17237f38) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:5569
#5  0x000000000081c631 in Glest::Game::glestMainSEHWrapper (argc=argc@entry=1, argv=argv@entry=0x7fff17237f38) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:5755
#6  0x000000000081c834 in Glest::Game::glestMainWrapper (argc=1, argv=0x7fff17237f38) at /home/tomreyn/SCM/megaglest-source/source/glest_game/main/main.cpp:5830
#7  0x00007faf87219de5 in __libc_start_main (main=0x5fe590 <main(int, char**)>, argc=1, ubp_av=0x7fff17237f38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff17237f28) at libc-start.c:260
#8  0x0000000000617f09 in _start ()
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 · · ·

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: git+4773.4f216e7 / CEGUI: Tutorial fails to start
« Reply #1 on: 14 March 2014, 21:09:32 »
The same issue also occurs on the scenario menu. There, in addition to the crash when starting the game, the scenario information is not loaded when you select a different scenario from the drop down menu.
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+4773.4f216e7 / CEGUI: Tutorial fails to start
« Reply #2 on: 15 March 2014, 00:56:46 »
Please give the latest git a try and let me know if you can reproduce this.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: git+4773.4f216e7 / CEGUI: Tutorial fails to start
« Reply #3 on: 15 March 2014, 13:20:57 »
Both of these (tutorials, scenarios) are [fixed] in 4776.6643ef4. Thanks.
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 · · ·

 

anything