Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007230Dwarf FortressAdventure Mode -- Character Creationpublic2014-07-13 14:302014-07-13 23:51
Reporterdree12 
Assigned ToDwarfu 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionduplicate 
PlatformLinux SDL x86-64OSUbuntuOS Version14.04
Product Version0.40.03 
Target VersionFixed in Version 
Summary0007230: Crash when creating new adventurer
DescriptionIn the world below, when creating a new adventurer (Demigod Locally Important Dwarf of Kib Lûk with all points poured into Strength, Agility, Toughness, and Hammerdwarf), there is a crash.

Terminal reads:


terminate called after throwing an instance of 'std::bad_alloc'
  what(): std::bad_alloc
Aborted (core dumped)


The error log is completely blank. This bug reproduces 100% of the time or close to it. I have not tried with different skill and attribute assignments, but I doubt they matter.

This is a newly-minted world; nothing has been done to it yet. Before the crash there is a short hang. This also does not seem to be a calendar problem as the calendar has already run by the time the adventurer creation screen appears.

Save file: http://dffd.wimbli.com/file.php?id=8948 [^]
Steps To Reproduce

  • Play "Adventurer" mode.

  • Select a Demigod Dwarf of Kib Lûk.

  • Maximize Strength, Agility, Toughness, and Hammerdwarf.

  • Select "Locally Important".

  • Continue and notice that Dwarf Fortress hangs and eventually crashes.

TagsCLOSE THIS
Attached Files

- Relationships
duplicate of 0005283resolvedToady One Crash upon accepting/saving a generated world when old-version saves are present 

-  Notes
(0026228)
yamamushi (reporter)
2014-07-13 16:16

Can confirm this is happening with this save file on OSX Mavericks as well, I've pasted a crash log here:

http://pastebin.com/G0ehDtFX [^]
(0026233)
dree12 (reporter)
2014-07-13 16:52
edited on: 2014-07-13 16:54

I've figured this out I think, and it's probably not a bug. I overwrote my 0.40.02 installation with 0.40.03 and forgot to delete "region1". When I generated a new region, it must have added the new region's files but not removed the old region's files. Due to my negligence, the region is corrupted.

I am well aware that it is not a good idea to rewrite old installations of DF and I let my laziness get the better of me this time.

I confirmed this hypothesis by looking at the "last modified" dates, some of which were many days before this region was generated. I apologize for the mistaken bug report. This can safely be closed now.

(0026234)
dree12 (reporter)
2014-07-13 17:04

Sure enough, the save works perfectly after all old files are removed. This was a false alarm; please close this report.
(0026237)
Dwarfu (manager)
2014-07-13 17:14

Thanks for the follow-up, dree12. yamamushi, if this doesn't explain your situation, please let us know or see if there's another report that covers it.

- Issue History
Date Modified Username Field Change
2014-07-13 14:30 dree12 New Issue
2014-07-13 16:16 yamamushi Note Added: 0026228
2014-07-13 16:52 dree12 Note Added: 0026233
2014-07-13 16:53 dree12 Note Edited: 0026233 View Revisions
2014-07-13 16:53 dree12 Tag Attached: CLOSE THIS
2014-07-13 16:54 dree12 Note Edited: 0026233 View Revisions
2014-07-13 17:04 dree12 Note Added: 0026234
2014-07-13 17:14 Dwarfu Note Added: 0026237
2014-07-13 17:14 Dwarfu Status new => resolved
2014-07-13 17:14 Dwarfu Resolution open => no change required
2014-07-13 17:14 Dwarfu Assigned To => Dwarfu
2014-07-13 23:50 Footkerchief Resolution no change required => duplicate
2014-07-13 23:51 Footkerchief Relationship added duplicate of 0005283


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker