Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004833Dwarf FortressDwarf Mode -- Embark/Setuppublic2011-08-16 12:392012-12-25 10:11
ReporterPanzerdwarf 
Assigned ToFootkerchief 
PriorityhighSeveritycrashReproducibilityalways
StatusresolvedResolutionduplicate 
PlatformPCOSWindows XPOS VersionSP3
Product Version0.31.25 
Target VersionFixed in Version 
Summary0004833: When embarking, crashes when memory use reaches 2GB.
DescriptionI know there is similar issues, like http://www.bay12games.com/dwarves/mantisbt/view.php?id=136 [^]
However I have been getting crashes using embark areas with sizes 4x4, 3x4 and even 3x3, then I gave up for the night.
I am using Lazy Newb Pack and the Ironhand tileset.

I think I have changed settings in Newb Pack since the crash occured but if my memory serves me right I set every option to YES except Invaders. Child cap 20:1000.

In task manager I see memory use climbing up to 2GB and then it crashes.

Crash dialogue shows:
AppName: dwarf fortress.exe AppVer: 0.0.0.0 ModName: msvcr100.dll
ModVer: 10.0.30319.1 Offset: 0008d635
Steps To ReproduceUse save at:
http://dffd.wimbli.com/file.php?id=4848 [^]

Embark on position show here:
http://img4.imageshack.us/img4/4194/crashloc.png [^]

I used finder with No Aquifer, Multi shallow metals, Multi deep metals.
Chose overlapping area as shown in screenshot.

I use DFVIDTUTS2011 (or whatever it's called) starting kit.
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0005077resolvedToady One Browsing world gen map causes corrupted feature files 
related to 0000136new When embarking on large area, DF hits 2GB memory limit and crashes 
has duplicate 0004888resolvedLogical2u Game crash when loading save - out of memory? 

-  Notes
(0018533)
Panzerdwarf (reporter)
2011-08-16 12:40

Oh, and I think I had Population cap at 100, but I doubt that's the problem.
(0018535)
Quietust (reporter)
2011-08-16 12:49
edited on: 2011-08-16 12:50

Using a vanilla Dwarf Fortress 0.31.25 SDL installation on Windows 7 64-bit, I embarked in that exact region (using "Play Now!") and it worked just fine - only 252MB of memory in use.

(0018536)
Footkerchief (manager)
2011-08-16 13:01

Reminder sent to: Panzerdwarf

Do you still experience this problem if you load the save in vanilla DF with no third-party utilities? You can download vanilla DF at http://bay12games.com/dwarves/ [^]
(0018537)
Panzerdwarf (reporter)
2011-08-16 13:03

Odd.
I just tried 2x3 and 2x2 sizes. They didn't crash, but ended up at 1.5GB and 1.5GB use respectively.
However after the introductory text when I press enter I just get a black screen and the game is not responding.
Once I got the graphics drawn but the game was frozen. Moving windows around didn't refresh the graphics on the game window. Music kept playing though.

Also, I just tried a 4x4 area in two other parts of the map. No problems.

I have only ever used Lazy Newb Pack btw.
(0018538)
Panzerdwarf (reporter)
2011-08-16 13:04

Will try vanilla SDL.
(0018539)
Panzerdwarf (reporter)
2011-08-16 13:19

Yes. Crashed in Vanilla DF SDL with music.
Same 3x3 area.
(0018540)
Panzerdwarf (reporter)
2011-08-16 13:35
edited on: 2011-08-17 06:38

And crashed in Legacy DF with music. Same 3x3 area.

BUT: Didn't crash in Legacy DF without music. Same 3x3 area.
The memory use stopped at about 1943MB (edit: fixed typo) and I got the intro text.
But, like before, the game was not responding after pressing enter.

Still, I'd say it's pretty much "crashing" :)

(0018553)
Footkerchief (manager)
2011-08-17 06:30

Reminder sent to: Panzerdwarf

Have you tried updating your audio drivers? Enabling music shouldn't cause the game to use gigabytes more memory.
(0018554)
Panzerdwarf (reporter)
2011-08-17 06:37

Heh, sorry that was a typo. I meant it used 1943MB :P , or 1.943GB ..
So just under 2GB, hence not crashing but still strange.
Did anyone else manage to reproduce it? It's really weird that I should manage to crash it but Quietust doesn't.
I also tried embarking on areas (3x3) covering only either of the 2 biomes in the screenshot area.
Still crashed. There's something about that place.
(0018564)
Knight Otu (manager)
2011-08-18 05:34

