MantisBT - VCMI | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0001628 | VCMI | Mechanics - Objects | public | 2013-12-23 15:41 | 2023-11-21 17:55 | |||||
Reporter | KroArtem | |||||||||
Assigned To | Warmonger | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | unable to reproduce | |||||||
Platform | x86_64 | OS | Ubuntu | OS Version | 13.10 | |||||
Product Version | 0.94 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0001628: VCMI crashed when I try to pick an artifact | |||||||||
Description | I'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) | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | Attached savegame to reproduce the issue. | |||||||||
Tags | R1 | |||||||||
Relationships |
| |||||||||
Attached Files | savegame.7z (268,459) 2013-12-23 15:41 https://bugs.vcmi.eu/file_download.php?file_id=1635&type=bug | |||||||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|