I think your analysis is correct. The segmentation fault occurred dereferencing the ob_type field of a PyObject pointer that probably wasn't pointing to a PyObject. The ob_refcnt field was over a hundred thousand and the ob_type field was 2.

At 8/2/2003, Christian Reis wrote:
On Fri, Aug 01, 2003 at 04:12:15PM -0400, Jon Willeke wrote:
> Actually, it looks like gobject.GObject.get_data() calls
> g_object_get_qdata().  Unfortunately, I get a segmentation fault trying to
> retrieve the tooltips object.

It might be that get_data() is returning an object which is not wrapped
as a PyObject, which is not safe. JamesH very recently pointed out that
get_data() wasn't safe when returning non-PyObjects.

If you can get us a stack trace we can be sure that's the current case.

_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to