Crash when buildhelp icon is clicked twice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
Playing bzr8184: when i click a buildhelp icon, got the window to select which building to construct, and then click another (or the same) buildhelp icon, an assertion failed:
widelands: src/ui_
Thread 1 "widelands" received signal SIGABRT, Aborted.
0xb7fd9ce5 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fd9ce5 in __kernel_vsyscall ()
#1 0xb7586dc0 in __libc_
#2 __GI_raise (sig=6) at ../sysdeps/
#3 0xb7588287 in __GI_abort () at abort.c:89
#4 0xb757fa17 in __assert_fail_base (fmt=0xb460b3d3 "%s%s%s:%u: %s%sControletest '%s' faalt.\n%n", assertion=
file=0x80e940f4 "src/ui_
function=
#5 0xb757fa9b in __GI___assert_fail (assertion=
file=0x80e940f4 "src/ui_
function=
#6 0x80a802e3 in UI::UniqueWindo
at src/ui_
#7 0x80af0b2a in FieldActionWind
at src/wui/
#8 0x80af0b51 in FieldActionWind
at src/wui/
#9 0x80a6448b in UI::Panel:
#10 0x80a63436 in UI::Panel::do_run (this=0x829bcf28) at src/ui_
#11 0x807b4540 in UI::Panel:
#12 0x808c6685 in Widelands:
replay=false, prefix_
#13 0x808c43f9 in Widelands:
at src/logic/
#14 0x807ad102 in WLApplication:
#15 0x807acc30 in WLApplication:
#16 0x807a90b3 in WLApplication::run (this=0x812b4840) at src/wlapplicati
#17 0x807a73ff in main (argc=1, argv=0xbffff2e4) at src/main.cc:49
Works (i.e. crashes) every time.
Related branches
- GunChleoc: Approve
-
Diff: 59 lines (+16/-11)1 file modifiedsrc/wui/fieldaction.cc (+16/-11)
Changed in widelands: | |
milestone: | none → build20-rc1 |
importance: | Undecided → High |
Changed in widelands: | |
assignee: | nobody → GunChleoc (gunchleoc) |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
Couldn't confirm this. Maybe i did not understand what triggers the assertion.
I could click an a construction sites help button several times, also for different buildings and get no crash.
Linux
Widelands Version bzr8186