[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GWorkspace and X11 Protocol Errors (was: Re: Interesting XWindowBuffer X
From: |
Michael Hanni |
Subject: |
GWorkspace and X11 Protocol Errors (was: Re: Interesting XWindowBuffer X11 error) |
Date: |
Thu, 10 Apr 2003 14:46:40 -0700 (PDT) |
Hi,
--- Enrico Sersale <enrico@www.imago.ro> wrote:
>
> I don't know if it is the same problem, but, from some time, I'm getting
> this:
>
> GWorkspace[3627] X-Windows error - BadWindow (invalid Window parameter)
> on display: :0.0
> type: 0
> serial number: 13453
> request code: 2
>
> with GWorkspace, when I switch from Browser view to Icons view.
I looked at this and here is what I found:
Breakpoint 2, XGErrorHandler (display=0x101a2800, err=0x7fffe3e8)
at XGServerEvent.m:103
103 XGServer *ctxt = (XGServer*)GSCurrentServer();
(gdb) bt
#0 XGErrorHandler (display=0x101a2800, err=0x7fffe3e8) at XGServerEvent.m:103
#1 0x0ee81db4 in _XError () from /usr/X11R6/lib/libX11.so.6
#2 0x0ee80180 in _XReply () from /usr/X11R6/lib/libX11.so.6
#3 0x0ee7a8e8 in XSync () from /usr/X11R6/lib/libX11.so.6
#4 0x0ee7a9a4 in _XSyncFunction () from /usr/X11R6/lib/libX11.so.6
#5 0x0ee7d710 in XCreateWindow () from /usr/X11R6/lib/libX11.so.6
#6 0x0f25a92c in -[XGServer(DPSWindow) window::::] (self=0x101a1800,
_cmd=0xff6329c, frame=
{origin = {x = 0, y = 598}, size = {width = nan(0x7fea20), height =
2}}, type=NSBackingStoreRetained, style=0, screen=0) at XGServerWindow.m:940
#7 0x0fe332b8 in -[NSWindow _initBackendWindow:] (self=0x1047a0d0,
_cmd=0xff633cc, frame=
{origin = {x = 0, y = 0}, size = {width = nan(0x7fea20), height = 2}})
at NSWindow.m:718
#8 0x0fe33f4c in -[NSWindow
initWithContentRect:styleMask:backing:defer:screen:] (self=0x1047a0d0,
_cmd=0xff63334, contentRect=
{origin = {x = 0, y = 0}, size = {width = nan(0x7fea20), height = 2}},
aStyle=0, bufferingType=NSBackingStoreRetained, flag=0 '\0',
aScreen=0x101f2428) at NSWindow.m:894
#9 0x0fe338dc in -[NSWindow initWithContentRect:styleMask:backing:defer:] (
self=0x1047a0d0, _cmd=0xff27e80, contentRect=Cannot access memory at
address 0x0
) at NSWindow.m:806
#10 0x0fcf4db4 in -[NSCachedImageRep initWithSize:depth:separate:alpha:] (
self=0x1047a078, _cmd=0xec46280, aSize=
{width = 2.39103841e-29, height = 0}, aDepth=517, separate=1 '\001',
alpha=1 '\001') at NSCachedImageRep.m:80
#11 0x0ec16ce8 in _i_IconsPanel__tile ()
from
/opt/GNUstep/System/Applications/GWorkspace.app/Resources/IconsViewer.viewer/powerpc/linux-gnu/gnu-gnu-gnu/IconsViewer
#12 0x0ec16578 in _i_IconsPanel__makeFileIcons ()
from
/opt/GNUstep/System/Applications/GWorkspace.app/Resources/IconsViewer.viewer/powerpc/linux-gnu/gnu-gnu-gnu/IconsViewer
#13 0x0ec1595c in _i_IconsPanel__initAtPath_delegate_ ()
from
/opt/GNUstep/System/Applications/GWorkspace.app/Resources/IconsViewer.viewer/powerpc/linux-gnu/gnu-gnu-gnu/IconsViewer
#14 0x0ec11310 in
_i_IconsViewer__setRootPath_viewedPath_selection_delegate_viewApps_ ()
from
/opt/GNUstep/System/Applications/GWorkspace.app/Resources/IconsViewer.viewer/powerpc/linux-gnu/gnu-gnu-gnu/IconsViewer
#15 0x100161a0 in
_i_ViewersWindow__initWithViewerTemplates_forPath_viewPakages_onStart_ ()
#16 0x1000edf0 in _i_GWorkspace__showViewer_ ()
#17 0x100081dc in _i_GWorkspace__applicationDidFinishLaunching_ ()
#18 0x0f9edab4 in -[NSNotificationCenter _postAndRelease:] (self=0x1013ca58,
_cmd=0xfb292d4, notification=0x102dc070) at NSNotificationCenter.m:1167
#19 0x0f9ede10 in -[NSNotificationCenter postNotificationName:object:userInfo:]
(self=0x1013ca58, _cmd=0xfb292b4, name=0xff6b908, object=0x101a3120,
info=0x0) at NSNotificationCenter.m:1237
#20 0x0f9edc6c in -[NSNotificationCenter postNotificationName:object:] (
self=0x1013ca58, _cmd=0xff1dce4, name=0xff6b908, object=0x101a3120)
at NSNotificationCenter.m:1217
#21 0x0fcb96f0 in -[NSApplication finishLaunching] (self=0x101a3120,
_cmd=0xff1de9c) at NSApplication.m:827
#22 0x0fcba4dc in -[NSApplication run] (self=0x101a3120, _cmd=0x1008d174)
at NSApplication.m:1026
#23 0x100048d8 in main ()
#24 0x0f596f0c in __libc_start_main () from /lib/libc.so.6
(gdb) c
Continuing.
/opt/GNUstep/System/Applications/GWorkspace.app/powerpc/linux-gnu/gnu-gnu-gnu/GWorkspace:
Uncaught exception WindowServerCommunication, reason: X-Windows error -
BadValue (integer parameter out of range for operation)
on display: :0.0
type: 0
serial number: 1311
request code: 1
Program received signal SIGABRT, Aborted.
0x0f5acb00 in kill () from /lib/libc.so.6
If I run GWorkspace without the debugger I get a whole bunch of protocol errors
(not just BadValue, but BadWindow as well.) It looks like the code you have in
IconPanel is hurting.
Sorry, I haven't had time to chase this down more, but after CBV's advice I've
been gdb'ing our Window Maker crasher.
Hope this helps!
Michael
Re: Interesting XWindowBuffer X11 error, Alexander Malmberg, 2003/04/10