widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #03475
Fwd: seafaring crash
It seems I got rid of the problem, dont pay attention to previous email :)
---------- Forwarded message ----------
From: Tibor Bamhor <tiborb95@xxxxxxxxx>
Date: 2015-01-03 19:37 GMT+01:00
Subject: seafaring crash
To: widelands-dev@xxxxxxxxxxxxxxxxxxx
Hi,
I am testing seafaring-ai, and I encounterd two times this crash:
0 0x08b58cf3 in std::vector<Widelands::PortDock*,
std::allocator<Widelands::PortDock*> >::end (this=0x2c)
at /usr/include/c++/4.9.2/bits/stl_vector.h:575
#1 0x08b57bbd in std::vector<Widelands::PortDock*,
std::allocator<Widelands::PortDock*> >::empty (this=0x2c)
at /usr/include/c++/4.9.2/bits/stl_vector.h:744
#2 0x08b54e54 in Widelands::Fleet::merge (this=0x0, egbase=...,
other=0xd09a5c8)
at /var/widelands/BZR/seafaring-ai/src/economy/fleet.cc:196
#3 0x08b54cb3 in Widelands::Fleet::find_other_fleet (this=0xd09a5c8,
egbase=...)
at /var/widelands/BZR/seafaring-ai/src/economy/fleet.cc:166
#4 0x08b549ca in Widelands::Fleet::init (this=0xd09a5c8, egbase=...) at
/var/widelands/BZR/seafaring-ai/src/economy/fleet.cc:113
#5 0x08b5d547 in Widelands::PortDock::init_fleet (this=0xd3f1870,
egbase=...)
at /var/widelands/BZR/seafaring-ai/src/economy/portdock.cc:165
#6 0x08b5d4e0 in Widelands::PortDock::init (this=0xd3f1870, egbase=...)
at /var/widelands/BZR/seafaring-ai/src/economy/portdock.cc:155
#7 0x088c6822 in Widelands::Warehouse::init_portdock (this=0xc55bfb8,
egbase=...)
at /var/widelands/BZR/seafaring-ai/src/logic/warehouse.cc:510
#8 0x088c68f3 in Widelands::Warehouse::restore_portdock_or_destroy
(this=0xc55bfb8, egbase=...)
at /var/widelands/BZR/seafaring-ai/src/logic/warehouse.cc:524
#9 0x08b5d90b in Widelands::PortDock::cleanup (this=0xc55c690, egbase=...)
at /var/widelands/BZR/seafaring-ai/src/economy/portdock.cc:221
#10 0x08849d8e in Widelands::MapObject::remove (this=0xc55c690, egbase=...)
at /var/widelands/BZR/seafaring-ai/src/logic/instances.cc:369
#11 0x08839a00 in Widelands::BaseImmovable::set_position (this=0xc3d1f28,
egbase=..., c=...)
at /var/widelands/BZR/seafaring-ai/src/logic/immovable.cc:100
#12 0x08b5d4a9 in Widelands::PortDock::init (this=0xc3d1f28, egbase=...)
at /var/widelands/BZR/seafaring-ai/src/economy/portdock.cc:152
#13 0x088c6822 in Widelands::Warehouse::init_portdock (this=0xe5ffff8,
egbase=...)
This is code for frame 2
var/widelands/BZR/seafaring-ai/src/economy/fleet.cc:196
197 other->merge(egbase, this);
What do you think about this?
Tibor
References