MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001677VCMICampaignspublic2014-02-01 12:052014-06-02 11:32
ReporterIvan 
Assigned ToTow 
PrioritynormalSeveritycrashReproducibilityrandom
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.94d 
Summary0001677: Sometimes vcmi crashes during advancing to next scenario
DescriptionThis is very random crash that happens quite rarely when advancing to next scenario in campaign. May be duplicate of some of crashes reported here.

Not sure what's going on so I took two stacktraces from gdb:
gdb-short.txt - just stacktraces from all threads (bt)
gdb-full.txt - full stacktraces including locals (bt full)

Two most "interesting threads are:
1) One that causes crash, failure to unlock a mutex:
5 0x00000000009f3e4b in boost::unique_lock<boost::recursive_mutex>::~unique_lock (this=0x7fffdf065d00, __in_chrg=<optimized out>)
    at /usr/include/boost/thread/lock_types.hpp:329
6 0x0000000000ba4d0f in CPlayerInterface::update (this=0x7fffb9e01f88)
    at code/client/CPlayerInterface.cpp:1615
7 0x0000000000a3933a in CGuiHandler::run (this=0x11d1d20 <GH>)
    at code/client/gui/CGuiHandler.cpp:388

2) Thread that handles connection, currently in middle of de-serialization of campaign state (may be unrelated):
14 0x0000000000b51553 in Bonus::serialize<CISer<CConnection> > (
    this=0x7fffb4d0f580, h=..., version=0)
    at code/lib/HeroBonus.h:330
...
85 0x0000000000b15315 in CGHeroInstance::serialize<CISer<CConnection> > (
    this=0x7fffb57b8220, h=..., version=743)
    at code/lib/CObjectHandler.h:397
...
140 0x00007ffff7392184 in UpdateCampaignState::serialize<CISer<CConnection> >
    (this=0x7fffb5556f90, h=..., version=743)
    at code/lib/NetPacks.h:442
...
148 0x0000000000b74a2a in CClient::run (this=0x7fffb8eb50b0)
    at code/client/Client.cpp:142
TagsNo tags attached.
Attached Filestxt file icon gdb-full.txt [^] (92,394 bytes) 2014-02-01 12:05 [Show Content]
txt file icon gdb-short.txt [^] (38,462 bytes) 2014-02-01 12:05 [Show Content]

- Relationships

-  Notes
(0004360)
Tow (developer)
2014-02-01 13:35

Should be fixed by r3722.
(0004744)
Kantor (updater)
2014-06-02 11:32

This one may be closed.

- Issue History
Date Modified Username Field Change
2014-02-01 12:05 Ivan New Issue
2014-02-01 12:05 Ivan File Added: gdb-full.txt
2014-02-01 12:05 Ivan File Added: gdb-short.txt
2014-02-01 12:05 Ivan Description Updated View Revisions
2014-02-01 13:35 Tow Note Added: 0004360
2014-02-01 13:35 Tow Status new => resolved
2014-02-01 13:35 Tow Fixed in Version => 0.94d
2014-02-01 13:35 Tow Resolution open => fixed
2014-02-01 13:35 Tow Assigned To => Tow
2014-06-02 11:32 Kantor Note Added: 0004744
2014-06-02 11:32 Kantor Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean