Re: [orca-list] When testing what looks like an Orca hang



Hi Joanie and all.
When I was trying to reproduce this problem , I found some events that take too long to process.
Here are some examples:

vvvvv PROCESS OBJECT EVENT object:children-changed:add:system vvvvv
OBJECT EVENT: object:children-changed:add:system detail=(1,0,[section | ])
app.name='Firefox' name='None' role='section' state='enabled opaque sensitive showing visible selectable text' relations='' INFO: Getting script for object:children-changed:add:system from [application | Firefox] INFO: Script for object:children-changed:add:system from [application | Firefox] is <orca.scripts.apps.Mozilla.script.Script object at 0x7f2180edbcc0> WEB: Clearing structural navigation cache for [document frame | linux news1 - Pesquisa Google]
ZOMBIE: [section | ]'s index is -1
HACK: Returning None as replicant for Zombie [section | ]
GECKO: Passing along event to default script
TOTAL PROCESSING TIME: 3.2168

vvvvv PROCESS OBJECT EVENT object:children-changed:add:system vvvvv
OBJECT EVENT: object:children-changed:add:system detail=(2,0,[section | ])
app.name='Firefox' name='None' role='section' state='enabled opaque sensitive showing visible selectable text' relations='' INFO: Getting script for object:children-changed:add:system from [application | Firefox] INFO: Script for object:children-changed:add:system from [application | Firefox] is <orca.scripts.apps.Mozilla.script.Script object at 0x7f2180edbcc0> WEB: Clearing structural navigation cache for [document frame | linux news1 - Pesquisa Google]
ZOMBIE: [section | ]'s index is -1
HACK: Returning None as replicant for Zombie [section | ]
GECKO: Passing along event to default script
TOTAL PROCESSING TIME: 2.5770

vvvvv PROCESS OBJECT EVENT object:children-changed:add:system vvvvv
OBJECT EVENT: object:children-changed:add:system detail=(3,0,[section | ])
app.name='Firefox' name='None' role='section' state='enabled opaque sensitive showing visible selectable text' relations='' INFO: Getting script for object:children-changed:add:system from [application | Firefox] INFO: Script for object:children-changed:add:system from [application | Firefox] is <orca.scripts.apps.Mozilla.script.Script object at 0x7f2180edbcc0> WEB: Clearing structural navigation cache for [document frame | linux news1 - Pesquisa Google]
ZOMBIE: [section | ]'s index is -1
HACK: Returning None as replicant for Zombie [section | ]
GECKO: Passing along event to default script
TOTAL PROCESSING TIME: 2.6817

Also I found in the debug file a lot of the  following messages:
----------> QUEUEING OBJECT:STATE-CHANGED:SHOWING [DEAD] (0,0,0) FROM [APPLICATION | GNOME-SHELL]
_toolkitForObject: [DEAD] no longer exists
INFO: object:state-changed:showing for [DEAD] in app [application | gnome-shell]. Who cares? ERROR: object:state-changed:showing from defunct source [DEAD] in app [application | gnome-shell] (0, 0, 0) ----------> QUEUEING OBJECT:STATE-CHANGED:SHOWING [DEAD] (0,0,0) FROM [APPLICATION | GNOME-SHELL]
_toolkitForObject: [DEAD] no longer exists
----------> QUEUEING OBJECT:STATE-CHANGED:SHOWING [DEAD] (0,0,0) FROM [APPLICATION | GNOME-SHELL]
_toolkitForObject: [DEAD] no longer exists
----------> QUEUEING OBJECT:STATE-CHANGED:SHOWING [DEAD] (0,0,0) FROM [APPLICATION | GNOME-SHELL]
_toolkitForObject: [DEAD] no longer exists
----------> QUEUEING OBJECT:STATE-CHANGED:SHOWING [DEAD] (0,0,0) FROM [APPLICATION | GNOME-SHELL]
_toolkitForObject: [DEAD] no longer exists
INFO: object:state-changed:showing for [DEAD] in app [application | gnome-shell]. Who cares? ERROR: object:state-changed:showing from defunct source [DEAD] in app [application | gnome-shell] (0, 0, 0) ----------> QUEUEING OBJECT:STATE-CHANGED:SHOWING [DEAD] (0,0,0) FROM [APPLICATION | GNOME-SHELL]
_toolkitForObject: [DEAD] no longer exists
----------> QUEUEING OBJECT:STATE-CHANGED:SHOWING [DEAD] (0,0,0) FROM [APPLICATION | GNOME-SHELL]
_toolkitForObject: [DEAD] no longer exists
----------> QUEUEING OBJECT:STATE-CHANGED:SHOWING [DEAD] (0,0,0) FROM [APPLICATION | GNOME-SHELL]
_toolkitForObject: [DEAD] no longer exists
----------> QUEUEING OBJECT:STATE-CHANGED:SHOWING [DEAD] (0,0,0) FROM [APPLICATION | GNOME-SHELL]
_toolkitForObject: [DEAD] no longer exists
INFO: object:state-changed:showing for [DEAD] in app [application | gnome-shell]. Who cares? ERROR: object:state-changed:showing from defunct source [DEAD] in app [application | gnome-shell] (0, 0, 0)


