Closed Bug 1293134 Opened 9 years ago Closed 9 years ago

Firefox becomes unresponsive by opening SVG with blend modes and replicate

Categories

(Core :: Graphics, defect)

48 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1293586

People

(Reporter: david.dailey, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586 Steps to reproduce: Firefox crashes https://ello.co/ddailey/post/hwqd8hmolnwx7-vp4zocfq or http://cs.sru.edu/~ddailey/svg/modifier3RBlendSnapMode.svg Actual results: firefox crashes. It starts to render the page and then gives up. Two different contexts as seen above. Expected results: It works as expected in Chrome. Simpler examples without blendmode work fine in FF and Chrome. http://cs.sru.edu/~ddailey/svg/modifier3.svg
Flags: needinfo?(david.dailey)
When I type about:crash into https://support.mozilla.org/en-US/kb/mozillacrashreporter I get "well that didn't work" The crash is pretty reliable from two different machines (both running windows) One has version 47.0.1 -- the other is very close, version wise
Please enter "about:crashes" in location bar and hit enter
Not sure if this gives us anything Submitted Crash Reports Report ID Date Submitted bp-614eb7f7-a511-4a31-86ca-2c0bf2160130 1/30/2016 9:01 AM bp-3648183b-415e-4101-b09e-f6add2150524 5/24/2015 2:08 PM Do I need to turn on somethi8ng?
Those are very old crash reports. If the crash happens, do you see crash reporter? If so, can you send the crash report? so that the report will be shown in about:crashes.
I just looked at the Startup by Time of Day plot and perhaps it is not a "crash" per se but what Robert Longson (of Mozilla) calls a perpetual delay (or words to that effect) What I see is that Firefox for Windows on loading those pages "becomes unresponsive" and that is the message that I get from Windows.
So, Firefox process doesn't crash until you terminate the process forcibly, right?
(In reply to Tooru Fujisawa [:arai] from comment #7) > So, Firefox process doesn't crash until you terminate the process forcibly, > right? or, you can terminate Firefox process normally?
Right, yes, I need to do CTRL ALT DELETE to bring up task manager and then end the Firefox process which is shown as not responding. Or just now I tried it again and after Firefox itself showed (in the top title bar) "not responding" I was able to terminsate the process from within firefox. When I relaunch Firefox it says "this is embarrassing" and does not provide a tab for the previous session that cause the crash
Actually I take that back, It did provide a tab for https://ello.co/ddailey -- which is one of the locations where the page occurs. When I scroll down (to where the page exists in an HTML <img>) that's when the hang happens -- or if I go directly to https://ello.co/ddailey/post/hwqd8hmolnwx7-vp4zocfq or the img src at http://cs.sru.edu/~ddailey/svg/modifier3RBlendSnapMode.svg
okay, thanks :) Can you confirm that the issue happens also with safe mode? https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Component: Untriaged → SVG
Product: Firefox → Core
Summary: crash caused by blend modes and replicate → Firefox becomes unresponsive by opening SVG with blend modes and replicate
Dang! Putting into safe mode makes the page load properly. Funny thing is: I tried it in two machines. One old with lots of apps. The other is brand new (as of a couple of weeks ago). I did not intentionally enable any Firefox plugins (unless things came through a) Adobe Cloud b) putty c) FileZilla or a couple of other possibilities Anyhow, it looks like it is not a Firefox bug, since after disabling plugins, as recommended, the animation works as expected in Firefox.... odd since I've never seen this before, in many years of using FF and reporting bugs (quite naively, I'll admit) DD
As it's related to graphics, it might be caused by hardware acceleration, since hardware acceleration is also disabled in safe mode. Can you also check with new profile? https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles If the issue happen with new profile, it won't be an issue with extensions.
I'll have to look into this later. I did try (quasi systematically and quasi-randomly based on what I knew of plugins) disabling plugins several at a time. The problem still happened even with mostly all plugins disabled, giving circumstantial support fot the hardware acceleration idea. I can add that I was utterly amazed to see that this example worked as well as it did in Chrome, because, when working in FF, it is pretty slow.-- Oh and that reminds me that I think it was working in FF earlier in the day while I was testing the thing.... that's all I can say tonight though.
I restarted Firefox with a new profile (it then launched the app called "Nightly") The page did not cause a crash, however there was a significant flaw in the rendering: the blend-modes circle { mix-blend-mode: difference; } is not activated at all (as it is and should be in Chrome. Not sure how to categorize the problem now. A simpler example using blend modes https://ello.co/ddailey/post/aurnsiaimc_sakurrg33fa does work fine in Firefox. And when I returned to the page using the new profile in Firefox (rather than Nightly), the page hangs again.
thanks again :) sounds like it's mostly hardware acceleration issue. does the issue disappear when you uncheck "Use hardware acceleration when available" in about:preferences "Advanced" pane? if it doesn't happen without hardware acceleration, it would be the same issue as bug 1293586.
See Also: → 1293586
When I turned off hardware acceleration both problems (hanging and not rendering the blend modes) go away.
thanks!
Component: SVG → Graphics
Flags: needinfo?(david.dailey)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.