Bug 11429 - Startup crash on Qt platform
Summary: Startup crash on Qt platform
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 420+
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-27 04:33 PDT by Zack Rusin
Modified: 2006-10-31 10:33 PST (History)
0 users

See Also:


Attachments
Mentioned patch to fix the crash. (920 bytes, patch)
2006-10-27 04:34 PDT, Zack Rusin
no flags Details | Formatted Diff | Diff
Updated patch with ChangeLog (1.40 KB, patch)
2006-10-30 11:58 PST, Nikolas Zimmermann
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zack Rusin 2006-10-27 04:33:19 PDT
When calling FrameQtClient::openUrl for the first time, the owned frames doesn't have a document set on it at all. In turn ResourceLoader depends on the DocumentLoader in order to work and Qt's ResourceLoaderManager depends on it being present in order to set Frame (in order to call checkLoaded). openUrl used to let through creation of ResourceLoader with no parent document which causes crashes due to above described dependencies. The patch explictly creates an empty document if one isn't already present.
Comment 1 Zack Rusin 2006-10-27 04:34:41 PDT
Created attachment 11237 [details]
Mentioned patch to fix the crash.
Comment 2 Nikolas Zimmermann 2006-10-30 11:58:26 PST
Created attachment 11288 [details]
Updated patch with ChangeLog
Comment 3 Anders Carlsson 2006-10-30 11:59:05 PST
Comment on attachment 11288 [details]
Updated patch with ChangeLog

r=me
Comment 4 Anders Carlsson 2006-10-30 11:59:15 PST
Comment on attachment 11288 [details]
Updated patch with ChangeLog

r=me
Comment 5 Alexey Proskuryakov 2006-10-31 10:33:00 PST
This was landed by Anders in r17441.