Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NielsCodes opened this issue Jan 17, 2022 · 4 comments

Comments

@NielsCodes
Copy link

NielsCodes commented Jan 17, 2022

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
Copy link
Collaborator

@NielsCodes
Copy link
Author

@XhmikosR tested both, still encountered a crash

@XhmikosR
Copy link
Collaborator

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

@XhmikosR XhmikosR changed the title "Show orignal" toggle on Markup tab crashes Chromium browsers on Android "Show original" toggle on Markup tab crashes Chromium browsers on Android Feb 10, 2022
@TPS
Copy link

TPS commented May 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants