GNOME Bugzilla – Bug 110276
GOK segfaults when trying to access invalid action
Last modified: 2004-12-22 21:47:04 UTC
GOK segfaults when it attempts to access a UI element, menu, or toolbar that is no longer valid (for instance, when the application presenting it has quite and GOK is still displaying the old info).
to reproduce: start GOK and 2 or 3 GNOME apps. cycle though windows until GOK gets confused. Kill the app whose UI is being shown by GOK, then activate the 'dead' UI element via dwell mode. SEGV.
One can build gok with the --enable-logging-normal and the --enable-logging-exceptional flags to produce possibly useful output If you happen to capture this output during a segv session, please attach to this bug.
sure thing David, I'll try to get log output for this soon.
Bill, I believe my commits today should rectify this. I'll leave this bug open for a while to give you time to check.
well I think modulo the 88033 problem with at-spi's weird activate/deactivate ordering, we've gotten rid of the triggering condition. However, bearing in mind that weird stuff does happen, we need to find a way to robustly handle the error condition itself. Will investigate post-GUADEC.
*** Bug 114872 has been marked as a duplicate of this bug. ***
This turns out to be caused by a bug in AT-SPI (at least, in most scenarios - there may be isolated cases where other bugs are still causing problems with state UI components). Fix is in CVS for at-spi (thanks to Michael Meeks).