On 07/26/2013 01:05 PM, Jens Beyer (Qcumber-some) wrote: > Open a console/terminal > > type "gdb widelands" > > Wait until you get a (gdb) prompt > > type "r" > > Widelands starts > > provoke the crash > > in gdb, you see a message and a (gdb) prompt > > type "bt" > > Copy everything after the crash message including the bt output and > paste it here :-) > > ron@ron-desktop:~$ gdb widelands > GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 > Copyright (C) 2012 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 "i686-linux-gnu". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/games/widelands...Reading symbols from /usr/lib/debug/usr/games/widelands...done. > done. > (gdb) r > Starting program: /usr/games/widelands > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". > Set home directory: /home/ron/.widelands > No version file found > Adding directory:/usr/share/games/widelands > Version file found with id "REVDETECT-BROKEN-PLEASE-REPORT-THIS" (real "REVDETECT-BROKEN-PLEASE-REPORT-THIS" ) > No version file found > Adding directory:/usr/share/games/widelands > Version file found with id "REVDETECT-BROKEN-PLEASE-REPORT-THIS" (real "REVDETECT-BROKEN-PLEASE-REPORT-THIS" ) > No version file found > Adding directory:. > No version file found > Adding directory: /usr/games > No version file found > selected language: (system language) > using locale en_US.UTF-8 > SDL_VIDEODRIVER=& > Graphics: Trying Video driver: 0 x11 SDL_VIDEODRIVER=x11 > Graphics: Try to set Videomode 800x600 16Bit > Graphics: Setting video mode was successful > **** GRAPHICS REPORT **** > VIDEO DRIVER x11 > hw surface possible 0 > window manager available 1 > blitz_hw 0 > blitz_hw_CC 0 > blitz_hw_A 0 > blitz_sw 0 > blitz_sw_CC 0 > blitz_sw_A 0 > blitz_fill 0 > video_mem 0 > vfmt 0x85ead28 > size 800 600 > **** END GRAPHICS REPORT **** > Graphics: flags: 0 > [New Thread 0xb39fbb40 (LWP 2155)] > [Thread 0xb39fbb40 (LWP 2155) exited] > [New Thread 0xb39fbb40 (LWP 2156)] > [] Section [global], key 'EXENAME' not used (did you spell the name correctly?) > Registering script: (aux,coroutine) > Registering script: (aux,format_help) > Registering script: (aux,formatting) > Registering script: (aux,infrastructure) > Registering script: (aux,objective_utils) > Registering script: (aux,set) > Registering script: (aux,table) > Registering script: (aux,ui) > Registering script: (aux,win_condition_functions) > Registering script: (aux,win_condition_texts) > Registering script: (win_conditions,00_endless_game) > Registering script: (win_conditions,01_defeat_all) > Registering script: (win_conditions,02_collectors) > Registering script: (win_conditions,03_territorial_lord) > Registering script: (win_conditions,03_territorial_time) > Registering script: (win_conditions,04_wood_gnome) > Registering script: (win_conditions,05_endless_game_fogless) > Game: Reading Preload Data ... done > Game: Reading Game Class Data ... done > Game: Reading Map Data ... No version file found > Parsing world bobs... > Parsing global bobs in world... > Parsing map gen info... > done > Game: Reading Player Info ... Registering script: (tribe_empire,sc00_headquarters_medium) > Registering script: (tribe_empire,sc01_castle_village) > Compatibility ware "flax"="thatchreed" loaded. > Registering script: (tribe_barbarians,sc00_headquarters_medium) > Registering script: (tribe_barbarians,sc01_citadel_village) > done > Game: Reading Map Data Complete! > Reading Elemental Data ... done! > Reading Player Names And Tribe Data ... done! > Reading Port Spaces Data ... done! > Reading Heights Data ... done! > Reading Terrain Data ... done! > Reading Map Objects ... done > Reading Player Start Position Data ... done! > Reading Resources Data ... done! > Reading Map Extra Data ... done! > Reading Allowed Worker Types Data ... done! > Reading Allowed Building Types Data ... done! > Reading Node Ownership Data ... done! > Reading Exploration Data ... done! > Reading AreaWatchers Data ... done! > Reading Flag Data ... done! > Reading Road Data ... done! > Reading Building Data ... done! > Reading Flagdata Data ... done! > Reading Roaddata Data ... done! > Reading Buildingdata Data ... done! > Second and third phase loading Map Objects ... done > Reading Players View Data ... Vision check successful for player 1 > Vision check successful for player 2 > done! > Reading Player Message Data ... done! > Reading Objective Data ... done! > Reading Scripting Data ... done! > Game: Reading Map Data Complete done! > Game: Reading Player Economies Info ... done > Game: Reading Command Queue Data ... done > Game: Enqueuing comands to expire player's messages ... done > Game: Reading Interactive Player Data ... done > Starting replay writer > Game: Writing Preload Data ... done > Game: Writing Game Class Data ... done > Game: Writing Player Info ... done > Game: Writing Map Data! > Writing Elemental Data ... done! > Writing Player Names And Tribe Data ... done! > Writing Port Spaces Data ... done! > Writing Heights Data ... done! > Writing Terrain Data ... done! > Writing Player Start Position Data ... done! > Writing Player Message Data ... done! > Writing Resources Data ... done! > Writing Map Extra Data ... done! > Writing Allowed Worker Types Data ... done! > Writing Flag Data ... done! > Writing Road Data ... done! > Writing Building Data ... done! > Writing Area Watchers Data ... done! > Writing Map Objects ... done! > Writing Flagdata Data ... done! > Writing Roaddata Data ... done! > Writing Buildingdata Data ... done! > Writing Node Ownership Data ... done! > Writing Exploration Data ... done! > Writing Players Unseen Data ... done! > Writing Scripting Data ... nwritten: 13310 > done! > Writing Objective Data ... done! > Game: Writing Map Data done! > Game: Writing Player Economies Info ... done > Game: Writing Command Queue Data ... nwritten: 1357 > done > Game: Writing Interactive Player Data ... done > Reloading the game from replay > Game: Reading Preload Data ... done > Game: Reading Game Class Data ... done > Game: Reading Map Data ... No version file found > Parsing world bobs... > Parsing global bobs in world... > Parsing map gen info... > done > Game: Reading Player Info ... Registering script: (tribe_empire,sc00_headquarters_medium) > Registering script: (tribe_empire,sc01_castle_village) > Compatibility ware "flax"="thatchreed" loaded. > Registering script: (tribe_barbarians,sc00_headquarters_medium) > Registering script: (tribe_barbarians,sc01_citadel_village) > done > Game: Reading Map Data Complete! > Reading Elemental Data ... done! > Reading Player Names And Tribe Data ... done! > Reading Port Spaces Data ... done! > Reading Heights Data ... done! > Reading Terrain Data ... done! > Reading Map Objects ... done > Reading Player Start Position Data ... done! > Reading Resources Data ... done! > Reading Map Extra Data ... done! > Reading Allowed Worker Types Data ... done! > Reading Allowed Building Types Data ... done! > Reading Node Ownership Data ... done! > Reading Exploration Data ... done! > Reading AreaWatchers Data ... done! > Reading Flag Data ... done! > Reading Road Data ... done! > Reading Building Data ... done! > Reading Flagdata Data ... done! > Reading Roaddata Data ... done! > Reading Buildingdata Data ... done! > Second and third phase loading Map Objects ... done > Reading Players View Data ... Vision check successful for player 1 > Vision check successful for player 2 > done! > Reading Player Message Data ... done! > Reading Objective Data ... done! > Reading Scripting Data ... done! > Game: Reading Map Data Complete done! > Game: Reading Player Economies Info ... done > Game: Reading Command Queue Data ... done > Game: Enqueuing comands to expire player's messages ... done > Game: Reading Interactive Player Data ... done > Done reloading the game from replay > Replay writer has started > [sync] Reset > ComputerPlayer(2): initializing (1) > TrainingSite::trainingDone() 3.0 0 || 3.1 0 || / 108 > TrainingSite::trainingDone() 0.0 0 || 0.1 0 || 0.2 0 || 0.3 0 || 1.0 0 || 1.1 0 || 1.2 0 || 1.3 0 || / 144 > MilitarySite::swapSoldiers: error: Unknown player preference 0. > TrainingSite::trainingDone() 3.0 0 || 3.1 0 || / 108 > TrainingSite::trainingDone() 0.0 0 || 0.1 0 || 0.2 0 || 0.3 0 || 1.0 0 || 1.1 0 || 1.2 0 || 1.3 0 || / 144 > > Program received signal SIGSEGV, Segmentation fault. > Widelands::DismantleSite::count_returned_wares (building=0x9c49758, res=...) > at /build/buildd/widelands-17-ppa0-bzr6665/src/logic/dismantlesite.cc:146 > 146 /build/buildd/widelands-17-ppa0-bzr6665/src/logic/dismantlesite.cc: No such file or directory. > (gdb) bt > #0 Widelands::DismantleSite::count_returned_wares (building=0x9c49758, > res=...) > at /build/buildd/widelands-17-ppa0-bzr6665/src/logic/dismantlesite.cc:146 > #1 0x083661eb in Building_Window::create_capsbuttons (this=0xa03d028, > capsbuttons=0x9da0ab0) > at /build/buildd/widelands-17-ppa0-bzr6665/src/wui/buildingwindow.cc:301 > #2 0x08363a19 in Building_Window::think (this=0xa03d028) > at /build/buildd/widelands-17-ppa0-bzr6665/src/wui/buildingwindow.cc:142 > #3 0x08361243 in ProductionSite_Window::think (this=0xa03d028) > at /build/buildd/widelands-17-ppa0-bzr6665/src/wui/productionsitewindow.cc:114 > #4 0x08392ef1 in Widelands::Building::show_options (this=0x9c49758, > igbase=..., avoid_fastclick=false, pos=...) > at /build/buildd/widelands-17-ppa0-bzr6665/src/wui/building_ui.cc:46 > #5 0x0832d7ac in Interactive_Player::node_action (this=0x8a3d350) > at /build/buildd/widelands-17-ppa0-bzr6665/src/wui/interactive_player.cc:383 > #6 0x081d294b in operator() (this=) > at /usr/include/boost/function/function_template.hpp:1013 > #7 operator() (slot=..., > this=) at /usr/include/boost/signals/signal_template.hpp:119 > #8 dereference (this=) > at /usr/include/boost/signals/detail/slot_call_iterator.hpp:61 > ---Type to continue, or q to quit--- >