AddressSanitizer: heap-use-after-free

Bug #1807156 reported by Steven De Herdt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Expired
Undecided
Unassigned

Bug Description

AddressSanitizer gave me a heap-use-after-free in ../src/wui/buildingwindow.cc:359 in operator() - see attached log.
I don't quite understand what's going on, is this actually a bug in Widelands or rather in Boost or something? I'm using Debian testing.

Tags: asan

Related branches

Revision history for this message
Steven De Herdt (stdh) wrote :
GunChleoc (gunchleoc)
Changed in widelands:
milestone: none → build20-rc1
tags: added: asan
Revision history for this message
GunChleoc (gunchleoc) wrote :

Do you still remember what you were doing when this occurred? Looks like you opened a window, which one?

Revision history for this message
GunChleoc (gunchleoc) wrote :

I could not reproduce this, so the fix in the attached branch is just a guess.

Changed in widelands:
status: New → In Progress
assignee: nobody → GunChleoc (gunchleoc)
Revision history for this message
kaputtnik (franku) wrote :

Since this bug is not reproducible, can't we retarget it to build21?

Revision history for this message
GunChleoc (gunchleoc) wrote :

Any objections to merging the attached branch and closing this?

Revision history for this message
hessenfarmer (stephan-lutz) wrote :

In my opinion a bug that isn't reproducible should be considered spurious therefore I would vote for postponing this and see whether we will get any new issues of that. If it is hard to reproduce the Chance of occuring is rather remote and therefore no showstopper.

Although the Change you suggested should not do any harm.

So from my side feel free to either merge or postpone it. Perhaps asking Klaus via PM if he found something else might be an idea.

Revision history for this message
GunChleoc (gunchleoc) wrote :

Let's merge it and postpone the bug then.

Changed in widelands:
assignee: GunChleoc (gunchleoc) → nobody
milestone: build20-rc1 → build21-rc1
status: In Progress → New
Revision history for this message
Steven De Herdt (stdh) wrote :

A late reply: I no longer have any idea what I was doing that might have triggered this. If no one can reproduce this bug, and you may have solved it anyway, maybe you should just close this report?

Revision history for this message
GunChleoc (gunchleoc) wrote :

I have set it to incomplete, that should make it disappear from the list after a while.

Changed in widelands:
status: New → Incomplete
milestone: build21-rc1 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for widelands because there has been no activity for 60 days.]

Changed in widelands:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.