Crash from cmd_queue.cc

Bug #1723501 reported by TiborB
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Expired
Undecided
Unassigned

Bug Description

When playing trunk v. 8462 the game crashed with following backrace. English version

Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
__cxxabiv1::__dynamic_cast (src_ptr=0x55555c6df020, src_type=0x555556c75c98 <typeinfo for Widelands::Command>, dst_type=0x555556c75c80 <typeinfo for Widelands::GameLogicCommand>, src2dst=0) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/dyncast.cc:55
55 /build/gcc/src/gcc/libstdc++-v3/libsupc++/dyncast.cc: No such file or directory.
#0 __cxxabiv1::__dynamic_cast (src_ptr=0x55555c6df020, src_type=0x555556c75c98 <typeinfo for Widelands::Command>, dst_type=0x555556c75c80 <typeinfo for Widelands::GameLogicCommand>, src2dst=0) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/dyncast.cc:55
#1 0x00005555560db8ea in Widelands::CmdQueue::run_queue (this=0x7fffffffa918, interval=66, game_time_var=@0x7fffffffa4f8: 23986235) at /var/widelands2/BZR/trunk/src/logic/cmd_queue.cc:115
#2 0x0000555555fa8d28 in Widelands::Game::think (this=0x7fffffffa4f0) at /var/widelands2/BZR/trunk/src/logic/game.cc:548
#3 0x000055555621b1ed in InteractiveBase::think (this=0x555558dd8440) at /var/widelands2/BZR/trunk/src/wui/interactive_base.cc:388
#4 0x000055555623817b in InteractivePlayer::think (this=0x555558dd8440) at /var/widelands2/BZR/trunk/src/wui/interactive_player.cc:270
#5 0x000055555617d967 in UI::Panel::do_think (this=0x555558dd8440) at /var/widelands2/BZR/trunk/src/ui_basic/panel.cc:456
#6 0x000055555617cf53 in UI::Panel::do_run (this=0x555558dd8440) at /var/widelands2/BZR/trunk/src/ui_basic/panel.cc:181
#7 0x0000555555e74290 in UI::Panel::run<UI::Panel::Returncodes> (this=0x555558dd8440) at /var/widelands2/BZR/trunk/src/ui_basic/panel.h:99
#8 0x0000555555fa89dc in Widelands::Game::run (this=0x7fffffffa4f0, loader_ui=0x7fffffffa200, start_game_type=Widelands::Game::Loaded, script_to_run="", replay=false, prefix_for_replays="single_player") at /var/widelands2/BZR/trunk/src/logic/game.cc:518
#9 0x0000555555fa7d61 in Widelands::Game::run_load_game (this=0x7fffffffa4f0, filename="save/novy2.wgf", script_to_run="") at /var/widelands2/BZR/trunk/src/logic/game.cc:374
#10 0x0000555555e6d116 in WLApplication::load_game (this=0x555556cbc790) at /var/widelands2/BZR/trunk/src/wlapplication.cc:1293
#11 0x0000555555e6bf48 in WLApplication::mainmenu_singleplayer (this=0x555556cbc790) at /var/widelands2/BZR/trunk/src/wlapplication.cc:1124
#12 0x0000555555e6b876 in WLApplication::mainmenu (this=0x555556cbc790) at /var/widelands2/BZR/trunk/src/wlapplication.cc:1025
#13 0x0000555555e67feb in WLApplication::run (this=0x555556cbc790) at /var/widelands2/BZR/trunk/src/wlapplication.cc:446
#14 0x0000555555e663a7 in main (argc=1, argv=0x7fffffffe858) at /var/widelands2/BZR/trunk/src/main.cc:50

Tags: crash
Revision history for this message
SirVer (sirver) wrote :

Looks like something put something else but a GameLogicCommand in the queue which seems weird.

GunChleoc (gunchleoc)
Changed in widelands:
milestone: none → build20-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :

Are you still getting this?

Revision history for this message
Nasenbaer (nasenbaer) wrote :

TiborB, can you reproduce this bug somehow? Any save game that triggers this problem?

Changed in widelands:
status: New → Incomplete
Revision history for this message
TiborB (tiborb95) wrote :

No, I have not got it for long time, so it is very rare and not reproducible...

Revision history for this message
GunChleoc (gunchleoc) wrote :

Let's close it for now then and assume that our ASan hunting fixed it.

Changed in widelands:
milestone: build20-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.