MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001628VCMIMechanics - Objectspublic2013-12-23 15:412023-11-21 17:55
ReporterKroArtem 
Assigned ToWarmonger 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
Platformx86_64OSUbuntuOS Version13.10
Product Version0.94 
Target VersionFixed in Version 
Summary0001628: VCMI crashed when I try to pick an artifact
DescriptionI'm trying to pick an artifact from earth, vcmi always crashes.
Backtrace:

 Saving lib part of game...
    Saving header
    Saving options
    Saving handlers
    Saving gamestate
System message: Game has been saved as Saves/Autosave_3

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffde5f8700 (LWP 10389)]
0x00007ffff7a5992d in _Construct<ArtSlotInfo, ArtSlotInfo> (__p=0x7fffaea2f0c0)
    at /usr/include/c++/4.8/bits/stl_construct.h:75
75 { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
(gdb) bt
#0 0x00007ffff7a5992d in _Construct<ArtSlotInfo, ArtSlotInfo> (
    __p=0x7fffaea2f0c0) at /usr/include/c++/4.8/bits/stl_construct.h:75
#1 __uninit_copy<std::move_iterator<ArtSlotInfo*>, ArtSlotInfo*> (
    __result=<optimized out>, __last=..., __first=...)
    at /usr/include/c++/4.8/bits/stl_uninitialized.h:75
0000002 uninitialized_copy<std::move_iterator<ArtSlotInfo*>, ArtSlotInfo*> (
    __result=<optimized out>, __last=..., __first=...)
    at /usr/include/c++/4.8/bits/stl_uninitialized.h:117
0000003 __uninitialized_copy_a<std::move_iterator<ArtSlotInfo*>, ArtSlotInfo*, ArtSlotInfo> (__result=<optimized out>, __last=..., __first=...)
    at /usr/include/c++/4.8/bits/stl_uninitialized.h:258
0000004 __uninitialized_move_if_noexcept_a<ArtSlotInfo*, ArtSlotInfo*, std::allocator<ArtSlotInfo> > (__alloc=..., __result=0x7fffacdb7420, __last=0x7fffc801e350,
    __first=0x7fffc801e360)
    at /usr/include/c++/4.8/bits/stl_uninitialized.h:281
0000005 std::vector<ArtSlotInfo, std::allocator<ArtSlotInfo> >::_M_insert_aux<ArtSlotInfo>(__gnu_cxx::__normal_iterator<ArtSlotInfo*, std::vector<ArtSlotInfo, std::allocator<ArtSlotInfo> > >, ArtSlotInfo&&) (this=0x7fffc80181a8,
    __position=...) at /usr/include/c++/4.8/bits/vector.tcc:369
0000006 0x00007ffff7a53ec5 in emplace<ArtSlotInfo> (__position=...,
    this=0x7fffc80181a8) at /usr/include/c++/4.8/bits/vector.tcc:306
0000007 insert (
    __x=<unknown type in /usr/lib/debug/.build-id/81/251266e7375c9c56c5dcb78dd6e---Type <return> to continue, or q <return> to quit---
aab7cf8706d.debug, CU 0x241aa20, DIE 0x2528e7f>, __position=...,
    this=0x7fffc80181a8) at /usr/include/c++/4.8/bits/stl_vector.h:989
0000008 CArtifactSet::retreiveNewArtSlot (this=0x7fffc80181a0, slot=...)
    at /build/buildd/vcmi-0.94+svn3369/lib/CArtHandler.cpp:1149
0000009 0x00007ffff7a53f48 in CArtifactSet::setNewArtSlot (this=<optimized out>,
    slot=..., art=art@entry=0x7fffc830dc90, locked=locked@entry=false)
    at /build/buildd/vcmi-0.94+svn3369/lib/CArtHandler.cpp:1156
0000010 0x00007ffff7a53f8a in CArtifactInstance::putAt (this=0x7fffc830dc90,
    al=...) at /build/buildd/vcmi-0.94+svn3369/lib/CArtHandler.cpp:757
0000011 0x00007ffff79f139a in PutArtifact::applyGs (this=this@entry=
    0x7fffad45ec50, gs=gs@entry=0x7fffc83118f0)
    at /build/buildd/vcmi-0.94+svn3369/lib/NetPacksLib.cpp:848
0000012 0x00007ffff79a8a3f in CApplyOnGS<PutArtifact>::applyOnGS (
    this=<optimized out>, gs=0x7fffc83118f0, pack=0x7fffad45ec50)
    at /build/buildd/vcmi-0.94+svn3369/lib/CGameState.cpp:71
0000013 0x00007ffff79906c8 in CGameState::apply (this=0x7fffc83118f0,
    pack=pack@entry=0x7fffad45ec50)
    at /build/buildd/vcmi-0.94+svn3369/lib/CGameState.cpp:2010
0000014 0x00000000005b3ab3 in CClient::handlePack (this=this@entry=0x7fffc8002c70,
    pack=0x7fffad45ec50)
    at /build/buildd/vcmi-0.94+svn3369/client/Client.cpp:514
0000015 0x00000000005b3e60 in CClient::run (this=0x7fffc8002c70)
    at /build/buildd/vcmi-0.94+svn3369/client/Client.cpp:150
---Type <return> to continue, or q <return> to quit---
0000016 0x00007ffff6dfd94a in ?? ()
   from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0
0000017 0x00007ffff6bdcf6e in start_thread (arg=0x7fffde5f8700)
    at pthread_create.c:311
0000018 0x00007ffff40d19cd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
(gdb)
Additional InformationAttached savegame to reproduce the issue.
TagsR1
Attached Files7z file icon savegame.7z [^] (268,459 bytes) 2013-12-23 15:41

- Relationships
related to 0001629closedPovelitel VCMI crashed during AI's turn 

-  Notes
(0004202)
KroArtem (updater)
2013-12-23 15:42

If I remove another shield from my hand, I _can_ pick this artefact, that's rather strange. But you can check it by yourself ;)
(0008865)
Povelitel (updater)
2023-11-21 17:55

Using NullkillerAI by default is no longer relevant.
Try the latest release if you suddenly see this message

- Issue History
Date Modified Username Field Change
2013-12-23 15:41 KroArtem New Issue
2013-12-23 15:41 KroArtem Status new => assigned
2013-12-23 15:41 KroArtem Assigned To => Warmonger
2013-12-23 15:41 KroArtem File Added: savegame.7z
2013-12-23 15:42 KroArtem Note Added: 0004202
2013-12-28 14:08 Warmonger Relationship added related to 0001629
2022-03-22 15:24 Povelitel Tag Attached: R1
2023-11-21 17:55 Povelitel Note Added: 0008865
2023-11-21 17:55 Povelitel Status assigned => closed
2023-11-21 17:55 Povelitel Resolution open => unable to reproduce

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean