MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002324VCMIOtherpublic2015-11-05 10:122022-03-14 22:55
Reporterjosch 
Assigned ToSXX 
PrioritynormalSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
Platformamd64OSDebianOS Versionunstable
Product Version0.98 
Target VersionFixed in Version 
Summary0002324: Segfault when buying spellbook
DescriptionI got the following bug for vcmi 0.98 on the Debian bug tracker which I'm also to reproduce myself:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797363 [^]

I attached the savegame that produced this problem but you can also find links to the savegame in above bugreport.
Steps To ReproduceI moved the hero near the city to the city.
I then bought a spell building and tried to buy a spellbook for the hero.
Additional Informationthe backtrace (line numbers correspond to vcmi 0.98):

Core was generated by `/usr/games/vcmiclient'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 PutArtifact::applyGs ([email protected]=0x7fb070b2c2c0, [email protected]=0x7fb07f472ae0) at /build/vcmi-t5ndlM/vcmi-0.98+dfsg/lib/NetPacksLib.cpp:901
901 art->putAt(al);
(gdb) bt
#0 PutArtifact::applyGs ([email protected]=0x7fb070b2c2c0, [email protected]=0x7fb07f472ae0) at /build/vcmi-t5ndlM/vcmi-0.98+dfsg/lib/NetPacksLib.cpp:901
#1 0x00007fb0a6c4b3ef in CApplyOnGS<PutArtifact>::applyOnGS (this=<optimized out>, gs=0x7fb07f472ae0, pack=0x7fb070b2c2c0) at /build/vcmi-t5ndlM/vcmi-0.98+dfsg/lib/CGameState.cpp:71
0000002 0x00007fb0a6c04998 in CGameState::apply (this=0x7fb07f472ae0, [email protected]=0x7fb070b2c2c0) at /build/vcmi-t5ndlM/vcmi-0.98+dfsg/lib/CGameState.cpp:2164
0000003 0x00007fb0a74fbc56 in CClient::handlePack ([email protected]=0x7fb07ef998e0, pack=0x7fb070b2c2c0) at /build/vcmi-t5ndlM/vcmi-0.98+dfsg/client/Client.cpp:649
0000004 0x00007fb0a74fc038 in CClient::run (this=0x7fb07ef998e0) at /build/vcmi-t5ndlM/vcmi-0.98+dfsg/client/Client.cpp:176
0000005 0x00007fb0a5cdeaea in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.55.0
0000006 0x00007fb0a5abc0a4 in start_thread (arg=0x7fb082da5700) at pthread_create.c:309
0000007 0x00007fb0a221d07d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
TagsNo tags attached.
Attached Fileszip file icon crash-when-buying-spellbook.zip [^] (1,243,114 bytes) 2015-11-05 10:12
txt file icon 0002324_vcmiclient_bt.txt [^] (2,799 bytes) 2015-11-05 14:10 [Show Content]

- Relationships
related to 0001960closedSXX Crash turn AI 

-  Notes
(0006073)
SXX (administrator)
2015-11-05 14:12

Just in case attached full crash log from 6c33417 (0.98 release).
It's about the same (with different line numbers) on develop.
(0006200)
SXX (administrator)
2015-12-21 20:05

Sadly I didn't manage to find out why that happen, but it's reproducible up to current git.
(0008070)
Povelitel (updater)
2022-03-14 22:55

I can confirm this. Reproducible

- Issue History
Date Modified Username Field Change
2015-11-05 10:12 josch New Issue
2015-11-05 10:12 josch File Added: crash-when-buying-spellbook.zip
2015-11-05 14:10 SXX File Added: 0002324_vcmiclient_bt.txt
2015-11-05 14:12 SXX Note Added: 0006073
2015-12-21 20:05 SXX Note Added: 0006200
2016-07-22 13:59 AVS Assigned To => AVS
2016-07-22 13:59 AVS Status new => confirmed
2016-09-12 13:03 SXX Assigned To AVS => SXX
2016-09-12 13:03 SXX Status confirmed => assigned
2016-09-12 13:04 SXX Relationship added related to 0001960
2022-03-14 22:55 Povelitel Note Added: 0008070

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2022 MantisBT Team
Hosting provided by DigitalOcean