discuss-gnustep
[Top][All Lists]
Advanced

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

problem with gworkspace-0.9.0 and gnustep-base-1.23.0


From: Sebastian Reitenbach
Subject: problem with gworkspace-0.9.0 and gnustep-base-1.23.0
Date: Fri, 30 Sep 2011 18:16:26 +0200
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.2.18) Gecko/20110719 Thunderbird/3.1.11

Hi,

I updated gworkspace to the new version 0.9.0, having
gnustep-base-1.22.1, gnustep-gui-0.20.0, gnustep-back-0.20.1 (cairo)
installed on OpenBSD i386. libobjc is from gcc, all is compiled with
gcc. There it works great. Afterwards I updated gnustep-base to the new
1.23.0, and recompiled everything.

Now I get the following output on the console when it starts up:

2011-09-30 17:52:42.055 GWorkspace[26314] XShm not supported,
XShmAttach() failed.
2011-09-30 17:52:42.075 GWorkspace[26314] Falling back to normal XImage
(will be slower).
2011-09-30 17:52:42.942 fswatcher[9210] register client 2
2011-09-30 17:52:43.204 GWorkspace[26314] Volumes ({dir = "/"; name =
"/dev/wd0a"; type = ffs; }, {dir = "/home"; name = "/dev/wd0k"; type =
ffs; }, {dir = "/tmp"; name = "/dev/wd0d"; type = ffs; }, {dir = "/usr";
name = "/dev/wd0f"; type = ffs; }, {dir = "/usr/X11R6"; name =
"/dev/wd0g"; type = ffs; }, {dir = "/usr/local"; name = "/dev/wd0h";
type = ffs; }, {dir = "/usr/obj"; name = "/dev/wd0j"; type = ffs; },
{dir = "/usr/src"; name = "/dev/wd0i"; type = ffs; }, {dir = "/var";
name = "/dev/wd0e"; type = ffs; })
2011-09-30 17:52:45.596 GWorkspace[26314] Problem posting notification:
<NSException: 0x80d8fe84> NAME:NSInvalidArgumentException REASON:aString
object passed to -[GSAttributedString initWithString:attributes:] is nil
INFO:(null)
2011-09-30 17:52:46.176 GWorkspace[26314] Unable to obtain lock (null)

It doesn't load the configured background image, nor does it load the
app icons in the dock, and doesn't open the file browser.

Running GWorkspace in gdb, I get the following backtrace on the exception:

#0  -[NSException raise] (self=0x887770a4, _cmd=0x2a64ea08) at
NSException.m:956
#1  0x0a68c357 in +[NSException raise:format:arguments:]
(self=0x2a64e820, _cmd=0x2a64e9f0, name=0x2a64e550, format=0x2a624604,
    argList=0xcfbfa850 "Tñ\025\203\230èk*x¨¿Ïþ%n\n $") at NSException.m:849
#2  0x0a68c28f in +[NSException raise:format:] (self=0x2a64e820,
_cmd=0x2a624c88, name=0x2a64e550, format=0x2a624604) at NSException.m:835
#3  0x0a5c7443 in -[GSAttributedString initWithString:attributes:]
(self=0x8315f154, _cmd=0x242a3c48, aString=0x0, attributes=0x7d569844)
    at GSAttributedString.m:466
#4  0x04367ca4 in -[NSButtonCell attributedTitle] (self=0x7fbde604,
_cmd=0x242a3dc0) at NSButtonCell.m:391
#5  0x04369b38 in -[NSButtonCell drawInteriorWithFrame:inView:]
(self=0x7fbde604, _cmd=0x242a8258, cellFrame=
        {origin = {x = 1, y = 1}, size = {width = 426, height = 16}},
controlView=0x879aee04) at NSButtonCell.m:1042
#6  0x043734df in -[NSCell drawWithFrame:inView:] (self=0x7fbde604,
_cmd=0x24289a20, cellFrame=
        {origin = {x = 1, y = 1}, size = {width = 426, height = 16}},
