Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 107364

Summary: Applet crashes when clicked on
Product: [Fedora] Fedora Reporter: Will Backman <whb>
Component: atkAssignee: Matthias Clasen <mclasen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jrb
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-13 16:50:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 100643    

Description Will Backman 2003-10-17 14:38:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031014

Description of problem:
When the red circle is clicked on, it seg faults.
Same thing if started from the command line as rhn-applet-gui.
This happens is Assistive Technology Support is enabled

Version-Release number of selected component (if applicable):
rhn-applet-2.1.1-1

How reproducible:
Always

Steps to Reproduce:
1. Enable Assistive Technology Support in Preferences
2. Click on rhn-applet
3. Watch crash screen
    

Actual Results:  Seg Fault

Expected Results:  RHN list of available updates

Additional info:

Crash goes away if I turn off assistive technology support and logout.
I don't have to pick a particular type of assistive tech.  Checking the main box
works.  I do have gnopernicus installed, but it does not need to be checked.

Comment 1 Daniel Veillard 2003-10-23 22:29:55 UTC
I reproduced the problem (enable assistive technology, restart desktop,
gdb /usr/bin/pythn and click on the icon when run under gdb):

(gdb) r /usr/bin/rhn-applet-gui
Starting program: /usr/bin/python /usr/bin/rhn-applet-gui
(no debugging symbols found)...(no debugging symbols found)...
                                                                                
...
(rhn-applet:4916): Gnome-WARNING **: Accessibility: failed to find module
'libgail-gnome' which is needed to make this application accessible
GTK Accessibility Module initialized
                                                                                
(rhn-applet:4916): Gnome-WARNING **: Accessibility: failed to find module
'libatk-bridge' which is needed to make this application accessible
                                                                                
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1084615360 (LWP 4916)]
0x01922794 in html_view_accessible_new () from /usr/lib/libgtkhtml-2.so.0
(gdb)
(gdb) where
#0  0x01922794 in html_view_accessible_new () from /usr/lib/libgtkhtml-2.so.0
#1  0x01922324 in html_view_accessible_new () from /usr/lib/libgtkhtml-2.so.0
#2  0x006e3293 in atk_object_initialize () from /usr/lib/libatk-1.0.so.0
#3  0x01922200 in html_view_accessible_new () from /usr/lib/libgtkhtml-2.so.0
#4  0x01922d86 in html_view_accessible_factory_get_type ()
   from /usr/lib/libgtkhtml-2.so.0
#5  0x006e3f86 in atk_object_factory_create_accessible ()
   from /usr/lib/libatk-1.0.so.0
#6  0x011865a5 in gtk_widget_get_accessible ()
   from /usr/lib/libgtk-x11-2.0.so.0
#7  0x01920777 in html_view_new () from /usr/lib/libgtkhtml-2.so.0
#8  0x01186519 in gtk_widget_get_accessible ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0x01235d16 in gail_container_new ()
   from /usr/lib/gtk-2.0/modules/libgail.so
#10 0x01235c7d in gail_container_new ()
   from /usr/lib/gtk-2.0/modules/libgail.so
#11 0x0039cd4e in g_cclosure_marshal_VOID__OBJECT ()
   from /usr/lib/libgobject-2.0.so.0
#12 0x00389cb0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0x0039bbbf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#14 0x0039ac36 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
(gdb)

  Seems this is crashing in gtkhtml2 or in the atk library, I don't
see from a high level python gtk standpoint how the rhn_applet actual
code may be at fault,

Daniel

Comment 2 Daniel Veillard 2003-10-23 22:33:58 UTC
[00:34:15] <owen> DV: Maybe a missing Requires from gtkhtml
[00:34:33] <owen> Do you have libgail-gnome installed?

test:~ -> rpm -q libgail-gnome
package libgail-gnome is not installed
test:~ ->

[00:34:57] <DV> no apparently

Comment 3 Daniel Veillard 2003-10-23 22:35:47 UTC
Adding jrb, apparently he's the expert :-)

Daniel

Comment 4 Jonathan Blandford 2003-10-23 23:08:17 UTC
can you let me know if the crash goes away if you install libgnome-gail?

Comment 5 Daniel Veillard 2003-10-24 10:56:39 UTC
Installed libgail-gnome and at-spi, now at startup the applet emits 
messages about initializing accessibility modules and support, but it
still crashes apparently in a reproductible fashion, an apparently
with a very similar gdb backtrace. 
Everything up2date w.r.t. rawhide today.

Daniel



Comment 6 Matthias Clasen 2004-05-12 21:44:22 UTC
This works for me. Daniel, do you still see it ?