Firefox hangs for long time when opening box.com document (thousands of <use> elements)

NEW
Unassigned

Status

()

Core
SVG
3 years ago
2 months ago

People

(Reporter: yury, Unassigned)

Tracking

(Depends on: 1 bug, {perf})

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox28- affected, firefox29 affected, firefox30 affected)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Opening https://app.box.com/s/euscsfh0h9pgbeqq57g4 causes FF not to respond for some time. CPU spikes to 100%.
(Reporter)

Comment 1

3 years ago
Created attachment 8366685 [details]
reduced test case
(Reporter)

Updated

3 years ago
Component: Untriaged → SVG
Product: Firefox → Core

Comment 2

3 years ago
The document seems to consist of 4.5 MB of <use> elements. It hangs Opera 12 too.
Duplicate of this bug: 969296
status-firefox28: --- → affected
tracking-firefox28: --- → ?
OS: Mac OS X → All
Hardware: x86 → All
I guess firefox 29 and 30 are also affected?
status-firefox29: --- → ?
status-firefox30: --- → ?
tracking-firefox28: ? → +
status-firefox29: ? → affected
Can we find out how far back this reproduces? That might help also determine if this is a bug on the Firefox side or something with the web content.
status-firefox30: ? → affected
Keywords: regressionwindow-wanted
(Reporter)

Comment 6

3 years ago
I don't think it a regression, the SVG that is generated by conversion of PDF content. The content contains lots of elements as mentioned in comment 2. I think all browsers will have issue with this SVG - it might take long time to render it, but we shall not lock the main thread because of it.

Comment 7

3 years ago
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/b370698fb55c
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a1) Gecko/20110521 Firefox/6.0a1 ID:20110521173635
Bad:
http://hg.mozilla.org/mozilla-central/rev/76f08a32c046
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a1) Gecko/20110521 Firefox/6.0a1 ID:20110521181806
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b370698fb55c&tochange=76f08a32c046

Triggered by: Bug 308590

Updated

3 years ago
Blocks: 308590
Keywords: regressionwindow-wanted → regression

Comment 8

3 years ago
Without bug 308590 we ignore the use elements so it's not really a regression as the testcase data is mostly ignored prior to that bug.
no longer tracking based on comment 8 stating this is not a regression and this being in product for a long time.
tracking-firefox28: + → -
(Reporter)

Updated

3 years ago
Duplicate of this bug: 1053870

Updated

2 months ago
Depends on: 869505
Keywords: regression → perf

Updated

2 months ago
Summary: Firefox is unresponsive for long time when opening box.com document → Firefox hangs for long time when opening box.com document (thousands of <use> elements)
You need to log in before you can comment on or make changes to this bug.