heap-use-after-free Fleet::active()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Another finding from the http://
wehn running ./regression_
I get:
==46586==ERROR: AddressSanitizer: heap-use-after-free on address 0x60e00025a5d0 at pc 0x000108042354 bp 0x7ffee9a043b0 sp 0x7ffee9a043a8
READ of size 8 at 0x60e00025a5d0 thread T0
#0 0x108042353 in Widelands:
#1 0x108043116 in Widelands:
#2 0x106c90a0e in Widelands:
#3 0x106c904d5 in Widelands:
#4 0x106a5c088 in Widelands:
#5 0x106875dc4 in Widelands:
0x60e00025a5d0 is located 80 bytes inside of 160-byte region [0x60e00025a580
freed by thread T0 here:
#1 0x10806fd81 in Widelands:
#2 0x106ae1c52 in Widelands:
#3 0x108049d7d in Widelands:
#4 0x108044ebc in Widelands:
#5 0x10804310d in Widelands:
previously allocated by thread T0 here:
#1 0x106c9094c in Widelands:
#2 0x106c904d5 in Widelands:
#3 0x106a5c088 in Widelands:
No idea why this happens, yet
Related branches
- Klaus Halfmann: Approve (review, complie. regresionn test)
-
Diff: 93 lines (+18/-16)2 files modifiedsrc/economy/fleet.cc (+16/-14)
src/economy/fleet.h (+2/-2)
tags: | added: cleanups |
Changed in widelands: | |
status: | New → In Progress |
tags: | added: asan |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
Same for: started_ expedition_ on_ship_ one_ship when_port_ space_was_ reached_ one_ships when_port_ space_was_ reached_ two_ship
test_cancel_
test_cancel_
test_cancel_
Seem some genral Shipping and Handling, aehm handling og Shipping issue.