Summary: | libsoup-CRITICAL **: soup_message_io_pause: assertion `io != NULL' failed | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | arno. <a.renevier> | ||||||||
Component: | WebKitGTK | Assignee: | Martin Robinson <mrobinson> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | anayasingh3636, ap, ashwinkumar9944, davidwyatt309, dbates, mrobinson, pnormand, pprasoon8960, svillar, thebestadvisor, xan.lopez | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
URL: | http://renevier.net/bugs/libsoupassertion.html | ||||||||||
Attachments: |
|
Description
arno.
2011-07-11 04:57:53 PDT
I think that error is happening due to the current implementation of deferred loading. Created attachment 102522 [details]
proposed patch
Comment on attachment 102522 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=102522&action=review > Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:708 > + if ((soupMessage->status_code == SOUP_STATUS_NONE) || (soupMessage->status_code ==SOUP_STATUS_OK)) You are missing a space after the second ==. Shouldn't it be != too? Created attachment 102759 [details]
proposed patch
Comment on attachment 102759 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=102759&action=review > Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:369 > + ResourceHandleInternal* d = handle->getInternal(); > + d->m_finished = true; This can be one line. Committed r92271: <http://trac.webkit.org/changeset/92271> Re-opening this issue because I still see this problem with Epiphany on boingboing.net. Created attachment 109401 [details]
Patch
Philippe, do you mind doing a review for this? (In reply to comment #8) > Created an attachment (id=109401) [details] > Patch The patch is fine for me BTW. Comment on attachment 109401 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=109401&action=review > Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:-708 > - if (d->m_finished || soupMessage->status_code == SOUP_STATUS_NONE) It's not immediately obvious why it's OK to remove the status_code check, so please add a comment in the ChangeLog about it. Committed r96715: <http://trac.webkit.org/changeset/96715> |