[Webkit-unassigned] [Bug 34602] New: [GTK] Crashes when an invalid hostname is pre-fetched

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 4 10:08:03 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34602

           Summary: [GTK] Crashes when an invalid hostname is pre-fetched
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: Gtk, Soup
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gns at gnome.org


This is the console output:

(DumpRenderTree:19566): libsoup-CRITICAL **: soup_uri_host_hash: assertion `uri
!= NULL && uri->host != NULL' failed

(DumpRenderTree:19566): libsoup-CRITICAL **: soup_uri_copy_host: assertion `uri
!= NULL' failed

A snippet of the trace:

#0  0x00007ffff14536a5 in ?? () from /usr/lib/libsoup-2.4.so.1
#1  0x00007ffff145373a in soup_session_prepare_for_uri ()
   from /usr/lib/libsoup-2.4.so.1
#2  0x00007ffff6948ce9 in WebCore::prefetchDNS (hostname=...)
    at ../../WebCore/platform/network/soup/DNSSoup.cpp:46
#3  0x00007ffff637890d in WebCore::HTMLAnchorElement::parseMappedAttribute (
    this=0xa391e0, attr=0xa49890)
    at ../../WebCore/html/HTMLAnchorElement.cpp:282
#4  0x00007ffff62bdac6 in WebCore::StyledElement::attributeChanged (
    this=0xa391e0, attr=0xa49890, preserveDecls=false)
    at ../../WebCore/dom/StyledElement.cpp:190

The problem is SoupURI will give you a NULL URI if it is given an invalid URI,
which is the case here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list