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



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]