gnustep-dev
[Top][All Lists]
Advanced

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

Re: GNUstep Code Freeze


From: Riccardo Mottola
Subject: Re: GNUstep Code Freeze
Date: Tue, 31 Jan 2012 23:40:09 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20111108 Iceape/2.0.14

Hi,

Fred Kiefer wrote:
That is interesting, your selector string contains the additional characters "Abnai\031". Where could these come from?

As I wrote I cannot reproduce it here and it will require somebody to debug this who is actually seeing the problem. Could you please set a breakpoint at line 180 in GSThemeInspector.m and start inspecting stuff there?

Breakpoint 1, -[GSThemeInspector update:] (self=0x82fa6a4, _cmd=0xb7fcea88,
    sender=0x82e2684) at GSThemeInspector.m:181
181           r = [[s documentView] frame];
(gdb) po s
h=-&- v=-&- <NSScrollView: 0x829f084> f={x = 10; y = 10; width = 252; height = 225} b={x = 0; y = 0; width = 252; height = 225}

(gdb) po content
h=-&- v=-&- <NSView: 0x83021d4> f={x = 1; y = 9; width = 272; height = 388} b={x = 0; y = 0; width = 272; height = 388}

if I type "n", I get this sequence:
181           r = [[s documentView] frame];
(gdb) n
178           [content addSubview: s];
(gdb) n
179           RELEASE(s);
(gdb) n
181           r = [[s documentView] frame];

this looks corrupt, doesn't it?
Anyway, if I continue with "n" I get:
181           r = [[s documentView] frame];
(gdb) n
-[GSThemeInspector update:] (self=0xb7e4f103, _cmd=0x839f4ec,
    sender=0xb7fcea88) at GSThemeInspector.m:182
182           v = [[NSTextView alloc] initWithFrame: r
181           r = [[s documentView] frame];
(gdb) n
182           v = [[NSTextView alloc] initWithFrame: r];
(gdb) n
unknown type eos. The next step in theming, but with a strong root in NeXT.

Program received signal SIGABRT, Aborted.
0xb7fe2424 in __kernel_vsyscall ()

If I rerun and stop just before the crash, I can see:
(gdb) n
182           v = [[NSTextView alloc] initWithFrame: r];
(gdb) p r
$1 = <optimized out>
(gdb) p s
$2 = (struct NSScrollView *) 0x81afe8c
(gdb) po s
h=-&- v=-&- <NSScrollView: 0x81afe8c> f={x = 10; y = 10; width = 252; height = 225} b={x = 0; y = 0; width = 252; height = 225}
(gdb) n
181           r = [[s documentView] frame];
(gdb) n
-[GSThemeInspector update:] (self=0xb7e4f103, _cmd=0x8140d84,
    sender=0xb7fcea88) at GSThemeInspector.m:182
182           v = [[NSTextView alloc] initWithFrame: r];

This is absolutely confusing, I think the debugger is spitting out crap.

Riccardo







reply via email to

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