[martin@Lifebook widelands]$ gdb ./widelands GNU gdb (GDB) 8.0.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./widelands...done. (gdb) run Starting program: /home/martin/widelands/widelands [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". This is Widelands Version bzr8461[widelands] (Debug) Set home directory: /home/martin/.widelands Widelands executable directory: /home/martin/widelands/ Adding directory: /home/martin/widelands/data selected language: en No corresponding locale found - trying to set it via LANGUAGE=en, LANG=en Graphics: Try to set Videomode 800x600 Graphics: OpenGL: Version "2.1 Mesa 17.2.1" Graphics: SDL_GL_RED_SIZE is 8 Graphics: SDL_GL_GREEN_SIZE is 8 Graphics: SDL_GL_BLUE_SIZE is 8 Graphics: SDL_GL_ALPHA_SIZE is 0 Graphics: SDL_GL_BUFFER_SIZE is 24 Graphics: SDL_GL_DOUBLEBUFFER is 1 Graphics: SDL_GL_DEPTH_SIZE is 24 Graphics: SDL_GL_STENCIL_SIZE is 8 Graphics: SDL_GL_ACCUM_RED_SIZE is 0 Graphics: SDL_GL_ACCUM_GREEN_SIZE is 0 Graphics: SDL_GL_ACCUM_BLUE_SIZE is 0 Graphics: SDL_GL_ACCUM_ALPHA_SIZE is 0 Graphics: SDL_GL_STEREO is 0 Graphics: SDL_GL_MULTISAMPLEBUFFERS is 0 Graphics: SDL_GL_MULTISAMPLESAMPLES is 0 Graphics: SDL_GL_ACCELERATED_VISUAL is 1 Graphics: SDL_GL_CONTEXT_MAJOR_VERSION is 2 Graphics: SDL_GL_CONTEXT_MINOR_VERSION is 1 Graphics: SDL_GL_CONTEXT_FLAGS is 0 Graphics: SDL_GL_CONTEXT_PROFILE_MASK is 2 Graphics: SDL_GL_SHARE_WITH_CURRENT_CONTEXT is 0 Graphics: SDL_GL_FRAMEBUFFER_SRGB_CAPABLE is 0 Graphics: OpenGL: Double buffering enabled Graphics: OpenGL: Max texture size: 8192 Graphics: OpenGL: ShadingLanguage: "1.20" **** GRAPHICS REPORT **** VIDEO DRIVER x11 pixel fmt 370546692 size 800 600 **** END GRAPHICS REPORT **** [New Thread 0x7fffeac2a700 (LWP 4281)] [New Thread 0x7fffc3fff700 (LWP 4282)] [] Section [global], key 'ai_training' not used (did you spell the name correctly?) [] Section [global], key 'auto_speed' not used (did you spell the name correctly?) SoundHandler: loaded song "music/intro_00.ogg" SoundHandler: loaded song "music/menu_00.ogg" ┏━ Running Lua for world: ┃ Resources: 40ms ┃ Terrains: 71ms ┃ Immovables: 932ms Thread 1 "widelands" received signal SIGSEGV, Segmentation fault. 0x00007ffff7aece28 in ?? () from /usr/lib/libSDL2-2.0.so.0 (gdb) bt #0 0x00007ffff7aece28 in ?? () from /usr/lib/libSDL2-2.0.so.0 #1 0x00007ffff7aed026 in ?? () from /usr/lib/libSDL2-2.0.so.0 #2 0x00007ffff7aed557 in ?? () from /usr/lib/libSDL2-2.0.so.0 #3 0x00007ffff766c480 in Mix_LoadWAV_RW () from /usr/lib/libSDL2_mixer-2.0.so.0 #4 0x000055555613dccb in SoundHandler::load_one_fx ( this=0x555556c68500 , path="sound/animals/coyote_01.ogg", fx_name="sound/animals/coyote") at ../src/sound/sound_handler.cc:282 #5 0x000055555613dadb in SoundHandler::load_fx_if_needed ( this=0x555556c68500 , dir="sound/animals", basename="coyote", fx_name="sound/animals/coyote") at ../src/sound/sound_handler.cc:259 #6 0x0000555555f2cb3b in (anonymous namespace)::NonPackedAnimation::NonPackedAnimation (this=0x55555a278650, table=...) at ../src/graphic/animation.cc:120 #7 0x0000555555f2e242 in AnimationManager::load (this=0x555558466d50, table=...) at ../src/graphic/animation.cc:323 #8 0x000055555600c6a7 in Widelands::MapObjectDescr::MapObjectDescr ( this=0x55555a2712d0, init_type=Widelands::MapObjectType::CRITTER, init_name="fox", init_descname="Fox", table=...) at ../src/logic/map_objects/map_object.cc:229 #9 0x0000555555fea66b in Widelands::BobDescr::BobDescr (this=0x55555a2712d0, init_descname="Fox", init_type=Widelands::MapObjectType::CRITTER, owner_type=Widelands::MapObjectDescr::OwnerType::kWorld, table=...) ---Type to continue, or q to quit--- c/logic/map_objects/bob.cc:62 #10 0x00005555560ad10b in Widelands::CritterDescr::CritterDescr ( this=0x55555a2712d0, init_descname="Fox", table=..., world=...) at ../src/logic/map_objects/world/critter.cc:104 #11 0x00005555560bd2c9 in Widelands::World::add_critter_type ( this=0x5555597d93d0, table=...) at ../src/logic/map_objects/world/world.cc:82 #12 0x0000555556460147 in LuaRoot::LuaWorld::new_critter_type ( this=0x5555597e7840, L=0x5555585390a8) at ../src/scripting/lua_root.cc:421 #13 0x0000555556465810 in method_dispatch (L=0x5555585390a8) at ../src/scripting/luna_impl.h:175 #14 0x00005555564d6025 in luaD_precall (L=0x5555585390a8, func=0x5555597f2350, nresults=0) at ../src/third_party/eris/ldo.c:360 #15 0x00005555564f35f0 in luaV_execute (L=0x5555585390a8) at ../src/third_party/eris/lvm.c:1116 #16 0x00005555564d6675 in luaD_call (L=0x5555585390a8, func=0x5555597f2340, nResults=1) at ../src/third_party/eris/ldo.c:491 #17 0x00005555564d66d3 in luaD_callnoyield (L=0x5555585390a8, func=0x5555597f2340, nResults=1) at ../src/third_party/eris/ldo.c:501 #18 0x00005555564cd030 in f_call (L=0x5555585390a8, ud=0x7fffffffa4b0) at ../src/third_party/eris/lapi.c:942 #19 0x00005555564d55f5 in luaD_rawrunprotected (L=0x5555585390a8, f=0x5555564ccffb , ud=0x7fffffffa4b0) at ../src/third_party/eris/ldo.c:142 #20 0x00005555564d6e94 in luaD_pcall (L=0x5555585390a8, func=0x5555564ccffb , u=0x7fffffffa4b0, old_top=208, ef=0) at ../src/third_party/eris/ldo.c:722 #21 0x00005555564cd110 in lua_pcallk (L=0x5555585390a8, nargs=0, nresults=1, errfunc=0, ctx=0, k=0x0) at ../src/third_party/eris/lapi.c:968 #22 0x000055555632476f in (anonymous namespace)::run_string_as_script ( L=0x5555585390a8, identifier="world/critters/fox/init.lua", content="dirname = path.dirname(__file__)\n\nanimations = {\n idle = {\n ---Type to continue, or q to quit--- pictures = path.list_files(dirname .. \"idle_??.png\"),\n sound_effect = {\n -- Sound files with numbers starting for 10 are"...) at ../src/scripting/run_script.cc:65 #23 0x0000555556324ae1 in run_script (L=0x5555585390a8, path="world/critters/fox/init.lua", fs=0x555556c9ccc0) at ../src/scripting/run_script.cc:100 #24 0x00005555563f0283 in (anonymous namespace)::run_script_maybe_from_map ( L=0x5555585390a8, path="world/critters/fox/init.lua") at ../src/scripting/logic.cc:60 #25 0x00005555563f0e0e in LuaGameInterface::run_script (this=0x5555584586f0, script="world/critters/fox/init.lua") at ../src/scripting/logic.cc:234 #26 0x0000555556325702 in LuaGlobals::L_include (L=0x5555585390a8) at ../src/scripting/lua_globals.cc:244 #27 0x00005555564d6025 in luaD_precall (L=0x5555585390a8, func=0x5555597f2330, nresults=0) at ../src/third_party/eris/ldo.c:360 #28 0x00005555564f35f0 in luaV_execute (L=0x5555585390a8) at ../src/third_party/eris/lvm.c:1116 #29 0x00005555564d6675 in luaD_call (L=0x5555585390a8, func=0x555558642730, nResults=1) at ../src/third_party/eris/ldo.c:491 #30 0x00005555564d66d3 in luaD_callnoyield (L=0x5555585390a8, func=0x555558642730, nResults=1) at ../src/third_party/eris/ldo.c:501 #31 0x00005555564cd030 in f_call (L=0x5555585390a8, ud=0x7fffffffaf30) at ../src/third_party/eris/lapi.c:942 #32 0x00005555564d55f5 in luaD_rawrunprotected (L=0x5555585390a8, f=0x5555564ccffb , ud=0x7fffffffaf30) at ../src/third_party/eris/ldo.c:142 #33 0x00005555564d6e94 in luaD_pcall (L=0x5555585390a8, func=0x5555564ccffb , u=0x7fffffffaf30, old_top=16, ef=0) at ../src/third_party/eris/ldo.c:722 #34 0x00005555564cd110 in lua_pcallk (L=0x5555585390a8, nargs=0, nresults=1, errfunc=0, ctx=0, k=0x0) at ../src/third_party/eris/lapi.c:968 #35 0x000055555632476f in (anonymous namespace)::run_string_as_script ( ---Type to continue, or q to quit--- L=0x5555585390a8, identifier="world/init.lua", content="-- RST\n-- init.lua\n-- --------\n--\n-- World initialization.\n-- All world entities are loaded via this file.\n--\n-- This file also defines the editor categories for world elements like terrains or\n-- imm"...) at ../src/scripting/run_script.cc:65 #36 0x0000555556324ae1 in run_script (L=0x5555585390a8, path="world/init.lua", fs=0x555556c9ccc0) at ../src/scripting/run_script.cc:100 #37 0x00005555563f0283 in (anonymous namespace)::run_script_maybe_from_map ( L=0x5555585390a8, path="world/init.lua") at ../src/scripting/logic.cc:60 #38 0x00005555563f0e0e in LuaGameInterface::run_script (this=0x5555584586f0, script="world/init.lua") at ../src/scripting/logic.cc:234 #39 0x0000555555f8c61c in Widelands::EditorGameBase::mutable_world ( this=0x7fffffffb480) at ../src/logic/editor_game_base.cc:99 #40 0x0000555555f8c50e in Widelands::EditorGameBase::world ( this=0x7fffffffb480) at ../src/logic/editor_game_base.cc:87 #41 0x0000555555f9c34c in Widelands::Game::run_splayer_scenario_direct ( this=0x7fffffffb480, mapname="campaigns/tutorial01_basic_control.wmf", script_to_run="") at ../src/logic/game.cc:210 #42 0x0000555555e60b3b in WLApplication::mainmenu_tutorial ( this=0x555556c9cbb0) at ../src/wlapplication.cc:1096 #43 0x0000555555e60682 in WLApplication::mainmenu (this=0x555556c9cbb0) at ../src/wlapplication.cc:1022 #44 0x0000555555e5ce0b in WLApplication::run (this=0x555556c9cbb0) at ../src/wlapplication.cc:446 #45 0x0000555555e5b1c7 in main (argc=1, argv=0x7fffffffe788) at ../src/main.cc:49 (gdb) (gdb)