GNOME Bugzilla – Bug 322064
"invalid unclasses pointer in cast" regression in gail 1.8.5->1.8.6
Last modified: 2005-11-24 11:41:47 UTC
Distribution/Version: OS X 10.3.9 1. Install gail 1.8.5 2. Install meld and all its required dependencies 3. Run meld on a complex pair of directories 4. Install gail 1.8.6 5. Repeat step 3 After the gail upgrade in step 4, meld seg-faults with: (meld:12536): Gnome-WARNING **: Accessibility: failed to load module 'libgail-gnome': 'dlcompat: dyld: python2.3 can't open library: /sw/lib/libpanel-applet-2.0.dylib (No such file or directory, errno = 2) ' (meld:12536): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GailTreeView' (meld:12536): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkAccessible' The warning about libgail-gnome not loading occurs with either version of gail installed (libgail-gnome and gnome-panel are not installed).
Created attachment 55042 [details] python crashlog from meld crash
I really don't understand what's going on here. Is the problem with libgail-gnome (seems very unlikely, since it didn't change in your test)? It looks a bit like a bincompat issue in gail, but I am concerned, since we don't make any bincompat guarantees for gail AtkObject implementations at all. IOW, GailTreeView may change size from version to version of gail. Why is this a problem for python, since the GailTreeView header is not public? Or might this be a duplicate of another gail crasher in gailtreeview which I fixed in cvs yesterday? See bug 322044.
The patch to gailtreeview.c for bug 322044 appears to have cured my crash. Thanks!
I re-dist'ed gail today, fix is in version 1.8.7. Thanks dmacks for catching the problem. *** This bug has been marked as a duplicate of 322044 ***