controlView=0x879aee04) at NSCell.m:2055
#7  0x04314125 in -[NSActionCell drawWithFrame:inView:]
(self=0x7fbde604, _cmd=0x24306760, cellFrame=
        {origin = {x = 1, y = 1}, size = {width = 426, height = 16}},
controlView=0x879aee04) at NSActionCell.m:344
#8  0x04466cf0 in -[NSScroller drawKnobSlotInRect:highlight:]
(self=0x879aee04, _cmd=0x24306768, slotRect=
        {origin = {x = 1, y = 1}, size = {width = 426, height = 16}},
flag=0 '\0') at NSScroller.m:1112
#9  0x04466be0 in -[NSScroller drawKnobSlot] (self=0x879aee04,
_cmd=0x24362c70) at NSScroller.m:1096
#10 0x0455eb79 in -[GSTheme(Drawing)
drawScrollerRect:inView:hitPart:isHorizontal:] (self=0x7f4341b4,
_cmd=0x24306750, rect=
        {origin = {x = 0, y = 0}, size = {width = 428, height = 18}},
view=0x879aee04, hitPart=NSScrollerNoPart, isHorizontal=1 '\001')
    at GSThemeDrawing.m:1830
#11 0x0446677b in -[NSScroller drawRect:] (self=0x879aee04,
_cmd=0x243377c0, rect={origin = {x = 0, y = 0}, size = {width = 428,
height = 18}})
    at NSScroller.m:1036
#12 0x044e5dd9 in -[NSView displayRectIgnoringOpacity:inContext:]
(self=0x879aee04, _cmd=0x243377b0, aRect=
        {origin = {x = 0, y = 0}, size = {width = 428, height = 18}},
context=0x879b3484) at NSView.m:2512
#13 0x044e6043 in -[NSView displayRectIgnoringOpacity:inContext:]
(self=0x879ae404, _cmd=0x243377b0, aRect=
        {origin = {x = 0, y = 0}, size = {width = 432, height = 98}},
context=0x879b3484) at NSView.m:2545
#14 0x044e6043 in -[NSView displayRectIgnoringOpacity:inContext:]
(self=0x879ae104, _cmd=0x243377b0, aRect=
        {origin = {x = 0, y = 0}, size = {width = 448, height = 228}},
context=0x879b3484) at NSView.m:2545
#15 0x044e6043 in -[NSView displayRectIgnoringOpacity:inContext:]
(self=0x879b0504, _cmd=0x24311040, aRect=
        {origin = {x = 0, y = 0}, size = {width = 448, height = 316}},
context=0x879b3484) at NSView.m:2545
#16 0x0447eb3a in -[NSSplitView displayRectIgnoringOpacity:inContext:]
(self=0x879b0504, _cmd=0x243377b0, aRect=
        {origin = {x = 0, y = 0}, size = {width = 448, height = 316}},
context=0x879b3484) at NSSplitView.m:1208
#17 0x044e6043 in -[NSView displayRectIgnoringOpacity:inContext:]
(self=0x82de1304, _cmd=0x243377b0, aRect=
        {origin = {x = 0, y = 0}, size = {width = 450, height = 350}},
context=0x879b3484) at NSView.m:2545
#18 0x044e5ab1 in -[NSView displayRectIgnoringOpacity:]
(self=0x82de1304, _cmd=0x243377a0, aRect=
        {origin = {x = 0, y = 0}, size = {width = 450, height = 350}})
at NSView.m:2458
#19 0x044e56b9 in -[NSView displayIfNeededInRectIgnoringOpacity:]
(self=0x82de1304, _cmd=0x24337790, aRect=
        {origin = {x = 0, y = 0}, size = {width = 450, height = 350}})
at NSView.m:2390
#20 0x044e5531 in -[NSView displayIfNeededInRect:] (self=0x82de1304,
_cmd=0x24337788, aRect=
        {origin = {x = 0, y = 0}, size = {width = 450, height = 350}})
