discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new crash: TalkSoup startup


From: Riccardo Mottola
Subject: Re: new crash: TalkSoup startup
Date: Sun, 11 Dec 2016 21:53:23 +0100
User-agent: Mozilla/5.0 (X11; NetBSD amd64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]