gnustep-dev
[Top][All Lists]
Advanced

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

Fwd: Re: Loading xibs


From: Fred Kiefer
Subject: Fwd: Re: Loading xibs
Date: Sat, 21 May 2011 18:04:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

Forgot to cc: the list.

-------- Original-Nachricht --------
Betreff: Re: Loading xibs
Datum: Sat, 21 May 2011 18:03:57 +0200
Von: Fred Kiefer <address@hidden>
An: Ivan Vučica <address@hidden>

You could have send that back trace inside your mail. It is small enough
to include it:

Program received signal SIGSEGV, Segmentation fault.
0xb7fab6aa in _OBJC_SELECTOR_TABLE ()
   from /usr/local/lib/libgnustep-gui.so.0.21
(gdb) bt
#0  0xb7fab6aa in _OBJC_SELECTOR_TABLE ()
   from /usr/local/lib/libgnustep-gui.so.0.21
#1  0xb7dfe90f in -[NSWindowController window] (self=0x818b180,
    _cmd=0xb7fab710) at NSWindowController.m:314
#2  0xb7dff45d in -[NSWindowController showWindow:] (self=0x818b180,
    _cmd=0xb7f287c8, sender=0x85e7e70) at NSWindowController.m:391
#3  0xb78bdcc7 in -[NSObject performSelector:withObject:] (self=0x818b180,
    _cmd=0xb7af4d00, aSelector=0xb7f287c8, anObject=0x85e7e70)
    at NSObject.m:1865
#4  0xb77b37d6 in -[GSArray makeObjectsPerformSelector:withObject:] (
    self=0x81cf4e8, _cmd=0xb7f287d0, aSelector=0xb7f287c8,
argument=0x85e7e70)
    at GSArray.m:352
#5  0xb7cba6ab in -[NSDocument showWindows] (self=0x85e7e70,
_cmd=0xb7f2aca8)
    at NSDocument.m:417
#6  0xb7cc33cd in -[NSDocumentController
openUntitledDocumentAndDisplay:error:]
    (self=0x85b3920, _cmd=0xb7efec58, flag=1 '\001', err=0xbfffe3bc)
    at NSDocumentController.m:653
#7  0xb7c53524 in -[NSApplication finishLaunching] (self=0x82011b8,
    _cmd=0xb7efed08) at NSApplication.m:1196
#8  0xb7c55d41 in -[NSApplication run] (self=0x82011b8, _cmd=0xb7ef5200)
    at NSApplication.m:1567
#9  0xb7c3497f in NSApplicationMain (argc=1, argv=0xbfffe564) at
Functions.m:89
#10 0x08049289 in main (argc=1, argv=0xbfffe564) at Zcode_main.m:28

This segmentation fault happens right after loading the XIB file, so it
could still be related to that :-(
Most likely we are releasing stuff to eagerly and that makes the
difference to the Gorm loading. Could you please try to compile your XIB
file into a NIB file on you Mac and test with that too? That way we
could narrow it down to either  shared or separate code. The NIB code is
a lot more mature, so hopefully only the XIB will be affected.


On 19.05.2011 18:44, Ivan Vučica wrote:
Heh. It's unbelievable. I was about to send this mail anyway, since
yesterday I had some time to play with this (at last!). Sadly, I didn't
update to latest GNUstep and I didn't send the mail yesterday or earlier
today, since I don't have proper Internet connectivity at home.

I couldn't fix anything, but I produced this backtrace:
   http://dl.dropbox.com/u/8559454/zcode-xib-crash-log.txt
It's not very useful, and doesn't seem to be related to XIBs. It does not,
however, occur with loading GORMs, so it is surely related at least a bit.



reply via email to

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