* X-Shared Mem problem?
@ 1998-06-22 15:41 Hirsim{ki Mika
1998-06-22 22:22 ` Nils Faerber
0 siblings, 1 reply; 2+ messages in thread
From: Hirsim{ki Mika @ 1998-06-22 15:41 UTC (permalink / raw)
To: axp-list
Hello.
I have been trying to run gtk-1.0.4 based programs (gimp 1.0.0, for
one) on my alpha. I have compiled both from the original source codes
using egcs (gcc version egcs-2.90.27 980315 (egcs-1.0.2 release))
under 2.0.34.
Now, gtk and the applications compile fine. The problem is that
every gtk-application that uses pixmaps, aborts and shows a
following error message:
** ERROR **: BadAccess (attempt to access private resource denied)
serial 7668 error_code 10 request_code 129 minor_code 3
Unfortunately, this doesn't say much to me.
The problem is not with the applications - every gtk-application
behaves in the same way, but only on alpha. I have compiled the
gtk and the apps on an intel-based system just to be sure,
and they worked ok.
If, however, I run the apps with "--no-xshm" flag they work. So,
it looks like the problem is with the shared memory in X.
I don't remember having problems like this, until I recently
upgraded the libc using the rpm I found in RedHat's errata,
so it could be something in the libc. I could, of course, run
my apps using the --no-xshm flag, but to my mind circumventing
a problem instead of solving it, is plain stupid in the long
run.
The gtk-apps seemed to work slightly better in 2.1.85 as they
didn't crash all the time - "only" occasionally. Naturally,
this won't do either. Running such programs reminds me too much
of MS-software: you'd have to have the latest version of the os
and even then the programs would crash periodically. ;-)
So, my question is whether the cause for this problem should be
hunted for in libc (2.0.7), X (3.3.1), kernel or gtk itself?
Any comments?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: X-Shared Mem problem?
1998-06-22 15:41 X-Shared Mem problem? Hirsim{ki Mika
@ 1998-06-22 22:22 ` Nils Faerber
0 siblings, 0 replies; 2+ messages in thread
From: Nils Faerber @ 1998-06-22 22:22 UTC (permalink / raw)
To: axp-list
> Hello.
Hello!
> I have been trying to run gtk-1.0.4 based programs (gimp 1.0.0, for
> one) on my alpha. I have compiled both from the original source codes
> using egcs (gcc version egcs-2.90.27 980315 (egcs-1.0.2 release))
> under 2.0.34.
> Now, gtk and the applications compile fine. The problem is that
> every gtk-application that uses pixmaps, aborts and shows a
> following error message:
> ** ERROR **: BadAccess (attempt to access private resource denied)
> serial 7668 error_code 10 request_code 129 minor_code 3
> Any comments?
Geez!
That's supposed to become a FAQ.
OK. Here is the trick. The whole thing has nothing to do with X or the
compiler. Some kernel code is broken, namely the SysV-IPC code. This causes
in general XSHM to fail with _any_ program.
Solution is to get either 2.1.10? kernel or to apply the alpha-2.0.34-?.diff
from gatekeeper (don't know the exact URL anymore).
After that everything should work fine.
CU
nils
PS: I wonder why this patch is not in the so called 'stable' 2.0.34 kernel?
--
Nils Faerber (Linux Nils) eMail: nils@unix-ag.org
Student of computer science http://www.si.unix-ag.org/~nils/
Unix user group, University of Siegen, Germany
Siegen ... the arctic rain forest!
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-06-22 22:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-22 15:41 X-Shared Mem problem? Hirsim{ki Mika
1998-06-22 22:22 ` Nils Faerber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox