Author Topic: Fixed: r1089: Segfault in "Shared::Lua::LuaScript::beginCall"  (Read 789 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Another segmentation fault with r1089:

Code: [Select]
Program terminated with signal 6, Aborted.
#0  0x00007f9c4d26ca75 in raise () from /lib/libc.so.6
#0  0x00007f9c4d26ca75 in raise () from /lib/libc.so.6
#1  0x00007f9c4d2705c0 in abort () from /lib/libc.so.6
#2  0x00007f9c4d2a64fb in ?? () from /lib/libc.so.6
#3  0x00007f9c4d2b05b6 in ?? () from /lib/libc.so.6
#4  0x00007f9c4d2b0a61 in ?? () from /lib/libc.so.6
#5  0x00007f9c4d2b3460 in ?? () from /lib/libc.so.6
#6  0x00007f9c4d2b6e83 in free () from /lib/libc.so.6
#7  0x00007f9c45256962 in ?? () from /lib/libdrm_intel.so.1
#8  0x00007f9c45256b9c in ?? () from /lib/libdrm_intel.so.1
#9  0x00007f9c45709ecc in ?? () from /usr/lib/dri/i965_dri.so
#10 0x00007f9c45709f85 in ?? () from /usr/lib/dri/i965_dri.so
#11 0x00007f9c4570b889 in brw_destroy_state () from /usr/lib/dri/i965_dri.so
#12 0x00007f9c45712aec in ?? () from /usr/lib/dri/i965_dri.so
#13 0x00007f9c456c383b in intelDestroyContext () from /usr/lib/dri/i965_dri.so
#14 0x00007f9c456b91f0 in ?? () from /usr/lib/dri/i965_dri.so
#15 0x00007f9c4fc9a6d3 in ?? () from /usr/lib/mesa/libGL.so.1
#16 0x00007f9c4fc74788 in ?? () from /usr/lib/mesa/libGL.so.1
#17 0x00007f9c4ff09092 in ?? () from /usr/lib/libSDL-1.2.so.0
#18 0x00007f9c4ff0cfbe in ?? () from /usr/lib/libSDL-1.2.so.0
#19 0x00007f9c4ff0d1d7 in ?? () from /usr/lib/libSDL-1.2.so.0
#20 0x00007f9c4fefec12 in SDL_VideoQuit () from /usr/lib/libSDL-1.2.so.0
#21 0x00007f9c4fed7655 in SDL_QuitSubSystem () from /usr/lib/libSDL-1.2.so.0
#22 0x00007f9c4fed76ee in SDL_Quit () from /usr/lib/libSDL-1.2.so.0
#23 0x00007f9c4fed7f7f in ?? () from /usr/lib/libSDL-1.2.so.0
#24 <signal handler called>
#25 0x00007f9c4e4bfa41 in ?? () from /usr/lib/liblua5.1.so.0
#26 0x00007f9c4e4c12ae in ?? () from /usr/lib/liblua5.1.so.0
#27 0x00007f9c4e4b3805 in lua_getfield () from /usr/lib/liblua5.1.so.0
#28 0x000000000060821e in Shared::Lua::LuaScript::beginCall (this=0x2b735e0, functionName=...) at shared_lib/sources/lua/lua_script.cpp:105
#29 0x00000000004585ee in Glest::Game::ScriptManager::onUnitCreated (this=<value optimised out>, unit=0xb7f7a80) at glest_game/game/script_manager.cpp:182
#30 0x0000000000596a19 in Glest::Game::UnitUpdater::updateProduce (this=0x2b72cd0, unit=0xb7f7c80) at glest_game/world/unit_updater.cpp:1119
#31 0x0000000000596fa7 in Glest::Game::UnitUpdater::updateUnitCommand (this=0x2b72cd0, unit=0x93a7e20) at glest_game/world/unit_updater.cpp:187
#32 0x000000000059ad13 in Glest::Game::UnitUpdater::updateUnit (this=0x2b72cd0, unit=0x93a7e20) at glest_game/world/unit_updater.cpp:134
#33 0x00000000005b1f04 in Glest::Game::World::updateAllFactionUnits (this=0x2b726f8) at glest_game/world/world.cpp:251
#34 Glest::Game::World::update (this=0x2b726f8) at glest_game/world/world.cpp:324
#35 0x00000000004432ab in Glest::Game::Game::update (this=0x2b726e0) at glest_game/game/game.cpp:661
#36 0x000000000049d8c1 in Glest::Game::Program::loopWorker (this=0x1909790) at glest_game/main/program.cpp:297
#37 0x000000000049a625 in Glest::Game::glestMain (argc=1, argv=0x7fff6aef4458) at glest_game/main/main.cpp:950
#38 0x00007f9c4d257c4d in __libc_start_main () from /lib/libc.so.6
#39 0x000000000040ad09 in _start ()

My log file is megaglest_btrunk+r1089_d20101011-021752UTC_ptomreyntrunk_tsegfault.tar.gz
« Last Edit: 25 October 2010, 12:45:55 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: Bug: r1089: Segfault in "Shared::Lua::LuaScript::beginCall"
« Reply #1 on: 22 October 2010, 22:58:18 »
Fixed and svn code is stable