Closed Bug 295578 Opened 20 years ago Closed 19 years ago

Very small dashed array crashes or hangs DeerPark. [@ gdiplus.dll]

Categories

(Core :: SVG, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: paul, Unassigned)

Details

(Keywords: crash, hang)

Crash Data

Attachments

(5 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050524 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050524 Firefox/1.0+

The attached SVGs crash DeerParks SVG. It seems to be related to the speed of
the pc / mac and the size of the SVG. i.e. 2.4Meg P4 XP Pro Pentium PC will cope
with verysmallGraph.SVG and smallGraph.SVG, 1.25Meg Mac v10.2 PowerBook G4 will
cope with smallGraph.SVG, 800Meg Mac v10.1.5 G4 won't even start!? Note: it
doesn't appear to be memory as 800Meg G4 has most.
IE and Adobe SVG will do all graphs and much, much bigger ones.

Reproducible: Always

Steps to Reproduce:
1. Try and display the attached graphs

Actual Results:  
'Expectectedly quit'

Expected Results:  
Displayed a temperature line graph, clicking on graph allows navigation.
Attached image A very small line graph
works in all but my slowest G4 mac
Works on my quickest Mac and faster PC
Attached image Larger graph
Only works on my fastest machine, 2.4Meg P4
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050526
Firefox/1.0+ ID:2005052615

case 1,2 work but case 3 locks Firefox with a 100% load

AMD-850 + 512Mb ram
Status: UNCONFIRMED → NEW
Ever confirmed: true
I only get a hang not a crash, reporter if possible can you list some talkback
ids please.

->Core: SVG
Assignee: nobody → general
Severity: normal → critical
Component: General → SVG
Keywords: crash, hang
OS: MacOS X → All
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
I need some help on the talkback id. I don't think the nightly build has
talkback in (or I don't understand how to use it) and I have no way to build
DeerPark. Can some one tell me where I can get a talkback build (Windows XP is
most convenient)? .
I've been trying to track down if it's just some particullar aspect of the svg
(the path, the clipping e.t.c.) but it could be any part of the whole as there
even appears to be a difference between commenting out lots of code and actually
removing it!?
(In reply to comment #6)
> I need some help on the talkback id. I don't think the nightly build has
> talkback in (or I don't understand how to use it) and I have no way to build
> DeerPark. Can some one tell me where I can get a talkback build (Windows XP is
Win32:
http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/pacifica-trunk/
and they have talkback included
Graph.svg incident on Windows XP ID: TB6167871E
Summary: Complex SVG 'enexpectedly quits' DeerPark. → Complex SVG 'enexpectedly quits' DeerPark. [@ gdiplus.dll]
Attached file TB6167871E
the very small graph was filling my screen with about 4 oversized letters, 'ple'
or something like that, may have been part of 'complex'
I wanted to add a screenshot, but now can´t access svg.
Default entry for svg in Windows registry is the inkscape editor, and when I try
to open the testcase I get asked to download  or open with default. I tried to
add svg to the extension list, to no avail, but now I can´t open svg from disk.
Next nightly I´ll retest with a fresh profile.
I've track the problem down to a problem with very small scaled down dashed arrays!
I've send a TalkBack id TB6191282E which is the crash from the
'SmallDashArray.svg' that I'll attach in a mo. The offending line is heavilly
commented.
This appears to be the minimum needed to reproduce the problem.
The heavily commented (very) small dashed array causes the  problem.
Summary: Complex SVG 'enexpectedly quits' DeerPark. [@ gdiplus.dll] → Very small dashed array crashes or hangs DeerPark. [@ gdiplus.dll]
(In reply to comment #10)
> I wanted to add a screenshot, but now can�t access svg.
> Default entry for svg in Windows registry is the inkscape editor, and when I try
> to open the testcase I get asked to download  or open with default. I tried to
> add svg to the extension list, to no avail, but now I can�t open svg from disk.
> Next nightly I�ll retest with a fresh profile.
rename it from .svg to .xml and you'll be able to open it

Attachment #184571 - Attachment mime type: image/svg → image/svg+xml
Attachment #184572 - Attachment mime type: image/svg → image/svg+xml
Attachment #184573 - Attachment mime type: image/svg → image/svg+xml
Attachment #184748 - Attachment mime type: image/svg → image/svg+xml
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
No specific bug / patch referenced as the fix.

-> WORKSFORME
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WORKSFORME
Sorry if I was wrong to changed it to fixed but I'd just tried my tests with the Mozilla 1.5 Release Candidate and it would have appeared to have been fixed (maybe as a reult of something else!?).
(In reply to comment #15)
> Sorry if I was wrong to changed it to fixed but I'd just tried my tests with
> the Mozilla 1.5 Release Candidate and it would have appeared to have been fixed
> (maybe as a reult of something else!?).

The something else is the use of Cairo, GDIplus.dll isn't needed anymore.
So this bug also could be NOT fixed, as nobody tested a build which doesn't work without GDIplus.dll. You can't test this bug using a build which also works without GDIplus.dll.
A bug is resolved fixed only when it is known which checkin fixed it, here you are testing a workaround, you don't know if it got fixed. So somebody looking here to get the last build using GDI doesn't know where to get it, or if it is working.

wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.9a1) Gecko/20051106 SeaMonkey/1.5a

No GDIplus.dll, tested working on http://www.croczilla.com/svg/samples/
tested not crashing on testcases here.

wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8) Gecko/20051025 Firefox/1.5

"moderately sized line graph" Attachment 184572 [details] and "Larger graph" Attachment 184573 [details] are missing the 2 resp. 1 colored vertical lines (cursors?)

 
Crash Signature: [@ gdiplus.dll]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: