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. Our app is crashing in QtQuickItemPrivate::removeFromDirtyList()
Forum Updated to NodeBB v4.3 + New Features

Our app is crashing in QtQuickItemPrivate::removeFromDirtyList()

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 308 Views 1 Watching
  • 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.
  • StokestackS Offline
    StokestackS Offline
    Stokestack
    wrote on last edited by Stokestack
    #1

    Hi all.

    Our app is crashing in or slightly after this call. I'm not sure exactly what it's doing or trying to do at that point, but I did find a relevant (but closed) bug report: https://bugreports.qt.io/browse/QTBUG-43376

    We're still investigating, but I was wondering if anyone had some idea of what kind of action leads to this. This is the call stack at crash time:
    This is the call stack at crash time.
    Thanks!

    J.HilkJ 1 Reply Last reply
    0
    • StokestackS Stokestack

      Hi all.

      Our app is crashing in or slightly after this call. I'm not sure exactly what it's doing or trying to do at that point, but I did find a relevant (but closed) bug report: https://bugreports.qt.io/browse/QTBUG-43376

      We're still investigating, but I was wondering if anyone had some idea of what kind of action leads to this. This is the call stack at crash time:
      This is the call stack at crash time.
      Thanks!

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @Stokestack
      the first thing that comes to my mind,

      do you expose QObject based classes/objects to qml (without them having a c++ parent) and delete them yourself when they are no longer needed ?

      QML takes ownership of those objects, if not prevented, and will try to delete them itself


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      StokestackS 1 Reply Last reply
      2
      • J.HilkJ J.Hilk

        @Stokestack
        the first thing that comes to my mind,

        do you expose QObject based classes/objects to qml (without them having a c++ parent) and delete them yourself when they are no longer needed ?

        QML takes ownership of those objects, if not prevented, and will try to delete them itself

        StokestackS Offline
        StokestackS Offline
        Stokestack
        wrote on last edited by
        #3

        @J-Hilk Thanks for the reply! I don't know, but I will look for this.

        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