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

qt quick Loader active=false with unfinished Menu crash

XMLWordPrintable

    • Linux/Wayland, Linux/X11
    • 36216db95 (dev), 28553473c (dev), e5f4aa242 (6.10), 410f10ab6 (6.9), db1aae1cd (tqtc/lts-6.8), bb1afe717 (tqtc/lts-6.5)

      this is probably duplicate of https://bugs.kde.org/show_bug.cgi?id=488551

      how to crash

      1. install https://doc.qt.io/qt-6.9/qtqml-tooling-qml.html
      2. run
        qml test.qml
      3. click crash! button

      attachments

      file name what
      test.qml code that creates crash! button
      gdb_with_log.txt gdb script (not portable)
      usage:
      gdb --command=gdb_with_log.txt
      QQuickMenuPrivate_get called with pointer to destroyed QQuickMenu backtrace.txt QQuickMenuPrivate::get called with pointer to destroyed QQuickMenu backtrace (output of gdb bt command)
      this is not where crash happens, crash location is inconsistent (qt 6.9.0)
      log.txt gererated by gdb generalize_log /tmp/log.txt custom command (created by gdb_with_log.txt script) (qt 6.9.0)

        1. gdb_with_log.txt
          8 kB
          BZZZZ DZZZZ
        2. log.txt
          6 kB
          BZZZZ DZZZZ
        3. QQuickMenuPrivate_get called with pointer to destroyed QQuickMenu backtrace.txt
          10 kB
          BZZZZ DZZZZ
        4. test.qml
          0.5 kB
          BZZZZ DZZZZ
        5. test2.qml
          0.6 kB
          BZZZZ DZZZZ
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            santhoshkumar Santhosh Kumar Selvaraj
            bzzzz BZZZZ DZZZZ
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: