March 31, 2012

simophin simophin
Lab Rat
1 posts

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:

  1. #0  0x0000000000000000 in ?? ()
  2. #1  0x00007f6969f52eb4 in WebCore::MainResourceLoader::didCancel (
  3.     this=0x7f694554b000, error=...) at loader/MainResourceLoader.cpp:114
  4. #2  0x00007f6969f65f7d in WebCore::ResourceLoader::cancel (
  5.     this=0x7f694554b000, error=...) at loader/ResourceLoader.cpp:381
  6. #3  0x00007f6969f65da0 in WebCore::ResourceLoader::cancel (
  7.     this=<optimized out>) at loader/ResourceLoader.cpp:371
  8. #4  0x00007f6969f30711 in WebCore::DocumentLoader::stopLoading (
  9.     this=0x7f68edc13000) at loader/DocumentLoader.cpp:252
  10. #5  0x00007f6969f62209 in WebCore::NavigationScheduler::schedule (
  11.     this=0x7f68eda87e98, redirect=...) at loader/NavigationScheduler.cpp:405
  12. #6  0x00007f6969f63161 in WebCore::NavigationScheduler::scheduleLocationChange
  13.     (this=0x7f68eda87e98, securityOrigin=..., url=..., referrer=...,
  14.     lockHistory=false, lockBackForwardList=true)
  15.     at loader/NavigationScheduler.cpp:333
  16. #7  0x00007f6969f6edac in WebCore::SubframeLoader::loadOrRedirectSubframe (
  17.     this=0x7f68f40d9d10, ownerElement=<optimized out>, url=..., frameName=...,
  18.     lockHistory=false, lockBackForwardList=false)
  19.     at loader/SubframeLoader.cpp:238
  20. #8  0x00007f6969f6f49b in WebCore::SubframeLoader::requestFrame (
  21.     this=0x7f68f40d9d10, ownerElement=0x31da730, urlString=..., frameName=...,
  22.     lockHistory=false, lockBackForwardList=false)
  23.     at loader/SubframeLoader.cpp:83
  24. #9  0x00007f6969e47ee9 in openURL (lockBackForwardList=<optimized out>,
  25.     lockHistory=<optimized out>, this=<optimized out>)
  26.     at html/HTMLFrameElementBase.cpp:108
  27. #10 WebCore::HTMLFrameElementBase::openURL (this=0x31da730, lockHistory=false,
  28.     lockBackForwardList=false) at html/HTMLFrameElementBase.cpp:96
  29. #11 0x00007f6969e481df in WebCore::HTMLFrameElementBase::setLocation (
  30.     this=0x31da730, str=...) at html/HTMLFrameElementBase.cpp:220
  31. #12 0x00007f6969e485e7 in WebCore::HTMLFrameElementBase::parseMappedAttribute (
  32.     this=0x31da730, attr=0x7f68ed8fff20) at html/HTMLFrameElementBase.cpp:116
  33. #13 0x00007f6969e4c7b5 in WebCore::HTMLIFrameElement::parseMappedAttribute (
  34.     this=0x31da730, attr=0x7f68ed8fff20) at html/HTMLIFrameElement.cpp:131
  35. #14 0x00007f696a37f2d0 in WebCore::StyledElement::attributeChanged (
  36.     this=0x31da730, attr=0x7f68ed8fff20, preserveDecls=<optimized out>)
  37.     at dom/StyledElement.cpp:188
  38. #15 0x00007f6969d45609 in WebCore::Element::setAttribute (this=0x31da730,
  39.     name=..., value=...) at dom/Element.cpp:725
  40. #16 0x00007f6969d45c2e in WebCore::Element::setAttribute (
  41.     this=<optimized out>, name=..., value=...) at dom/Element.cpp:239
  42. #17 0x00007f69698c883b in WebCore::setJSHTMLIFrameElementSrc (
  43.     exec=<optimized out>, thisObject=<optimized out>, value=...)
  44.     at ../../WebCore/generated/JSHTMLIFrameElement.cpp:391
  45. #18 0x00007f69698c807c in lookupPut<WebCore::JSHTMLIFrameElement> (value=...,
  46.     thisObj=0x7f68f477d810, table=0x7f696ae36060, propertyName=...,
  47.     exec=0x7f69467a31f8) at ../../JavaScriptCore/runtime/Lookup.h:319
  48. #19 lookupPut<WebCore::JSHTMLIFrameElement, WebCore::JSHTMLElement> (slot=...,
  49.     thisObj=0x7f68f477d810, table=0x7f696ae36060, value=..., propertyName=...,
  50.     exec=0x7f69467a31f8) at ../../JavaScriptCore/runtime/Lookup.h:333
  51. #20 WebCore::JSHTMLIFrameElement::put (this=0x7f68f477d810,
  52.     exec=0x7f69467a31f8, propertyName=..., value=..., slot=...)
  53.     at ../../WebCore/generated/JSHTMLIFrameElement.cpp:312
  54. #21 0x00007f696a4b71f1 in put (slot=..., value=..., propertyName=...,
  55.     exec=0x7f69467a31f8, this=0x7fffa5239ef0) at runtime/JSObject.h:804
  56. #22 JSC::cti_op_put_by_id (args=0x7fffa5239f20) at jit/JITStubs.cpp:1439
  57. #23 0x00007f690014b765 in ?? ()
  58. #24 0x000000000263ae20 in ?? ()
  59. #25 0x00007f68f477d810 in ?? ()
  60. #26 0x00007f68edc14118 in ?? ()
  61. #27 0x00007f68ed8d11d0 in ?? ()
  62. #28 0x00007f6900132c8f in ?? ()
  63. #29 0x00007f68edae6d20 in ?? ()
  64. #30 0x0000000000000000 in ?? ()

That may come from JIT, subframe things, does anyone meet this kind of problem?

0 replies

 
  ‹‹ some SSL pages not displaying on Windows/Qt 4.8/MingW ?      Qt Creator 2.4.1 still uses Qt Webkit 2.2.0 ››

You must log in to post a reply. Not a member yet? Register here!