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

QCalendar class is not reentrant

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.14.2, 5.15.0
    • Fix Version/s: 6.0.1, 6.1.0 Alpha
    • Component/s: Core: Locales (i18n)
    • Labels:
      None
    • Commits:
      0180a1ab8229c6a15d19317bf7680663ac402910 (qt/qtbase/dev) 95d3fe5afa016410580fb995044cf1145c03470a (qt/tqtc-qtbase/tqtc/lts-5.15) 27cde011277b18e06de75b3369c4a13451e6c3b0 (qt/qtbase/6.0)
    • Story Points:
      5
    • Sprint:
      Qt6_Foundation_Sprint 23, Qt6_Foundation_Sprint 24, Qt6_Foundation_Sprint 25, Qt6_Foundation_Sprint 26

      Description

      QCalendar class uses its internal containers shared across the class, such as Registry::byId and Registry::byName. But the access to those containers is not protected from multi-thread access.  As a result, despite the document's "all functions in this class are reentrant" statement, this class can be used safely only form one thread.

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              sarai Susumu Arai
              PM Owner:
              Maurice Kalinowski Maurice Kalinowski
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              8 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: