MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001787VCMIOtherpublic2014-05-10 13:442014-05-10 13:44
ReporterKroArtem 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
Platformx86_64OSUbuntuOS Version14.04
Product Version0.95 
Target VersionFixed in Version 
Summary0001787: A strange crash during AI turn
DescriptionCopied from the forum.

Player 1 starting turn
Striving to goal of type WIN
Considering goal WIN
Considering goal CONQUER
terminate called after throwing an instance of 'std::runtime_error'
what(): Resource with name MUSIC/AITHEME2 and type MUSIC wasn't found.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe3c55700 (LWP 27204)]
0x00007ffff3ca6f77 in __GI_raise ([email protected]=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
(gdb) bt
#0 0x00007ffff3ca6f77 in __GI_raise ([email protected]=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff3caa5e8 in __GI_abort () at abort.c:90
0000002 0x00007ffff45b26e5 in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000003 0x00007ffff45b0856 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000004 0x00007ffff45b0883 in std::terminate() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000005 0x00007ffff45b0aae in __cxa_throw ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0000006 0x00007ffff793d863 in CFilesystemList::load ([email protected]=0xa7e110,
resourceName=...)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/lib/filesystem/AdapterLoaders.cpp:67
0000007 0x0000000000737686 in MusicEntry::load ([email protected]=0x7fffc0767540,
musicURI=...)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/client/CMusicHandler.cpp:482
0000008 0x0000000000738f65 in MusicEntry::play (this=0x7fffc0767540)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/client/CMusicHandler.cpp:508
0000009 0x0000000000739c50 in CMusicHandler::musicFinishedCallback (
this=0x7fffd80225d0)
---Type <return> to continue, or q <return> to quit---
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/client/CMusicHandler.cpp:448
0000010 0x00007ffff61733b4 in ?? ()
from /usr/lib/x86_64-linux-gnu/libSDL_mixer-1.2.so.0
0000011 0x00007ffff65e29b9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
0000012 0x00007ffff65eaac8 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
0000013 0x00007ffff662a189 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
0000014 0x00007ffff6876f6e in start_thread (arg=0x7fffe3c55700)
at pthread_create.c:311
0000015 0x00007ffff3d6a9cd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

After reloading vcmi and starting the same save:

Сила отряда: Бессильный
Hero Лорд Аларис moved from 31 13 0 to 30 12 0. Returning 0.
Hero Лорд Аларис apparently used all MPs (0 left)
Looking into Октавия, MP=1560
Of all 1 destinations, object oid=944 seems nice
Октавия will try to visit Магический источник (Не посещено) at (46 14 0)
Moving hero Октавия to tile 46 14 0
Hero Октавия moved from 37 12 0 to 46 14 0. Returning 1.
Looking into Вей, MP=1630
const TerrainTile* CGameInfoCallback::getTile(int3, bool) const: 47 15 1 is not visible!
std::vector<const CGObjectInstance*> CGameInfoCallback::getVisitableObjs(int3, bool) const: 47 15 1 is not visible!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe1a4e700 (LWP 27835)]
CGPathNode::reachable (this=0x0)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/lib/CGameState.cpp:2923
2923 /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/lib/CGameState.cpp: Нет такого файла или каталога.
(gdb) bt
#0 CGPathNode::reachable (this=0x0)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/lib/CGameState.cpp:2923
#1 0x00007fffe2c9dee5 in VCAI::isAccessibleForHero (
[email protected]=0x7fffbe3ed668, pos=..., h=...,
[email protected]=false)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/AI/VCAI/VCAI.cpp:1627
0000002 0x00007fffe2c9fa75 in VCAI::isGoodForVisit (
[email protected]=0x7fffbe3ed668, obj=0x7fffbc7f5940, h=...)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/AI/VCAI/VCAI.cpp:1188
0000003 0x00007fffe2ca9132 in VCAI::getPossibleDestinations (
[email protected]=0x7fffbe3ed668, h=...)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/AI/VCAI/VCAI.cpp:1215
0000004 0x00007fffe2cbf39f in VCAI::wander ([email protected]=0x7fffbe3ed668, h=...)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/AI/VCAI/VCAI.cpp:1279
0000005 0x00007fffe2cc02c4 in VCAI::performTypicalActions (
[email protected]=0x7fffbe3ed668)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/AI/VCAI/VCAI.cpp:2195
0000006 0x00007fffe2cc14d7 in VCAI::makeTurnInternal (
[email protected]=0x7fffbe3ed668)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/AI/VCAI/VCAI.cpp:757
0000007 0x00007fffe2cc1eec in VCAI::makeTurn (this=0x7fffbe3ed668)
at /build/buildd/vcmi-0.95+svn3538~ubuntu13.10.1/AI/VCAI/VCAI.cpp:668
0000008 0x00007ffff6a9794a in ?? ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
0000009 0x00007ffff6876f6e in start_thread (arg=0x7fffe1a4e700)
at pthread_create.c:311
0000010 0x00007ffff3d6a9cd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-05-10 13:44 KroArtem New Issue

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2019 MantisBT Team
Hosting provided by DigitalOcean