GNU gdb (GDB) 7.12 Copyright (C) 2016 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/janosch/Dev/widelands-repo/trunk/widelands [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64//libthread_db.so.1". This is Widelands Version bzr8169[trunk] (Debug) Set home directory: /home/janosch/.widelands Widelands executable directory: /home/janosch/Dev/widelands-repo/trunk/ Adding directory: /home/janosch/Dev/widelands-repo/trunk/data selected language: (system language) using locale de_DE.UTF-8 Graphics: Try to set Videomode 1600x900 Graphics: OpenGL: Version "3.0 Mesa 13.0.0" 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.30" **** GRAPHICS REPORT **** VIDEO DRIVER x11 pixel fmt 370546692 size 1600 900 **** END GRAPHICS REPORT **** [New Thread 0x7fffe234b700 (LWP 26717)] [New Thread 0x7fffeba44700 (LWP 26718)] SoundHandler: loaded song "music/intro_00.ogg" SoundHandler: loaded song "music/menu_00.ogg" Game: Reading Preload Data ... took 0ms Game: Reading Game Class Data ... took 0ms Game: Reading Map Data ... Game: Reading Map Data took 4ms Game: Reading Player Info ... Loading the world took 658ms Loading Ships Loading Wares Loading Immovables Loading Workers Loading Warehouses Loading Productionsites Loading Trainingsites Loading Militarysites Loading Partially Finished Buildings Loading Atlanteans Loading Barbarians Loading Empire Finished loading tribes Loading the tribes took 2033ms Game: Reading Player Info took 2757ms Game: Calling read_complete() Reading Elemental Data ... took 2ms Reading Player Names And Tribe Data ... took 17ms Reading Port Spaces Data ... took 1ms Reading Heights Data ... took 4ms Reading Terrain Data ... took 34ms Reading Map Objects ... took 1316ms Reading Player Start Position Data ... took 0ms Reading Resources Data ... took 29ms Reading Map Version Data ... took 0ms Reading Allowed Worker Types Data ... took 1ms Reading Allowed Building Types Data ... took 2ms Reading Node Ownership Data ... took 3ms Reading Exploration Data ... took 17ms Reading Flag Data ... took 146ms Reading Road Data ... took 5ms Reading Building Data ... took 64ms Reading Flagdata Data ... took 3ms Reading Roaddata Data ... took 125ms Reading Buildingdata Data ... took 29ms Second and third phase loading Map Objects ... took 146ms Reading Players View Data ... Vision check successful for player 1 Vision check successful for player 2 Vision check successful for player 3 Vision check successful for player 4 Vision check successful for player 5 Vision check successful for player 6 took 109ms Reading Player Message Data ... took 21ms Reading Objective Data ... took 1ms Reading Scripting Data ... took 4ms Reading map images ... took 0ms WidelandsMapLoader::load_map_complete() for 'Dolomites' took 2436ms Game: read_complete took: 2436ms Game: Reading Player Economies Info ... WARNING: target quantity configured for fish, which should not have target quantity, ignoring WARNING: target quantity configured for log, which should not have target quantity, ignoring WARNING: target quantity configured for thatch_reed, which should not have target quantity, ignoring WARNING: target quantity configured for water, which should not have target quantity, ignoring WARNING: target quantity configured for wheat, which should not have target quantity, ignoring WARNING: target quantity configured for fish, which should not have target quantity, ignoring WARNING: target quantity configured for grape, which should not have target quantity, ignoring WARNING: target quantity configured for log, which should not have target quantity, ignoring WARNING: target quantity configured for water, which should not have target quantity, ignoring WARNING: target quantity configured for wheat, which should not have target quantity, ignoring WARNING: target quantity configured for fish, which should not have target quantity, ignoring WARNING: target quantity configured for grape, which should not have target quantity, ignoring WARNING: target quantity configured for log, which should not have target quantity, ignoring WARNING: target quantity configured for water, which should not have target quantity, ignoring WARNING: target quantity configured for wheat, which should not have target quantity, ignoring WARNING: target quantity configured for blackroot, which should not have target quantity, ignoring WARNING: target quantity configured for corn, which should not have target quantity, ignoring WARNING: target quantity configured for fish, which should not have target quantity, ignoring WARNING: target quantity configured for log, which should not have target quantity, ignoring WARNING: target quantity configured for water, which should not have target quantity, ignoring took 4ms Game: Reading ai persistent data ... took 1ms Game: Reading Command Queue Data ... took 46ms Game: Parsing messages ... took 1ms Game: Reading Interactive Player Data ... took 1ms GameLoader::load() took 5255ms Starting replay writer Game: Writing Preload Data ... took 5ms Game: Writing Game Class Data ... took 0ms Game: Writing Player Info ... took 252ms Game: Writing Map Data! Writing Elemental Data ... took 0ms Writing Player Names And Tribe Data ... took 1ms Writing Port Spaces Data ... took 0ms Writing Heights Data ... took 9ms Writing Terrain Data ... took 107ms Writing Player Start Position Data ... took 0ms Writing Player Message Data ... took 8ms Writing Resources Data ... took 42ms Writing Map Version ... took 1ms Writing Allowed Worker Types Data ... took 0ms Writing Allowed Building Types Data ... took 5ms Writing Flag Data ... took 18ms Writing Road Data ... took 6ms Writing Building Data ... took 12ms Writing Map Objects ... took 730ms Writing Flagdata Data ... took 16ms Writing Roaddata Data ... took 50ms Writing Buildingdata Data ... took 43ms Writing Node Ownership Data ... took 12ms Writing Exploration Data ... took 31ms Writing Players Unseen Data ... took 240ms Writing Scripting Data ... took 28ms Writing Objective Data ... took 1ms Writing map images ... took 0ms MapSaver::save() for 'Dolomites' took 1411ms Game: Writing Map Data took 1411ms Game: Writing Player Economies Info ... took 10ms Game: Writing ai persistent data ... took 0ms Game: Writing Command Queue Data ... took 868ms Game: Writing Interactive Player Data ... took 0ms GameSaver::save() took 2550ms SaveHandler::save_game() took 2550ms Reloading the game from replay TI(19327): destination disappeared or economy mismatch -> fail TI(19135): destination disappeared or economy mismatch -> fail TI(19494): destination disappeared or economy mismatch -> fail TI(19109): destination disappeared or economy mismatch -> fail TI(17097): destination disappeared or economy mismatch -> fail TI(17725): destination disappeared or economy mismatch -> fail TI(18485): destination disappeared or economy mismatch -> fail TI(17812): destination disappeared or economy mismatch -> fail TI(18418): destination disappeared or economy mismatch -> fail TI(18699): destination disappeared or economy mismatch -> fail TI(17902): destination disappeared or economy mismatch -> fail TI(17973): destination disappeared or economy mismatch -> fail TI(18854): destination disappeared or economy mismatch -> fail TI(18113): destination disappeared or economy mismatch -> fail TI(18481): destination disappeared or economy mismatch -> fail TI(18225): destination disappeared or economy mismatch -> fail TI(18315): destination disappeared or economy mismatch -> fail TI(18398): destination disappeared or economy mismatch -> fail TI(18539): destination disappeared or economy mismatch -> fail TI(19175): destination disappeared or economy mismatch -> fail TI(18788): destination disappeared or economy mismatch -> fail TI(18535): destination disappeared or economy mismatch -> fail TI(19001): destination disappeared or economy mismatch -> fail TI(18975): destination disappeared or economy mismatch -> fail TI(18872): destination disappeared or economy mismatch -> fail TI(19432): destination disappeared or economy mismatch -> fail TI(18223): destination disappeared or economy mismatch -> fail TI(18878): destination disappeared or economy mismatch -> fail TI(18282): destination disappeared or economy mismatch -> fail TI(18740): destination disappeared or economy mismatch -> fail TI(19426): destination disappeared or economy mismatch -> fail TI(18069): destination disappeared or economy mismatch -> fail TI(17925): destination disappeared or economy mismatch -> fail TI(18264): destination disappeared or economy mismatch -> fail TI(17712): destination disappeared or economy mismatch -> fail TI(18055): destination disappeared or economy mismatch -> fail TI(17985): destination disappeared or economy mismatch -> fail TI(17747): destination disappeared or economy mismatch -> fail TI(17979): destination disappeared or economy mismatch -> fail TI(17744): destination disappeared or economy mismatch -> fail TI(18585): destination disappeared or economy mismatch -> fail TI(18639): destination disappeared or economy mismatch -> fail TI(19137): destination disappeared or economy mismatch -> fail TI(18806): destination disappeared or economy mismatch -> fail TI(19043): destination disappeared or economy mismatch -> fail TI(19097): destination disappeared or economy mismatch -> fail TI(18607): destination disappeared or economy mismatch -> fail TI(19339): destination disappeared or economy mismatch -> fail TI(18324): destination disappeared or economy mismatch -> fail TI(19279): destination disappeared or economy mismatch -> fail TI(18732): destination disappeared or economy mismatch -> fail TI(19056): destination disappeared or economy mismatch -> fail TI(18956): destination disappeared or economy mismatch -> fail TI(19311): destination disappeared or economy mismatch -> fail TI(19150): destination disappeared or economy mismatch -> fail TI(19136): destination disappeared or economy mismatch -> fail TI(19427): destination disappeared or economy mismatch -> fail TI(18679): destination disappeared or economy mismatch -> fail TI(19433): destination disappeared or economy mismatch -> fail TI(19023): destination disappeared or economy mismatch -> fail TI(19305): destination disappeared or economy mismatch -> fail TI(18796): destination disappeared or economy mismatch -> fail TI(18852): destination disappeared or economy mismatch -> fail TI(19284): destination disappeared or economy mismatch -> fail TI(18845): destination disappeared or economy mismatch -> fail TI(19120): destination disappeared or economy mismatch -> fail TI(18790): destination disappeared or economy mismatch -> fail TI(18800): destination disappeared or economy mismatch -> fail TI(19393): destination disappeared or economy mismatch -> fail TI(18983): destination disappeared or economy mismatch -> fail TI(19338): destination disappeared or economy mismatch -> fail TI(19422): destination disappeared or economy mismatch -> fail TI(19436): destination disappeared or economy mismatch -> fail TI(18689): destination disappeared or economy mismatch -> fail TI(19078): destination disappeared or economy mismatch -> fail TI(18668): destination disappeared or economy mismatch -> fail TI(18463): destination disappeared or economy mismatch -> fail TI(18378): destination disappeared or economy mismatch -> fail TI(19466): destination disappeared or economy mismatch -> fail TI(19371): destination disappeared or economy mismatch -> fail TI(18618): destination disappeared or economy mismatch -> fail TI(18757): destination disappeared or economy mismatch -> fail TI(18442): destination disappeared or economy mismatch -> fail TI(18799): destination disappeared or economy mismatch -> fail TI(18365): destination disappeared or economy mismatch -> fail TI(18727): destination disappeared or economy mismatch -> fail TI(19045): destination disappeared or economy mismatch -> fail TI(19287): destination disappeared or economy mismatch -> fail TI(19295): destination disappeared or economy mismatch -> fail TI(18954): destination disappeared or economy mismatch -> fail TI(19411): destination disappeared or economy mismatch -> fail TI(18455): destination disappeared or economy mismatch -> fail TI(18369): destination disappeared or economy mismatch -> fail TI(18505): destination disappeared or economy mismatch -> fail TI(18741): destination disappeared or economy mismatch -> fail TI(18249): destination disappeared or economy mismatch -> fail TI(18159): destination disappeared or economy mismatch -> fail TI(18552): destination disappeared or economy mismatch -> fail TI(18944): destination disappeared or economy mismatch -> fail TI(19444): destination disappeared or economy mismatch -> fail TI(18192): destination disappeared or economy mismatch -> fail TI(18363): destination disappeared or economy mismatch -> fail TI(18567): destination disappeared or economy mismatch -> fail TI(19025): destination disappeared or economy mismatch -> fail TI(19093): destination disappeared or economy mismatch -> fail TI(19274): destination disappeared or economy mismatch -> fail TI(19066): destination disappeared or economy mismatch -> fail TI(19321): destination disappeared or economy mismatch -> fail TI(18972): destination disappeared or economy mismatch -> fail TI(18509): destination disappeared or economy mismatch -> fail TI(18894): destination disappeared or economy mismatch -> fail TI(19161): destination disappeared or economy mismatch -> fail TI(18749): destination disappeared or economy mismatch -> fail TI(19076): destination disappeared or economy mismatch -> fail TI(19230): destination disappeared or economy mismatch -> fail TI(18739): destination disappeared or economy mismatch -> fail TI(18815): destination disappeared or economy mismatch -> fail TI(18564): destination disappeared or economy mismatch -> fail TI(18614): destination disappeared or economy mismatch -> fail TI(18271): destination disappeared or economy mismatch -> fail TI(18475): destination disappeared or economy mismatch -> fail TI(18421): destination disappeared or economy mismatch -> fail TI(18634): destination disappeared or economy mismatch -> fail TI(19127): destination disappeared or economy mismatch -> fail TI(19323): destination disappeared or economy mismatch -> fail TI(19414): destination disappeared or economy mismatch -> fail TI(19384): destination disappeared or economy mismatch -> fail Game: Reading Preload Data ... took 1ms Game: Reading Game Class Data ... took 0ms Game: Reading Map Data ... Game: Reading Map Data took 2ms Game: Reading Player Info ... Game: Reading Player Info took 45ms Game: Calling read_complete() Reading Elemental Data ... took 2ms Reading Player Names And Tribe Data ... took 9ms Reading Port Spaces Data ... took 1ms Reading Heights Data ... took 3ms Reading Terrain Data ... took 28ms Reading Map Objects ... took 1471ms Reading Player Start Position Data ... took 1ms Reading Resources Data ... took 34ms Reading Map Version Data ... took 0ms Reading Allowed Worker Types Data ... took 0ms Reading Allowed Building Types Data ... took 2ms Reading Node Ownership Data ... took 3ms Reading Exploration Data ... took 20ms Reading Flag Data ... took 153ms Reading Road Data ... took 5ms Reading Building Data ... took 64ms Reading Flagdata Data ... took 3ms Reading Roaddata Data ... took 126ms Reading Buildingdata Data ... took 30ms Second and third phase loading Map Objects ... took 148ms Reading Players View Data ... Vision check successful for player 1 Vision check successful for player 2 Vision check successful for player 3 Vision check successful for player 4 Vision check successful for player 5 Vision check successful for player 6 took 127ms Reading Player Message Data ... took 8ms Reading Objective Data ... took 1ms Reading Scripting Data ... took 5ms Reading map images ... took 0ms WidelandsMapLoader::load_map_complete() for 'Dolomites' took 2598ms Game: read_complete took: 2598ms Game: Reading Player Economies Info ... took 5ms Game: Reading ai persistent data ... took 0ms Game: Reading Command Queue Data ... took 45ms Game: Parsing messages ... took 0ms Game: Reading Interactive Player Data ... took 1ms GameLoader::load() took 2703ms Done reloading the game from replay Replay writer has started [sync] Reset ComputerPlayer(2): initializing as type 2 ... member of team 1 ComputerPlayer(3): initializing as type 2 ... member of team 1 ComputerPlayer(4): initializing as type 2 ... member of team 1 ComputerPlayer(5): initializing as type 2 ... member of team 1 SoundHandler: loaded song "music/ingame_11.ogg" Cmd_EnemyFlagAction::execute player(6): flag->owner(5) number=3 SoundHandler: loaded song "music/ingame_15.ogg" Forcing flag at (130, 101) TrainingSite::drop_stalled_soldiers: Kicking somebody out. Cmd_EnemyFlagAction::execute player(6): flag->owner(5) number=4 TrainingSite::drop_stalled_soldiers: Kicking somebody out. Cmd_EnemyFlagAction::execute player(6): flag->owner(5) number=1 TrainingSite::drop_stalled_soldiers: Kicking somebody out. Cmd_EnemyFlagAction::execute player(6): flag->owner(5) number=3 Forcing flag at (128, 98) TrainingSite::drop_stalled_soldiers: Kicking somebody out. Cmd_EnemyFlagAction::execute player(5): flag->owner(6) number=5 Game: Writing Preload Data ... took 24ms Game: Writing Game Class Data ... took 0ms Game: Writing Player Info ... took 277ms Game: Writing Map Data! Writing Elemental Data ... took 1ms Writing Player Names And Tribe Data ... took 0ms Writing Port Spaces Data ... took 0ms Writing Heights Data ... took 9ms Writing Terrain Data ... took 106ms Writing Player Start Position Data ... took 0ms Writing Player Message Data ... took 8ms Writing Resources Data ... took 43ms Writing Map Version ... took 0ms Writing Allowed Worker Types Data ... took 1ms Writing Allowed Building Types Data ... took 5ms Writing Flag Data ... took 18ms Writing Road Data ... took 6ms Writing Building Data ... took 11ms Writing Map Objects ... took 712ms Writing Flagdata Data ... took 15ms Writing Roaddata Data ... took 47ms Writing Buildingdata Data ... took 42ms Writing Node Ownership Data ... took 11ms Writing Exploration Data ... took 31ms Writing Players Unseen Data ... took 243ms Writing Scripting Data ... took 29ms Writing Objective Data ... took 0ms Writing map images ... took 1ms MapSaver::save() for 'Dolomites' took 1388ms Game: Writing Map Data took 1388ms Game: Writing Player Economies Info ... took 8ms Game: Writing ai persistent data ... took 0ms Game: Writing Command Queue Data ... took 832ms Game: Writing Interactive Player Data ... took 0ms GameSaver::save() took 2532ms SaveHandler::save_game() took 2532ms SoundHandler: loaded song "music/ingame_20.ogg" Forcing flag at (128, 98) SoundHandler: loaded song "music/ingame_10.ogg" TrainingSite::drop_stalled_soldiers: Kicking somebody out. Cmd_EnemyFlagAction::execute player(5): flag->owner(6) number=8 widelands: ../src/graphic/gl/road_program.cc:75: void RoadProgram::add_road(int, int, const FieldsToDraw::Field&, const FieldsToDraw::Field&, float, Widelands::RoadType, RoadProgram::Direction, uint32_t*): Zusicherung »start.owner != nullptr« nicht erfüllt. Thread 1 "widelands" received signal SIGABRT, Aborted. 0x00007ffff513d04f in raise () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff513d04f in raise () from /usr/lib/libc.so.6 #1 0x00007ffff513e47a in abort () from /usr/lib/libc.so.6 #2 0x00007ffff5135ea7 in __assert_fail_base () from /usr/lib/libc.so.6 #3 0x00007ffff5135f52 in __assert_fail () from /usr/lib/libc.so.6 #4 0x0000000001178923 in RoadProgram::add_road (this=0x323f000, renderbuffer_width=1600, renderbuffer_height=900, start=..., end=..., scale=0.870560348, road_type=Widelands::kNormal, direction=RoadProgram::kSouthWest, gl_texture=0x7fffffff9d1c) at ../src/graphic/gl/road_program.cc:75 #5 0x000000000117904d in RoadProgram::draw (this=0x323f000, renderbuffer_width=1600, renderbuffer_height=900, fields_to_draw=..., scale=0.870560348, z_value=0.999847412) at ../src/graphic/gl/road_program.cc:167 #6 0x000000000106bbc6 in RenderQueue::draw_items (this=0x19015a0 , items=std::vector of length 842, capacity 2048 = {...}) at ../src/graphic/render_queue.cc:255 #7 0x000000000106b845 in RenderQueue::draw (this=0x19015a0 , screen_width=1600, screen_height=900) at ../src/graphic/render_queue.cc:209 #8 0x0000000000cd8f54 in Graphic::refresh (this=0x1c5c510) at ../src/graphic/graphic.cc:213 #9 0x0000000000ecbc23 in UI::Panel::do_run (this=0x3811ed0) at ../src/ui_basic/panel.cc:197 #10 0x0000000000c2beba in UI::Panel::run (this=0x3811ed0) at ../src/ui_basic/panel.h:96 #11 0x0000000000d3a41b in Widelands::Game::run (this=0x7fffffffc020, loader_ui=0x7fffffffa460, start_game_type=Widelands::Game::Loaded, script_to_run="", replay=false, prefix_for_replays="single_player") at ../src/logic/game.cc:525 #12 0x0000000000d39886 in Widelands::Game::run_load_game (this=0x7fffffffc020, filename="save/wl_autosave_00.wgf", script_to_run="") at ../src/logic/game.cc:383 #13 0x0000000000c269cc in WLApplication::load_game (this=0x192d4c0) at ../src/wlapplication.cc:1263 #14 0x0000000000c25b20 in WLApplication::mainmenu_singleplayer (this=0x192d4c0) at ../src/wlapplication.cc:1097 #15 0x0000000000c2550a in WLApplication::mainmenu (this=0x192d4c0) at ../src/wlapplication.cc:999 #16 0x0000000000c2203e in WLApplication::run (this=0x192d4c0) at ../src/wlapplication.cc:442 #17 0x0000000000c206d1 in main (argc=1, argv=0x7fffffffe738) at ../src/main.cc:49 (gdb) quit A debugging session is active. Inferior 1 [process 26713] will be killed.