Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001922Dwarf FortressDwarf Mode -- Jobs, Activity Zonespublic2010-05-17 07:492010-06-09 06:45
Kanddak 
Footkerchief 
normalcrashsometimes
closedduplicate 
Mac10.4.11
0.31.04 
 
0001922: Crash when cancelling zone creation in floor flow mode
I can reproducibly crash DF by setting zone creation to floor flow, laying out a zone, and then pressing esc to cancel out of creating the zone.

WORKAROUND: Don't use floor flow.
Go into zone designation mode and set it to floor flow.
Go to create a zone, maybe increase its size a few times, then hit escape to cancel zone creation. It does not always crash each time I do this, but it will reliably crash eventually if you hit enter, randomly mash + and - a few times, and hit escape. It may take upward of a dozen tries (or it may happen right away). It doesn't seem to correlate to any specific size or shape of the marked area when I cancel, but I do have to increase its size at least couple times to get it to happen; that is, mashing ONLY enter and esc (with no + or -) didn't seem to reproduce it (but given the occasional nature of the crash I can't say this conclusively). It doesn't seem related to whether or not I decrease the zone size as well as increase it. It doesn't seem to depend on where I do it; I tried a few places in my fort as well as points outdoors. It doesn't seem to happen in regular "flow" mode, just floor flow mode (but again, given the occasional nature of the crash, I may just have been unlucky when I tried to do it in floor mode).
It doesn't seem to be specific to a particular save. I genned a new world, did a quick "Play Now!" embark, and immediately crashed DF by cancelling a floor flow zone next to the wagon.
Sometimes DF just freezes when I do this and I need to kill it, but sometimes the program crashes and closes, dumping the following messages in the terminal:
2010-05-17 10:30:58.483 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x16234580 of class NSCFArray autoreleased with no pool in place - just leaking
2010-05-17 10:30:58.484 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x22d68f0 of class NSCFString autoreleased with no pool in place - just leaking
2010-05-17 10:30:58.484 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x220c750 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-05-17 10:30:58.484 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x16f0bcd0 of class NSCFDictionary autoreleased with no pool in place - just leaking
2010-05-17 10:30:58.484 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x220b730 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-05-17 10:30:58.484 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x16230780 of class NSCFDictionary autoreleased with no pool in place - just leaking
2010-05-17 10:30:58.484 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x162301a0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-05-17 10:30:58.486 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x22de2e0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-05-17 10:30:58.512 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x22cbb20 of class NSCFArray autoreleased with no pool in place - just leaking
2010-05-17 10:30:58.512 dwarfort.exe[12765] *** _NSAutoreleaseNoPool(): Object 0x22d56e0 of class SDL_QuartzWindow autoreleased with no pool in place - just leaking
./df: line 5: 12765 Bus error ./dwarfort.exe
No tags attached.
duplicate of 0001119resolved Toady One When Designating a Zone through Flow or Floor Flow, crashes when attempting to cancel using ESC key. 
Issue History
2010-05-17 07:49KanddakNew Issue
2010-05-17 07:51KanddakNote Added: 0006879
2010-05-17 07:53KanddakNote Added: 0006881
2010-05-17 07:57FootkerchiefNote Added: 0006882
2010-05-17 07:57FootkerchiefRelationship addedduplicate of 0001119
2010-05-17 07:57FootkerchiefStatusnew => resolved
2010-05-17 07:57FootkerchiefResolutionopen => duplicate
2010-05-17 07:57FootkerchiefAssigned To => Footkerchief
2010-06-09 06:45Toady OneStatusresolved => closed

Notes
(0006879)
Kanddak   
2010-05-17 07:51   
Typo correction:
Reproduction instructions: "It doesn't seem to happen in regular "flow" mode, just floor flow mode (but again, given the occasional nature of the crash, I may just have been unlucky when I tried to do it in floor mode)."
Should read: "It doesn't seem to happen in regular "flow" mode, just floor flow mode (but again, given the occasional nature of the crash, I may just have been unlucky when I tried to do it in FLOW mode)."
(0006881)
Kanddak   
2010-05-17 07:53   
Also I'm a moron and didn't search thoroughly enough before posting, or I'd have known this was a duplicate of issue 0001119.
(0006882)
Footkerchief   
2010-05-17 07:57   
Indeed it is.