I've got no modding experience whatsoever, other than using them. If this is entirely my fault, feel free to smack me.
Bug type: Fatal
Pertains to: Animate Dead (divine spell, cleric, level 3) (arcane spell, level 5)
Bug Description: Casting Animate Dead on a character who does not qualify for a Skeleton Warrior triggers a program freeze, which requires the game process be killed. The bug occurs when the spell finishes casting: if the caster summons a Skeleton Warrior, there is no error and the game continues. If the caster is not level 15, the game freezes immediately upon completion of the spell.
Technical Details:
Operating System: Windows XP SP3, running inside a VirtualBox VM.
WeiDU log:
// Log of Currently Installed WeiDU Mods // The top of the file is the 'oldest' mod // ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name [ : Version] ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #0 // BG2 Fixpack - Core Fixes: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #1000 // BG2 Fixpack - Game Text Update -> GTU Light (by Wisp): v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #2 // Super Happy Fun Lucky Modder Pack: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #3 // BETA Core Fixes (please check the readme!): v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #100 // Party Gets XP for Sending Keldorn to Reconcile With Maria: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #101 // Improved Spell Animations: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #102 // Cromwell's Forging Actually Takes a Day: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #103 // Mixed-Use Dagger Fixes: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #104 // Ghreyfain's Holy Symbol Fixes: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #106 // Giants Receive Penalties When Attacking Halflings, Dwarves, and Gnomes: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #107 // Remove Dual-Classing Restriction from Archers and Stalkers: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #108 // Remove Second Attribute Bonus for Evil Path in Wrath Hell Trial: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #109 // Corrected Summoned Demon Behavior: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #110 // Additional Script Fixes: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #111 // Bard Song Fixes: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #112 // Wizard Slayers Cause Miscast Magic on Ranged Attacks: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #113 // Additional Alignment Fixes: v9.01 ~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #114 // Change Free Action to Protect Against Stun: v9.01 ~WIDESCREEN/WIDESCREEN.TP2~ #0 #0 // Widescreen Mod -> for the original Infinity Engine (CHOOSE THIS!): Widescreen Mod v3.02 ~SETUP-UB.TP2~ #0 #0 // The Kidnapping of Boo by Cliffette: v19 ~SETUP-UB.TP2~ #0 #1 // The Suna Seni/Valygar Relationship: v19 ~SETUP-UB.TP2~ #0 #2 // Kalah and What He Was Promised: v19 ~SETUP-UB.TP2~ #0 #3 // "Cat and Mouse" (Bodhi hunts you in Spellhold) by Ghreyfain: v19 ~SETUP-UB.TP2~ #0 #4 // Gorje Hilldark and the Extended Illithium Quest: v19 ~SETUP-UB.TP2~ #0 #5 // The Pai'Na/Spider's Bane Quest: v19 ~SETUP-UB.TP2~ #0 #6 // Restored Crooked Crane Inn: v19 ~SETUP-UB.TP2~ #0 #7 // Restored Encounters: v19 ~SETUP-UB.TP2~ #0 #8 // Artemis Entreri in Bodhi's Lair: v19 ~SETUP-UB.TP2~ #0 #9 // Corrected "Xzar's Creations": v19 ~SETUP-UB.TP2~ #0 #10 // Restored Hell Minions, by SimDing0: v19 ~SETUP-UB.TP2~ #0 #12 // Item Restorations: v19 ~SETUP-UB.TP2~ #0 #15 // NPC Portrait Restorations: v19 ~SETUP-UB.TP2~ #0 #16 // Corrected BAMs and Scripts: v19 ~SETUP-UB.TP2~ #0 #17 // Corrected Character Names and Biographies: v19 ~SETUP-UB.TP2~ #0 #18 // Restored Minor Dialogs: v19 ~SETUP-UB.TP2~ #0 #19 // Restored Bhaalspawn Powers, by David Gaider: v19 ~SETUP-UB.TP2~ #0 #20 // Extended ToB Item Descriptions: v19 ~SETUP-UB.TP2~ #0 #21 // Throne of Bhaal Minor Restorations: v19 ~SETUP-UB.TP2~ #0 #22 // Justifier Kit: v19 ~SETUP-UB.TP2~ #0 #23 // Feralan Kit: v19 ~SETUP-UB.TP2~ #0 #24 // Sarevok's Remorse: v19 ~SPELL_REV/SETUP-SPELL_REV.TP2~ #0 #10 // Deva and Planetar Animations: v3.1 ~SPELL_REV/SETUP-SPELL_REV.TP2~ #0 #30 // Dispel Magic Fix: v3.1 ~SETUP-VALEN.TP2~ #0 #0 // Valen ~SETUP-VALEN.TP2~ #0 #10 // Give More Creatures Protection From Level Drain & Undead ~LEVEL1NPCS/LEVEL1NPCS.TP2~ #0 #0 // Nythrun's Level 1 NPCs: List party-joinable NPCs (required to install any NPC components): v1.9 ~LEVEL1NPCS/LEVEL1NPCS.TP2~ #0 #1207 // Jaheira: v1.9 ~LEVEL1NPCS/LEVEL1NPCS.TP2~ #0 #1209 // Keldorn Firecam: v1.9 ~LEVEL1NPCS/LEVEL1NPCS.TP2~ #0 #1216 // Yoshimo: v1.9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #10 // Remove Helmet Animations: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #40 // Change Viconia's Skin Color to Dark Blue: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #50 // Avatar Morphing Script: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #60 // Weapon Animation Tweaks: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #70 // Icewind Dale Casting Graphics (Andyr): v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #90 // Disable Portrait Icons Added by Equipped Items: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #100 // Commoners Use Drab Colors: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #110 // Icon Improvements: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #130 // Force All Dialogue to Pause Game: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1010 // More Interjections: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1020 // Alter HP Triggers for NPC Wounded Dialogues: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1030 // Reveal Wilderness Areas Before Chapter Six: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1040 // Improved Athkatlan City Guard: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1080 // Add Bags of Holding: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1120 // Stores Sell Higher Stacks of Items: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1150 // Shapeshifter Rebalancing: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1160 // Multiple Strongholds (Baldurdash) -> No Restrictions (Baldurdash): v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1170 // Bonus Merchants (Baldurdash): v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1180 // Female Edwina: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #1220 // Allow Cromwell to Upgrade Watcher's Keep Items: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2060 // Weapon Styles for All: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2090 // Change Experience Point Cap -> Remove Experience Cap: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2140 // Expanded Dual-Class Options: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2150 // Wear Multiple Protection Items -> P&P Restrictions: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2160 // Alter Weapon Proficiency System -> Rebalanced Weapon Proficiencies: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2200 // Multi-Class Grandmastery (Weimer): v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2210 // True Grandmastery (Baldurdash): v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2240 // Un-Nerfed THAC0 Table: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2250 // Un-Nerfed Sorcerer Spell Progression Table: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2261 // Alter Mage Spell Progression Table -> PnP Table: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2271 // Alter Bard Spell Progression Table -> PnP Table: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2281 // Alter Cleric Spell Progression Table -> PnP Table: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2291 // Alter Druid Spell and Level Progression Tables -> No Level Progression Changes, PnP Druid/Cleric Spell Table Only: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2300 // Triple-Class HLA Tables: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2330 // Remove Delay for Magical Traps (Ardanis/GeN1e): v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3001 // Higher HP on Level Up -> NWN Style: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3050 // Remove fatigue from restoration spells: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3070 // Change Effect of Reputation on Store Prices -> Low Reputation Store Discount (Sabre): v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3080 // Unlimited Ammo Stacking: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3090 // Unlimited Gem and Jewelry Stacking: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3100 // Unlimited Potion Stacking: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3110 // Unlimited Scroll Stacking: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3150 // Turn Off The Hideous Cloak-of-Mirroring, Spell-Trap, and Physical Mirror Animations: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3160 // Keep Drizzt's Loot, Disable Malchor Harpell: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3170 // No Drow Avatars On Party In Underdark: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #3200 // Sellable Items (Icelus): v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #4020 // ToB-Style NPCs: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #4031 // Consistent Stats: Edwin -> Use BG2 Values: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #4050 // Change Jaheira to Neutral Good: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #4061 // Consistent Stats: Minsc -> Use BG2 Values: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #4071 // Consistent Stats: Viconia -> Use BG2 Values: v9 ~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #4100 // Change Korgan to Neutral Evil: v9
Miscellany: This occurred on a solo game I was playing, as a berserker/cleric (I haven't played the game in about 6 months now, so I needed a refresher course). The bug occurred after I dual-classed from level 9 B and had reached level 6, as I was casting Animate Dead for the first time.
To rule out the possibility of a fluke, I dragged out the Lua REPL and gave myself a ludicrous amount of experience, which shot me to level 43. I summoned the warrior just fine. I reloaded, this time only giving enough XP to reach level 7 (the next level), and the same bug occurred. I reloaded, leveled to 10 (just enough to get my dual class back), recast; same crash. Finally, I leveled to 15, and got a skeleton warrior with no trouble.
I loaded into a different game to test the arcane version, and got identical results: if you get a warrior, no problems; if you don't, game crashes. I also tested it when cast from a scroll: a scroll will always cause a crash, whether the caster is level 1, 15, or 50. This seems logical, since scrolls cast at level 10.
As you can see from the log, I have a ton of third-party mods installed. I keep a clean, by-the-book, unpatched copy of BG2 around for purposes like this. I can install the fixpack alone on that copy if you need any further testing. Let me know if there's any information I've forgotten to include.











