Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-30127

QML2 & Webkit Crash with Google Maps Javascript API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.0.0, 5.0.1
    • None
    • Ubuntu 12.04 Osx Lion
    • macOS

    Description

      I’m getting a crash using the minibrowser application and my own application.

      If you navigate to https://developers.google.com/maps/documentation/javascript/examples/ [developers.google.com] in the minibrowser app and zoom in and out, eventually the app crashes with a SegFault.

      Here is the SegFault:

      0 ?? /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5WebKit.so.5 0xb60b187a
      1 ?? /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5WebKit.so.5 0xb60b1c92
      2 ?? /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5WebKit.so.5 0xb60b9112
      3 ?? /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5WebKit.so.5 0xb60b2a55
      4 ?? /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5WebKit.so.5 0xb60b72b9
      5 ?? /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5WebKit.so.5 0xb60b758f
      6 ?? /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5WebKit.so.5 0xb61e05ee
      7 QSGDefaultRenderer::renderNodes(QSGNode* const*, int) /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5Quick.so.5 0xb7d679ad
      8 QSGDefaultRenderer::render() /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5Quick.so.5 0xb7d6849c
      9 QSGRenderer::renderScene(QSGBindable const&) /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5Quick.so.5 0xb7d6ee57
      10 QSGRenderer::renderScene() /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5Quick.so.5 0xb7d6efbd
      11 QSGContext::renderNextFrame(QSGRenderer*, unsigned int) /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5Quick.so.5 0xb7d7a4ae
      12 QQuickWindowPrivate::renderSceneGraph(QSize const&) /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5Quick.so.5 0xb7daf2b4
      13 ?? /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5Quick.so.5 0xb7eadfa9
      14 ?? /home/touch/Qt5.0.1/5.0.1/gcc/lib/libQt5Core.so.5 0xb542fa47
      15 start_thread /lib/i386-linux-gnu/libpthread.so.0 0xb40b3d4c
      16 clone /lib/i386-linux-gnu/libc.so.6 0xb51e7d3e
      @

      I tested it with the browser (widget version) and it worked all ok. Believe that uses webkit1 whereas the minibrowser uses webkit2.

      I compiled webkit in debug mode and found it crashing here :

      Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp(523) : void WebCore::CoordinatedGraphicsScene::assignImageBackingToLayer(WebCore::CoordinatedLayerID, WebCore::GraphicsLayer*, WebCore::CoordinatedImageBackingID)

      I've tried the a few versions of Webkit from webkits git and I can see its crashing on an assert in that function. I believe this is being actively worked on at present.

      Versions from webkit git that had a crash: f2f561d 60650c9

      Latest tested version ce9574a. This version doesn't crash. I did get the map to stop working by having all map tiles being grey with nothing in them.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            antpk Antoine Kurukchi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes