MantisBT - VCMI
View Issue Details
0001853VCMIAI - Adventure Mappublic2014-07-21 12:572022-03-27 18:38
KroArtem 
 
normalminorhave not tried
resolvedfixed 
x86_64Ubuntu14.04
0.96 
1.next 
0001853: Crash during AI turn
Вей will try to visit Ученый at (40 26 0)
Moving hero Вей to tile 40 26 0
removing object id=953; address=140736690658528; name=Ученый
Hero Вей moved from 37 21 0 to 41 25 0. Returning 1.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe4cdd700 (LWP 16282)]
CBankInfo::minGuards (this=0x7fffc0004110)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/lib/mapObjects/CommonConstructors.cpp:331
331 /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/lib/mapObjects/CommonConstructors.cpp: Нет такого файла или каталога.
(gdb) bt
#0 CBankInfo::minGuards (this=0x7fffc0004110)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/lib/mapObjects/CommonConstructors.cpp:331
#1 0x00007fffe427f0d4 in FuzzyHelper::estimateBankDanger (
    this=0x7fffc51b8610, bank=<optimized out>)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/Fuzzy.cpp:209
0000002 0x00007fffe4276c7b in evaluateDanger (obj=obj@entry=0x7fffd0735e50)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/AIUtility.cpp:311
0000003 0x00007fffe4277add in evaluateDanger (tile=..., visitor=0x7fffd053dab0)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/AIUtility.cpp:230
0000004 0x00007fffe427850d in isSafeToVisit (h=..., tile=...)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/AIUtility.cpp:328
0000005 0x00007fffe41da8ca in VCAI::isGoodForVisit (
    this=this@entry=0x7fffd0d8dd28, obj=0x7fffd0735e50, h=...)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/VCAI.cpp:1196
0000006 0x00007fffe41e3e0b in VCAI::getPossibleDestinations (
    this=this@entry=0x7fffd0d8dd28, h=...)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/VCAI.cpp:1---Type <return> to continue, or q <return> to quit---
219
0000007 0x00007fffe41fa55f in VCAI::wander (this=this@entry=0x7fffd0d8dd28, h=...)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/VCAI.cpp:1283
0000008 0x00007fffe41fb464 in VCAI::performTypicalActions (
    this=this@entry=0x7fffd0d8dd28)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/VCAI.cpp:2201
0000009 0x00007fffe41fc686 in VCAI::makeTurnInternal (
    this=this@entry=0x7fffd0d8dd28)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/VCAI.cpp:761
0000010 0x00007fffe41fd088 in VCAI::makeTurn (this=0x7fffd0d8dd28)
    at /build/buildd/vcmi-0.96+git20140718.3671~ubuntu14.04.1/AI/VCAI/VCAI.cpp:672
0000011 0x00007ffff6b9da4a in ?? ()
   from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0
0000012 0x00007ffff697c182 in start_thread (arg=0x7fffe4cdd700)
    at pthread_create.c:312
0000013 0x00007ffff3e9330d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
R1
Issue History
2014-07-21 12:57KroArtemNew Issue
2014-07-21 12:57KroArtemStatusnew => assigned
2014-07-21 12:57KroArtemAssigned To => Tow
2018-11-06 14:36PovelitelAssigned ToTow =>
2018-11-06 14:36PovelitelStatusassigned => new
2022-03-22 17:46PovelitelTag Attached: R1
2022-03-27 18:38PovelitelNote Added: 0008210
2022-03-27 18:38PovelitelStatusnew => resolved
2022-03-27 18:38PovelitelFixed in Version => 1.next
2022-03-27 18:38PovelitelResolutionopen => fixed
2022-03-27 18:38PovelitelAssigned To => Povelitel
2022-03-27 18:38PovelitelAssigned ToPovelitel =>

Notes
(0008210)
Povelitel   
2022-03-27 18:38   
Don't reproduce in current develop. Probably fixed long time ago