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

Crash in QGestureManager::~QGestureManager during application exit after unregister/register

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 4.7.0
    • 4.6.2, 4.7.1
    • Core: Event loop
    • None
    • 7bcc52d4c1905a5d1777c4c43427e359948959fe, d43037d3cc7f273a7d23ac1162a7498a4230c359, 4ec480ef000d60c2a177db29686b4aeb2511532f

    Description

      When certain order calls to QGestureManager::registerRecognizer / unregisterRecognizer and QWidget::grabGesture is made, QGestureManager::~QGestureManager segfaults.

      This happens for example on Windows platform:
      1) QGM registers default and platform specific pan gesture recognizers
      2) Application creates, for example, a QGraphicsView (which has an QAbstractScrollArea that grabs PanGesture)
      3) Application unregisters the Pan recognizers
      4) Application registers a custom Pan recognizer

      Test case attached.

      Attachments

        1. gesturecrash.zip
          0.7 kB
        2. qgm-defect-cleanup.cpp
          2 kB
        3. TouchyApp.zip
          3.32 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            mikkohar Mikko Harju
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes