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 329230 - Apparent infinite recursion (or loop) in gail combo box logic
Apparent infinite recursion (or loop) in gail combo box logic
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: gail
git master
Other Linux
: Normal critical
: ---
Assigned To: bill.haneman
bill.haneman
AP0
Depends on:
Blocks:
 
 
Reported: 2006-01-30 16:22 UTC by Willie Walker
Modified: 2006-02-13 07:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Stack trace (40.51 KB, application/octet-stream)
2006-01-30 16:23 UTC, Willie Walker
Details

Description Willie Walker 2006-01-30 16:22:38 UTC
When running gedit with accessibility enabled, one can reliably get gedit to seg fault when attempting to navigate to a combo box.  To do so:

  Platform: Base GNOME 2.12.1 system - Ubuntu 5.10
  Mods:     atk, gail, libgail-gnome, at-spi from GNOME CVS HEAD
            as of 30-Jan-2005, 10:30AM EST, built --with-debug.

  Test:     1) gdb gedit; run
            2) Make a change in the text area
            3) Press Ctrl+Q to quit - select "Save" in the
               resulting dialog box.
            4) Press down arrow in the "Save as..." box.
            5) Gedit will crash in a second or so.

The attached stack trace is a snapshot of the last 399 frames of the stack.  It looks like something might be running amok with the relationship between the combo popup and the combo box itself.
Comment 1 Willie Walker 2006-01-30 16:23:31 UTC
Created attachment 58404 [details]
Stack trace
Comment 2 bill.haneman 2006-01-30 16:32:02 UTC
Thanks Will.

Odd that this just popped up recently.  I wonder if the signal emission order has changed, or something?  I don't think gailcombo has changed recently, but I could be wrong (there _was_ a patch to change the recognized roles, IIRC).
Comment 3 Willie Walker 2006-02-01 17:08:56 UTC
I've also been able to reproduce what seems to be a nearly identical stack trace when running gtk-demo.  The steps to reproduce in gtk-demo are quite simple:

1) Run gtk-demo
2) Double click on the "Combo boxes" demo
3) gtk-demo will crash

When looking at the crash in gdb, I see a strikingly similar stack.  You mentioned that some changes went in at one time from somewhere (China?) that may have been related to combo boxes.  Perhaps that might have introduced this crash?

Comment 4 bill.haneman 2006-02-09 14:30:51 UTC
This problem was introduced by this patch:
http://bugzilla.gnome.org/attachment.cgi?id=57535

for bug 323245.  I have reverted the patch, and am closing this bug.  However, the problem in 323245 merits additional investigation.