Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt crashed with BAD_ADDRESS when QQuickTransitionManager::cancel()
Forum Update on Monday, May 27th 2025

Qt crashed with BAD_ADDRESS when QQuickTransitionManager::cancel()

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 487 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.
  • S Offline
    S Offline
    sisyphsu
    wrote on last edited by
    #1

    env: Qt 5.9.1 + macOS 10.12

    First, I have a qml component, use ListView to show some log with animation, like:

    Item {
        id: root
        property int maxHistory: 256
        ListView {
            model: ListModel {
                id: consoleModel
            }
            delegate: item
            displaced: Transition {
                SmoothedAnimation {
                    properties: "y"
                    duration: 240
                    velocity: 100
                }
            }
            focus: true
            clip: true
        }
        Component {
            id: item
            Item {
                width: root.width
                height: 40
            }
        }
        Event {
            key: "consoleUpdate"
            onActive: function (data) {
                consoleModel.insert(0, JSON.parse(data))
                if (consoleModel.count > root.maxHistory) {
                    consoleModel.remove(consoleModel.count - 1)
                }
            }
        }
    }
    

    This component will insert the newer log at row 0, and remove the last one if ListView is too large.

    When log emitted too quick(50/s), the Qt will crashed with QQuickTransitionManager::cancel().

    I can't see any detail in QQuickTransitionManager::cancel(), i use CLion, and this is the debug info:

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

      I think this may because the Transition conflict with consoleModel.remove.

      I can't upload my ScreenShot, what the hell?
      As a new user, you can only post once every 300 second(s) until you have earned 1 reputation - please wait before posting again

      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