Bug 20641

Summary: REGRESSION: Crash in GlyphPage::fill on more complex mapping applications
Product: WebKit Reporter: Andreas Neumann <a.neumann>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Critical CC: ap, eric, hyatt, mitz, rindahl
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.carto.net/williams/yosemite/
Attachments:
Description Flags
Crashlog of the Yosemite Mapping Example
none
Crashlog of the Geophoto Mapping Example
none
Crashlog of the Yosemite Example, G4 Powerbook Tiger none

Description Andreas Neumann 2008-09-04 02:07:53 PDT
On some of my more complex SVG mapping examples I get crashes with the current nightlies.

Here are two URLs where I get the crashes:
http://www.carto.net/williams/yosemite/
http://www.geofoto.ch/geophotomap/

It is hard to isolate the problem, but maybe someone could read something from the crash-logs. I can certainly help to investigate the problem with your help.

Thanks for having a look at these two examples.
Comment 1 Andreas Neumann 2008-09-04 02:10:04 PDT
Created attachment 23160 [details]
Crashlog of the Yosemite Mapping Example
Comment 2 Andreas Neumann 2008-09-04 02:10:51 PDT
Created attachment 23161 [details]
Crashlog of the Geophoto Mapping Example
Comment 3 Eric Seidel (no email) 2008-09-04 02:18:47 PDT
Seems we're passing bad stuff off into the font system.
Comment 4 Mark Rowe (bdash) 2008-09-04 02:34:59 PDT
<rdar://problem/6195656>
Comment 5 Bruce Rindahl 2008-09-04 05:43:09 PDT
I am not seeing this bug yet on windows r36012.  Maybe it happened after this nightly.  I will check when the next windows build is posted.
Comment 6 Andreas Neumann 2008-09-04 05:50:07 PDT
could be that it only happens on Mac? The bug has been around for a while on my machine, but I only reported it now.

The SVG fonts might be an issue. Both examples use SVG fonts.

(In reply to comment #5)
> I am not seeing this bug yet on windows r36012.  Maybe it happened after this
> nightly.  I will check when the next windows build is posted.
> 
Comment 7 Alexey Proskuryakov 2008-09-08 03:12:09 PDT
I cannot reproduce this with a local build of r36264 - but from the looks of the crash log, the problem may easily be Tiger-only.
Comment 8 Andreas Neumann 2008-09-08 11:07:05 PDT
I was just testing the issue on a G4 Powerbook, also Tiger. It also crashes. I will also submit the crashlog from the G4.
Comment 9 Andreas Neumann 2008-09-08 11:08:11 PDT
Created attachment 23268 [details]
Crashlog of the Yosemite Example, G4 Powerbook Tiger
Comment 10 mitz 2008-09-08 12:09:22 PDT
Any idea when the regression occurred?
Comment 11 Andreas Neumann 2008-09-08 12:11:55 PDT
I don't know when it appeared.

I know that it is at least 3 weeks old - but it may be older. I was busy back then and did not do a lot of testing.
Comment 12 Eric Seidel (no email) 2008-10-02 12:56:02 PDT
I'm not able to reproduce this.
Comment 13 Alexey Proskuryakov 2008-10-02 13:15:39 PDT
I couldn't reproduce the crash in a few minutes of testing on Tiger either. But please feel free to re-open if this still happens to you. You may want to clear OS font caches and/or to try from a different user account, too.
Comment 14 Andreas Neumann 2008-10-02 13:44:45 PDT
(In reply to comment #13)

indeed it only appears on one user account. When logging in with another (fresh) user account, the problem does not appear - also, meanwhile I have Leopard on the machine and Tiger now on an external disk. On Leopard (with a new user account) the problem doesn't appear either.

How do I empty the OS font-cache?

> I couldn't reproduce the crash in a few minutes of testing on Tiger either. But
> please feel free to re-open if this still happens to you. You may want to clear
> OS font caches and/or to try from a different user account, too.
> 
Comment 15 Alexey Proskuryakov 2008-10-02 23:11:50 PDT
(In reply to comment #14)
> How do I empty the OS font-cache?

I'd just delete everything in ~/Library/Caches, /Library/Caches, and /System/Library/Caches, and reboot. But there are multiple "cache cleaner" utilities with nice GUIs to be found on MacUpdate or VersionTracker.