Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0003179Dwarf FortressWorld Generation -- Generalpublic2010-09-08 08:152012-05-31 10:26
Naina 
Footkerchief 
normalcrashalways
resolvedduplicate 
0.31.12 
 
0003179: Generating worlds in sequence causes game crash
If you try generating multiple worlds in the same session of Dwarf Fortress, the game crashes when the second world you attempt to create gets to the "Placing Civilizations" step.
Load game
Select "Create New World"
Worldgen happens
Start playing that new world in Dwarf Fortress Mode
Look around the embark screen
Abort the game
Select "Create New World"
Worldgen attempts to happen, but will crash when attempting to place civilizations
crash, worldgen
duplicate of 0005077resolved Toady One Browsing world gen map causes corrupted feature files 
Issue History
2010-09-08 08:15NainaNew Issue
2010-09-08 08:52DwarfuNote Added: 0012512
2010-09-08 12:07KennelTag Attached: crash
2010-09-08 12:07KennelTag Attached: worldgen
2010-09-08 16:51Logical2uNote Added: 0012522
2010-09-08 18:00NainaNote Added: 0012527
2010-09-08 18:42RossMNote Added: 0012528
2010-09-08 18:43RossMIssue Monitored: RossM
2010-09-08 18:57RossMNote Edited: 0012528bug_revision_view_page.php?bugnote_id=0012528#r4861
2012-05-31 10:26FootkerchiefRelationship addedduplicate of 0005077
2012-05-31 10:26FootkerchiefStatusnew => resolved
2012-05-31 10:26FootkerchiefResolutionopen => duplicate
2012-05-31 10:26FootkerchiefAssigned To => Footkerchief

Notes
(0012512)
Dwarfu   
2010-09-08 08:52   
I'm not getting this error.

What OS are you using?

Are there any messages in your errorlog.txt file?

Might want to post the world gen parameters and seeds, it could be something with that particular world.
(0012522)
Logical2u   
2010-09-08 16:51   
This happened to me once, but I was unable to reproduce it just now.

Windows 7 x64 Home Premium, no errorlog.txt or gamelog errors, and after copying the seeds from the gamelog (and using, I thought, the same parameters), I successfully generated the world after restarting DF.
(0012527)
Naina   
2010-09-08 18:00   
I'm running Windows XP Home, but I don't have anything of note in the errorlog.txt.

I deleted the error log, and caused the bug to happen again, but it didn't create a new errorlog.txt

It's a full-game crash, too (not just a lockup) where it pops up the little grey box that says "An error has occurred, blah blah blah" and prompts you to send a report or not.

I'm not sure how to look at the seeds for random worlds I've created, but I don't think it's an issue with one particular seed, because it happens *every* time.
(0012528)
RossM   
2010-09-08 18:42   
(edited on: 2010-09-08 18:57)
I've seen this as well.

OS: Windows 7 x64
Version: df_31_12_win

Stack:
     msvcr90.dll!_crt_debugger_hook(int _Reserved) Line 65 C
     msvcr90.dll!_invoke_watson(const wchar_t * pszExpression, const wchar_t * pszFunction, const wchar_t * pszFile, unsigned int nLine, unsigned int pReserved) Line 230 + 0x7 bytes C++
     msvcr90.dll!_invalid_parameter_noinfo() Line 125 + 0xc bytes C++
> Dwarf Fortress.exe!0181b9ac()

Disassembly:
0181B9A4 jb 0181B9AC
0181B9A6 call dword ptr ds:[19D92CCh]
0181B9AC mov ecx,dword ptr [edi+0DCh]
0181B9B2 mov dx,word ptr [ecx+ebx*2]
0181B9B6 mov word ptr [esi+0Eh],dx

Registers:
EAX = 00000000 EBX = 000000C9 ECX = 00000000 EDX = 00000000 ESI = 00000000 EDI = 00000000 EIP = 0181B9AC ESP = 0107802C EBP = 0107EDD4 EFL = 00000000

72FED7A0 = 00000000