Bug 11190 - Windows build crashes upon loading a page
Summary: Windows build crashes upon loading a page
Status: RESOLVED DUPLICATE of bug 11139
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 420+
Hardware: PC Windows XP
: P2 Critical
Assignee: Dex Deacon
URL:
Keywords:
Depends on: 11139
Blocks: 11162
  Show dependency treegraph
 
Reported: 2006-10-06 11:55 PDT by Dex Deacon
Modified: 2007-10-01 09:12 PDT (History)
2 users (show)

See Also:


Attachments
Temporary crash fix (1.50 KB, patch)
2006-10-06 11:58 PDT, Dex Deacon
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dex Deacon 2006-10-06 11:55:15 PDT
WebKit crashes in WebFrame::loadDataSource() when dereferencing the NULL pointer d->frame->document().
Comment 1 Dex Deacon 2006-10-06 11:58:30 PDT
Created attachment 10950 [details]
Temporary crash fix

This fixes the crash, but it's a hack.
Comment 2 Darin Fisher (:fishd, Google) 2006-10-08 09:29:30 PDT
hmm, i wonder why it did not crash for me.  i was able to load many pages without any problems.  hmm...
Comment 3 Darin Fisher (:fishd, Google) 2006-10-08 10:13:07 PDT
It turns out that this bug is not reproducible in Spinneret because Spinneret calls IWebFrame::loadHTMLString to load a chunk of HTML synchronously, which uses a different code path to load data that results in a document being created for the Frame.  As a result, there is always a document.

The proper solution to this bug probably involves finding a better way to get a DocLoader for the ResourceLoader::start() call.
Comment 4 Dex Deacon 2006-10-09 16:28:38 PDT
http://bugs.webkit.org/show_bug.cgi?id=11139 has a fix for this.
Comment 5 Eric Seidel (no email) 2007-10-01 09:12:35 PDT
Since bug 11139 has a fix for this, I believe we can close this.

*** This bug has been marked as a duplicate of 11139 ***