Another strange thing, at least in my opinion:
DEQUEUED OBJECT:STATE-CHANGED:EXPANDED [LINK | NOTIFICAÇÕES DO GOOGLE] (0,0,0) FROM [APPLICATION | FIREFOX] <----------

vvvvv PROCESS OBJECT EVENT object:state-changed:expanded vvvvv
OBJECT EVENT: object:state-changed:expanded detail=(0,0,0)
app.name='Firefox' name='Notificações do Google' role='link' state='enabled expandable focusable focused opaque sensitive showing visible selectable text' relations='' INFO: Getting script for object:state-changed:expanded from [application | Firefox] INFO: Script for object:state-changed:expanded from [application | Firefox] is <orca.scripts.apps.Mozilla.script.Script object at 0x7f2180edbcc0>
TOTAL PROCESSING TIME: 0.0007
^^^^^ PROCESS OBJECT EVENT object:state-changed:expanded ^^^^^

WEB: Results for text at offset 0 for [image | Google] using TEXT_BOUNDARY_SENTENCE_START:
     String: '', Start: 0, End: 1. (queryNonEmptyText() returned None)
WEB: Results for text at offset 0 for [push button | Pesquisa Google] using TEXT_BOUNDARY_SENTENCE_START:
     String: '', Start: 0, End: 1. (queryNonEmptyText() returned None)
FAIL: Bad results for text at offset 0 for [combo box | Pesquisar] using TEXT_BOUNDARY_SENTENCE_START:
      String: '', Start: 0, End: 0.
      The bug is no text reported for a valid offset.
      Character count: 11, Full text: 'linux news1'.
      This very likely needs to be fixed by the toolkit.
HACK: Attempting to recover from above failure.
      String: 'linux news1', Start: 0, End: 12.
FAIL: Bad results for text at offset 0 for [section | ] using TEXT_BOUNDARY_SENTENCE_START:
      String: '', Start: 0, End: 0.
      The bug is no text reported for a valid offset.
      Character count: 3, Full text: 'Web'.
      This very likely needs to be fixed by the toolkit.
HACK: Attempting to recover from above failure.
      String: 'Web', Start: 0, End: 4.
INFO: Generating speech contents (length: 1)
ITEM 0: [image | Google], start: 0, end: 1, string: ''

INFO: Generating speech for document object [image | Google]

