Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Animated FastBlur causes Qt Quick application to crash on exit
QtWS25 Last Chance

Animated FastBlur causes Qt Quick application to crash on exit

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    brachna
    wrote on last edited by
    #1

    Hello.

    I have a problem with animated ShaderEffect, FastBlur. When application exits after playing animation it crashes with following statement: "Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly".
    If I change ending radius value to 0. it will not crash on exit.
    Not sure if it's a bug or I made some mistakes that lead up to that.

    Application is the default Qt Quick 2.2 application (no changes) with following QML file:

    @import QtQuick 2.2
    import QtQuick.Window 2.1
    import QtGraphicalEffects 1.0

    Window {
    visible: true
    width: 360
    height: 360

    MouseArea {
        anchors.fill: parent
        onClicked: {
            if ( mouse.button == Qt.LeftButton ){
                animations.restart();
            }
        }
    }
    
    SequentialAnimation {
        id: animations;
        NumberAnimation {
            target: coverBlur;
            property: "radius";
            from: 0.0;
            to: 64.0
            duration: 2000;
            easing.type: Easing.InOutQuad
        }
        NumberAnimation {
            duration: 3000;
        }
        NumberAnimation {
            target: coverBlur;
            property: "radius";
            from: 64.0;
            to: 0.0
            duration: 2000;
            easing.type: Easing.InOutQuad
        }
    }
    
    Rectangle {
        id: albumRect;
        width: parent.width;
        height: parent.height;
        color: "transparent";
    
        FastBlur{
            id: coverBlur;
            source: coverImg;
            anchors.fill: coverImg;
            radius: 64;
        }
    
        Image {
            id: coverImg;
            smooth: true;
            anchors.rightMargin: 10;
            anchors.leftMargin: 10;
            anchors.bottomMargin: 10;
            anchors.topMargin: 10;
            anchors.fill: parent;
            source: "qrc:///cover.png";
            opacity: 1.0;
            fillMode: Image.PreserveAspectFit;
            visible: false;
        }
    }
    

    }@

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stevenceuppens
      wrote on last edited by
      #2

      Hi,

      It looks like a Bug, I tested your code and have the same issue..

      I have to look into it more deeply...

      I also found a related issue

      http://www.qtcentre.org/threads/55375-Weird-RtlWerpReportException-error

      Steven CEUPPENS
      Developer / Architect
      Mobile: +32 479 65 93 10

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stevenceuppens
        wrote on last edited by
        #3

        I create a Jira Issue

        https://bugreports.qt-project.org/browse/QTBUG-38468

        Steven CEUPPENS
        Developer / Architect
        Mobile: +32 479 65 93 10

        1 Reply Last reply
        0
        • B Offline
          B Offline
          brachna
          wrote on last edited by
          #4

          So it was a bug after all. Thanks for reporting. Hope it will be resolved in Qt 5.3.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stevenceuppens
            wrote on last edited by
            #5

            Issue seems to be solved in Qt5.3

            https://bugreports.qt-project.org/browse/QTBUG-38468

            Steven CEUPPENS
            Developer / Architect
            Mobile: +32 479 65 93 10

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved