segfault on dismantle window in empire Mission4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When playing trunk (r8440) with the datadir of the Mission4 branch, i get segfaults while resolving the first objective 'dismantle unproductive buildings'. I started this campaign often and the segfault happens often. I have the feeling that this happens when clicking 'OK' in the confirmation window to dismantle a building and at the same time a new message arrives. At least the crash happens when clicking the mentioned OK button, not sure if a message at the same time arrives.
The backtrace below is just a segfault, attached is another segfault with an assert of representative_
Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
0x000055555fc6c9e8 in ?? ()
(gdb) bt
#0 0x000055555fc6c9e8 in ?? ()
#1 0x000055555629e615 in BuildingWindow:
#2 0x000055555619d026 in UI::Panel:
#3 0x000055555619d1f4 in UI::Panel::do_draw (this=0x55555fb
#4 0x000055555619d04c in UI::Panel:
#5 0x000055555619d1f4 in UI::Panel::do_draw (this=0x55555a5
#6 0x000055555619bcb6 in UI::Panel::do_run (this=0x55555fb
#7 0x0000555555e8dac2 in UI::Panel:
#8 0x0000555556440de0 in LuaGame:
#9 0x0000555556447751 in method_
#10 0x000055555651de13 in luaD_precall (L=0x55555ee1f368, func=0x55555f34
#11 0x000055555653b3de in luaV_execute (L=0x55555ee1f368) at ../src/
#12 0x000055555651e62d in unroll (L=0x55555ee1f368, ud=0x0) at ../src/
#13 0x000055555651e989 in resume (L=0x55555ee1f368, ud=0x7fffffff9dec) at ../src/
#14 0x000055555651d3e3 in luaD_rawrunprot
#15 0x000055555651ea08 in lua_resume (L=0x55555ee1f368, from=0x0, nargs=0) at ../src/
#16 0x000055555634e7ea in LuaCoroutine:
#17 0x00005555560f6cb2 in Widelands:
#18 0x00005555560f86f5 in Widelands:
#19 0x0000555555fc44fe in Widelands:
#20 0x0000555556235165 in InteractiveBase
#21 0x000055555625216b in InteractivePlay
#22 0x000055555619c663 in UI::Panel::do_think (this=0x55555a5
#23 0x000055555619bc4f in UI::Panel::do_run (this=0x55555a5
#24 0x0000555555e8dac2 in UI::Panel:
#25 0x0000555555fc414e in Widelands:
replay=false, prefix_
#26 0x0000555555fc2035 in Widelands:
#27 0x0000555555e860b1 in WLApplication:
#28 0x0000555555e84b6e in WLApplication:
#29 0x0000555555e84482 in WLApplication:
#30 0x0000555555e80c4b in WLApplication::run (this=0x555556c
#31 0x0000555555e7f007 in main (argc=2, argv=0x7fffffff
tags: | added: crash ui |
summary: |
- segfault on dismantle window when a new message arrives + segfault on dismantle window in empire Mission4 |
Changed in widelands: | |
status: | New → Fix Committed |
Changed in widelands: | |
milestone: | none → build20-rc1 |
#1 Looks like one of the scenario's custom buildings doesn't have a representative image defined. We should add a check for that.