discuss-gnustep
[Top][All Lists]
Advanced

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

Re: PikoPixel hangs on startup


From: Riccardo Mottola
Subject: Re: PikoPixel hangs on startup
Date: Sun, 25 Oct 2015 22:48:13 +0100
User-agent: GNUMail (Version 1.2.2)

Hi,

some more information:

I put a breakpoint:

Breakpoint 1, -[NSView setFrame:] (self=0x89ab408, _cmd=0xb7fab2a8 <.objc_selector_list+376>, frameRect=...) at NSView.m:1188
1188          NSWarnMLog(@"given negative height");

The stacktrace I get is below. It looks as it comes from Nibloading itself, thus I wonder what is different from other setups.

#0 -[NSView setFrame:] (self=0x89ab408, _cmd=0xb7fab2a8 <.objc_selector_list+376>, frameRect=...) at NSView.m:1188 #1 0xb7e23880 in -[GSWindowDecorationView layout] (self=<optimized out>, _cmd=<optimized out>) at GSWindowDecorationView.m:348 #2 0xb7e23e5a in -[GSWindowDecorationView setFrame:] (self=0x899dba0, _cmd=<optimized out>, frameRect=...) at GSWindowDecorationView.m:413 #3 0xb7da8335 in -[NSWindow setFrame:display:] (self=<optimized out>, _cmd=<optimized out>, frameRect=..., flag=<optimized out>) at NSWindow.m:2214 #4 0xb7df5644 in -[NSWindowTemplate nibInstantiate] (self=0x89ab358, _cmd=<optimized out>) at GSNibLoading.m:508 #5 0xb7dfa2aa in -[NSIBObjectData instantiateObject:] (self=<optimized out>, _cmd=<optimized out>, obj=0x89ab358) at GSNibLoading.m:1893 #6 0xb7dfa3d3 in -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] (self=0x89ab2b8, _cmd=<optimized out>, owner=<optimized out>, topLevelObjects=<optimized out>) at GSNibLoading.m:1924 #7 0xb7dfa8d0 in -[NSIBObjectData awakeWithContext:] (self=<optimized out>, _cmd=<optimized out>, context=<optimized out>) at GSNibLoading.m:2012 #8 0xb7e280d2 in -[GSNibLoader loadModelData:externalNameTable:withZone:] (self=0x82fc0d8, _cmd=0xb7f39218 <.objc_selector_list+40>, data=<optimized out>, context=<optimized out>, zone=<optimized out>) at GSNibLoader.m:87 #9 0xb7cde97c in -[NSNib instantiateNibWithExternalNameTable:withZone:] (self=<optimized out>, _cmd=<optimized out>, externalNameTable=<optimized out>, zone=<optimized out>) at NSNib.m:153 #10 0xb7c39351 in +[NSBundle(NSBundleAdditions) loadNibFile:externalNameTable:withZone:] (self=<optimized out>, _cmd=<optimized out>, fileName=<optimized out>, context=<optimized out>, zone=<optimized out>) at NSBundleAdditions.m:52 #11 0xb7db607a in -[NSWindowController loadWindow] (self=<optimized out>, _cmd=<optimized out>) at NSWindowController.m:483 #12 0xb7db576c in -[NSWindowController window] (self=0x896b520, _cmd=<optimized out>) at NSWindowController.m:307 #13 0x080c5cce in -[PPPanelController initWithWindowNibName:] (self=<optimized out>, _cmd=<optimized out>, windowNibName=<optimized out>) at PPPanelController.m:97 #14 0x080c5b74 in +[PPPanelController controller] (self=<optimized out>, _cmd=<optimized out>) at PPPanelController.m:76
#15 0x080c4d54 in PanelControllersArray () at PPPanelsController.m:336
#16 -[PPPanelsController init] (self=<optimized out>, _cmd=<optimized out>) at PPPanelsController.m:77 #17 0x080c4c58 in +[PPPanelsController sharedController] (self=<optimized out>, _cmd=<optimized out>) at PPPanelsController.m:64 #18 0x080a641a in -[PPDocumentWindowController init] (self=<optimized out>, _cmd=<optimized out>) at PPDocumentWindowController.m:152 #19 0x080a635e in +[PPDocumentWindowController controller] (self=0x819e080 <_OBJC_CLASS_PPDocumentWindowController>, _cmd=0x8156488 <.objc_selector_list+536>) at PPDocumentWindowController.m:142 #20 0x0808c3d2 in -[PPDocument makeWindowControllers] (self=<optimized out>, _cmd=<optimized out>) at PPDocument.m:523 #21 0xb7c7c570 in -[NSDocumentController openUntitledDocumentAndDisplay:error:] (self=<optimized out>, _cmd=<optimized out>, display=<optimized out>, err=<optimized out>) at NSDocumentController.m:620 #22 0xb7c06e88 in -[NSApplication finishLaunching] (self=<optimized out>, _cmd=<optimized out>) at NSApplication.m:1163 #23 0x0808a0cb in -[PPApplication finishLaunching] (self=<optimized out>, _cmd=<optimized out>) at PPApplication.m:117 #24 0xb7c0829d in -[NSApplication run] (self=0x850a790, _cmd=<optimized out>) at NSApplication.m:1538 #25 0xb7be9cb4 in NSApplicationMain (argc=<optimized out>, argv=<optimized out>) at Functions.m:91
#26 0xb72f4943 in __libc_start_main () from /lib/libc.so.6
#27 0x08089cc1 in _start ()


Here the frame:
(gdb) p frameRect
$1 = {origin = {x = 1, y = 9}, size = {width = 174, height = -13}}

Indeed, negative!

I went up the trace:
#4 0xb7df5644 in -[NSWindowTemplate nibInstantiate] (self=0x89ab358, _cmd=<optimized out>) at GSNibLoading.m:508 508 [_realObject setFrame: [NSWindow frameRectForContentRect: [self windowRect]
(gdb) po [self title]
Preview

Thus, the issue seems to be the Preview window.

Fred, do you think it could be a decoration issue problem or something like that? The preview is different style, right?

Riccardo




reply via email to

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