Re: [orca-list] Freezes in Cawbird Twitter client



Thanks for tracking that down. I'll release a pyatspi 3.38.1 after I've fixed it.

On Wed, 10 Mar 2021, Joanmarie Diggs wrote:

Hi again.

I just confirmed that Orca is hanging due to a call to pyatspi's
findAncestor. I filed
https://gitlab.gnome.org/GNOME/pyatspi2/-/issues/7

Locally I did an early return if the object claims to be its parent and
Orca master now doesn't hang when using cawbird.

<snark>Instead, Orca says too much because the cawbird links in
question don't have a name or text, and are inside an ancestor label
which consists of the full tweet text. Yay?</snark>

--joanie

On Wed, 2021-03-10 at 10:30 +0100, Joanmarie Diggs wrote:
Thanks Mike.

Orca has sanity checks for the condition of an object reporting itself
as its own parent. But I just found one case where that sanity check
isn't happening. I just committed a change in Orca master to handle
that.

I've not yet installed pyatspi with your fix, but another *possible*
place where sanity checking in pyatspi may be needed is in
findAncestor. Orca uses that utility quite a bit.

--joanie

On Tue, 2021-03-09 at 19:33 -0600, Mike Gorse via orca-list wrote:
Hi Joanie,

I believe I've fixed the pyatspi issue you reported (and now I can
reproduce the problem, now that I have cawbird installed), but it
looks as
though something in orca (or possibly another utility function in
pyatspi)
is also contributing to a freeze. I'd like to figure out if I can get
gdb
to give me a python stack trace, but, if I set a breakpoint on
atspi_accessible_get_parent, then I see a viewport object reporting
itself
as its own parent, which shouldn't be happening, and it doesn't
surprise
me that this seems to be causing problems.

On Tue, 9 Mar 2021, Joanmarie Diggs wrote:

I'm afraid this needs to be fixed in pyatspi:
https://gitlab.gnome.org/GNOME/pyatspi2/-/issues/6

--joanie

On Mon, 2021-03-08 at 20:50 +0100, Francisco Javier Dorado Martinez
via
orca-list wrote:
Hello everyone!

Hope you are fine.

killer whale less scary.

Cawbird is a GTK Twitter client, next generation of Corebird.

https://github.com/IBBoard/cawbird

order to continue working.

I am using Orca 40.RC in Ubuntu 20.04.2.

1. Open Cawbird

2. Press enter on any tweet of your timeline

3. Press tab key until a link


I can see following in terminal running Orca:

(orca:125065): dbind-CRITICAL **:
20:23:04.565:
atspi_accessible_set_cache_mask: assertion 'accessible ==
accessible->parent.app->root || accessible->role ==
ATSPI_ROLE_APPLICATION' failed

(orca:125065): dbind-CRITICAL **:
20:23:04.574:
atspi_accessible_set_cache_mask: assertion 'accessible ==
accessible->parent.app->root || accessible->role ==
ATSPI_ROLE_APPLICATION' failed


^[[2~qTerminado (killed)


My Orca debug file is at:

https://paste.ubuntu.com/p/gS7p8nQ7cB/


What could we do to protect ourselves from this?

Many thanks regards and take care!

Javier



_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html



_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html



_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html






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