Re: [g-a-devel] Unknown CORBA exception?



Sam:

I suspect that the application in question might be misbehaving. From the list of applications that show up in accerciser and the set of applications you know are running on the desktop, can you deduce what application might be the dead one?

Will

On Nov 20, 2008, at 9:47 AM, Quiring, Sam wrote:

Will, Nagappan,
 
This is to confirm what Nagappan said - I installed Accerciser onto my Ubuntu system.  The 9th application shows up as <dead>.  It is the 9th application that is causing at-spi to display a message to stderr in my code.  Code and output shown below.
 
-Sam

From: gnome-accessibility-devel-bounces gnome org [mailto:gnome-accessibility-devel-bounces gnome org] On Behalf Of Nagappan A
Sent: Wednesday, November 19, 2008 1:23 PM
To: Willie Walker
Cc: gnome-accessibility-devel gnome org; Quiring, Sam
Subject: Re: [g-a-devel] Unknown CORBA exception?

Hi Will,

This happens in most of the Ubuntu / RHEL systems, some of the application is listed as <dead> in accerciser. In Python, we don't notice them, as we can handle this in try / except block, but in C, we have this limitation :)

Thanks
Nagappan

On Wed, Nov 19, 2008 at 12:18 PM, Willie Walker <William Walker sun com> wrote:
Hi Sam:

I wonder if the application is misbehaving.  Try looking at the desktop
via accerciser and see what it shows.  In addition, in your code, try
printing the accessible name of each object as you get it.  It might
provide some insight into which application might be the source of the
problem.

Will

On Wed, 2008-11-19 at 12:07 -0800, Quiring, Sam wrote:
> Greetings,
>
> I am getting this warning message which looks like a bug to me:
>
>     Warning: AT-SPI error: pre method check: add: Unknown CORBA
> exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
>
> The problem happens as I iterate through the children of the desktop.
> Retriving the 9th child of the desktop causes the warning:
>
>     Accessible *desktop = SPI_getDesktop(0);
>     if(desktop == 0) return 0;
>     int dtChildCount = Accessible_getChildCount(desktop);
>     int child;
>     for(child = 0; child < dtChildCount; child++) {
>         fprintf(stderr, "### before %d/%d\n", child + 1,
> dtChildCount);
>         Accessible *desktopChild = Accessible_getChildAtIndex(desktop,
> child);
>         fprintf(stderr, "### after %d/%d   value: 0x%X\n", child + 1,
> dtChildCount, desktopChild);
>
> here is what the output looks like:
>
> ### before 1/18
> ### after 1/18   value: 0x80BF840
> ### before 2/18
> ### after 2/18   value: 0x80C3D38
> ### before 3/18
> ### after 3/18   value: 0x80C3AA8
> ### before 4/18
> ### after 4/18   value: 0x80C3820
> ### before 5/18
> ### after 5/18   value: 0x80C33E0
> ### before 6/18
> ### after 6/18   value: 0x80C5D48
> ### before 7/18
> ### after 7/18   value: 0x80C5B60
> ### before 8/18
> ### after 8/18   value: 0x80C5848
> ### before 9/18
> Warning: AT-SPI error: pre method check: add: Unknown CORBA exception
> id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
> ### after 9/18   value: 0x0
> ### before 10/18
> ### after 10/18   value: 0x80C5648
>
> Has anyone ever seen this before?  Is there some standard way to code
> around this?  I'm getting the problem very repeatedly in exactly the
> same spot.
>
> -Sam
> _______________________________________________
> Gnome-accessibility-devel mailing list
> Gnome-accessibility-devel gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel

_______________________________________________
Gnome-accessibility-devel mailing list
Gnome-accessibility-devel gnome org
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel



--
Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org
http://nagappanal.blogspot.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]