MantisBT - VCMI | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000960 | VCMI | GUI - Battles | public | 2012-05-18 10:53 | 2012-05-22 17:21 |
Reporter | douggie_m | ||||
Assigned To | Tow | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | PowerPC | OS | GNU/Linux | OS Version | Debian Sid |
Product Version | |||||
Target Version | Fixed in Version | 0.89 | |||
Summary | 0000960: Server segfaults on the beginning of any battle | ||||
Description | Segfault on each battle: -------------------------------- Warning: empty path found... Segmentation fault Server finished Lost connection to server, ending listening thread! read: End of file Something wrong, lost connection while game is still ongoing... terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >' what(): read: End of file Aborted -------------------------------- $ ps -A | grep vcmiserver 2309 pts/4 00:00:01 vcmiserver ... (gdb) attach 2309 ... (gdb) c ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xf6eff450 (LWP 2500)] 0x0f7fdc48 in BattleInfo::setupBattle (tile=..., terrain=3, terType=11, armies=0x104285b8, heroes=0x104285c0, creatureBank=false, town=0x0) at BattleState.cpp:1753 1753 creatureBank ? commanderBank[i] : commanderField[i]); (gdb) bt #0 0x0f7fdc48 in BattleInfo::setupBattle (tile=..., terrain=3, terType=11, armies=0x104285b8, heroes=0x104285c0, creatureBank=false, town=0x0) at BattleState.cpp:1753 #1 0x0f90fc90 in CGameState::setupBattle (this=0x10840e80, tile=..., armies=0x104285b8, heroes=0x104285c0, creatureBank=false, town=0x0) at CGameState.cpp:787 0000002 0x10172a50 in CGameHandler::setupBattle (this=0x108408e0, tile=..., armies=0x104285b8, heroes=0x104285c0, creatureBank=false, town=0x0) at CGameHandler.cpp:1464 0000003 0x101697a4 in CGameHandler::startBattle(CArmedInstance const**, int3, CGHeroInstance const**, bool, boost::function<void (BattleResult*)>, CGTownInstance const*) (this=0x108408e0, armies=0x104285b8, tile=..., heroes=0x104285c0, creatureBank=false, cb=..., town=0x0) at CGameHandler.cpp:372 0000004 0x10295774 in boost::_mfi::mf6<void, CGameHandler, CArmedInstance const**, int3, CGHeroInstance const**, bool, boost::function<void (BattleResult*)>, CGTownInstance const*>::operator()(CGameHandler*, CArmedInstance const**, int3, CGHeroInstance const**, bool, boost::function<void (BattleResult*)>, CGTownInstance const*) const (this=0x10958bd4, p=0x108408e0, a1=0x104285b8, a2=..., a3=0x104285c0, a4=false, a5=..., a6=0x0) at /usr/include/boost/bind/mem_fn_template.hpp:732 0000005 0x10295334 in boost::_bi::list7<boost::_bi::value<CGameHandler*>, boost::_bi::value<CArmedInstance const**>, boost::_bi::value<int3>, boost::_bi::value<CGHeroInstance const**>, boost::_bi::value<bool>, boost::_bi::value<boost::function<void (BattleResult*)> >, boost::_bi::value<CGTownInstance const*> >::operator()<boost::_mfi::mf6<void, CGameHandler, CArmedInstance const**, int3, CGHeroInstance const**, bool, boost::function<void (BattleResult*)>, CGTownInstance const*>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf6<void, CGameHandler, CArmedInstance const**, int3, CGHeroInstance const**, bool, boost::function<void (BattleResult*)>, CGTownInstance const*>&, boost::_bi::list0&, int) (this=0x10958bdc, f=..., a=...) at /usr/include/boost/bind/bind.hpp:670 0000006 0x10295144 in boost::_bi::bind_t<void, boost::_mfi::mf6<void, CGameHandler, CArmedInstance const**, int3, CGHeroInstance const**, bool, boost::function<void (BattleResult*)>, CGTownInstance const*>, boost::_bi::list7<boost::_bi::value<CGameHandler*>, boost::_bi::value<CArmedInstance const**>, boost::_bi::value<int3>, boost::_bi::value<CGHeroInstance const**>, boost::_bi::value<bool>, boost::_bi::value<boost::function<void (BattleResult*)> >, boost::_bi::value<CGTownInstance const*> > >::operator()() (this=0x10958bd4) at /usr/include/boost/bind/bind_template.hpp:20 0000007 0x10292858 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf6<void, CGameHandler, CArmedInstance const**, int3, CGHeroInstance const**, bool, boost::function<void (BattleResult*)>, CGTownInstance const*>, boost::_bi::list7<boost::_bi::value<CGameHandler*>, boost::_bi::value<CArmedInstance const**>, boost::_bi::value<int3>, boost::_bi::value<CGHeroInstance const**>, boost::_bi::value<bool>, boost::_bi::value<boost::function<void (BattleResult*)> >, boost::_bi::value<CGTownInstance const*> > > >::run() ( this=0x10958ad0) at /usr/include/boost/thread/detail/thread.hpp:62 0000008 0x0f25d40c in ?? () from /usr/lib/libboost_thread.so.1.49.0 0000009 0x0f21c7b0 in start_thread (arg=<optimized out>) at pthread_create.c:306 0000010 0x0ed3fb10 in clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S:123 -------------------------------- | ||||
Steps To Reproduce | Always reproducible. Just begin any map, and start any battle. It is not present in 0.88 release tarball. As Ivan said, it ``Looks like commanders issue.'' | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | Screenshot - 05212012 - 12:35:05 PM.png (1,169,025) 2012-05-21 16:36 https://bugs.vcmi.eu/file_download.php?file_id=942&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-05-18 10:53 | douggie_m | New Issue | |||
2012-05-18 11:25 | Ivan | Note Added: 0002492 | |||
2012-05-21 16:35 | douggie_m | Note Added: 0002516 | |||
2012-05-21 16:36 | douggie_m | File Added: Screenshot - 05212012 - 12:35:05 PM.png | |||
2012-05-21 16:37 | douggie_m | Note Edited: 0002516 | bug_revision_view_page.php?bugnote_id=2516#r1653 | ||
2012-05-21 22:30 | Tow | Note Added: 0002517 | |||
2012-05-21 22:30 | Tow | Status | new => closed | ||
2012-05-21 22:30 | Tow | Assigned To | => Tow | ||
2012-05-21 22:30 | Tow | Resolution | open => no change required | ||
2012-05-22 16:43 | douggie_m | Note Added: 0002521 | |||
2012-05-22 16:43 | douggie_m | Status | closed => feedback | ||
2012-05-22 16:43 | douggie_m | Resolution | no change required => reopened | ||
2012-05-22 16:45 | douggie_m | Note Edited: 0002521 | bug_revision_view_page.php?bugnote_id=2521#r1655 | ||
2012-05-22 17:21 | Warmonger | Note Added: 0002524 | |||
2012-05-22 17:21 | Warmonger | Status | feedback => closed | ||
2012-05-22 17:21 | Warmonger | Resolution | reopened => fixed | ||
2012-05-22 17:21 | Warmonger | Fixed in Version | => 0.89 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|