[Webkit-unassigned] [Bug 65604] New: Crash in RefPtr.h (in Webkit 533.3 shipped with Qt 4.7.3, git checkout)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 3 04:15:17 PDT 2011


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

           Summary: Crash in RefPtr.h (in Webkit 533.3 shipped with Qt
                    4.7.3, git checkout)
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pvonnied at gmail.com


After fast reloading of some custom JavaScript code, the Qt runtime is terminated by a segfault
caused in the member function "bool operator!() const { return !m_ptr; }" of class RefPtr.h.

In the strack trace below, the class PartScreen is a subclass of QWebView which loads the custom
JavaScript code.

Stack trace:

Thread [1] 5326 [core: 1] (Suspended : Signal : SIGSEGV:Segmentation fault)    
    WTF::RefPtr<WebCore::StringImpl>::operator!() at RefPtr.h:66 0x7ffff663433c    
    WebCore::String::isEmpty() at String.cpp:608 0x7ffff6b317ba    
    WebCore::KURL::isEmpty() at KURL.h:327 0x7ffff669cf88    
    WebCore::FrameLoader::setEncoding() at FrameLoader.cpp:1,484 0x7ffff6a193c9    
    WebCore::FrameLoaderClientQt::dispatchDidFailLoading() at FrameLoaderClientQt.cpp:904 0x7ffff6cd3849    
    WebCore::ResourceLoadNotifier::didFailToLoad() at ResourceLoadNotifier.cpp:98 0x7ffff6a4a7c8    
    WebCore::ResourceLoader::didCancel() at ResourceLoader.cpp:345 0x7ffff6a4997d    
    WebCore::MainResourceLoader::didCancel() at MainResourceLoader.cpp:105 0x7ffff6a3df43    
    WebCore::ResourceLoader::cancel() at ResourceLoader.cpp:362 0x7ffff6a49a88    
    WebCore::ResourceLoader::cancel() at ResourceLoader.cpp:352 0x7ffff6a499cf    
    WebCore::DocumentLoader::stopLoading() at DocumentLoader.cpp:232 0x7ffff6a08b08    
    WebCore::FrameLoader::stopAllLoaders() at FrameLoader.cpp:2,323 0x7ffff6a1cde1    
    WebCore::FrameLoader::continueLoadAfterNavigationPolicy() at FrameLoader.cpp:3,511 0x7ffff6a2163c    
    WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy() at FrameLoader.cpp:3,468 0x7ffff6a213fc    
    WebCore::PolicyCallback::call() at PolicyCallback.cpp:101 0x7ffff6a42db1    
    WebCore::PolicyChecker::continueAfterNavigationPolicy() at PolicyChecker.cpp:160 0x7ffff6a43dd3    
    WebCore::FrameLoaderClientQt::callPolicyFunction() at FrameLoaderClientQt.cpp:192 0x7ffff6cd08c4    
    WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction() at FrameLoaderClientQt.cpp:1,035 0x7ffff6cd4850    
    WebCore::PolicyChecker::checkNavigationPolicy() at PolicyChecker.cpp:88 0x7ffff6a436da    
    WebCore::FrameLoader::loadWithDocumentLoader() at FrameLoader.cpp:2,102 0x7ffff6a1bf02    
    WebCore::FrameLoader::load() at FrameLoader.cpp:2,056 0x7ffff6a1baac    
    WebCore::FrameLoader::load() at FrameLoader.cpp:1,997 0x7ffff6a1b40d    
    WebCore::FrameLoader::load() at FrameLoader.cpp:1,984 0x7ffff6a1b1f4    
    QWebFrame::load() at qwebframe.cpp:950 0x7ffff6cdcaaa    
    QWebFrame::load() at qwebframe.cpp:894 0x7ffff6cdc612    
    QWebView::load() at qwebview.cpp:432 0x7ffff6cf7201    
    PartScreen::UpdateContent() at PartScreen.cpp:62 0x4784c9    
    <...more frames...>

-- 
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