discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problem with libart backend


From: Alexander Malmberg
Subject: Re: Problem with libart backend
Date: Sat, 26 Oct 2002 16:31:04 +0200

Charles Philip Chan wrote:
[snip]
> I have some fonts installed now, and the apps are starting. My problem
> now is that everything turns up white. The errors I am getting are:
> 
> 2002-10-26 05:42:17.727 GWorkspace[1220] Failed to locate strings file
> Localizable
> 2002-10-26 05:42:25.138 GWorkspace[1220] X-Windows error - BadAccess
> (attempt to access private resource denied)          on display:
> karnak:0.0                type: 0
>        serial number: 62
>         request code: 144
> 2002-10-26 05:42:25.139 GWorkspace[1220] X-Windows error - BadShmSeg
> (invalid shared segment parameter)          on display: karnak:0.0
>                 type: 0
>        serial number: 63
>         request code: 144
> 2002-10-26 05:42:25.140 GWorkspace[1220] X-Windows error - BadPixmap
> (invalid Pixmap parameter)          on display: karnak:0.0
>                 type: 0
>        serial number: 64
>         request code: 2
[snip]

Sounds like the shared memory code is failing without noticing it. Which
version of GNUstep is this? What system? There was a similar problem on
some systems if a segment was marked for destruction too soon, but it
was fixed 2002-08-23. Some things worth trying are (in
back/Source/x11/XWindowBuffer.m):

* line 174, change 0700 to 0777 (a potential security problem, though)

* line 226, remove the shmctl() call (will leak shared segments; remove
them with ipcs or equivalent)

If any of these help, please let me know and I'll try to make a proper
solution of it. As a temporary workaround, you can comment out the if on
line 147 so the non-shm code always gets used instead.

> Are there any documentation in using this backend? Any help will be
> appreciated.

Apart from getting and installing fonts, there is none, and none is
necessary (in theory, when things work :/ ).

> Thanks,
> Charles

- Alexander Malmberg




reply via email to

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