SVG file found in the wild hangs all firefox tabs
Categories
(Core :: SVG, defect, P3)
Tracking
()
People
(Reporter: bug, Unassigned)
Details
(Keywords: hang)
Attachments
(4 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Steps to reproduce:
- Open one of these webpages (opening the svgs locally does not appear to reliably trigger the hang):
https://github.com/Eugenio-Bruno/svg_crashing_ff/blob/master/original.svg
https://github.com/Eugenio-Bruno/svg_crashing_ff/blob/master/int_to_float.svg
Actual results:
On windows 10 x64:
Every tab, including that one, hangs, and just shows a loading wheel (even if the tab was previously correctly rendered).
On a windows 10 VM this does not happen.
I noticed that these files have a path with huge numbers (>2^50). I hacked together a script to make them smaller (hack.py), resulting in this file which seems not to hang:
https://github.com/Eugenio-Bruno/svg_crashing_ff/blob/master/smaller_nums.svg
Expected results:
Firefox should not hang.
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
Reporter | ||
Comment 3•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
I couldn't reproduce on Ubuntu.
Reporter | ||
Comment 5•5 years ago
|
||
I forgot to mention this, but so far, I've been able to reproduce this only on a physical Windows 10 machine. I can't reproduce on a windows 10 VM, I can't reproduce on linux (I've checked on Antergos), and a friend couldn't reproduce on OSX.
Updated•5 years ago
|
Updated•2 years ago
|
Comment 6•1 year ago
•
|
||
The files in comment 0 have gone, the testcases in the bug don't hang for me.
Updated•1 year ago
|
Description
•