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

Crash while perform operation on touch screens 7:42 31 KB

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P1: Critical
    • Resolution: Done
    • 5.12.6
    • 5.12.9
    • QPA: Wayland
    • None
    • Linux/Wayland
    • 3315a400fcfe355f5056f65aade20454cbdd4928

    Description

      Hello QT team,

      I have faced with a crash in HMI application. I use the QT_QPA_EGLFS_KMS_CONFIG environment for input devices with following configuration:

      {
          "outputs": [
              {
                  "name": "HDMI3003",
                  "touchDevice": "/dev/input/event2"
              },
              {
                  "name": "HDMI3001",
                  "touchDevice": "/dev/input/event1"
              }
          ]
      }
      

      After starting some touch operation was done with "HDMI3003". Application crashed with following stack trace:

      #0 QMapNodeBase::nextNode (this=this@entry=0x7f7c001600) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/corelib/tools/qmap.cpp:58
      #1 0x0000007f9af3091c in QMapNodeBase::nextNode (this=0x7f7c001600) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/corelib/tools/qmap.h:92
      #2 QMapNode<unsigned long long, int>::nextNode (this=0x7f7c001600) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/corelib/tools/qmap.h:120
      #3 QMap<unsigned long long, int>::iterator::operator++ (this=<synthetic pointer>) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/corelib/tools/qmap.h:430
      #4 QMap<unsigned long long, int>::erase (this=this@entry=0x7f9b358698 <(anonymous namespace)::Q_QGS_g_pointIdMap::innerFunction()::holder>, it=..., it@entry=...) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/corelib/tools/qmap.h:998
      #5 0x0000007f9af2aea8 in QWindowSystemInterfacePrivate::fromNativeTouchPoints (points=..., window=window@entry=0x0, deviceId=<optimized out>, type=type@entry=0x7f8eb3ef14) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/gui/kernel/qwindowsysteminterface.cpp:704
      #6 0x0000007f9af30f34 in QWindowSystemInterface::handleTouchEvent<QWindowSystemInterface::DefaultDelivery> (window=window@entry=0x0, timestamp=380310, device=0x7f84000c60, points=..., mods=...)
       at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/gui/kernel/qwindowsysteminterface.cpp:760
      #7 0x0000007f9af310e8 in QWindowSystemInterface::handleTouchEvent<QWindowSystemInterface::DefaultDelivery> (window=window@entry=0x0, device=<optimized out>, points=..., mods=..., mods@entry=...)
       at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/gui/kernel/qwindowsysteminterface.cpp:746
      #8 0x0000007f952749ac in QEvdevTouchScreenData::reportPoints (this=this@entry=0x7f84000e90) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp:791
      #9 0x0000007f95274f14 in QEvdevTouchScreenData::processInputEvent (this=0x7f84000e90, data=data@entry=0x7f8eb3f0a0) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp:657
      #10 0x0000007f952762b4 in QEvdevTouchScreenHandler::readData (this=0x7f840009d0) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp:420
      #11 0x0000007f9a70b908 in QtPrivate::QSlotObjectBase::call (a=0x7f9a734aa0 <QVector<QSocketNotifier*>::append(QSocketNotifier* const&)+288>, r=0x7f840009d0, this=0x7f84000d50) at /usr/src/debug/qtbase/5.12.7+gitAUTOINC+1bf5d3af1a-r0/git/src/corelib/kernel/qobjectdefs_impl.h:394

      Could you please investigate this problem?

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              alexander.zaikin Alexander Zaikin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes