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

Data race in QtAndroidPrivate::runOnAndroidThreadSync()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.7.1, 5.8.0, 5.9
    • Extras: Android
    • None
    • Android

      If the tryAcquire fails in that function, the function returns with the runnable, taken by reference, still used by the lambda executing on the Android thread.

      I've fixed a similar bug in QtAndroidPrivate::requestPermissionsSync(), but that, too, might still race on the 'env' parameter.

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

            rampe Rami Potinkara
            mmutz Marc Mutz
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes