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

Segmentation fault QScroller::grabGesture

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.1
    • 5.11.2, 5.11.3
    • None
    • Linux/X11, Linux/Other display system
    • e27f52a09893cf494fc9b93452ed160f2effb94b (qt/qtbase/5.12)

    Description

      After commit "QScroller: maintain activeScrollers as a QList, not a QSet" 8b8e53f7267 https://codereview.qt-project.org/#/c/214637 (qtbase.git), qt_activeScrollers was changed from QSet to QList and bug was introduced. Same scroller can be registered multiple times and only one is removed in the end. This sometimes (depends of luck) crashes our embedded application after scrolling
      QTextBrowser or closing and opening window with gesture capture.

      I tested also with qt 5.9.7 and old version of code works perfectly.

      Used API calls:
      QScroller::grabGesture
      QScroller::ungrabGesture

      Attachments

        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
            b.burdukiewicz Bartłomiej Burdukiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes