Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008721Dwarf FortressTechnical -- Generalpublic2015-01-10 13:162018-07-25 07:15
Reporterlethosor 
Assigned Tolethosor 
PriorityhighSeverityblockReproducibilitysometimes
StatusconfirmedResolutionopen 
PlatformMacOSOS XOS Version
Product Version 
Target VersionFixed in Version 
Summary0008721: Dialog boxes can fail to display properly, leaving an undismissable "white box" (sometimes) and freezing DF
DescriptionAt least, this is suggested by the message logged to the console when the dialog is displayed:
"NSAlert is being used from a background thread, which is not safe. This is probably going to crash sometimes. Break on _NSAlertWarnUnsafeBackgroundThreadUsage to debug. This will be logged only once. This may break in the future."
Additional InformationThis is the cause of the behavior noted in several bug reports, like 0005859 and 0008720.
TagsNo tags attached.
Attached Files

- Relationships
related to 0007456resolvedKnight Otu Crash shortly after unpausing 
related to 0006369resolvedFootkerchief When entering town, crashes every time 
related to 0005859new Crashes when save is loaded and unpaused for about 10 seconds 
related to 0008720resolvedlethosor After installing graphics, game freezes upon selecting world gen. 
related to 0003090resolvedFootkerchief White box appears above all windows, pinwheel of death, DF locks up 
related to 0006915resolvedToady One Crash when starting adventurer in retired fortress 

-  Notes
(0038628)
lethosor (manager)
2018-07-25 07:13
edited on: 2018-07-25 07:14

Still occurs in 0.44.12, on macOS 10.13, but with a slightly different error:
2018-07-25 09:15:38.075 dwarfort.exe[98638:20165146] NSRunAlertPanel may only be invoked from the main 
thread. Behavior on other threads is undefined. (
        0   AppKit                              0x00007fff41460dcd NSRunAlertPanel + 420
        1   dwarfort.exe                        0x00000001011e3a26 dwarfort.exe + 18758182
)

No white box comes up at all - DF just freezes.


- Issue History
Date Modified Username Field Change
2015-01-10 13:16 lethosor New Issue
2015-01-10 13:16 lethosor Status new => assigned
2015-01-10 13:16 lethosor Assigned To => lethosor
2015-01-10 13:18 lethosor Relationship added related to 0007456
2015-01-10 13:18 lethosor Relationship added related to 0006369
2015-01-10 13:18 lethosor Relationship added related to 0005859
2015-01-10 13:18 lethosor Relationship added related to 0008720
2015-01-10 13:20 lethosor Relationship added related to 0003090
2015-01-10 13:20 lethosor Relationship added related to 0006915
2015-01-10 13:20 lethosor Status assigned => confirmed
2015-01-10 13:20 lethosor Status confirmed => acknowledged
2018-07-25 07:13 lethosor Note Added: 0038628
2018-07-25 07:13 lethosor Status acknowledged => confirmed
2018-07-25 07:14 lethosor Note Edited: 0038628 View Revisions
2018-07-25 07:15 lethosor Summary NSAlert dialog boxes created in other threads can fail to display properly, leaving an undismissable "white box" => Dialog boxes can fail to display properly, leaving an undismissable "white box" (sometimes) and freezing DF


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker