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

SIGSEGV: QQmlDelegateModelGroup crash during showing qimage on the QML GUI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • 6.1
    • 5.11
    • Nvidia - Jetson TX2 - Ubuntu 18.04.2 LTS (Bionic Beaver)
      Linux 4.9.140-tegra #1 aarch64 GNU/Linux
    • Other

    Description

      I'm developing a sort of videoplayer in QML and C++. The software receives  a stream of frames that will be converted in QPixmap.

      To pass every QPixmap  on QML GUI has been implemented a mechanism explained in this link:  https://www.huber.xyz/?p=477

      The software receives a frame every 5/10 ms and it works correctly also for a long period, but if I interact also with one of buttons that do nothing, I randomly get this SIGSEGV.

      Following gdb backtrace:

      Thread 1 "recorder-menu-q" received signal SIGSEGV, Segmentation fault.
      0x0000007fb7338f8c in ?? () from /opt/qt.5.11.0/lib/libQt5Qml.so.5
      (gdb) bt
      #0 0x0000007fb7338f8c in () at /opt/qt.5.11.0/lib/libQt5Qml.so.5
      #1 0x0000007fb7508000 in vtable for QQmlDelegateModelGroup () at /opt/qt.5.11.0/lib/libQt5Qml.so.5

      Attachments

        1. backend.cpp
          0.6 kB
        2. backend.h
          0.7 kB
        3. imagecontainer.h
          0.3 kB
        4. partOfQml.txt
          0.7 kB
        5. qpimage.cpp
          0.5 kB
        6. qpimage.h
          0.4 kB
        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
            brancx Paolo Branca
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes