Re: [orca-list] orca crashing on a strange web page



Hey Mike.

I just committed a change to Orca, both the master and 3.36 branches, which hopefully fixes this.

Please let me know. Thanks!
--joanie

On 4/7/20 21:59, Mike Gorse via orca-list wrote:
Hi,

I just came across an orca crash while using Firefox:

- Open https://coronavirus.jhu.edu/map.html
- Keep pressing down arrow / navigate down a few lines past the list of countries

Orca stops running. If I run it from the terminal, I see that it crashed with a stack overflow. The following is printed many times, for v3.36.1:

  File "/usr/lib/python3.8/site-packages/orca/scripts/web/script_utilities.py", line 4624 in findNextCaretInOrder

This bit of code recurses for every child of the parent:

                 if 0 < index < parentChildCount:
                     return self.findNextCaretInOrder(parent[index], -1)

And, somehow, at least on my system, it has come across an image accessible with 2,771 children, all images. Orca dies after reaching 1000+ levels of recursion.

Thanks. Hope everyone is staying safe.

-Mike
_______________________________________________
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]