at NSView.m:2368
#21 0x044e53ef in -[NSView displayIfNeeded] (self=0x82de1304,
_cmd=0x2433e7c0) at NSView.m:2350
#22 0x044f5f1a in -[NSWindow orderWindow:relativeTo:] (self=0x7fed9104,
_cmd=0x2433e790, place=NSWindowAbove, otherWin=-1) at NSWindow.m:1741
#23 0x044f5bc8 in -[NSWindow orderFrontRegardless] (self=0x7fed9104,
_cmd=0x2433e780) at NSWindow.m:1658
#24 0x044f5894 in -[NSWindow makeKeyAndOrderFront:] (self=0x7fed9104,
_cmd=0x3c020a70, sender=0x0) at NSWindow.m:1593
#25 0x1c0471e7 in -[GWViewer activate] (self=0x879b3504,
_cmd=0x3c01d810) at FileViewer/GWViewer.m:463
#26 0x1c03e624 in -[GWViewersManager
newViewerOfType:showType:forNode:showSelection:closeOldViewer:forceNew:]
(self=0x7d301f44,
    _cmd=0x3c01d7d8, vtype=0, stype=0x0, node=0x7fed9004, showsel=1
'\001', oldvwr=0x0, force=1 '\001') at FileViewer/GWViewersManager.m:271
#27 0x1c03db20 in -[GWViewersManager showViewers] (self=0x7d301f44,
_cmd=0x3c00d3e8) at FileViewer/GWViewersManager.m:129
#28 0x1c00a6d9 in -[GWorkspace applicationWillFinishLaunching:]
(self=0x8bd29604, _cmd=0x24293d88, aNotification=0x7df24064) at
GWorkspace.m:472
#29 0x0a6d21fe in -[NSNotificationCenter _postAndRelease:]
(self=0x8b98b694, _cmd=0x2a661d48, notification=0x7df24064)
    at NSNotificationCenter.m:1223
#30 0x0a6d2b48 in -[NSNotificationCenter
postNotificationName:object:userInfo:] (self=0x8b98b694,
_cmd=0x2a661d50, name=0x2434aa80,
    object=0x8bd1df84, info=0x0) at NSNotificationCenter.m:1282
#31 0x0a6d29e0 in -[NSNotificationCenter postNotificationName:object:]
(self=0x8b98b694, _cmd=0x24293860, name=0x2434aa80, object=0x8bd1df84)
#32 0x0432ef56 in -[NSApplication finishLaunching] (self=0x8bd1df84,
_cmd=0x24293a00) at NSApplication.m:1036
#33 0x04331172 in -[NSApplication run] (self=0x8bd1df84,
_cmd=0x3c007a10) at NSApplication.m:1567
#34 0x1c005690 in gnustep_base_user_main (argc=1, argv=0xcfbfb740,
env=0xcfbfb748) at main.m:38
#35 0x0a70cabc in main (argc=1, argv=0xcfbfb740, env=0xcfbfb748) at
NSProcessInfo.m:979
#36 0x1c005377 in ___start ()
#37 0x1c0052f2 in _start ()

When I quit GWorkspace from the Menu, then it segfaults:

