MantisBT - VCMI
View Issue Details
0001771VCMIGUI - Adventure Mappublic2014-04-06 10:322023-01-26 08:01
beegee 
Povelitel 
highcrashrandom
resolvedunable to reproduce 
 
1.next 
0001771: Crash when loading a map (campaign scenario)
Sometimes when loading a map (campaign scenario) VCMI crashes.
It randomly occured when starting the

- 1st scenario of AB campaign Armageddon's Blade / Catherine's Charge
- 1st scenario of SOD campaign Unholy Alliance / Harvest
Backtrace:

Thread 30 (Thread 0x7fd3f52d6700 (LWP 7613)):
#0 0x0000000000f95859 in CTerrainRect::showPath (this=0x7fd3e13b90f8, extRect=0x7fd3e13b9148, to=0x31cb4f0) at /home/bge/VCMI/trunk/src/client/CAdvmapInterface.cpp:140
        curPos = @0x18: <error reading variable>
        nextPos = @0x40: <error reading variable>
        pn = 32723
        i = 0
        pns = {{16, 17, 18, 7, -1, 19, 6, 5, -1}, {8, 9, 18, 7, -1, 19, 6, -1, 20}, {8, 1, 10, 7, -1, 19, -1, 21, 20}, {24, 17, 18, 15, -1, -1, 6, 5, 4}, {-1, -1, -1, -1, -1, -1, -1, -1, -1}, {8, 1, 2, -1, -1, 11, 22, 21, 20}, {24, 17, -1, 23, -1, 3, 14, 5, 4}, {24, -1, 2, 23, -1, 3, 22, 13, 4}, {-1, 1, 2, 23, -1, 3, 22, 21, 12}}
#1 0x0000000000f96911 in CTerrainRect::show (this=0x7fd3e13b90f8, to=0x31cb4f0) at /home/bge/VCMI/trunk/src/client/CAdvmapInterface.cpp:272
No locals.
0000002 0x0000000000f9c0fb in CAdvMapInt::show (this=0x7fd3e13b8270, to=0x31cb4f0) at /home/bge/VCMI/trunk/src/client/CAdvmapInterface.cpp:758
        betterPos = {x = 5, y = 6, z = 0}
        scrollSpeed = 1
0000003 0x0000000000f9badb in CAdvMapInt::showAll (this=0x7fd3e13b8270, to=0x31cb4f0) at /home/bge/VCMI/trunk/src/client/CAdvmapInterface.cpp:679
No locals.
0000004 0x0000000000bac04f in CGuiHandler::totalRedraw (this=0x15e9c30 <GH>) at /home/bge/VCMI/trunk/src/client/gui/CGuiHandler.cpp:150
        __range = std::vector of length 1, capacity 8 = {0x7fd3e13b8270}
        __begin =
        __end =
        elem = @0x7fd3f04d4290: 0x7fd3e13b8270
0000005 0x0000000000bac327 in CGuiHandler::pushInt (this=0x15e9c30 <GH>, newInt=0x7fd3e13b8270) at /home/bge/VCMI/trunk/src/client/gui/CGuiHandler.cpp:115
No locals.
0000006 0x0000000000e915e3 in CPlayerInterface::playerStartsTurn (this=0x7fd3e1e065e8, player=...) at /home/bge/VCMI/trunk/src/client/CPlayerInterface.cpp:2580
No locals.
0000007 0x0000000000e9177c in non-virtual thunk to CPlayerInterface::playerStartsTurn(PlayerColor) (this=0x7fd3e1e06600, player=...) at /home/bge/VCMI/trunk/src/client/CPlayerInterface.cpp:2598
No locals.
R1
Issue History
2014-04-06 10:32beegeeNew Issue
2022-03-23 09:34PovelitelTag Attached: R1
2023-01-26 08:00PovelitelNote Added: 0008450
2023-01-26 08:00PovelitelStatusnew => resolved
2023-01-26 08:00PovelitelFixed in Version => 1.next
2023-01-26 08:00PovelitelResolutionopen => unable to reproduce
2023-01-26 08:00PovelitelAssigned To => Povelitel

Notes
(0008450)
Povelitel   
2023-01-26 08:00   
Could not repeat in the current develop. Tried more than 30 times each mission. This was most likely fixed a long time ago.