Bugs in new ShipScheduling algorithm
Bug #1827033 reported by
Klaus Halfmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
High
|
Benedikt Straub |
Bug Description
Load the attached savegame (bases on the Imperial Sceanrio) and wait a few seconds.
...
WidelandsMapLo
...
[sync] Reset
ComputerPlayer(2): initializing as type 2
... DNA initialized
2: 0 basic buildings in savegame file.
2: expedition max duration = 5006 (83 minutes), map area root: 104
Assertion failed: (get_path(start, finish, path_start_
Abort trap: 6
This was just after I conquered the Babarian HQ I think.
This is bzr9088[trunk] compiled with ASAN, LLVM on OSX.
Related branches
lp:~widelands-dev/widelands/bug-1827033-shipping-algorithm
- GunChleoc: Approve
-
Diff: 68 lines (+18/-8)2 files modifiedsrc/economy/portdock.cc (+16/-7)
src/logic/map_objects/tribes/ship.cc (+2/-1)
lp:~widelands-dev/widelands/ship_scheduling_2
- GunChleoc: Approve
-
Diff: 1178 lines (+417/-339)10 files modifiedsrc/economy/fleet.cc (+196/-219)
src/economy/fleet.h (+6/-1)
src/economy/portdock.cc (+123/-71)
src/economy/portdock.h (+9/-7)
src/economy/shippingitem.cc (+1/-1)
src/economy/shippingitem.h (+1/-1)
src/logic/map_objects/tribes/ship.cc (+71/-32)
src/logic/map_objects/tribes/ship.h (+6/-3)
test/maps/expedition.wmf/scripting/init.lua (+3/-3)
test/maps/expedition.wmf/scripting/test_cancel_when_port_space_was_reached_two_ships.lua (+1/-1)
lp:~widelands-dev/widelands/new-shipping
On hold
for merging
into
lp:widelands
- Klaus Halfmann: Needs Fixing
-
Diff: 1331 lines (+580/-227)13 files modifiedsrc/economy/fleet.cc (+150/-96)
src/economy/fleet.h (+4/-2)
src/economy/portdock.cc (+106/-65)
src/economy/portdock.h (+6/-3)
src/economy/shippingitem.cc (+13/-3)
src/economy/shippingitem.h (+2/-0)
src/economy/ware_instance.cc (+1/-1)
src/logic/map_objects/tribes/ship.cc (+238/-47)
src/logic/map_objects/tribes/ship.h (+20/-6)
src/scripting/lua_map.cc (+1/-1)
src/wui/seafaring_statistics_menu.cc (+1/-1)
src/wui/shipwindow.cc (+2/-2)
test/maps/expedition.wmf/scripting/test_no_double_colonizing.lua (+36/-0)
Changed in widelands: | |
assignee: | nobody → Benedikt Straub (nordfriese) |
status: | Confirmed → In Progress |
To post a comment you must log in.
The function in which the assert fail happens was introduced by the new ship scheduling algorithm…