Program received signal SIGSEGV, Segmentation fault.
objc_msg_lookup (receiver=0x7fed9104, op=0x2a626f28) at
/usr/src/gnu/usr.bin/cc/libobjc/../../../gcc/libobjc/sendmsg.c:213
213           result = sarray_get_safe (receiver->class_pointer->dtable,
Current language:  auto; currently c
(gdb) bt
#0  objc_msg_lookup (receiver=0x7fed9104, op=0x2a626f28) at
/usr/src/gnu/usr.bin/cc/libobjc/../../../gcc/libobjc/sendmsg.c:213
#1  0x0a5ccc2f in GSIMapCleanMap (map=dwarf2_read_address: Corrupted
DWARF expression.
) at GSIMap.h:1189
#2  0x0a5ccab8 in GSIMapEmptyMap (map=0x7fee6348) at GSIMap.h:1218
#3  0x0a5cca5d in -[GSDictionary dealloc] (self=0x7fee6344,
_cmd=0x2a668488) at GSDictionary.m:118
#4  0x0a6e384d in -[NSObject release] (self=0x7fee6344, _cmd=0x242ce550)
at NSObject.m:2059
#5  0x043d20a5 in -[NSGraphicsContext dealloc] (self=0x879b3484,
_cmd=0x2e8114d0) at NSGraphicsContext.m:305
#6  0x0e81ce3e in -[GSContext dealloc] (self=0x879b3484,
_cmd=0x2a668488) at GSContext.m:223
#7  0x0a6e384d in -[NSObject release] (self=0x879b3484, _cmd=0x242ce550)
at NSObject.m:2059
#8  0x043d1749 in +[NSGraphicsContext setCurrentContext:]
(self=0x242ce1a0, _cmd=0x242937e8, context=0x0) at NSGraphicsContext.m:169
#9  0x043300f3 in -[NSApplication dealloc] (self=0x8bd1df84,
_cmd=0x2a668488) at NSApplication.m:1275
#10 0x0a6e384d in -[NSObject release] (self=0x8bd1df84, _cmd=0x24293610)
at NSObject.m:2059
#11 0x04336899 in -[NSApplication replyToApplicationShouldTerminate:]
(self=0x8bd1df84, _cmd=0x24293d30, shouldTerminate=1 '\001')
    at NSApplication.m:3534
#12 0x04336589 in -[NSApplication terminate:] (self=0x8bd1df84,
_cmd=0x24293f28, sender=0x87ca7404) at NSApplication.m:3486
#13 0x0433310f in -[NSApplication sendAction:to:from:] (self=0x8bd1df84,
_cmd=0x242e27a0, aSelector=0x24293f28, aTarget=0x0, sender=0x87ca7404)
    at NSApplication.m:2259
#14 0x044097c8 in -[NSMenu performActionForItemAtIndex:]
(self=0x7d40f604, _cmd=0x242e5278, index=11) at NSMenu.m:1320
#15 0x044140b7 in -[NSMenuView _trackWithEvent:] (self=0x7fe58d04,
_cmd=0x242e5300, event=0x852a4ec4) at NSMenuView.m:1785
#16 0x0441419a in -[NSMenuView trackWithEvent:] (self=0x7fe58d04,
_cmd=0x242e5350, event=0x7dd6da44) at NSMenuView.m:1808
#17 0x04414369 in -[NSMenuView mouseDown:] (self=0x7fe58d04,
_cmd=0x2433ebd0, theEvent=0x7dd6da44) at NSMenuView.m:1847
#18 0x044fd38f in -[NSWindow sendEvent:] (self=0x83217304,
_cmd=0x24293ae8, theEvent=0x7dd6da44) at NSWindow.m:3694
#19 0x04332bae in -[NSApplication sendEvent:] (self=0x8bd1df84,
_cmd=0x24293a20, theEvent=0x7dd6da44) at NSApplication.m:2134
#20 0x04331329 in -[NSApplication run] (self=0x8bd1df84,
_cmd=0x3c007a10) at NSApplication.m:1591
#21 0x1c005690 in gnustep_base_user_main (argc=1, argv=0xcfbfb740,
env=0xcfbfb748) at main.m:38
#22 0x0a70cabc in main (argc=1, argv=0xcfbfb740, env=0xcfbfb748) at
NSProcessInfo.m:979
#23 0x1c005377 in ___start ()
#24 0x1c0052f2 in _start ()

When GWorkspace is running, and I double click on the File Browser icon
in the dock to open it, the file browser opens, but also the following
exception window pops up:
NSInvalidArgumentException: aString object passed to -[GSAttributeString
initWithString:attributes:] is nil

The backtrace is similar to the first.

Riccardo posted some similar problems some weeks ago, but this seems to
be a bit different, is this sth. known, and maybe even fixed alredy in svn?

Sebastian




reply via email to

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