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

QML RangeSlider Crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.10.1
    • Quick: Controls 2
    • None

    Description

      Using Qt compiled for cross-compilation to Raspberry Pi. Nothing changed from empty QML project, other than added RangeSlider.

      QML:

      import QtQuick 2.10
      import QtQuick.Window 2.10
      import QtQuick.Controls 2.2
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          RangeSlider {
              id: control
          }
      }
      

      Stack on segfault:

       1 QtQuickPrivate::beginDeferred(QObject *, QString const&) 0x2afa60 
       2 QQuickRangeSliderNodePrivate::executeHandle(bool) 0x2caff8 
       3 QQuickRangeSliderNode::handle() const 0x2cb3e4 
       4 QQuickRangeSliderNode::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x2f66ec 
       5 QV4::QObjectWrapper::getProperty(QV4::ExecutionEngine *, QObject *, QQmlPropertyData *, bool) 0x9d821c 
       6 QV4::QObjectWrapper::getQmlProperty(QQmlContextData *, QV4::String *, QV4::QObjectWrapper::RevisionMode, bool *, bool) const 0x9d8f68 
       7 QV4::QObjectWrapper::get(QV4::Managed const *, QV4::String *, bool *) 0x9d9180 
       8 QV4::Runtime::method_getProperty(QV4::ExecutionEngine *, QV4::Value const&, int) 0x9f6ab8 
       9 ?? 0x7efff398
      

      Qt Setup:

      qt-everywhere-src-5.10.1/configure -verbose -commercial -confirm-license -release -opengl es2 -opengles3 -static -ssl -openssl-linked -qpa eglfs -optimized-qmake -no-pch -make libs -make tools -reduce-exports -sysroot /mnt -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=/usr/local/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -prefix /usr/lib/arm-linux-gnueabihf/pt-qt5 -I /mnt/usr/include/arm-linux-gnueabihf -L /mnt/usr/lib/arm-linux-gnueabihf -qt-zlib -qt-libjpeg -qt-libpng -qt-xkbcommon -qt-pcre -qt-harfbuzz -no-xcb -skip wayland -skip qtserialport -skip qttools
      Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
      Building for: devices/linux-rasp-pi2-g++ (arm, CPU features: neon)
      Configuration: cross_compile compile_examples enable_new_dtags largefile neon release c++11 c++14 concurrent dbus reduce_exports release_tools static stl
      Build options:
        Mode ................................... release; optimized tools
        Optimize release build for size ........ no
        Building shared libraries .............. no
        Using C++ standard ..................... C++14
        Using ccache ........................... no
        Using gold linker ...................... no
        Using new DTAGS ........................ yes
        Using precompiled headers .............. no
        Using LTCG ............................. no
        Target compiler supports:
          NEON ................................. yes
        Build parts ............................ libs tools
      Qt modules and options:
        Qt Concurrent .......................... yes
        Qt D-Bus ............................... yes
        Qt D-Bus directly linked to libdbus .... yes
        Qt Gui ................................. yes
        Qt Network ............................. yes
        Qt Sql ................................. yes
        Qt Testlib ............................. yes
        Qt Widgets ............................. yes
        Qt Xml ................................. yes
      Support enabled for:
        Using pkg-config ....................... yes
        QML debugging .......................... yes
        udev ................................... yes
        Using system zlib ...................... no
      Qt Core:
        DoubleConversion ....................... yes
          Using system DoubleConversion ........ no
        GLib ................................... yes
        iconv .................................. no
        ICU .................................... yes
        Logging backends:
          journald ............................. no
          syslog ............................... no
          slog2 ................................ no
        Using system PCRE2 ..................... no
      Qt Network:
        getifaddrs() ........................... yes
        IPv6 ifname ............................ yes
        libproxy ............................... no
        OpenSSL ................................ yes
          Qt directly linked to OpenSSL ........ yes
        SCTP ................................... no
        Use system proxies ..................... yes
      Qt Gui:
        Accessibility .......................... yes
        FreeType ............................... yes
          Using system FreeType ................ yes
        HarfBuzz ............................... yes
          Using system HarfBuzz ................ no
        Fontconfig ............................. yes
        Image formats:
          GIF .................................. yes
          ICO .................................. yes
          JPEG ................................. yes
            Using system libjpeg ............... no
          PNG .................................. yes
            Using system libpng ................ no
        EGL .................................... yes
        OpenVG ................................. no
        OpenGL:
          Desktop OpenGL ....................... no
          OpenGL ES 2.0 ........................ yes
          OpenGL ES 3.0 ........................ yes
          OpenGL ES 3.1 ........................ yes
          OpenGL ES 3.2 ........................ yes
        Vulkan ................................. no
        Session Management ..................... yes
      Features used by QPA backends:
        evdev .................................. yes
        libinput ............................... no
        INTEGRITY HID .......................... no
        mtdev .................................. no
        tslib .................................. no
        xkbcommon-evdev ........................ no
      QPA backends:
        DirectFB ............................... no
        EGLFS .................................. yes
        EGLFS details:
          EGLFS OpenWFD ........................ no
          EGLFS i.Mx6 .......................... no
          EGLFS i.Mx6 Wayland .................. no
          EGLFS RCAR ........................... no
          EGLFS EGLDevice ...................... no
          EGLFS GBM ............................ yes
          EGLFS Mali ........................... no
          EGLFS Raspberry Pi ................... yes
          EGL on X11 ........................... no
        LinuxFB ................................ yes
        VNC .................................... yes
        Mir client ............................. no
      Qt Widgets:
        GTK+ ................................... no
        Styles ................................. Fusion Windows
      Qt PrintSupport:
        CUPS ................................... no
      Qt Sql:
        DB2 (IBM) .............................. no
        InterBase .............................. no
        MySql .................................. no
        OCI (Oracle) ........................... no
        ODBC ................................... no
        PostgreSQL ............................. no
        SQLite2 ................................ no
        SQLite ................................. yes
          Using system provided SQLite ......... no
        TDS (Sybase) ........................... no
      QtXmlPatterns:
        XML schema support ..................... yes
      Qt QML:
        QML interpreter ........................ yes
        QML network support .................... yes
      Qt Quick:
        Direct3D 12 ............................ no
        AnimatedImage item ..................... yes
        Canvas item ............................ yes
        Support for Qt Quick Designer .......... yes
        Flipable item .......................... yes
        GridView item .......................... yes
        ListView item .......................... yes
        Path support ........................... yes
        PathView item .......................... yes
        Positioner items ....................... yes
        ShaderEffect item ...................... yes
        Sprite item ............................ yes
      Qt Gamepad:
        SDL2 ................................... no
      Qt 3D:
        Assimp ................................. yes
        System Assimp .......................... no
        Output Qt3D Job traces ................. no
        Output Qt3D GL traces .................. no
        Use SSE2 instructions .................. no
        Use AVX2 instructions .................. no
        Aspects:
          Render aspect ........................ yes
          Input aspect ......................... yes
          Logic aspect ......................... yes
          Animation aspect ..................... yes
          Extras aspect ........................ yes
      Qt 3D GeometryLoaders:
        Autodesk FBX ........................... no
      Qt Bluetooth:
        BlueZ .................................. no
        BlueZ Low Energy ....................... no
        Linux Crypto API ....................... no
        WinRT Bluetooth API (desktop & UWP) .... no
      Qt Sensors:
        sensorfw ............................... no
      Qt Quick Controls 2:
        Styles ................................. Default Fusion Imagine Material Universal
      Qt Quick Templates 2:
        Hover support .......................... yes
        Multi-touch support .................... yes
      Qt Positioning:
        Gypsy GPS Daemon ....................... no
        WinRT Geolocation API .................. no
      Qt Location:
        Geoservice plugins:
          OpenStreetMap ........................ yes
          HERE ................................. yes
          Esri ................................. yes
          Mapbox ............................... yes
          MapboxGL ............................. yes
          Itemsoverlay ......................... yes
      Qt Multimedia:
        ALSA ................................... no
        GStreamer 1.0 .......................... no
        GStreamer 0.10 ......................... no
        Video for Linux ........................ yes
        OpenAL ................................. no
        PulseAudio ............................. no
        Resource Policy (libresourceqt5) ....... no
        Windows Audio Services ................. no
        DirectShow ............................. no
        Windows Media Foundation ............... no
      Qt WebEngine:
        Embedded build ......................... yes
        Pepper Plugins ......................... no
        Printing and PDF ....................... no
        Proprietary Codecs ..................... no
        Spellchecker ........................... yes
        Native Spellchecker .................... no
        WebRTC ................................. no
        Use System Ninja ....................... no
        Geolocation ............................ yes
        Use v8 snapshot ........................ yes
        Use ALSA ............................... no
        Use PulseAudio ......................... no
        Optional system libraries used:
          re2 .................................. no
          icu .................................. no
          libwebp, libwebpmux and libwebpdemux . no
          opus ................................. no
          ffmpeg ............................... no
          libvpx ............................... no
          snappy ............................... no
          libsrtp .............................. no
          glib ................................. yes
          zlib ................................. no
          minizip .............................. no
          libevent ............................. no
          jsoncpp .............................. no
          protobuf ............................. no
          libxml2 and libxslt .................. no
          lcms2 ................................ no
          png .................................. no
          harfbuzz ............................. no
        Required system libraries:
          fontconfig ........................... yes
          dbus ................................. yes
          nss .................................. no
          khr .................................. yes
          glibc ................................ yes
        Required system libraries for qpa-xcb:
          libdrm ............................... yes
          xcomposite ........................... no
          xcursor .............................. no
          xi ................................... no
          xrandr ............................... no
          xtst ................................. no
      
      Note: Also available for Linux: linux-clang linux-icc
      
      Note: Using static linking will disable the use of dynamically
      loaded plugins. Make sure to import all needed static plugins,
      or compile needed modules into the library.
      
      Note: -optimized-tools is not useful in -release mode.
      
      Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
      
      WARNING: Feature xkbcommon-system is insignificant in this configuration, ignoring related command line option(s).
      
      WARNING: gperf is required to build QtWebEngine.
      
      WARNING: bison is required to build QtWebEngine.
      
      WARNING: flex is required to build QtWebEngine.
      

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              ben-pt Ben Pring
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes