widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #03594
Re: [Merge] lp:~widelands-dev/widelands/seafaring-ai into lp:widelands
the file is test_rip_second_port_with_worker_in_portdock.lua
After some investigation I found that folowing command will run just particular script:
./widelands --verbose=true --datadir=. --disable_fx=true --disable_music=true --language=en_US --scenario=test/maps/ship_transportation.wmf --script=test/maps/ship_transportation.wmf/scripting/test_rip_second_port_with_worker_in_portdock.lua
and based on this I was able to get backtrace from gdb, here it is:
Program received signal SIGABRT, Aborted.
0xb7fdcbcc in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fdcbcc in __kernel_vsyscall ()
#1 0xb7805f47 in raise () from /usr/lib/lib/libc.so.6
#2 0xb7807589 in abort () from /usr/lib/lib/libc.so.6
#3 0xb77ff027 in __assert_fail_base () from /usr/lib/lib/libc.so.6
#4 0xb77ff0ab in __assert_fail () from /usr/lib/lib/libc.so.6
#5 0x0877261f in boost::signals2::mutex::lock (this=0xa9b3d14) at /usr/include/boost/signals2/detail/lwm_pthreads.hpp:60
#6 0x08775874 in boost::signals2::detail::unique_lock<boost::signals2::mutex>::unique_lock (this=0xbfffefdc, m=...)
at /usr/include/boost/signals2/detail/unique_lock.hpp:29
#7 0x08888105 in boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() (
this=0xa9b3d08) at /usr/include/boost/signals2/detail/signal_template.hpp:229
#8 0x08886f63 in boost::signals2::signal<void (), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() (this=0xa9b3c30)
at /usr/include/boost/signals2/detail/signal_template.hpp:718
#9 0x088c9690 in Widelands::WareList::remove (this=0xa9b3c30, i=8 '\b', count=1) at ../src/logic/warelist.cc:80
#10 0x08adc7df in Widelands::Economy::remove_workers (this=0xa9b3c08, id=8 '\b', count=1) at ../src/economy/economy.cc:401
#11 0x088cdcdd in Widelands::Worker::set_economy (this=0xa9976c0, economy=0x0) at ../src/logic/worker.cc:1168
#12 0x088cf2cc in Widelands::Worker::shipping_pop (this=0xa9976c0, game=...) at ../src/logic/worker.cc:1644
#13 0x0880ba6e in Widelands::Bob::do_pop_task (this=0xa9976c0, game=...) at ../src/logic/bob.cc:283
#14 0x0880be0c in Widelands::Bob::reset_tasks (this=0xa9976c0, game=...) at ../src/logic/bob.cc:388
#15 0x088cdef2 in Widelands::Worker::cleanup (this=0xa9976c0, egbase=...) at ../src/logic/worker.cc:1220
#16 0x08841ee2 in Widelands::MapObject::remove (this=0xa9976c0, egbase=...) at ../src/logic/instances.cc:369
#17 0x08841514 in Widelands::ObjectManager::cleanup (this=0xbffff490, egbase=...) at ../src/logic/instances.cc:161
#18 0x08772be8 in Widelands::EditorGameBase::cleanup_objects (this=0xbffff47c) at ../src/logic/editor_game_base.h:180
#19 0x0882a7a7 in Widelands::Game::run (this=0xbffff47c, loader_ui=0xbffff2b4, start_game_type=Widelands::Game::NewSPScenario,
script_to_run="test/maps/ship_transportation.wmf/scripting/test_rip_second_port_with_worker_in_portdock.lua", replay=false)
This was trunk...
--
https://code.launchpad.net/~widelands-dev/widelands/seafaring-ai/+merge/242271
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/seafaring-ai.
References