|
From: | Andreas Höschler |
Subject: | Re: GNUstep app fails on Ubuntu 16 |
Date: | Wed, 6 May 2020 19:06:30 +0200 |
Hi all,
I inserted [NSException raise:...] in NSView where it complains about the given negative widths and got #1 0x00007fabaac53bba in +[NSException raise:format:arguments:] (self=0x7fabab1b4020 <_OBJC_Class_NSException>, _cmd=0x7fabab1b44b0 <_OBJC_SELECTOR_TABLE+432>, name=0x7fabab1b39e0 <_OBJC_INSTANCE_4>, format=0x7fabac4470c0 <_OBJC_INSTANCE_17>, argList=0x7ffd30cc6450) at NSException.m:1465 #2 0x00007fabaac53b01 in +[NSException raise:format:] (self=0x7fabab1b4020 <_OBJC_Class_NSException>, _cmd=0x7fabac449790 <_OBJC_SELECTOR_TABLE+1712>, name=0x7fabab1b39e0 <_OBJC_INSTANCE_4>, format=0x7fabac4470c0 <_OBJC_INSTANCE_17>) at NSException.m:1450 #3 0x00007fababf8f9d5 in -[NSView setFrame:] (self=0x2c47500, _cmd=0x7fabac40e9f0 <_OBJC_SELECTOR_TABLE+624>, frameRect=...) at NSView.m:1184 #4 0x00007fababf2b740 in -[NSTabView selectTabViewItem:] (self=0x1a194e0, _cmd=0x7fabac40e880 <_OBJC_SELECTOR_TABLE+256>, tabViewItem=0x2e1ea40) at NSTabView.m:274 #5 0x00007fababf2adb8 in -[NSTabView insertTabViewItem:atIndex:] (self=0x1a194e0, _cmd=0x7fabac40e850 <_OBJC_SELECTOR_TABLE+208>, tabViewItem=0x2e1ea40, index=0) at NSTabView.m:120 #6 0x00007fababf2acd2 in -[NSTabView addTabViewItem:] (self=0x1a194e0, _cmd=0x7faba8050510 <_OBJC_SELECTOR_TABLE+2288>, tabViewItem=0x2e1ea40) at NSTabView.m:106 ... The related code is NSTabViewItem *tabViewItem = [[NSTabViewItem alloc] initWithIdentifier:identifier]; [someTabView addTabViewItem:tabViewItem]; [tabViewItem release]; Hmmgh! It seems that NSTabView calculates some unhealthy frame here. Can anybody with insights see whether this is related to the rest of the error chain? Thanks, Andreas |
[Prev in Thread] | Current Thread | [Next in Thread] |