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

Possible/likely data race in QObjectData bit-field access

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • dev
    • Core: Object Model
    • None
    • All
    • 13074a967 (dev), d50746ef3 (6.7)

    Description

      As discovered in https://codereview.qt-project.org/c/qt/qtbase/+/524176, QObjectData manages some of its data as a bit-field, and some of those bits (at least deleteLaterCalled) may be accessed from a different thread. Due to the nature of bit-fields, this may lead to data races, as we're not guarding every access to the bit-field.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            vestbo Tor Arne Vestbø
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes