Fortified Village crashes when building can't be placed

Bug #1551578 reported by GunChleoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Critical
Unassigned

Bug Description

Fortified Village crashes when building can't be placed. Reported on the forum.

https://wl.widelands.org/forum/topic/1938/?page=3#post-16646

To reproduce, add this to the starting conditions:

  place_building_in_region(player, "empire_colosseum", sf:region(1), {
     wares = {
        empire_bread = 8,
        fish = 4,
        meat = 4,
     },
  })

Backtrace:

terminate called after throwing an instance of 'ImageNotFound'
what(): Image not found: Coroutine

Program received signal SIGABRT, Aborted.
0x00007ffff515c5f8 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff515c5f8 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff515da7a in abort () from /usr/lib/libc.so.6
#2 0x00007ffff5a70add in __gnu_cxx::__verbose_terminate_handler () at /build/gcc/src/gcc-5.3.0/libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x00007ffff5a6e936 in __cxxabiv1::__terminate (handler=<optimized out>)
at /build/gcc/src/gcc-5.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4 0x00007ffff5a6e981 in std::terminate () at /build/gcc/src/gcc-5.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
#5 0x00007ffff5a6ebe6 in __cxxabiv1::__cxa_rethrow () at /build/gcc/src/gcc-5.3.0/libstdc++-v3/libsupc++/eh_throw.cc:125
#6 0x0000000000f573fa in NetHost::run (this=0x7fffffffaf20) at /var/widelands/BZR/new_starting_conditions/src/network/nethost.cc:792
#7 0x0000000000cf206b in WLApplication::mainmenu_multiplayer (this=0x19b4260)
at /var/widelands/BZR/new_starting_conditions/src/wlapplication.cc:1197
#8 0x0000000000cf1484 in WLApplication::mainmenu (this=0x19b4260)
at /var/widelands/BZR/new_starting_conditions/src/wlapplication.cc:1017
#9 0x0000000000cedec0 in WLApplication::run (this=0x19b4260) at /var/widelands/BZR/new_starting_conditions/src/wlapplication.cc:449
#10 0x0000000000cec5b1 in main (argc=1, argv=0x7fffffffe818) at /var/widelands/BZR/new_starting_conditions/src/main.cc:51

Tags: crash

Related branches

GunChleoc (gunchleoc)
Changed in widelands:
assignee: nobody → GunChleoc (gunchleoc)
status: Confirmed → In Progress
GunChleoc (gunchleoc)
Changed in widelands:
status: In Progress → Fix Committed
assignee: GunChleoc (gunchleoc) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

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.