Author Topic: [fixed] 3.7.0, SigSegv due to missing map with --verbose, Ubuntu 12.04 x86_64  (Read 667 times)

gonse

  • Guest
Hi there,

another player started an online game. I joined, but did not have the map 'no masters'.
I was asked to download it - I did. After some second the game crashed. Same happens if i disagree to download the map.

http://www.sendspace.com/file/w9xsmh

Code: [Select]
gonse@gonsecomp:~/megaglest$ gdb -q -n -ex "bt" -batch ./megaglest core
[New LWP 15981]
[New LWP 15990]
[New LWP 15985]
[New LWP 15992]
[New LWP 16001]
[New LWP 15989]
[New LWP 15996]
[New LWP 15991]
[New LWP 15984]
[New LWP 15983]

warning: Can't read pathname for load map: Eingabe-/Ausgabefehler.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./megaglest --verbose'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f3b8512ef2b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#0  0x00007f3b8512ef2b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00000000007fbede in getCurrentMapFile (this=<optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/menu/menu_state_connected_game.cpp:1752
#2  Glest::Game::MenuStateConnectedGame::setupUIFromGameSettings (this=0x384f340, gameSettings=<optimized out>, errorOnMissingData=<optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/menu/menu_state_connected_game.cpp:4146
#3  0x000000000080aa4a in Glest::Game::MenuStateConnectedGame::update (this=0x384f340) at /home/softcoder/Code/megaglest/trunk/source/glest_game/menu/menu_state_connected_game.cpp:3007
#4  0x0000000000777983 in Glest::Game::Program::loopWorker (this=0x1a312b0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:433
#5  0x0000000000773c6d in Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool) ()
#6  0x000000000074ab4f in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:4891
#7  <signal handler called>
#8  0x00007f3b8512ef2b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00000000007fbede in getCurrentMapFile (this=<optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/menu/menu_state_connected_game.cpp:1752
#10 Glest::Game::MenuStateConnectedGame::setupUIFromGameSettings (this=0x384f340, gameSettings=<optimized out>, errorOnMissingData=<optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/menu/menu_state_connected_game.cpp:4146
#11 0x000000000080aa4a in Glest::Game::MenuStateConnectedGame::update (this=0x384f340) at /home/softcoder/Code/megaglest/trunk/source/glest_game/menu/menu_state_connected_game.cpp:3007
#12 0x0000000000777983 in Glest::Game::Program::loopWorker (this=0x1a312b0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:433
#13 0x000000000076ab96 in Glest::Game::glestMain (argc=-1769223296, argv=0x26e8050) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:4746
#14 0x000000000076df83 in Glest::Game::glestMainWrapper (argc=2, argv=0x7fff968c0c18) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:4924
#15 0x00007f3b847df76d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#16 0x00000000005dda99 in _start ()
« Last Edit: 19 November 2012, 13:46:51 by tomreyn »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
This bug is only triggered with verbose mode enabled and is also now fixed in svn

 

anything