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

qtdiag crashes with segfault in boot2qt image when running with hidden mouse cursor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.11
    • Fix Version/s: 5.11.3
    • Component/s: QPA: KMS
    • Labels:
      None
    • Environment:
      boot2qt image for x86-64. version 5.11.1
      QT_QPA_EGLFS_HIDECURSOR set to 1
    • Platform/s:
      Linux/Wayland
    • Commits:
      c9d18d4a9c9d1243a267316e2a702f9ba69de2fd

      Description

      qtdiag crashes with segfault in boot2qt image when running with hidden mouse cursor.
      how to reproduce:

      1. write 5.11.1 boot2qt image for x86-64 machine (tested on NUC).
      2. boot it
      3. ssh into image
      4. run qtdiag without parameters - it works.
      5. run qtdiag with mouse cursor disabled: QT_QPA_EGLFS_HIDECURSOR=1 qtdiag
      6. it shows the same information, then segfaults

      crash backtrace from gdb:

      Program received signal SIGSEGV, Segmentation fault.
      0x00007fffeebfa672 in ?? () from /usr/lib/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
      (gdb) bt
      #0 0x00007fffeebfa672 in ?? () from /usr/lib/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
      #1 0x00007fffeebfa809 in ?? () from /usr/lib/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
      #2 0x00007fffeebf8b84 in ?? () from /usr/lib/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
      #3 0x00007fffeebf8e06 in ?? () from /usr/lib/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
      #4 0x00007fffeebf8e19 in ?? () from /usr/lib/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
      #5 0x00007ffff1b83872 in QEglFSDeviceIntegration::screenDestroy() () from /usr/lib/libQt5EglFSDeviceIntegration.so.5
      #6 0x00007ffff1b86fc6 in QEglFSIntegration::destroy() () from /usr/lib/libQt5EglFSDeviceIntegration.so.5
      #7 0x00007ffff6f465c6 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib/libQt5Gui.so.5
      #8 0x00007ffff6f467b9 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib/libQt5Gui.so.5
      #9 0x00007ffff6605277 in QObject::~QObject() () from /usr/lib/libQt5Core.so.5
      #10 0x00007ffff65d3d68 in QCoreApplication::~QCoreApplication() () from /usr/lib/libQt5Core.so.5
      #11 0x0000000000405651 in ?? ()
      #12 0x00007ffff5c6a4e1 in __libc_start_main (main=0x405230, argc=1, argv=0x7fffffffec88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffec78)
      {{ at /usr/src/debug/glibc/2.25-r0/git/csu/libc-start.c:295}}
      #13 0x000000000040569a in ?? ()

        Attachments

        For Gerrit Dashboard: QTBUG-71507
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            sapiippo Samuli Piippo
            Reporter:
            n.z. Nikolay Zamotaev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes