Hi,
my non-sandboxed application sometimes crashes with a NSInternalInconsistencyException, reason: 'placeholder directory popup view must be set up before making a filebrowser view', when calling [NSSavePanel savePanel].
This is not happening 100% of the time (more 1%), and I cannot seem to find the reason for the crash.
This is the crash backtrace:
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8c2f62cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffa110648d objc_exception_throw + 48
2 CoreFoundation 0x00007fff8c2fb042 +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fff8dd43be0 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 AppKit 0x00007fff8a804f4b -[NSSavePanel(FileBrowserViewFileBrowserView) _makeFileBrowserView] + 143
5 AppKit 0x00007fff8a46e2c0 -[NSSavePanel(NSSavePanelLayout) _setupFileBrowserView] + 169
6 AppKit 0x00007fff8a46f911 -[NSSavePanel(NSSavePanelLayout) _initContentView] + 5125
7 AppKit 0x00007fff8a45a83b -[NSSavePanel initWithContentRect:styleMask:backing:defer:] + 853
8 AppKit 0x00007fff89fb6c0f +[NSSavePanel _crunchyRawUnbonedPanel] + 518
A detail that might have an importance, the call to [NSSavePanel savePanel] is make from a dylib, not from the main application module.
Any idea?
Thanks,
Chris