Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002070Dwarf FortressDwarf Mode -- Invasionspublic2010-05-25 12:412010-06-09 06:45
normalcrashhave not tried
Windows XP Pro
0002070: Nemesis Unit Load Failed error
I received the error "Nemesis Unit Load Failed" shortly after the arrival of an elven caravan in Fortress mode. I will load the last good save and see if it is reproducable or just a random bug.
No tags attached.
duplicate of 0001371resolved Dwarfu "Nemesis Unit Load Failed" (from elves?) 
Issue History
2010-05-25 12:41TelarinNew Issue
2010-05-25 12:45TelarinNote Added: 0007331
2010-05-25 12:48TelarinNote Edited: 0007331bug_revision_view_page.php?bugnote_id=0007331#r2748
2010-05-25 13:11FootkerchiefNote Added: 0007332
2010-05-25 13:11FootkerchiefRelationship addedduplicate of 0001371
2010-05-25 13:11FootkerchiefStatusnew => resolved
2010-05-25 13:11FootkerchiefResolutionopen => duplicate
2010-05-25 13:11FootkerchiefAssigned To => Footkerchief
2010-06-09 06:45Toady OneStatusresolved => closed

2010-05-25 12:45   
(edited on: 2010-05-25 12:48)
Don't know if it is of any help, but I happened to have Visual Studio on the computer that this occured on and it offered to debug. Here is a copy of the assembly, line marked with an * is the one causing the crash.

006E8083 and esp,0FFFFFFF8h
006E8086 push ecx
006E8087 push ebx
006E8088 push esi
006E8089 push edi
006E808A mov ebx,eax
006E808C mov eax,dword ptr [ebp+8]
006E808F mov edi,ecx
006E8091 cmp edi,eax
006E8093 jg 006E80DF
006E8095 lea esi,[edi+eax]
006E8098 mov eax,dword ptr [ebx+10h]
006E809B sub eax,dword ptr [ebx+0Ch]
006E809E sar esi,1
006E80A0 sar eax,2
006E80A3 cmp esi,eax
006E80A5 jb 006E80AD
006E80A7 call dword ptr ds:[0A3D2C0h]
006E80AD mov ecx,dword ptr [ebx+0Ch]
006E80B0 mov eax,dword ptr [ecx+esi*4]
006E80B3 mov ecx,dword ptr [ebp+0Ch]
006E80B6 cmp eax,ecx
006E80B8 je 006E80D9
*006E80BA mov edx,dword ptr [eax+14h]
006E80BD cmp edx,dword ptr [ecx+14h]
006E80C0 jle 006E80C8
006E80C2 dec esi

register values at the time of crash:
eax = 206149968
ebx = 23565144
ecx = 210673936
edx = 118227354
ebp = 37157960
esi = 35

Probably not enough info here to do anyone any good, but you never know.

2010-05-25 13:11   
See 0001371. Unfortunately, the crash dumps (and the crashing save itself) don't help -- the only information they provide is that the save is corrupted. The source of the corruption remains a mystery. If you had autobackups turned on, you may be able to restore your save to working condition: http://www.bay12forums.com/smf/index.php?topic=34936.0 [^]