gnustep-dev
[Top][All Lists]
Advanced

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

GWorkspace doesn't start - Can not determine type information


From: Riccardo Mottola
Subject: GWorkspace doesn't start - Can not determine type information
Date: Wed, 27 Oct 2021 15:23:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.9.1

Hello,

I have a system where GWorkspace doesn't start due to my latest changes.
Strange, because elsewhere it does: I don't understand the failure.

I get this:
2021-10-27 13:06:19.522 GWorkspace[15093:15093] Problem posting
<GSNotification: 0x5578d80a32d8> Name:
NSApplicationWillFinishLaunchingNotification Object: <NSApplication:
0x5578d809b898> Info: (null): <NSException: 0x5578d8aa7f98>
NAME:NSInvalidArgumentException REASON:Can not determine type
information for -[TShelfPBIcon setSingleClickLaunch:] INFO:(null)
2021-10-27 13:06:20.045 GWorkspace[15093:15093] Unable to obtain lock (null)

The stack trace I get is:

#0  -[NSException raise] (self=0x555556620fa8,
    _cmd=0x7ffff76af3e0 <_OBJC_SELECTOR_TABLE+480>) at NSException.m:1596
#1  0x00007ffff737a146 in +[NSException raise:format:arguments:]
(self=<optimized out>,
    _cmd=<optimized out>, name=0x7ffff76afd90 <_OBJC_INSTANCE_5>,
format=<optimized out>,
    argList=0x7fffffffd260) at NSException.m:1487
#2  0x00007ffff737ad45 in +[NSException raise:format:] (
    self=self@entry=0x7ffff76af720 <_OBJC_Class_NSException>,
    _cmd=_cmd@entry=0x7ffff7766c50 <_OBJC_SELECTOR_TABLE+48>,
    name=0x7ffff76afd90 <_OBJC_INSTANCE_5>,
    format=format@entry=0x7ffff7767110 <_OBJC_INSTANCE_6.1>) at
NSException.m:1472
#3  0x00007ffff74a49fe in GSFFIInvocationCallback (cif=0x555556259ef0,
    retp=0x7fffffffd590, args=0x7fffffffd3f0, user=0x5555566203a8) at
GSFFIInvocation.m:603
#4  0x00007ffff4367c32 in ?? () from /usr/lib64/libffi.so.8
#5  0x00007ffff4367fa0 in ?? () from /usr/lib64/libffi.so.8
#6  0x000055555563e192 in -[TShelfIconsView setSingleClickLaunch:]
(self=0x555556616778,
    _cmd=<optimized out>, value=0 '\000') at TShelf/TShelfIconsView.m:1080
#7  0x000055555563855d in -[TShelfWin init] (self=0x5555565f04b8,
_cmd=<optimized out>)
    at TShelf/TShelfWin.m:108
#8  0x00005555555f0e56 in -[GWorkspace createTabbedShelf]
(self=0x555555bf5288,
    _cmd=<optimized out>) at GWorkspace.m:1065
#9  0x00005555555eba22 in -[GWorkspace applicationWillFinishLaunching:] (
    self=<optimized out>, _cmd=<optimized out>, aNotification=<optimized
out>)
    at GWorkspace.m:471
#10 0x00007ffff73d0b31 in -[NSNotificationCenter _postAndRelease:]
(self=0x5555559df458,
    _cmd=<optimized out>, notification=0x555555c1b4d8) at
NSNotificationCenter.m:1198
#11 0x00007ffff79ef1a1 in -[NSApplication finishLaunching]
(self=0x555555c13a98,
    _cmd=<optimized out>) at NSApplication.m:1017
#12 0x00007ffff79f3527 in -[NSApplication run] (self=0x555555c13a98,
_cmd=<optimized out>)
    at NSApplication.m:1561

but why? stack #6

#6  0x000055555563e192 in -[TShelfIconsView setSingleClickLaunch:]
(self=0x555556616778,
    _cmd=<optimized out>, value=0 '\000') at TShelf/TShelfIconsView.m:1080
1080          [icon setSingleClickLaunch: value];

$1 = (TShelfIconsView *) 0x555556616778
(gdb) p icon
$2 = (TShelfIcon *) 0x55555661ede8


this looks perfectly fine to me!

The code snippet is even trivial:

  for (i = 0; i < [icons count]; i++)
    {
      TShelfIcon *icon;

      icon = [icons objectAtIndex: i];
      [icon setSingleClickLaunch: value];
    }

Riccardo



reply via email to

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