Re: TreeView crashes X server?



----- Original Message -----
From: "James Henstridge" <james daa com au>
To: "Arjan J. Molenaar" <arjanmolenaar hetnet nl>
Cc: "gnome2-list" <gnome-2-0-list gnome org>; "gtk-devel-list"
<gtk-devel-list gnome org>
Sent: Friday, December 14, 2001 11:13 AM
Subject: Re: TreeView crashes X server?


> Arjan J. Molenaar wrote:
>
> >Hi,
> >
> >I'm having some problems with the TreeView stuff of GTK+ 2.0. It seems
> >like this widget somehow causes an X server crash. If for some reason
> >the X server itself doesn't crash I get a message that I should use the
> >--sync option to produce reliable coredumps. However, if I turn on this
> >option, the program works (mostly) fine.
> >
> >Well, I encountered the problem when I was writing a small program in
> >Python (and used the PyGTK bindings). This (Python) might be the
> >problem, but according to some checks I did, the problem seems to be
> >somewhat more sophisticated.
> >
> If you are using the (horrendously) leaky GenericTreeModel python class
> as a base, it could be that you are simply running out of memory.
>  Generally, a client can't crash the X server (if it can, then it is a
> bug in the X server).  However, if the system runs out of memory, you
> may run into problems.
>
> If it isn't a memory issue ignore the above, and maybe someone else can
> help you :)

If you are looking more closely, Arjan is not really talking about a server
crash
(which would indeed be hard to get),  he simply gets an X error in the
client
as a result of some bad request being sent by GTK.

Matthias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]