MantisBT - VCMI
View Issue Details
0001795VCMIGUI - Adventure Mappublic2014-06-03 05:082024-05-11 08:56
o01eg 
Nullkiller 
normalmajoralways
closedunable to reproduce 
AMD64LinuxGentoo
 
 
0001795: Client aborts execution at moving.
Cannot move the hero from the castle.

Rev a94b7e at develop.
1. Load game.
2. Move Hero outside town.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffd65c1700 (LWP 19629)]
sh: line 1: 19627 Аварийный останов (core dumped) /mnt/anythings/games/vcmi/bin/vcmiserver --port=3030 > /home/o01eg/.cache/vcmi/server_log.txt
0x00007ffff164a535 in raise () from /lib64/libc.so.6
(gdb) bt full
#0 0x00007ffff164a535 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff164b9b8 in abort () from /lib64/libc.so.6
No symbol table info available.
0000002 0x00007ffff16435f2 in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
0000003 0x00007ffff16436a2 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
0000004 0x00007ffff7046688 in CGTownInstance::setVisitingHero (this=0x7fffc8b0d360, h=0x0) at /mnt/anythings/game.src/vcmi/lib/CObjectHandler.cpp:2778
        __PRETTY_FUNCTION__ = "void CGTownInstance::setVisitingHero(CGHeroInstance*)"
0000005 0x00007ffff70b17d8 in HeroVisitCastle::applyGs (this=0x7fffcc9e9a10, gs=0x7fffc8a6cfa0) at /mnt/anythings/game.src/vcmi/lib/NetPacksLib.cpp:130
        h = 0x7fffc8b0b3b0
        t = 0x7fffc8b0d360
0000006 0x00007ffff6fdc396 in CApplyOnGS<HeroVisitCastle>::applyOnGS (this=0x7fffc877afe0, gs=0x7fffc8a6cfa0, pack=0x7fffcc9e9a10)
    at /mnt/anythings/game.src/vcmi/lib/CGameState.cpp:71
        ptr = 0x7fffcc9e9a10
        lock = {m = 0x7fffc8a73690, is_locked = true}
0000007 0x00007ffff6f13e3c in CGameState::apply (this=0x7fffc8a6cfa0, pack=0x7fffcc9e9a10) at /mnt/anythings/game.src/vcmi/lib/CGameState.cpp:2181
        typ = 94
0000008 0x0000000000e4a656 in CClient::handlePack (this=0x7fffc8768550, pack=0x7fffcc9e9a10) at /mnt/anythings/game.src/vcmi/client/Client.cpp:532
        guiLock = {m = 0x161e680, is_locked = true}
        apply = 0x7fffc8768ea0
0000009 0x0000000000e47bf5 in CClient::run (this=0x7fffc8768550) at /mnt/anythings/game.src/vcmi/client/Client.cpp:171
        pack = 0x7fffcc9e9a10
0000010 0x0000000000f7007d in boost::_mfi::mf0<void, CClient>::operator() (this=0x7fffc8eaa488, p=0x7fffc8768550)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
No locals.
0000011 0x0000000000f6f85c in boost::_bi::list1<boost::_bi::value<CClient*> >::operator()<boost::_mfi::mf0<void, CClient>, boost::_bi::list0> (
    this=0x7fffc8eaa498, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
No locals.
0000012 0x0000000000f6efaf in boost::_bi::bind_t<void, boost::_mfi::mf0<void, CClient>, boost::_bi::list1<boost::_bi::value<CClient*> > >::operator() (
    this=0x7fffc8eaa488) at /usr/include/boost/bind/bind_template.hpp:20
        a = {<No data fields>}
0000013 0x0000000000f6e390 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CClient>, boost::_bi::list1<boost::_bi::value<CClient*> > > >::run (this=0x7fffc8eaa2d0) at /usr/include/boost/thread/detail/thread.hpp:117
No locals.
0000014 0x00007ffff52c46c4 in ?? () from /usr/lib64/libboost_thread.so.1.53.0
No symbol table info available.
0000015 0x00007ffff4862f3a in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
0000016 0x00007ffff16ffc3d in clone () from /lib64/libc.so.6
No symbol table info available.
(gdb) f 4
0000004 0x00007ffff7046688 in CGTownInstance::setVisitingHero (this=0x7fffc8b0d360, h=0x0) at /mnt/anythings/game.src/vcmi/lib/CObjectHandler.cpp:2778
2778 assert(!!visitingHero == !h);
(gdb) p visitingHero
$1 = {ptr = 0x0}
(gdb) p h
$2 = (CGHeroInstance *) 0x0
R1
zip 1.zip (462,022) 2014-06-03 05:08
https://bugs.vcmi.eu/file_download.php?file_id=1823&type=bug
Issue History
2014-06-03 05:08o01egNew Issue
2014-06-03 05:08o01egFile Added: 1.zip
2022-03-21 18:31PovelitelTag Attached: R1
2022-03-21 18:31PovelitelAssigned To => Nullkiller
2022-03-21 18:31PovelitelStatusnew => assigned
2024-05-11 08:56PovelitelNote Added: 0008965
2024-05-11 08:56PovelitelStatusassigned => closed
2024-05-11 08:56PovelitelResolutionopen => unable to reproduce

Notes
(0008965)
Povelitel   
2024-05-11 08:56   
Unable to reproduce. Too old format. More likely fixed

Try new version from here https://github.com/vcmi/vcmi/releases/tag/1.5.0 [^]