Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011483Dwarf FortressTechnical -- Generalpublic2020-03-28 22:232020-03-29 10:32
Assigned To 
PlatformmacbookOSmacosOS Version10.14.6
Product Version0.47.04 
Target VersionFixed in Version 
Summary0011483: Consistent segfault on save
DescriptionHello, I hope I'm providing the correct information.

I have a save I began with the "Lazy Mac Pack" which was consistently crashing at the same point. To limit the affect of any mods, I tried to repeatedly save to get a save as close to whatever event was happening, and then I reloaded the same save in a newly downloaded and unmodified 0.47.04. In both cases, I get a segfault whose stacktrace is the following:

Thread 0:: Dispatch queue:
0 0x00007fff33ddbef3 RGBAf16_sample_RGBAf_inner(_ImgOp const*, long, long, int) + 778
1 0x00007fff33dd73d2 RGBAf16_image_mark(BltDepth const*, BltOp const*, _ImgOp*, MODE) + 1301
2 0x00007fff33dab458 RGBAf16_image + 456
3 0x00007fff33d719bf ripl_Mark + 22
4 0x00007fff33d71994 RIPLayerBltImage + 1018
5 0x00007fff33d712d6 ripc_RenderImage + 228
6 0x00007fff33d64f51 ripc_DrawImage + 812
7 0x00007fff33d64c16 CGContextDelegateDrawImage + 41
8 0x00007fff31123397 __backing_store_DrawImage_block_invoke + 55
9 0x00007fff31122260 backing_store_delegate + 893
10 0x00007fff3143e665 backing_store_DrawImage.llvm.1028279097235270472 + 509
11 0x00007fff33d64c16 CGContextDelegateDrawImage + 41
12 0x00007fff33d643f4 CGContextDrawImageWithOptions + 432
13 0x00007fff33d6422f CGContextDrawImage + 51
14 SDL 0x00000001026c1c5e 0x102698000 + 171102
15 SDL 0x00000001026b6b68 SDL_UpdateRect + 77
16 SDL 0x00000001026b6f23 SDL_Flip + 358
Steps To ReproduceLoad the attached [^] and leave running for a minute or two
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
PatrikLundell (reporter)
2020-03-29 00:37

The save crashes for me as well, using Win64.

Note that a save isn't the contents of the save folder, but the regionX folder within it (you can have many saves in the save folder). Good to know for the next time.
ResplendentTiger (reporter)
2020-03-29 10:32

Ah, thanks for the tip about the save folder! I've save/loaded a few times with the stock df 0.47.04 and gotten a save that's closer to where the crash occurs, but I don't know what's causing it. I changed the display mode to TEXT, hoping there would be a report at the bottom of the screen that would maybe hint what's going on, but all I get is a dwarf complaining about there not having any seeds to plant. LLDB doesn't give much info since the binary is stripped, but the faulting instruction is trying to dereference a null pointer

- Issue History
Date Modified Username Field Change
2020-03-28 22:23 ResplendentTiger New Issue
2020-03-29 00:37 PatrikLundell Note Added: 0040426
2020-03-29 10:32 ResplendentTiger Note Added: 0040427

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker