Bug 105157

Summary: [Qt] Crash of qtwebkit on Mac OS X when loading html page with external fonts
Product: WebKit Reporter: japcrword
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: japcrword
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Macintosh   
OS: Unspecified   
Attachments:
Description Flags
test.htm - the page referencing fonts; stack_484.txt - stack trace of a crash none

Description japcrword 2012-12-17 02:27:25 PST
Created attachment 179708 [details]
test.htm - the page referencing fonts; stack_484.txt - stack trace of a crash

How to reproduce:
 1) Run webkit/fancybrowser example.
 2) Drop test.htm onto the browser (attached inside the archive).
 Then
 3) Go back and forward consecutively several times forcing the browser to reload test.htm.
 Or alternatively
 3) Press 'Reload' tool-button several times.

I tested it on Mac OS X 10.7.5. On average it takes me 6 page-refresh operations to crash the app from the qt examples (I ran the app 11 times and only once I couldn't crash it). I tested it with qt 4.7.4 and 4.8.4. It doesn't crash with the pure webkit. A colleague of mine tested it on Mac OS X 10.5 and 10.6 - on 10.6 it reproduces, but on 10.5 it doesn't.

This is similar to https://bugs.webkit.org/show_bug.cgi?id=29570 (which refers to https://bugs.webkit.org/show_bug.cgi?id=29433 as a duplicate although the latter is not about crash). It's unclear whether the crash was fixed or not and in what version. But the latest QtWebKit stable release (2.2.3) still crashes. So if it's already fixed please add a version of QtWebKit where it was fixed.

I attached an archive with html page, necessary fonts and a crash stack trace. This bug was also reported to the qt-bugtracker (https://bugreports.qt-project.org/browse/QTBUG-27972) but they suggested to file it here.
Comment 1 japcrword 2012-12-17 02:30:25 PST
By the 'the latest QtWebKit stable release (2.2.3)' I meant the QtWebKit release that comes with the latest stable Qt-framework release.
Comment 2 Jocelyn Turcotte 2014-02-03 03:23:54 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.