Re: Subject: "shmat failed" messages
- From: Owen Taylor <otaylor redhat com>
- To: john giorgio hart bbk ac uk
- Cc: gtk-list redhat com
- Subject: Re: Subject: "shmat failed" messages
- Date: 27 Jan 1999 10:25:53 -0500
john@giorgio.hart.bbk.ac.uk writes:
> Hola gurus,
>
> I'm getting a
>
> Gdk-WARNING **: shmat failed!
>
> message every time I call gdk_pixmap_create_from_xpm_d(). Looking through the
> code, shmget() is working fine, it's just the attach that's failing, which is
> a bit odd. Anyone seen this before?
>
> This is gtk+1.1.13 on Solaris 2.6.
Could you modify the warning line to print out the error:
That is, make:
g_warning ("shmat failed!");
#include <errno.h>
g_warning ("shmat failed!: %s", g_strerror (errno));
It isn't at all obvious to me why it would be failing here.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]