MantisBT - VCMI
View Issue Details
0000314VCMIMechanics - Objectspublic2009-12-22 15:342011-03-04 12:55
Zamolxis 
Warmonger 
normalcrashalways
closedfixed 
0.75 
0.84 
0000314: Crash when Pandora's Box offers a creature, while our army is full
To reproduce, use the map attached to 0000313 and go with Edric to any of the Pandora's Boxes. After the battle is finished, the last bonus is a Titan, for which you get the Leave Guards screen. If you click on any of the creatures to make space, the game crashes.

Crashlogs attached.

EDIT: More screenshots and description details in duplicate report 0000434.
The crash may be related to 0000313 or not, I'm not sure, as it happens only at Pandora's Box, not when creatures are joining on the map.
No tags attached.
has duplicate 0000434closed Tow Crash if there is more creatures in Pandora's box then hero can take. 
related to 0000701closed Warmonger Crash after joining units if all slots are busy. 
7z 2009-12-22_PandoraBonus.7z (41,758) 2009-12-22 15:34
https://bugs.vcmi.eu/file_download.php?file_id=185&type=bug
jpg 2009-12-22_PandoraBonus.jpg (183,445) 2009-12-22 15:35
https://bugs.vcmi.eu/file_download.php?file_id=186&type=bug
jpg

7z 2010-07-29_Pandora\'sCreatures.7z (111,314) 2010-07-28 23:32
https://bugs.vcmi.eu/file_download.php?file_id=507&type=bug
Issue History
2009-12-22 15:34ZamolxisNew Issue
2009-12-22 15:34ZamolxisFile Added: 2009-12-22_PandoraBonus.7z
2009-12-22 15:35ZamolxisFile Added: 2009-12-22_PandoraBonus.jpg
2009-12-22 15:36ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=470#r470
2009-12-26 23:16ZamolxisNote Added: 0000497
2010-02-07 19:47WarmongerAssigned To => Warmonger
2010-02-07 19:47WarmongerStatusnew => assigned
2010-02-07 19:48WarmongerAssigned ToWarmonger =>
2010-02-07 19:48WarmongerStatusassigned => new
2010-03-04 20:20WarmongerRelationship addedhas duplicate 0000434
2010-03-04 20:21WarmongerRelationship deletedhas duplicate 0000434
2010-03-04 20:21WarmongerRelationship addedrelated to 0000434
2010-03-04 20:23ZamolxisCategoryMechanics - Other => Mechanics - Objects
2010-03-07 23:09TowRelationship deletedrelated to 0000434
2010-03-07 23:09TowRelationship addedhas duplicate 0000434
2010-05-29 23:01ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=806#r806
2010-07-28 23:32ZamolxisFile Added: 2010-07-29_Pandora\'sCreatures.7z
2010-07-28 23:33ZamolxisNote Added: 0001230
2010-11-14 09:12WarmongerStatusnew => assigned
2010-11-14 09:12WarmongerAssigned To => Warmonger
2010-11-14 09:13WarmongerNote Added: 0001378
2010-11-14 09:24WarmongerNote Edited: 0001378bug_revision_view_page.php?bugnote_id=1378#r1147
2010-11-14 21:45WarmongerNote Edited: 0001378bug_revision_view_page.php?bugnote_id=1378#r1150
2010-11-14 21:45WarmongerAssigned ToWarmonger =>
2010-11-14 21:45WarmongerStatusassigned => confirmed
2010-11-15 10:17WarmongerStatusconfirmed => assigned
2010-11-15 10:17WarmongerAssigned To => Warmonger
2010-11-15 12:52WarmongerNote Added: 0001392
2010-11-15 12:52WarmongerStatusassigned => resolved
2010-11-15 12:52WarmongerFixed in Version => 0.89
2010-11-15 12:52WarmongerResolutionopen => fixed
2011-03-04 12:52ZamolxisRelationship addedrelated to 0000701
2011-03-04 12:55ZamolxisNote Added: 0001618
2011-03-04 12:55ZamolxisStatusresolved => closed

Notes
(0000497)
Zamolxis   
2009-12-26 23:16   
FYI - The attached game is not particularly necessary to reproduce the crash. I've had it with other Pandora's Boxes offering different armies as well, so it's general.
(0001230)
Zamolxis   
2010-07-28 23:33   
I added a new crashdump from 0.81c for this. Maybe the improved crashhandler logged more info this time, which may better help spotting the cause.
(0001378)
Warmonger   
2010-11-14 09:13   
(edited on: 2010-11-14 21:45)
There's new behavior, automatically joined creatures vanish, while their slots remain occupied. I guess interface just doesn't release these slots.

EDIT: This was fixed, however I find out that garrison interface fails when there's no Pandora in map objects list. However, that's strange as adventure objects shouldn't be removed completely.

(0001392)
Warmonger   
2010-11-15 12:52   
Fixed in r1864
(0001618)
Zamolxis   
2011-03-04 12:55   
Well, it doesn't crash when we try to make space anymore, but just after, when we try to move the creature into our ranks. But I'll leave 0000701 for that and close this one.