After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322064 - "invalid unclasses pointer in cast" regression in gail 1.8.5->1.8.6
"invalid unclasses pointer in cast" regression in gail 1.8.5->1.8.6
Status: RESOLVED DUPLICATE of bug 322044
Product: atk
Classification: Platform
Component: gail
1.8.x
Other Mac OS
: Normal critical
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks:
 
 
Reported: 2005-11-21 18:56 UTC by Daniel Macks
Modified: 2005-11-24 11:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
python crashlog from meld crash (20.91 KB, text/plain)
2005-11-21 18:59 UTC, Daniel Macks
Details

Description Daniel Macks 2005-11-21 18:56:37 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).
Comment 1 Daniel Macks 2005-11-21 18:59:14 UTC
Created attachment 55042 [details]
python crashlog from meld crash
Comment 2 bill.haneman 2005-11-23 17:33:46 UTC
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.
Comment 3 Daniel Macks 2005-11-23 21:05:58 UTC
The patch to gailtreeview.c for bug 322044 appears to have cured my crash. Thanks!
Comment 4 bill.haneman 2005-11-24 11:41:47 UTC
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 ***