Closed
Bug 1101483
Opened 10 years ago
Closed 1 year ago
Hang for a long time under CGContextDrawPath stroking 8 MB path (browser totally unresponsive on is-rust-slim-yet's use of D3.js)
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: pnkfelix, Unassigned)
References
()
Details
Attachments
(1 file)
7.93 MB,
image/svg+xml
|
Details |
Steps to reproduce: 1. Go to http://huonw.github.io/isrustfastyet/mem/ (aka "is-rust-slim-yet") 2. Let the page attempt to load (the last thing I see in the status bar at the bottom of the window is "Transferring data from c.statcounter.com" 3. Attempt to interact with the browser. Right-click does not work. Switching tabs does not work. The menu on Mac OS X does not work. I have noticed that when I enable E10S with Nightly, then the story here is a little bit better, in that then the problem is isolated to just the window that was used to browse to is-rust-slim-yet. But even there, one still cannot switch to other tabs in that window.
Comment 1•10 years ago
|
||
I can reproduce this, but profiling it with Instruments shows all time spent under mozilla::gfx::DrawTargetCG::Stroke. Also, it recovers after a long while, so it's not a complete iloop.
Component: JavaScript Engine → Graphics
Comment 2•10 years ago
|
||
Needinfo for jwatt after reading his blog posts on the SVG conversion to Moz2D. This is clearly related to SVG rendering and might be a regression from that work. (Also moving component accordingly.)
Component: Graphics → SVG
Flags: needinfo?(jwatt)
![]() |
||
Comment 3•10 years ago
|
||
Flags: needinfo?(jwatt)
![]() |
||
Updated•10 years ago
|
Attachment #8526032 -
Attachment description: reduced testcase → testcase reduced to single, 8 MB path (HANG!)
![]() |
||
Comment 4•10 years ago
|
||
Probably not much we can do about this except for finish bug 939709. (Or the sub-project bug 932958 would fix the canvas equivalent of this, at which time you could switch to canvas until bug 939709 is fixed.)
![]() |
||
Comment 5•8 years ago
|
||
We switched to using Skia as the Moz2D backend on Mac. Once that makes it out in a release build we should retest and close this.
Depends on: skia-osx
![]() |
||
Updated•8 years ago
|
Flags: needinfo?(jmuizelaar)
Updated•2 years ago
|
Severity: normal → S3
Comment 6•1 year ago
|
||
This is working fine now on an M1 mac.
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•