MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001011VCMIAI - Adventure Mappublic2012-06-16 18:112012-06-23 15:55
Reportertopas 
Assigned ToTow 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionduplicate 
Platformi386OSLinuxOS VersionUbuntu 11.04
Product Version0.89 
Target VersionFixed in Version 
Summary0001011: The computer goes into an infinite loop
DescriptionAI/VCAI/VCAI.cpp:1602

Assertation
Steps To ReproduceClick end turn in save game
TagsNo tags attached.
Attached Filestar file icon test.tar [^] (3,041,280 bytes) 2012-06-16 18:11
bz2 file icon ohmeow.savegame.tar.bz2 [^] (143,713 bytes) 2012-06-18 18:08

- Relationships
duplicate of 0001008closedTow Crash while ending turn 

-  Notes
(0002734)
topas (reporter)
2012-06-16 18:16
edited on: 2012-06-16 19:56

vcmiclient: VCAI.cpp:1602: bool VCAI::moveHeroToTile(int3, const CGHeroInstance*): Assertion `cb->getVisitableObjs(dst).size() > 1' failed.

(0002750)
douggie_m (reporter)
2012-06-18 17:43
edited on: 2012-06-18 17:44

Your uploaded game is not readable. It is not on the list of saved games when I put it into ~/.vcmi/Games/

UPD: Of course, I did extracted it via `tar xf'. And even tried to rename.

# xxd aaaaa.vlgm1 | head
0000000: 5643 4d49 dc02 0000 5643 4d49 5356 4700 VCMI....VCMISVG.
0000010: 3300 0000 0500 0000 4861 766f 63be 0000 3.......Havoc...
0000020: 0020 caee e3e4 e02d f2ee 20e2 e5eb e8ea . .....-.. .....
0000030: e0ff 20f1 f2f0 e0ed e020 f0e0 e7e4 e5eb .. ...... ......
0000040: e8eb e0f1 fc20 ede0 20e2 eee5 f1ec fc20 ..... .. ......
0000050: ede5 e1ee ebfc f8e8 f520 e3ee f1f3 e4e0 ......... ......
0000060: f0f1 f2e2 2e20 d2e5 efe5 f0fc 20fd f2e8 ..... ...... ...
0000070: 20e3 eef1 f3e4 e0f0 f1f2 e2e0 20e3 eef2 ........... ...
0000080: eee2 fff2 f1ff 20ea 20e2 e5eb e8ea eee9 ...... . .......
0000090: 20e2 eee9 ede5 2c0a 20e4 ebff 20f2 eee3 .....,. ... ...

(0002751)
douggie_m (reporter)
2012-06-18 18:03
edited on: 2012-06-18 18:06

Heh, unfortunatelly (?), I got it too. With "original genuine" map.

----------------------------------------
...
        Decomposing goal of type EXPLORE
        Decomposing goal of type VISIT TILE
        Attempting realizing goal with code VISIT TILE
        Hero Fiona moved from 70 23 1 to 70 23 1
        Decomposing goal of type EXPLORE
                Time of looking for best exploration neighbour was 0 ms.
                Looking for an another place for exploration...
                Time of looking for new exploration point was 480 ms.
        Decomposing goal of type VISIT TILE
        Attempting realizing goal with code VISIT TILE
