MantisBT - VCMI
View Issue Details
0002758VCMIOtherpublic2017-07-31 10:262017-08-07 21:22
Anubis 
AVS 
normalcrashalways
closedsuspended 
PCWindows7
0.99 
1.next 
0002758: Spellbook pages - crash when you try to view the 2nd page.
Whenever you visit a Mage Guild and learn enough Combat spells to get you a 2nd page in the spellbook, the game crashes if you try to view the 2nd page. And the 1st page has a black background for a short time when the spells are loaded.
1. Visit a town with a high level of Magic Guild.
2. Learn enough spells to give you a 2nd page of the Spellbook.
3. Try to view the 2nd page.
4. Observe the bug.
Latest VCMI build.
No tags attached.
has duplicate 0002757closed AVS Trying to view your available Battle spells after visiting a Conflux with Grail crashes the game. 
zip crash_spellbook.zip (34,145) 2017-08-01 15:57
https://bugs.vcmi.eu/file_download.php?file_id=2759&type=bug
zip Saves before town.zip (482,590) 2017-08-02 19:13
https://bugs.vcmi.eu/file_download.php?file_id=2760&type=bug
? VCMI_client.exe_crashinfo.dmp (11,410,702) 2017-08-02 19:43
https://bugs.vcmi.eu/file_download.php?file_id=2761&type=bug
? Firey Island.h3m (24,678) 2017-08-02 19:48
https://bugs.vcmi.eu/file_download.php?file_id=2762&type=bug
txt VCMI_Server_log.txt (145,717) 2017-08-03 06:38
https://bugs.vcmi.eu/file_download.php?file_id=2763&type=bug
zip Spellbook_bug.ZIP (1,128,770) 2017-08-03 11:53
https://bugs.vcmi.eu/file_download.php?file_id=2764&type=bug
Issue History
2017-07-31 10:26AnubisNew Issue
2017-08-01 14:04AVSAssigned To => AVS
2017-08-01 14:04AVSStatusnew => assigned
2017-08-01 14:22AVSNote Added: 0007193
2017-08-01 14:22AVSStatusassigned => feedback
2017-08-01 14:23AVSRelationship addedrelated to 0002757
2017-08-01 15:56AnubisNote Added: 0007196
2017-08-01 15:56AnubisStatusfeedback => assigned
2017-08-01 15:57AnubisFile Added: crash_spellbook.zip
2017-08-01 15:57AnubisNote Edited: 0007196bug_revision_view_page.php?bugnote_id=7196#r3379
2017-08-02 14:49AVSNote Added: 0007197
2017-08-02 14:50AVSStatusassigned => feedback
2017-08-02 19:13AnubisFile Added: Saves before town.zip
2017-08-02 19:17AnubisNote Added: 0007201
2017-08-02 19:17AnubisStatusfeedback => assigned
2017-08-02 19:43AnubisFile Added: VCMI_client.exe_crashinfo.dmp
2017-08-02 19:45AnubisNote Edited: 0007201bug_revision_view_page.php?bugnote_id=7201#r3381
2017-08-02 19:48AnubisFile Added: Firey Island.h3m
2017-08-02 19:49AnubisNote Edited: 0007201bug_revision_view_page.php?bugnote_id=7201#r3382
2017-08-02 20:07AnubisNote Edited: 0007201bug_revision_view_page.php?bugnote_id=7201#r3383
2017-08-03 06:20AVSNote Added: 0007203
2017-08-03 06:38AnubisFile Added: VCMI_Server_log.txt
2017-08-03 06:40AnubisNote Added: 0007204
2017-08-03 11:13AVSNote Added: 0007205
2017-08-03 11:13AVSNote Added: 0007206
2017-08-03 11:19AVSNote Added: 0007207
2017-08-03 11:53AnubisNote Added: 0007208
2017-08-03 11:53AnubisFile Added: Spellbook_bug.ZIP
2017-08-04 11:26AVSNote Added: 0007209
2017-08-04 11:35AnubisNote Added: 0007210
2017-08-07 21:21AVSStatusassigned => closed
2017-08-07 21:21AVSResolutionopen => suspended
2017-08-07 21:21AVSFixed in Version => 1.next
2017-08-07 21:22AVSRelationship replacedhas duplicate 0002757

Notes
(0007193)
AVS   
2017-08-01 14:22   
Not reproducible. Could you provide savegame?
(0007196)
Anubis   
2017-08-01 15:56   
(edited on: 2017-08-01 15:57)
Can't reproduce either, the game crashes instantly when I click to view my combat spells.
Attached logs after the crash.

(0007197)
AVS   
2017-08-02 14:49   
Please provide savegame just before you try to open spellbook.
(0007201)
Anubis   
2017-08-02 19:17   
(edited on: 2017-08-02 20:07)
Latest build (360), full reinstall of VCMI - the issue still persists. Attached the savegames.
Last check - still the same exact error message in the log as for issue 2757, attached a dump if that could help.
Edit: and a test map if you need one. The Grail is one step below the observatory near the starting town.
2nd edit: just checked. This bug doesn't exist in VCMI 0.99 (as is issue 0002757), but starting from the first PR release (250) it begins to crash.

(0007203)
AVS   
2017-08-03 06:20   
@Anubis what exact build are you using?

P.S. You should use only latest https://builds.vcmi.download/branch/develop/, [^] not https://builds.vcmi.download/PR/ [^] and not others in https://builds.vcmi.download/branch/ [^]
(0007204)
Anubis   
2017-08-03 06:40   
The bug was tested on several builds.
First which I used is VCMI-PR-360-67d50d1.

Then I tried VCMI-PR-250-89b25317b76436d5c75beb1e7611e65b98a3446e to see if it's something introduced in the latest builds.

Today I switched to VCMI-branch-develop-3de0fa3 (latest of Aug 1).
The issue persists. Attached the most recent server log. It mentions cheating despite me never entering any cheat codes. Was there any team attempt to work on multiplayer cheat detection?
(0007205)
AVS   
2017-08-03 11:13   
Cheating is not actually cheating, is is forced player quit after internal error
(0007206)
AVS   
2017-08-03 11:13   
And still cant catch this bug (
(0007207)
AVS   
2017-08-03 11:19   
Could you attach client log too. Server log shows smth like unexpected client disconnect
(0007208)
Anubis   
2017-08-03 11:53   
I've just caught a more impressive case of this bug.
So, knowing that switching to Combat spells will crash, I tried to view Adventure spells of a particular school (Air, Earth, Fire, Water) (which I had none of), then I got to viewing all spells. It worked! I was able to turn the page of the spellbook back and forth. For a while. Then the game crashed again.
I've noticed that during each switch of spells the background went dark, then the spellbook loaded.
Attached a ZIP with saves, logs and dumps (I've even got a server dump this time).
(0007209)
AVS   
2017-08-04 11:26   
@Anubis Try disabling spellbook animation.
(0007210)
Anubis   
2017-08-04 11:35   
@AVS Thank you, that works indeed. No spellbook crashes if I disable the animation.