Hi,
I compiled a debug version of gui.
Riccardo Mottola wrote:
Why this crash? and whi do I see in the stacktrace the
NSDocumentController, when TalklSoup isn't a doc-based app at all?
I get this now:
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00007bc0101fa7f6 in +[NSWorkspace initialize] (
self=0x7bc010655340 <_OBJC_Class_NSWorkspace>,
_cmd=0x7bc01a607fb0 <_OBJC_SELECTOR_TABLE+16>) at NSWorkspace.m:597
597 mlock = [NSLock new];
It doesn't look very good if we crash on creating a new lock!
Why we do get a document controller even if we are nto a doc based app,
is due to this in NSApplication:
/* as last resort in a document based app, try the document controller */
sdc = [NSDocumentController sharedDocumentController];
if ([[sdc documentClassNames] count] > 0
that means a shared doc controller is always instantiated!
Riccardo
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep