[9232] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Scribble-simple + g_print

daemon@ATHENA.MIT.EDU (Marc)
Tue Oct 13 08:56:09 1998

Date: Tue, 13 Oct 1998 14:55:38 +0200
From: Marc <marc@upr41.univ-rennes1.fr>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Owen Taylor wrote:

> THis error code indicates the server couldn't allocate
> memory requested. For Linux, this almost certainly indicates
> that the program requested something ridiculously big.
> (Frequently, this happens if a size of -1 by -1, which is
> interpreted as 65535 x 65535, is requested.)
> I'm not sure why that would be happening here. (Doesn't happen for
> me) What do you get if in scribble-simple.c, you insert:
>   g_print("%d %d\n", widget->allocation.width, widget->allocation.height);

before maximizing : 200 200
after maximizing : 1144 795
And crash...
( Note that scribble is NOT always crashing but behaves like this
frequently. )

The problem is probably coming from the terminal's memory allocated by
the X server.

Thanks.
-- 
Marc
** ERROR **: sigsegv caught

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post