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

*** Error in `./qmlscene': free(): invalid pointer: 0x324f6ba0 ***

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.2.1
    • WebKit
    • None
    • Embedded Linux, ARMv7, PowerVR, EGLFS.

    Description

      running this qml file w/ qmlscene :

      import QtQuick 2.0
      import QtWebKit 3.0

      WebView {

      url : "http://www.google.com"

      x:0;
      y:0;
      width: 1280;
      height: 720;
      }

      ./qmlscene /nfs/tst.qml
      EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
      EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).

          • Error in `./qmlscene': free(): invalid pointer: 0x324f6ba0 ***
            Aborted

      This worked in Qt5.1.1. Also does not work in Qt5.3.0-alpha. Shadereffects and others do work.

      Below is a backtrace.

      #0 0x2dce5688 in memcpy () from /home/rev/TFTP/QT530-alpha/rootfs/lib/libc.so.6
      #1 0x342a53a0 in createInternal<unsigned short> (length=60, characters=0x78) at qtwebkit/Source/WTF/wtf/text/StringImpl.cpp:257
      #2 WTF::StringImpl::create (characters=0x78, length=60) at qtwebkit/Source/WTF/wtf/text/StringImpl.cpp:263
      #3 0x32e22942 in WTF::StringImpl::isolatedCopy (this=0xb8958) at qtwebkit/Source/WTF/wtf/text/StringImpl.h:1351

      #4 0x32e22d0a in WebKit::LocalStorageDatabaseTracker::setLocalStorageDirectory (this=0xb79e0, localStorageDirectory=...) at qtwebkit/Source/WebKit2/UIProcess/Storage/LocalStorageDatabaseTracker.cpp:56
      #5 0x32e26b24 in WebKit::StorageManager::setLocalStorageDirectory (this=0xb77c0, localStorageDirectory=...) at qtwebkit/Source/WebKit2/UIProcess/Storage/StorageManager.cpp:388
      #6 0x32e3dee2 in WebKit::WebContext::setLocalStorageDirectory (this=0xb74c0, directory=...) at qtwebkit/Source/WebKit2/UIProcess/WebContext.cpp:1045

      #7 0x32dfce9a in WKContextSetLocalStorageDirectory (contextRef=0xb74c0, localStorageDirectory=0xb85d0) at qtwebkit/Source/WebKit2/UIProcess/API/C/WKContext.cpp:309
      #8 0x32f3a910 in WebKit::QtWebContext::defaultContext () at qtwebkit/Source/WebKit2/UIProcess/qt/QtWebContext.cpp:148
      #9 0x32f1f866 in QQuickWebViewPrivate::initialize (this=0xbcbd0, contextRef=0x0, pageGroupRef=0x0) at qtwebkit/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:328
      #10 0x32f21dc8 in QQuickWebViewFlickablePrivate::initialize (this=0xbcbd0, contextRef=0x0, pageGroupRef=0x0) at qtwebkit/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:1030
      #11 0x32f232be in QQuickWebView::QQuickWebView (this=0x5a5e8, parent=0x0) at qtwebkit/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:1650
      #12 0x2f8d55f2 in QQmlPrivate::QQmlElement<QQuickWebView>::QQmlElement (this=0x5a5e8) at qtdeclarative/include/QtQml/../../src/qml/qml/qqmlprivate.h:85
      #13 0x2f8d563a in QQmlPrivate::createInto<QQuickWebView> (memory=0x5a5e8) at qtdeclarative/include/QtQml/../../src/qml/qml/qqmlprivate.h:94
      #14 0x2b5cc83c in QQmlType::create (this=0x30221ee0, out=0x7e7fec6c, memory=0x7e7fec68, additionalMemory=72) at qtdeclarative/src/qml/qml/qqmlmetatype.cpp:733
      #15 0x2b5a7d88 in QQmlVME::run (this=0xbb91c, errors=0xbb99c, interrupt=..., storeJumpTable=0x0) at qtdeclarative/src/qml/qml/qqmlvme.cpp:590
      #16 0x2b5a41e0 in QQmlVME::execute (this=0xbb91c, errors=0xbb99c, interrupt=...) at qtdeclarative/src/qml/qml/qqmlvme.cpp:213
      #17 0x2b59b8f6 in QQmlComponentPrivate::beginCreate (this=0xbb8b8, context=0xbb5d0) at qtdeclarative/src/qml/qml/qqmlcomponent.cpp:871
      #18 0x2b59b656 in QQmlComponent::beginCreate (this=0xb9b98, publicContext=0xba528) at qtdeclarative/src/qml/qml/qqmlcomponent.cpp:814
      #19 0x2b59b602 in QQmlComponent::create (this=0xb9b98, context=0xba528) at qtdeclarative/src/qml/qml/qqmlcomponent.cpp:774
      #20 0x00011a92 in main (argc=2, argv=0x7e7ffba4) at qtdeclarative/tools/qmlscene/main.cpp:485

      Attachments

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

        Activity

          People

            mibrunin Michael Bruning
            revmh revmh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes