Re: [gtk-list] Scribble-simple + g_print
- From: Marc <marc upr41 univ-rennes1 fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Scribble-simple + g_print
- Date: Tue, 13 Oct 1998 14:55:38 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]