I didn't manage to embark there, and didn't even get to the "You have arrived" speech.
You can export the worldgen info from legends mode and use that to regenerate the world. Does the crash persist in the regenerated world?
(0018607)
arclance (reporter)
2011-08-21 16:48

I am seeing the same thing with 0.31.25 linux version.
Memory use steadily increases after embark and eventualy after about 5-10 minutes the strike the earth screen is shown. After that only a black screen with a fps counter is shown. The game then apears to lockup as the fps counter does not change.
Final total memory usage was 77.5% of 3.0 GB of Ram or 2380.8 MB and occured after the game appeared to have locked up.
(0020365)
Footkerchief (manager)
2012-02-21 06:53

Reminder sent to: Panzerdwarf

Did your high-memory 3x3 embarks have an excessively high number of X-levels? That would point to feature corruption as in 0002713 and 0005077.
(0020649)
Panzerdwarf (reporter)
2012-02-25 04:56

Urgh, I haven't played the game much since August last year so I have no detailed memory of the crash. And what's X-levels? :) Sorry...
(0020671)
Footkerchief (manager)
2012-02-25 12:34

Oops, I meant z-levels.
(0020757)
Uristocrat (reporter)
2012-02-26 12:11

You're going over the 2 GB memory limit? That would appear to be related to this:

http://www.codinghorror.com/blog/2007/03/dude-wheres-my-4-gigabytes-of-ram.html [^]

http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778%28v=vs.85%29.aspx [^]

We may have to start a "buy Toady a 64-bit dev environment" thing on Kickstarter or something.
(0021174)
Footkerchief (manager)
2012-03-06 09:11

Your save had got the corruption.

- Issue History
Date Modified Username Field Change
2011-08-16 12:39 Panzerdwarf New Issue
2011-08-16 12:40 Panzerdwarf Note Added: 0018533
2011-08-16 12:42 Quietust Note Added: 0018534
2011-08-16 12:43 Quietust Note Deleted: 0018534
2011-08-16 12:49 Quietust Note Added: 0018535
2011-08-16 12:50 Quietust Note Edited: 0018535 View Revisions
2011-08-16 13:01 Footkerchief Note Added: 0018536
2011-08-16 13:01 Footkerchief Tag Attached: AWAITING UPDATE
2011-08-16 13:03 Panzerdwarf Note Added: 0018537
2011-08-16 13:04 Panzerdwarf Note Added: 0018538
2011-08-16 13:19 Panzerdwarf Note Added: 0018539
2011-08-16 13:35 Panzerdwarf Note Added: 0018540
2011-08-17 06:30 Footkerchief Note Added: 0018553
2011-08-17 06:37 Panzerdwarf Note Added: 0018554
2011-08-17 06:38 Panzerdwarf Note Edited: 0018540 View Revisions
2011-08-18 05:34 Knight Otu Note Added: 0018564
2011-08-21 16:48 arclance Note Added: 0018607
2012-02-19 08:19 Footkerchief Relationship added child of 0000136
2012-02-21 06:52 Footkerchief Relationship replaced related to 0000136
2012-02-21 06:52 Footkerchief Relationship added related to 0002713
2012-02-21 06:53 Footkerchief Note Added: 0020365
2012-02-25 04:56 Panzerdwarf Note Added: 0020649
2012-02-25 12:34 Footkerchief Note Added: 0020671
2012-02-26 11:49 Buglist Issue Monitored: Buglist
2012-02-26 12:11 Uristocrat Note Added: 0020757
2012-03-03 13:15 Logical2u Relationship added has duplicate 0004888
2012-03-06 09:11 Footkerchief Note Added: 0021174
2012-03-06 09:11 Footkerchief Relationship added duplicate of 0005077
2012-03-06 09:11 Footkerchief Status new => resolved
2012-03-06 09:11 Footkerchief Resolution open => duplicate
2012-03-06 09:11 Footkerchief Assigned To => Footkerchief
2012-03-06 09:22 Footkerchief Relationship deleted related to 0002713
2012-03-07 08:51 Buglist Issue End Monitor: Buglist
2012-12-25 10:11 Dwarfu Tag Detached: AWAITING UPDATE


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker