Bug 459275

Summary: at-spi spewing incessant useless warnings to stderr, filling up disk
Product: [Fedora] Fedora Reporter: Jarod Wilson <jarod>
Component: at-spiAssignee: Matthias Clasen <mclasen>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: marco.crosio
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-23 23:36:58 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:

Description Jarod Wilson 2008-08-15 16:16:05 UTC
Description of problem:
Looks like at-spi is stupidly spewing some warning messages to stderr, which winds up dumping them into ~/.xsession-errors. One particular error...

(gnome-terminal:3616): atk-bridge-WARNING **: failure: no device event controller found.

...has been repeating over and over and over and over, to the tune of a 43G ~/.xsession-errors file on my laptop in a mere day and a half of uptime.

Looks like the culprit is somewhere in libatk-bridge.so.


Version-Release number of selected component (if applicable):
at-spi-1.23.6-1.fc10


How reproducible:
not exactly sure. I don't actually *use* any of this accessibility stuff...

Comment 1 Jarod Wilson 2008-08-15 17:52:53 UTC
I think this might do the trick:

--- at-spi-1.23.6.orig/atk-bridge/bridge.c	2008-08-15 13:23:16.000000000 -0400
+++ at-spi-1.23.6/atk-bridge/bridge.c	2008-08-15 13:26:15.000000000 -0400
@@ -470,7 +470,7 @@ spi_atk_bridget_get_dec (void)
 
   if (BONOBO_EX (&ev))
     {
-      g_warning (_("failure: no device event controller found.\n"));
+      DBG (1, g_warning (_("failure: no device event controller found.\n")));
       registry_died = TRUE;
       device_event_controller = CORBA_OBJECT_NIL;
     }

Comment 2 Matthias Clasen 2008-08-15 18:20:50 UTC
That looks fine, feel free to put that patch into rawhide or where you need it when koji comes back.

Comment 3 Matthias Clasen 2008-08-15 18:23:11 UTC
Upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=547943

Comment 4 Jarod Wilson 2008-08-20 13:35:13 UTC
Okay, patch has been added to rawhide and at-spi-1.23.6-2.fc10 has been tagged. Build hosts still offline though.

Comment 5 Matthias Clasen 2008-08-23 23:36:58 UTC
I've built it now