Re: [orca-list] Update on the situation with closing apps hanging Orca: Please resume testing



Hi Joanye.

Now "orca" really close and does not hang.
I immediately managed to catch the oddity that occurs when you close the "gnome-terminal". Here's what I found at the end of the debug file. If need be, I will send debug file completely.


23:22:42 - EVENT MANAGER: Queueing object:state-changed:active [frame | Рабочий стол] (1,0,0) from [application | nautilus]Fatal Python error: Segmentation fault

Stack (most recent call first):
File "/usr/local/lib/python3.5/site-packages/orca/script_utilities.py", line 127 in canBeActiveWindow File "/usr/local/lib/python3.5/site-packages/orca/script_utilities.py", line 144 in <listcomp> File "/usr/local/lib/python3.5/site-packages/orca/script_utilities.py", line 144 in activeWindow File "/usr/local/lib/python3.5/site-packages/orca/input_event.py", line 115 in __init__ File "/usr/local/lib/python3.5/site-packages/orca/event_manager.py", line 684 in _processKeyboardEvent File "/usr/lib/python3.5/site-packages/pyatspi/registry.py", line 190 in eventWrapper File "/usr/lib/python3.5/site-packages/pyatspi/registry.py", line 155 in start File "/usr/local/lib/python3.5/site-packages/orca/orca.py", line 575 in start File "/usr/local/lib/python3.5/site-packages/orca/orca.py", line 726 in main
  File "/usr/local/bin/orca", line 255 in main
  File "/usr/local/bin/orca", line 258 in <module>

Joanmarie Diggs пишет:
Hey again.

This is a good-news, bad-news situation. The good news is that I figured
out why Orca was hanging when AT-SPI2 performed an illegal operation or
the registry crashed. Orca was trying to gracefully handle that
situation. Turns out one should not try to catch synchronous errors that
come from C code. Live and learn. Having removed that handler, Orca will
now crash rather than hang if AT-SPI2 spits up on us. It won't say
goodbye; it will just die. It will also dump out a brief traceback
indicating where the crash occurred. This will hopefully help us to
narrow down where things are failing. That is the good(ish) news.

The bad news is that I've been trying really hard to figure out what
exactly is causing AT-SPI2 to spit up and stop Orca from doing whatever
those things are. That way, Orca would not only not hang, but it would
not crash either. So far, I've not had much luck. As those of you who
have reported the problems have stated, some times it happens; some
times it doesn't. And what the steps to reproduce are can vary. This is
looking like something we need to get fixed in AT-SPI2. Which brings me
to the last thing:

Once again, I want your debug.outs -- captured when using the latest
master. Before you send it, however, please see if the crash is unique.
As an example, here is what I have at the end of my debug.out:

<start of error>
Stack (most recent call first):
   File "/usr/lib/python3.5/site-packages/pyatspi/Accessibility.py", line
56 in Accessible_str
   File "/usr/lib/python3.5/site-packages/orca/event_manager.py", line
248 in _queuePrintln
   File "/usr/lib/python3.5/site-packages/orca/event_manager.py", line
321 in _dequeue
   File "/usr/lib/python3.5/site-packages/pyatspi/registry.py", line 155
in start
   File "/usr/lib/python3.5/site-packages/orca/orca.py", line 575 in start
   File "/usr/lib/python3.5/site-packages/orca/orca.py", line 726 in main
   File "/usr/bin/orca", line 255 in main
   File "/usr/bin/orca", line 258 in <module>
<end of error>

Let's say I have three crashes from using three different apps or steps
to reproduce. If at the end of all three of my debug.out files I have
that very same stack from top to bottom, it's the same crash. It just
happened three times. What I'm interested in is unique crashes/stacks.
Obviously, Kendell won't know what Max's crashes are and vice versa. But
if you could send just those crashes which are unique for you, that
would be helfpul.

Please let me know if you have any questions, and thanks again for your
help in hunting these things down!

--joanie
_______________________________________________
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
Log bugs and feature requests at http://bugzilla.gnome.org



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