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

SIGSEGV: QQmlDelegateModelGroup crash during showing qimage on the QML GUI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3: Somewhat important 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

      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

        1. qpimage.h
          0.4 kB
        2. qpimage.cpp
          0.5 kB
        3. partOfQml.txt
          0.7 kB
        4. imagecontainer.h
          0.3 kB
        5. backend.h
          0.7 kB
        6. backend.cpp
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            brancx Paolo Branca
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes