Author Topic: [fixed] r3217: Savegames: Error converting from string to int, found: [false]  (Read 659 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 run the the "Lord of the Land" scenario, create a save game right after the start, then exit the game and load this savegame, you will run into this error:
Code: [Select]
tomreyn@atibox:~/SCM/megaglest-trunk/mk/linux$ ./dev_rungame
megaglest v3.6.1-dev
Compiled using: GNUC: 40601 [64bit] on: Apr  2 2012 12:42:52
SVN: [Rev: 3217M] - using STREFLOP [SSE] - [no-denormals]
[2012-04-02 12:46:10] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/types/skill_type.cpp::load Line 416] WARNING CANNOT LOAD MODEL [/home/tomreyn/.megaglest/scenarios/lord_of_the_land/megapack_/factions/tech/units/swordman/models/guard_attacking.g3d] for parentLoader [/home/tomreyn/.megaglest/scenarios/lord_of_the_land/megapack_/factions/tech/units/swordman/swordman.xml]
[2012-04-02 12:46:10] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/types/skill_type.cpp::load Line 416] WARNING CANNOT LOAD MODEL [/home/tomreyn/.megaglest/scenarios/lord_of_the_land/megapack_/factions/tech/units/swordman_/models/guard_attacking.g3d] for parentLoader [/home/tomreyn/.megaglest/scenarios/lord_of_the_land/megapack_/factions/tech/units/swordman_/swordman_.xml]
[2012-04-02 12:46:29] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/types/skill_type.cpp::load Line 416] WARNING CANNOT LOAD MODEL [/home/tomreyn/.megaglest/scenarios/lord_of_the_land/megapack_/factions/tech/units/swordman/models/guard_attacking.g3d] for parentLoader [/home/tomreyn/.megaglest/scenarios/lord_of_the_land/megapack_/factions/tech/units/swordman/swordman.xml]
[2012-04-02 12:46:29] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/types/skill_type.cpp::load Line 416] WARNING CANNOT LOAD MODEL [/home/tomreyn/.megaglest/scenarios/lord_of_the_land/megapack_/factions/tech/units/swordman_/models/guard_attacking.g3d] for parentLoader [/home/tomreyn/.megaglest/scenarios/lord_of_the_land/megapack_/factions/tech/units/swordman_/swordman_.xml]
[2012-04-02 12:46:30] *ERROR* In [program.cpp::setState Line: 590]
Error [Error converting from string to int, found: [false]]
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 634] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]

Segmentation fault detected, analyzing...

warning: Can't read pathname for load map: Eingabe-/Ausgabefehler.
[Thread debugging using libthread_db enabled]
Core was generated by `./megaglest'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000005544ca in Glest::Game::Game::update (this=0x7f272426efb0) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/game/game.cpp:1238
1238                                    aiInterfaces[j]->update();
#0  0x00000000005544ca in Glest::Game::Game::update (this=0x7f272426efb0) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/game/game.cpp:1238
#1  0x000000000063e2dd in Glest::Game::Program::loopWorker (this=0x1fd4bb0) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/program.cpp:431
#2  0x0000000000634345 in Glest::Game::ExceptionHandler::handleRuntimeError (msg=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:512
#3  0x000000000061da22 in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:638
#4  <signal handler called>
#5  0x00000000005544ca in Glest::Game::Game::update (this=0x7f272426efb0) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/game/game.cpp:1238
#6  0x000000000063e2dd in Glest::Game::Program::loopWorker (this=0x1fd4bb0) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/program.cpp:431
#7  0x000000000062aca6 in Glest::Game::glestMain (argc=<optimized out>, argv=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:4140
#8  0x000000000062e0d6 in Glest::Game::glestMainWrapper (argc=1, argv=0x7fff6204e5a8) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:4296
#9  0x00007f274544b30d in __libc_start_main (main=0x4ab0c0 <main(int, char**)>, argc=1, ubp_av=0x7fff6204e5a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6204e598) at libc-start.c:226
#10 0x00000000004b0539 in _start ()

error.log:
Code: [Select]
[2012-04-02 12:46:31] Runtime Error information:
======================================================
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 634] Error detected: signal 11:

Stack Trace:
./megaglest() [0x61da22] address [0x61da22] line: 638
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7f2745460420] line: 0
./megaglest:Glest::Game::Game::update() address [0x5544ca] line: 1238
./megaglest:Glest::Game::Program::loopWorker() address [0x63e2dd] line: 432
./megaglest:Glest::Game::glestMain(int, char**) address [0x62aca6] line: 4140
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x62e0d6] line: 4298
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7f274544b30d] line: 0
./megaglest() [0x4b0539] address [0x4b0539] line: 0

I originally reported this as part of this bug as they seemed related to me (but it turned out they are actually not).
« Last Edit: 9 April 2012, 12:43:52 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 · · ·

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
As far as I can tell, this was since fixed - I cannot reproduce it on r3230.
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