Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtWebkit crash while browsing web pages inside Qt Creator



  • Hi guys,
    I'm using Ubuntu 12.04 beta2 64bit and libQtWebkit.so.4.9.0 (which comes from official repository without any changes). I tried to browser web pages inside Qt Creator and it crashed while I browsed news page like http://news.163.com/12/0331/02/7TT3BTCG00014AED.html (it's in chinese).
    I have a coredump with backtrace like this:
    @
    #0 0x0000000000000000 in ?? ()
    #1 0x00007f6969f52eb4 in WebCore::MainResourceLoader::didCancel (
    this=0x7f694554b000, error=...) at loader/MainResourceLoader.cpp:114
    #2 0x00007f6969f65f7d in WebCore::ResourceLoader::cancel (
    this=0x7f694554b000, error=...) at loader/ResourceLoader.cpp:381
    #3 0x00007f6969f65da0 in WebCore::ResourceLoader::cancel (
    this=<optimized out>) at loader/ResourceLoader.cpp:371
    #4 0x00007f6969f30711 in WebCore::DocumentLoader::stopLoading (
    this=0x7f68edc13000) at loader/DocumentLoader.cpp:252
    #5 0x00007f6969f62209 in WebCore::NavigationScheduler::schedule (
    this=0x7f68eda87e98, redirect=...) at loader/NavigationScheduler.cpp:405
    #6 0x00007f6969f63161 in WebCore::NavigationScheduler::scheduleLocationChange
    (this=0x7f68eda87e98, securityOrigin=..., url=..., referrer=...,
    lockHistory=false, lockBackForwardList=true)
    at loader/NavigationScheduler.cpp:333
    #7 0x00007f6969f6edac in WebCore::SubframeLoader::loadOrRedirectSubframe (
    this=0x7f68f40d9d10, ownerElement=<optimized out>, url=..., frameName=...,
    lockHistory=false, lockBackForwardList=false)
    at loader/SubframeLoader.cpp:238
    #8 0x00007f6969f6f49b in WebCore::SubframeLoader::requestFrame (
    this=0x7f68f40d9d10, ownerElement=0x31da730, urlString=..., frameName=...,
    lockHistory=false, lockBackForwardList=false)
    at loader/SubframeLoader.cpp:83
    #9 0x00007f6969e47ee9 in openURL (lockBackForwardList=<optimized out>,
    lockHistory=<optimized out>, this=<optimized out>)
    at html/HTMLFrameElementBase.cpp:108
    #10 WebCore::HTMLFrameElementBase::openURL (this=0x31da730, lockHistory=false,
    lockBackForwardList=false) at html/HTMLFrameElementBase.cpp:96
    #11 0x00007f6969e481df in WebCore::HTMLFrameElementBase::setLocation (
    this=0x31da730, str=...) at html/HTMLFrameElementBase.cpp:220
    #12 0x00007f6969e485e7 in WebCore::HTMLFrameElementBase::parseMappedAttribute (
    this=0x31da730, attr=0x7f68ed8fff20) at html/HTMLFrameElementBase.cpp:116
    #13 0x00007f6969e4c7b5 in WebCore::HTMLIFrameElement::parseMappedAttribute (
    this=0x31da730, attr=0x7f68ed8fff20) at html/HTMLIFrameElement.cpp:131
    #14 0x00007f696a37f2d0 in WebCore::StyledElement::attributeChanged (
    this=0x31da730, attr=0x7f68ed8fff20, preserveDecls=<optimized out>)
    at dom/StyledElement.cpp:188
    #15 0x00007f6969d45609 in WebCore::Element::setAttribute (this=0x31da730,
    name=..., value=...) at dom/Element.cpp:725
    #16 0x00007f6969d45c2e in WebCore::Element::setAttribute (
    this=<optimized out>, name=..., value=...) at dom/Element.cpp:239
    #17 0x00007f69698c883b in WebCore::setJSHTMLIFrameElementSrc (
    exec=<optimized out>, thisObject=<optimized out>, value=...)
    at ../../WebCore/generated/JSHTMLIFrameElement.cpp:391
    #18 0x00007f69698c807c in lookupPutWebCore::JSHTMLIFrameElement (value=...,
    thisObj=0x7f68f477d810, table=0x7f696ae36060, propertyName=...,
    exec=0x7f69467a31f8) at ../../JavaScriptCore/runtime/Lookup.h:319
    #19 lookupPut<WebCore::JSHTMLIFrameElement, WebCore::JSHTMLElement> (slot=...,
    thisObj=0x7f68f477d810, table=0x7f696ae36060, value=..., propertyName=...,
    exec=0x7f69467a31f8) at ../../JavaScriptCore/runtime/Lookup.h:333
    #20 WebCore::JSHTMLIFrameElement::put (this=0x7f68f477d810,
    exec=0x7f69467a31f8, propertyName=..., value=..., slot=...)
    at ../../WebCore/generated/JSHTMLIFrameElement.cpp:312
    #21 0x00007f696a4b71f1 in put (slot=..., value=..., propertyName=...,
    exec=0x7f69467a31f8, this=0x7fffa5239ef0) at runtime/JSObject.h:804
    #22 JSC::cti_op_put_by_id (args=0x7fffa5239f20) at jit/JITStubs.cpp:1439
    #23 0x00007f690014b765 in ?? ()
    #24 0x000000000263ae20 in ?? ()
    #25 0x00007f68f477d810 in ?? ()
    #26 0x00007f68edc14118 in ?? ()
    #27 0x00007f68ed8d11d0 in ?? ()
    #28 0x00007f6900132c8f in ?? ()
    #29 0x00007f68edae6d20 in ?? ()
    #30 0x0000000000000000 in ?? ()
    @
    That may come from JIT, subframe things, does anyone meet this kind of problem?


Log in to reply