Crash on "Reset zoom" bzr9005-201903031251 (Release)
Bug #1818494 reported by
HH King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Was zoomed in, hit the "Reset zoom" button - freeze, crash.
Running Kubuntu 18.04
$ widelands
This is Widelands Version bzr9005-
# many lines...
Fatal exception: std::bad_alloc
FATAL ERROR - game crashed. Attempting emergency save.
Game: Writing Preload Data ...
[1]+ Segmentation fault (core dumped) widelands
Related branches
lp:~widelands-dev/widelands/bug-1818494-reset-zoom-crash
- Klaus Halfmann: Approve (code reieww, compile, testing)
-
Diff: 48 lines (+19/-1)2 files modifiedsrc/editor/tools/history.cc (+8/-0)
src/graphic/gl/fields_to_draw.cc (+11/-1)
lp:~gunchleoc/widelands/bug-1818494-ingame-zoom-freezes
- Benedikt Straub: Approve
-
Diff: 61 lines (+20/-0)2 files modifiedsrc/wui/mapview.cc (+16/-0)
src/wui/mapview.h (+4/-0)
lp:~widelands-dev/widelands/cleanup-soundhandler
- Klaus Halfmann: Approve (reiew, compile, testplay)
-
Diff: 6413 lines (+1517/-1328)170 files modifieddata/campaigns/emp04.wmf/scripting/tribes/brewery1.lua (+1/-1)
data/campaigns/emp04.wmf/scripting/tribes/brewery2.lua (+1/-1)
data/campaigns/emp04.wmf/scripting/tribes/mill1.lua (+1/-1)
data/campaigns/emp04.wmf/scripting/tribes/mill2.lua (+1/-1)
data/tribes/buildings/productionsites/atlanteans/gold_spinning_mill/init.lua (+1/-1)
data/tribes/buildings/productionsites/atlanteans/horsefarm/init.lua (+1/-1)
data/tribes/buildings/productionsites/atlanteans/mill/init.lua (+2/-2)
data/tribes/buildings/productionsites/atlanteans/sawmill/init.lua (+1/-1)
data/tribes/buildings/productionsites/atlanteans/smelting_works/init.lua (+4/-4)
data/tribes/buildings/productionsites/atlanteans/toolsmithy/init.lua (+12/-12)
data/tribes/buildings/productionsites/atlanteans/weaponsmithy/init.lua (+10/-10)
data/tribes/buildings/productionsites/atlanteans/weaving_mill/init.lua (+3/-3)
data/tribes/buildings/productionsites/barbarians/ax_workshop/init.lua (+6/-6)
data/tribes/buildings/productionsites/barbarians/big_inn/init.lua (+3/-3)
data/tribes/buildings/productionsites/barbarians/cattlefarm/init.lua (+1/-1)
data/tribes/buildings/productionsites/barbarians/inn/init.lua (+2/-2)
data/tribes/buildings/productionsites/barbarians/lime_kiln/init.lua (+2/-2)
data/tribes/buildings/productionsites/barbarians/metal_workshop/init.lua (+10/-10)
data/tribes/buildings/productionsites/barbarians/smelting_works/init.lua (+4/-4)
data/tribes/buildings/productionsites/barbarians/tavern/init.lua (+1/-1)
data/tribes/buildings/productionsites/barbarians/warmill/init.lua (+12/-12)
data/tribes/buildings/productionsites/barbarians/weaving_mill/init.lua (+1/-1)
data/tribes/buildings/productionsites/barbarians/wood_hardener/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/brewery/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/donkeyfarm/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/inn/init.lua (+2/-2)
data/tribes/buildings/productionsites/empire/mill/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/piggery/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/sawmill/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/sheepfarm/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/smelting_works/init.lua (+4/-4)
data/tribes/buildings/productionsites/empire/stonemasons_house/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/tavern/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/toolsmithy/init.lua (+12/-12)
data/tribes/buildings/productionsites/empire/weaponsmithy/init.lua (+10/-10)
data/tribes/buildings/productionsites/empire/weaving_mill/init.lua (+1/-1)
data/tribes/buildings/productionsites/empire/winery/init.lua (+1/-1)
data/tribes/buildings/productionsites/frisians/armor_smithy_large/init.lua (+4/-4)
data/tribes/buildings/productionsites/frisians/armor_smithy_small/init.lua (+5/-5)
data/tribes/workers/atlanteans/builder/init.lua (+2/-2)
data/tribes/workers/atlanteans/farmer/init.lua (+1/-1)
data/tribes/workers/atlanteans/fisher/init.lua (+2/-2)
data/tribes/workers/atlanteans/geologist/init.lua (+1/-1)
data/tribes/workers/atlanteans/shipwright/init.lua (+3/-3)
data/tribes/workers/atlanteans/stonecutter/init.lua (+1/-1)
data/tribes/workers/atlanteans/woodcutter/init.lua (+2/-2)
data/tribes/workers/barbarians/builder/init.lua (+2/-2)
data/tribes/workers/barbarians/farmer/init.lua (+1/-1)
data/tribes/workers/barbarians/fisher/init.lua (+2/-2)
data/tribes/workers/barbarians/geologist/init.lua (+1/-1)
data/tribes/workers/barbarians/lumberjack/init.lua (+2/-2)
data/tribes/workers/barbarians/shipwright/init.lua (+3/-3)
data/tribes/workers/barbarians/stonemason/init.lua (+1/-1)
data/tribes/workers/empire/builder/init.lua (+2/-2)
data/tribes/workers/empire/farmer/init.lua (+1/-1)
data/tribes/workers/empire/fisher/init.lua (+2/-2)
data/tribes/workers/empire/geologist/init.lua (+1/-1)
data/tribes/workers/empire/lumberjack/init.lua (+3/-3)
data/tribes/workers/empire/shipwright/init.lua (+3/-3)
data/tribes/workers/empire/stonemason/init.lua (+2/-2)
data/tribes/workers/frisians/builder/init.lua (+2/-2)
data/tribes/workers/frisians/shipwright/init.lua (+2/-2)
data/world/critters/duck/init.lua (+1/-2)
data/world/critters/elk/init.lua (+1/-2)
data/world/critters/fox/init.lua (+1/-2)
data/world/critters/sheep/init.lua (+1/-2)
data/world/critters/stag/init.lua (+1/-2)
data/world/critters/wildboar/init.lua (+1/-2)
data/world/critters/wolf/init.lua (+2/-3)
data/world/immovables/grass1/init.lua (+1/-2)
data/world/immovables/grass2/init.lua (+1/-2)
data/world/immovables/grass3/init.lua (+1/-2)
data/world/immovables/trees/alder/init.lua (+1/-2)
data/world/immovables/trees/aspen/init.lua (+1/-2)
data/world/immovables/trees/beech/init.lua (+1/-2)
data/world/immovables/trees/birch/init.lua (+1/-2)
data/world/immovables/trees/larch/init.lua (+1/-2)
data/world/immovables/trees/maple/init.lua (+1/-2)
data/world/immovables/trees/oak/init.lua (+1/-2)
data/world/immovables/trees/palm_borassus/init.lua (+1/-2)
data/world/immovables/trees/palm_coconut/init.lua (+1/-2)
data/world/immovables/trees/palm_date/init.lua (+1/-2)
data/world/immovables/trees/palm_oil/init.lua (+1/-2)
data/world/immovables/trees/palm_roystonea/init.lua (+1/-2)
data/world/immovables/trees/rowan/init.lua (+1/-2)
data/world/immovables/trees/spruce/init.lua (+1/-2)
doc/sphinx/source/animations.rst (+7/-3)
doc/sphinx/source/productionsite_program.rst (+3/-3)
regression_test.py (+1/-2)
src/economy/flag.h (+1/-0)
src/economy/portdock.cc (+1/-1)
src/economy/portdock.h (+1/-1)
src/economy/road.h (+1/-2)
src/editor/editorinteractive.cc (+6/-2)
src/editor/editorinteractive.h (+1/-0)
src/graphic/CMakeLists.txt (+2/-0)
src/graphic/animation.cc (+26/-17)
src/graphic/animation.h (+7/-1)
src/graphic/game_renderer.cc (+2/-2)
src/graphic/rendertarget.cc (+7/-9)
src/graphic/rendertarget.h (+9/-5)
src/logic/CMakeLists.txt (+1/-0)
src/logic/editor_game_base.cc (+4/-0)
src/logic/game.cc (+3/-2)
src/logic/map_objects/bob.cc (+3/-2)
src/logic/map_objects/bob.h (+1/-1)
src/logic/map_objects/immovable.cc (+9/-8)
src/logic/map_objects/immovable.h (+3/-1)
src/logic/map_objects/immovable_program.h (+4/-5)
src/logic/map_objects/tribes/building.cc (+2/-1)
src/logic/map_objects/tribes/building.h (+1/-1)
src/logic/map_objects/tribes/constructionsite.cc (+16/-6)
src/logic/map_objects/tribes/constructionsite.h (+6/-2)
src/logic/map_objects/tribes/dismantlesite.cc (+13/-3)
src/logic/map_objects/tribes/dismantlesite.h (+5/-0)
src/logic/map_objects/tribes/partially_finished_building.cc (+2/-3)
src/logic/map_objects/tribes/production_program.cc (+10/-8)
src/logic/map_objects/tribes/production_program.h (+1/-1)
src/logic/map_objects/tribes/ship.cc (+4/-3)
src/logic/map_objects/tribes/ship.h (+1/-1)
src/logic/map_objects/tribes/soldier.cc (+3/-3)
src/logic/map_objects/tribes/soldier.h (+1/-0)
src/logic/map_objects/tribes/worker.cc (+8/-7)
src/logic/map_objects/tribes/worker.h (+2/-0)
src/logic/map_objects/tribes/worker_program.cc (+21/-21)
src/logic/message.h (+1/-1)
src/logic/player.cc (+20/-13)
src/logic/player.h (+6/-1)
src/sound/CMakeLists.txt (+8/-0)
src/sound/constants.cc (+1/-0)
src/sound/constants.h (+65/-0)
src/sound/fxset.cc (+76/-23)
src/sound/fxset.h (+32/-35)
src/sound/note_sound.h (+7/-12)
src/sound/songset.cc (+29/-19)
src/sound/songset.h (+5/-9)
src/sound/sound_handler.cc (+388/-443)
src/sound/sound_handler.h (+119/-131)
src/ui_basic/CMakeLists.txt (+1/-0)
src/ui_basic/panel.cc (+10/-7)
src/ui_basic/panel.h (+4/-2)
src/ui_basic/slider.cc (+2/-1)
src/ui_basic/slider.h (+1/-0)
src/ui_fsmenu/CMakeLists.txt (+2/-0)
src/ui_fsmenu/internet_lobby.cc (+4/-1)
src/ui_fsmenu/internet_lobby.h (+1/-0)
src/ui_fsmenu/options.cc (+12/-42)
src/ui_fsmenu/options.h (+4/-8)
src/website/CMakeLists.txt (+0/-1)
src/website/website_common.cc (+1/-7)
src/wlapplication.cc (+41/-13)
src/wlapplication_messages.cc (+0/-4)
src/wui/CMakeLists.txt (+13/-0)
src/wui/game_chat_panel.cc (+5/-2)
src/wui/game_chat_panel.h (+1/-0)
src/wui/game_options_menu.cc (+0/-1)
src/wui/game_options_sound_menu.cc (+19/-119)
src/wui/game_options_sound_menu.h (+5/-40)
src/wui/interactive_base.cc (+29/-23)
src/wui/interactive_base.h (+4/-4)
src/wui/interactive_player.cc (+18/-7)
src/wui/interactive_player.h (+2/-0)
src/wui/interactive_spectator.cc (+7/-2)
src/wui/interactive_spectator.h (+2/-1)
src/wui/itemwaresdisplay.cc (+1/-1)
src/wui/mapview.cc (+4/-3)
src/wui/mapview.h (+1/-1)
src/wui/sound_options.cc (+135/-0)
src/wui/sound_options.h (+32/-0)
src/wui/transport_draw.cc (+5/-5)
lp:~widelands-dev/widelands/vector-float-warnings
- Klaus Halfmann: Approve (compile, test, review)
-
Diff: 62 lines (+14/-6)2 files modifiedsrc/wui/mapview.cc (+4/-4)
src/wui/mapview.h (+10/-2)
lp:~widelands-dev/widelands/bug-1818494-workaround-math-clamp-zoom-everywhere
- hessenfarmer: Approve (test)
-
Diff: 22 lines (+4/-1)1 file modifiedsrc/wui/mapview.cc (+4/-1)
lp:~widelands-dev/widelands/bug-1818494-no-negative-zoom
- Widelands Developers: Pending requested
-
Diff: 18 lines (+4/-2)1 file modifiedsrc/wui/mapview.cc (+4/-2)
Changed in widelands: | |
milestone: | none → build20-rc1 |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
To post a comment you must log in.
Thanks for your bugreport.
I can't reproduce this though. Either in release or in debug builds.
Does this happen again?
Did you had any other windows open?
Can you provide a save game?