Author Topic: [fixed] 3.4.0: Segfault while typing on loading screen  (Read 1071 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
segmentation fault with 3.4.0:
The game was loading, I was a client connected to debill's server, and I was continuing to type a message I had started to type before the game started to load (hoping that my message would show up after the game would start), then, while the game was still loading, I hit enter to submit my message. Then it crashed for me, and for me only.

Code: [Select]
Core was generated by `./bin/glest.bin'.
Program terminated with signal 6, Aborted.
#0  0x00007fd5ffcabba5 in raise () from /lib/libc.so.6
#0  0x00007fd5ffcabba5 in raise () from /lib/libc.so.6
#1  0x00007fd5ffcaf6b0 in abort () from /lib/libc.so.6
#2  0x00007fd5ffce543b in ?? () from /lib/libc.so.6
#3  0x00007fd5ffcef4b6 in ?? () from /lib/libc.so.6
#4  0x00007fd5ffcf5c83 in free () from /lib/libc.so.6
#5  0x00000000004c6dc3 in _M_dispose (this=0x7fff5305c490, __in_chrg=<value optimised out>) at /usr/include/c++/4.4/bits/basic_string.h:231
#6  ~basic_string (this=0x7fff5305c490, __in_chrg=<value optimised out>) at /usr/include/c++/4.4/bits/basic_string.h:498
#7  Shared::Platform::MutexSafeWrapper::~MutexSafeWrapper (this=0x7fff5305c490, __in_chrg=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/../shared_lib/include/platform/sdl/thread.h:100
#8  0x00000000006d5a98 in Shared::PlatformCommon::LogFileThread::addLogEntry (this=0xb62920, type=<value optimised out>, logEntry=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/common/simple_threads.cpp:216
#9  0x00000000006dbd68 in Shared::Util::SystemFlags::handleDebug (type=Shared::Util::SystemFlags::debugSystem, fmt=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/util/util.cpp:325
#10 0x0000000000535d1c in Glest::Game::MainWindow::eventKeyDown (this=0xba9e30, key=76 'L') at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:629
#11 0x00000000006ea033 in Shared::Platform::Window::handleEvent () at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/sdl/window.cpp:181
#12 0x000000000066e76b in Glest::Game::TechTree::load (this=0x7fd5e0352ce0, dir=<value optimised out>, factions=<value optimised out>, checksum=<value optimised out>, techtreeChecksum=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/types/tech_tree.cpp:164
#13 0x000000000066f4bf in Glest::Game::TechTree::loadTech (this=<value optimised out>, pathList=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
) at /home/softcoder/Code/megaglest/trunk/source/glest_game/types/tech_tree.cpp:40
#14 0x000000000067b36f in Glest::Game::World::loadTech (this=<value optimised out>, pathList=<value optimised out>, techName=<value optimised out>, factions=<value optimised out>, checksum=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/world.cpp:230
#15 0x00000000004e0b80 in Glest::Game::Game::load (this=0x7fd5e0094e80, loadTypes=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:430
#16 0x0000000000541da2 in Glest::Game::Program::setState (this=0xba9ca0, programState=0x7fd5e0094e80, cleanupOldState=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:412
#17 0x0000000000562fe3 in Glest::Game::MenuStateConnectedGame::update (this=0x1ddaed0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/menu/menu_state_connected_game.cpp:1391
#18 0x0000000000541249 in Glest::Game::Program::loopWorker (this=0xba9ca0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:283
#19 0x000000000053cfcd in Glest::Game::glestMain (argc=<value optimised out>, argv=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:1743
#20 0x00007fd5ffc96d8e in __libc_start_main () from /lib/libc.so.6
#21 0x000000000048f729 in _start () at ../sysdeps/x86_64/elf/start.S:113
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: 3.4.0: Segfault while typing on loading screen
« Reply #1 on: 8 March 2011, 01:03:28 »
As softcoder and titi_linux have stated independently on IRC, this issue is very likely to have been fixed in the meantime already.
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 · · ·