vcmiclient: VCAI.cpp:1602: bool VCAI::moveHeroToTile(int3, const CGHeroInstance*): Assertion `cb->getVisitableObjs(dst).size() > 1' failed.
Aborted
----------------------------------------

100% reproducible on my side (can upload a savegame). GDB backtrace:

----------------------------------------
        Attempting realizing goal with code BUILD
        Looking into Malev
const TerrainTile* CGameInfoCallback::getTile(int3, bool) const: -1 -1 -1 is not visible!
        Looking into Malekith, MP=1560
                Malekith will try to visit Gold at (69 41 1)
                Hero Malekith moved from 66 44 1 to 68 42 1

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xecd09450 (LWP 18091)]
0x0f9057e0 in ArmyDescriptor::getStrength() const () from /usr/lib/vcmi/libvcmi.so.0
(gdb) bt
#0 0x0f9057e0 in ArmyDescriptor::getStrength() const () from /usr/lib/vcmi/libvcmi.so.0
#1 0x0c113d30 in evaluateDanger(CGObjectInstance const*) () from /usr/lib/vcmi/AI/libVCAI.so
0000002 0x0c1138fc in evaluateDanger(int3 const&, CGHeroInstance const*) () from /usr/lib/vcmi/AI/libVCAI.so
0000003 0x0c11acd8 in isSafeToVisit(CGHeroInstance const*, int3 const&) () from /usr/lib/vcmi/AI/libVCAI.so
0000004 0x0c11b2e0 in VCAI::getPossibleDestinations(CGHeroInstance const*)::{lambda(CGObjectInstance const*)#1}::operator()(CGObjectInstance const*) const ()
   from /usr/lib/vcmi/AI/libVCAI.so
0000005 0x0c12e718 in __gnu_cxx::__normal_iterator<CGObjectInstance const**, std::vector<CGObjectInstance const*, std::allocator<CGObjectInstance const*> > > std::remove_if<__gnu_cxx::__normal_iterator<CGObjectInstance const**, std::vector<CGObjectInstance const*, std::allocator<CGObjectInstance const*> > >, VCAI::getPossibleDestinations(CGHeroInstance const*)::{lambda(CGObjectInstance const*)#1}>(VCAI::getPossibleDestinations(CGHeroInstance const*)::{lambda(CGObjectInstance const*)#1}, VCAI::getPossibleDestinations(CGHeroInstance const*)::{lambda(CGObjectInstance const*)#1}, VCAI::getPossibleDestinations(CGHeroInstance const*)::{lambda(CGObjectInstance const*)#1}) ()
   from /usr/lib/vcmi/AI/libVCAI.so
0000006 0x0c12d160 in boost::range_iterator<std::vector<CGObjectInstance const*, std::allocator<CGObjectInstance const*> > >::type boost::range::remove_if<std::vector<CGObjectInstance const*, std::allocator<CGObjectInstance const*> >, VCAI::getPossibleDestinations(CGHeroInstance const*)::{lambda(CGObjectInstance const*)#1}>(boost::range_iterator&, VCAI::getPossibleDestinations(CGHeroInstance const*)::{lambda(CGObjectInstance const*)#1}) () from /usr/lib/vcmi/AI/libVCAI.so
0000007 0x0c11b190 in VCAI::getPossibleDestinations(CGHeroInstance const*) () from /usr/lib/vcmi/AI/libVCAI.so
0000008 0x0c11b6a4 in VCAI::wander(CGHeroInstance const*) () from /usr/lib/vcmi/AI/libVCAI.so
0000009 0x0c122a58 in VCAI::performTypicalActions() () from /usr/lib/vcmi/AI/libVCAI.so
0000010 0x0c1205d0 in VCAI::tryRealize(CGoal) () from /usr/lib/vcmi/AI/libVCAI.so
0000011 0x0c121640 in VCAI::striveToGoal(CGoal const&) () from /usr/lib/vcmi/AI/libVCAI.so
0000012 0x0c1188f8 in VCAI::makeTurnInternal() () from /usr/lib/vcmi/AI/libVCAI.so
0000013 0x0c117e10 in VCAI::makeTurn() () from /usr/lib/vcmi/AI/libVCAI.so
0000014 0x0c1c6e68 in boost::_mfi::mf0<void, VCAI>::operator()(VCAI*) const () from /usr/lib/vcmi/AI/libVCAI.so
0000015 0x0c1c6d24 in void boost::_bi::list1<boost::_bi::value<VCAI*> >::operator()<boost::_mfi::mf0<void, VCAI>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void, VCAI>&, boost::_bi::list0&, int) () from /usr/lib/vcmi/AI/libVCAI.so
0000016 0x0c1c6c8c in boost::_bi::bind_t<void, boost::_mfi::mf0<void, VCAI>, boost::_bi::list1<boost::_bi::value<VCAI*> > >::operator()() () from /usr/lib/vcmi/AI/libVCAI.so
0000017 0x0c1c510c in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, VCAI>, boost::_bi::list1<boost::_bi::value<VCAI*> > > >::run() ()
   from /usr/lib/vcmi/AI/libVCAI.so
0000018 0x0e47340c in ?? () from /usr/lib/libboost_thread.so.1.49.0
0000019 0x0ddfa7b0 in start_thread (arg=<optimized out>) at pthread_create.c:306
0000020 0x0df20930 in clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S:123
(gdb)
----------------------------------------

UPD: I'm now on Revision 2761

UPD2: \r issue. What the hell? Why? I just named it "ohmeow", w/o '\r' ($0D, I suppose).

# tar cjfv ohmeow.savegame.tar.bz2 ohmeow^M.*
ohmeow\r.vcgm1
ohmeow\r.vlgm1
ohmeow\r.vsgm1

(0002765)
Ivan (developer)
2012-06-23 15:55

Closing duplicates

- Issue History
Date Modified Username Field Change
2012-06-16 18:11 topas New Issue
2012-06-16 18:11 topas Status new => assigned
2012-06-16 18:11 topas Assigned To => Tow
2012-06-16 18:11 topas File Added: test.tar
2012-06-16 18:16 topas Note Added: 0002734
2012-06-16 19:56 topas Note Edited: 0002734 View Revisions
2012-06-18 17:43 douggie_m Note Added: 0002750
2012-06-18 17:44 douggie_m Note Edited: 0002750 View Revisions
2012-06-18 18:03 douggie_m Note Added: 0002751
2012-06-18 18:03 douggie_m Note Edited: 0002751 View Revisions
2012-06-18 18:06 douggie_m Note Edited: 0002751 View Revisions
2012-06-18 18:08 douggie_m File Added: ohmeow.savegame.tar.bz2
2012-06-23 15:54 Ivan Relationship added duplicate of 0001008
2012-06-23 15:55 Ivan Note Added: 0002765
2012-06-23 15:55 Ivan Status assigned => closed
2012-06-23 15:55 Ivan Resolution open => duplicate

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean