jakearchibald / svgomg

Web GUI for SVGO

Home Page:https://jakearchibald.github.io/svgomg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Show original" toggle on Markup tab crashes Chromium browsers on Android

NielsCodes opened this issue · comments

When toggling between the original and adapted SVG code on the Markup tab, Chromium browsers on Android will freeze.
Especially when going from the original code back to the adapted code, Chrome will immediately become unresponsive and will eventually throw a "Chrome isn't responding" system message. The same behavior also occurs in other Chromium-based browsers, such as Brave and Opera. Firefox works as expected.

I suspect it's a memory issue. The larger the SVG file, the sooner the crash occurs, but the demo file consistently triggers the issue on my device.

I was unable to recreate the issue when inspecting the device via desktop Chrome and was therefore unable to narrow down the source of this issue.

Tested on Pixel 6 Pro, Android build SQ1D.220105.007.
Chrome version 97.0.4692.87

SVGOMG.Chrome.crash.-.Pixel.6.Pro.mp4

@XhmikosR tested both, still encountered a crash

Then I'd say your best bet is reporting the issue on the Chromium bug tracker (https://bugs.chromium.org/p/chromium/issues/list).

/CC @jakearchibald

commented

If the SVG is quite small (perhaps <5kB), it's fine, but as above for anything substantial. For me, doesn't matter whether original or optimized version, just filesize.