PREPARATION TIME: 0.0004
generate speech for unfocused app.name='Firefox' name='Google' role='image' state='enabled opaque sensitive visible' relations='' (args={'startOffset': 0, 'endOffset': 1, 'formatType': 'unfocused', 'role': <enum ATSPI_ROLE_IMAGE of type AtspiRole>, 'mode': 'speech', 'eliminatePauses': True, 'recursing': True, 'string': '', 'index': 0, 'total': 1}) using 'oldAncestors + newAncestors + labelAndName + roleName + newNodeLevel + unselectedCell + clickable + hasLongDesc + (tutorial and (pause + tutorial) or []) + description'
GENERATION  TIME: 0.0002  ---->  oldAncestors=[]
GENERATION  TIME: 0.0001  ---->  newAncestors=[]
GENERATION TIME: 0.0005 ----> labelAndName=['Google', {'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}] GENERATION TIME: 0.0012 ----> roleName=['image', {'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}, 'link', {'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}, 'heading level 1', {'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}]
GENERATION  TIME: 0.0003  ---->  newNodeLevel=[]
GENERATION  TIME: 0.0001  ---->  unselectedCell=[]
GENERATION  TIME: 0.0003  ---->  clickable=[]
GENERATION  TIME: 0.0004  ---->  hasLongDesc=[]
GENERATION  TIME: 0.0001  ---->  tutorial=[]
GENERATION  TIME: 0.0002  ---->  description=[]
COMPLETION  TIME: 0.0039
generate speech results:
  Google
{'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}
  image
{'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}
  link
{'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}
  heading level 1
{'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}

INFO: Speech generation for document object [image | Google] complete:
['Google', {'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}, 'image', {'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}, 'link', {'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}, 'heading level 1', {'rate': 80.0, 'gain': 10.0, 'family': {'dialect': None, 'name': 'espeak default voice', 'locale': 'en'}}]

DEQUEUED OBJECT:TEXT-CHANGED:DELETE:SYSTEM [STATUS BAR | READ CLIENTS5.GOOGLE.COM] (5,3,WWW) FROM [APPLICATION | FIREFOX] <----------

Where is the "speech output" message and the "TOTAL PROCESSING TIME" information?
Thanks.

On 09/26/2015 05:54 PM, Joanmarie Diggs wrote:
Hey José, all.

Thanks for trying. Seems we have both a speech-dispatcher and <something
else> bug on our hands. I still cannot reproduce this, so I reviewed all
the debug.outs sent thus far and added some sanity checks and still more
debugging output. If I'm lucky, the sanity checks will prevent the
problem; if not, maybe the more verbose output will point me closer to
the source of the issue.

Long way of saying: Everyone testing for this problem please pull master
and keep testing. And the resulting debug.out output continues to be
very much wanted.

As always, I really appreciate it!
--joanie

On 09/26/2015 08:23 AM, José Vilmar Estácio de Souza wrote:
Hi Joanie and all.
I just get a freeze while doing a google search.

While in FF I pressed ctrl+k,  typed 'linux news' and press the enter key.
After that orca stops. I open a terminal session, kill speech-dispatcher
but orca stays mute. The solution was restart orca.
I tried to execute the same steps but the problem didn't happen again.

Seems that the problem happens when I am using firefox.
Thanks.


On 09/25/2015 11:58 PM, Joanmarie Diggs wrote:
Hey all.

Three of you have reported that Orca is hanging/freezing. And I keep not
being able to reproduce it. In one instance, however, it looks like Orca
is not hanging or freezing, but instead is continuing to work. Speech
Dispatcher may have crashed though.

I'm still trying to debug this because, again, I cannot reproduce it as
reported. However, in the case of B.H.'s offending bookmark link, I did
a quick test with spd-say: If in a terminal without Orca running I do:

      spd-say "hello world"

I hear "hello world". But if I replace the string in quotes with the
full URL of doom from B.H., I hear nothing and speech-dispatcher dumps
core. If I have Orca speak the string, however, I hear the string as
expected. So I don't know if I'm doing something "wrong" trying to
reproduce the problem, or if we're using different versions of
speech-dispatcher and mine doesn't have the bug -- or doesn't have the
bug when using speech-dispatcher's API.

Regardless, for those of you experiencing what we have been assuming is
Orca freezing/hanging, when the problem occurs please try the following:

1. Leave Orca running; do not --replace it or terminate it.
2. In a terminal or run dialog, type 'sudo pkill -9 speech*'
3. Alt+Tab around and see if Orca starts speaking again

If it Orca magically resumes working just as a result of killing
speech-dispatcher, knowing that would be helpful.

In addition, if you happen to capture a full debug.out, before you send
it to me search it for the lines which contain "SPEECH OUTPUT:" and ask
yourself: Did I hear Orca say that? If the answer is "no", please
include in your email the start of the series of things you didn't hear.
If speech-dispatcher is crashing, it would be good to have some idea of
what is making it unhappy.

Thanks for all your help with this!
--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

--
José Vilmar Estácio de Souza



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