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

QFileInfo is not re-entrant

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.0.2, 5.1.1, 5.2.1, 5.3.2, 5.4.0
    • Core: I/O

    Description

      QFileInfo is implicitly shared, but uses lazy population / caching without any form of synchronisation. It thus contains tons of data races and fails to provide the documented re-entrancy guarantees.

      This is similar to the problem David Faure fixed for QUrl in Qt 4.

      Attachments

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes