Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000283Dwarf FortressDwarf Mode -- Embark/Setuppublic2010-04-03 10:422010-06-22 09:16
0000283: Crash when searching for an embark location
When searching for a particular embark location with settings:
X 4
Y 4
Savage Med
Evil Med
Flux Yes
Aqui No
All others N/A

in the world I generated I get an always reproducible crash (3/3 times).
Start Dwarf Fortress
Start Playing
Dwarf Fortress
Press f for Find Desired Location
Set above values
Do search

Finds a site / No site

Crash Happens
Auto Generated Crash Mini Dump happened at:
Unhandled exception at 0x77e6a749 in WERE288.tmp.mdmp: 0xC00000FD: Stack overflow.

Can send the dump and save if needed.

Windows NT Version 6.0 Build: 6002 Service Pack 2
Product (0x1): Windows Vista (TM) Ultimate
Edition: Ultimate
BuildString: 6002.18160.amd64fre.vistasp2_gdr.091208-0542
Flavor: Multiprocessor Free
Architecture: X64
LCID: 1033

App Compat:
<?xml version="1.0" encoding="UTF-16"?>
    <MATCHING_FILE NAME="dwarfort.exe" SIZE="7267328" CHECKSUM="0xB8FB68AB" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="04/01/2010 08:55:53" UPTO_LINK_DATE="04/01/2010 08:55:53" />
    <MATCHING_FILE NAME="fmod.dll" SIZE="161280" CHECKSUM="0x2B8556BE" BIN_FILE_VERSION="" BIN_PRODUCT_VERSION="" PRODUCT_VERSION="3.74" FILE_DESCRIPTION="FMOD" COMPANY_NAME="Firelight Technologies Pty, Ltd" PRODUCT_NAME="FMOD" FILE_VERSION="3.74" ORIGINAL_FILENAME="fmod.dll" INTERNAL_NAME="FMOD" LEGAL_COPYRIGHT="Copyright © 1994-2004, Firelight Technologies Pty, Ltd." VERDATEHI="0x0" VERDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="" UPTO_BIN_PRODUCT_VERSION="" LINK_DATE="10/18/2004 03:04:41" UPTO_LINK_DATE="10/18/2004 03:04:41" EXPORT_NAME="fmod.dll" VER_LANGUAGE="English (Australia) [0xc09]" />
    <MATCHING_FILE NAME="optipng.exe" SIZE="81920" CHECKSUM="0x2C8428A3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x10000" LINK_DATE="01/28/2007 16:02:02" UPTO_LINK_DATE="01/28/2007 16:02:02" />
    <MATCHING_FILE NAME="ntdll.dll" SIZE="1165088" CHECKSUM="0x29DDD7BF" BIN_FILE_VERSION="6.0.6002.18005" BIN_PRODUCT_VERSION="6.0.6002.18005" PRODUCT_VERSION="6.0.6001.18000" FILE_DESCRIPTION="NT Layer DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="6.0.6001.18000 (longhorn_rtm.080118-1840)" ORIGINAL_FILENAME="ntdll.dll.mui" INTERNAL_NAME="ntdll.dll" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERDATEHI="0x0" VERDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x12BD06" LINKER_VERSION="0x60000" UPTO_BIN_FILE_VERSION="6.0.6002.18005" UPTO_BIN_PRODUCT_VERSION="6.0.6002.18005" LINK_DATE="04/11/2009 06:26:44" UPTO_LINK_DATE="04/11/2009 06:26:44" EXPORT_NAME="ntdll.dll" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="kernel32.dll" SIZE="858112" CHECKSUM="0x6F88B82" BIN_FILE_VERSION="6.0.6002.18005" BIN_PRODUCT_VERSION="6.0.6002.18005" PRODUCT_VERSION="6.0.6001.18000" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="6.0.6001.18000 (longhorn_rtm.080118-1840)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERDATEHI="0x0" VERDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xE1028" LINKER_VERSION="0x60000" UPTO_BIN_FILE_VERSION="6.0.6002.18005" UPTO_BIN_PRODUCT_VERSION="6.0.6002.18005" LINK_DATE="04/11/2009 06:29:20" UPTO_LINK_DATE="04/11/2009 06:29:20" EXPORT_NAME="KERNEL32.dll" VER_LANGUAGE="English (United States) [0x409]" />
crash, embark, memory, site finder
duplicate of 0000002closed Toady One Crash when using site finder on large worlds (mem usage >2gb) 
Issue History
2010-04-03 10:42CameronHatfieldNew Issue
2010-04-03 10:45AquillionTag Attached: crash
2010-04-03 10:45AquillionTag Attached: embark
2010-04-03 10:45AquillionTag Attached: site finder
2010-04-03 11:46FootkerchiefNote Added: 0000607
2010-04-13 08:53dgliddenNote Added: 0003266
2010-04-13 20:07ArkaaitoTag Attached: memory
2010-04-13 20:08ArkaaitoNote Added: 0003378
2010-06-22 09:16FootkerchiefRelationship addedduplicate of 0000002
2010-06-22 09:16FootkerchiefStatusnew => resolved
2010-06-22 09:16FootkerchiefResolutionopen => duplicate
2010-06-22 09:16FootkerchiefAssigned To => Footkerchief

2010-04-03 11:46   
Posting the dump would probably be helpful.
2010-04-13 08:53   
I also have this problem with a particular world I've generated with custom parameters. I'm at work at the moment and don't remember any of the parameters I used, but it's easily reproducable on this world every time. For the search I set "Evil" to "Low", "Aquifer" to "No" and "River" to "Yes" and left the rest of the settings alone, however. Not the same settings as OP and still get the crash.

Interestingly it seems to always crash around the same "count" during the search - like it hits a specific region and can't handle it and crashes.

I can send the custom world gen settings and actual generated world somewhere when I get home if it would be helpful.
2010-04-13 20:08   
Check out the memory usage. If it occurs exactly as DF hits the 2GB mark, it's probably the same as http://www.bay12games.com/dwarves/mantisbt/view.php?id=2. [^]