[qt/qt/qtbase]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt/qtbase
Pushed by mirror-service into branch '6.12'.
Changed from 634173aa5b5ca4da9e3b6d79ac980dc89205e832 to 5cd1efb7cf1ab5c5a0fdb8bb8bbf593ed458432e
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.
This change contains the following new commits:
Git commit 5cd1efb7cf1ab5c5a0fdb8bb8bbf593ed458432e by Qt Cherry-pick Bot (on behalf of Marc Mutz) on 01/08/2026 at 18:41..
Revert "QThreadStorage: add minor optimization for trivially-destructible types"
This reverts commit eefc5509416326bb4a63d349fa97b0ab94eabd3c.
Reason for revert: The deleter the commit optimized away did not
only call the trivial type's destructor (which would _be_ a no-op),
but also `delete`d the object, which is always heap-allocated.
Found by asan on tst_qthreadstorage:
Direct leak of 12 byte(s) in 3 object(s) allocated from:
#0 0x7fb1046b277b in operator new(unsigned long) ../../../../gcc/libsanitizer/asan/asan_new_delete.cpp:86
#1 0x559d8fa6c545 in void qThreadStorage_setLocalData<int>(QThreadStorageData&, int*) /home/marc/Qt/qtbase-submit/src/corelib/thread/qthreadstorage.h:92
#2 0x559d8fa6c545 in QThreadStorage<int>::setLocalData(int) /home/marc/Qt/qtbase-submit/src/corelib/thread/qthreadstorage.h:133
#3 0x559d8fa6c545 in run /home/marc/Qt/qtbase-submit/tests/auto/corelib/thread/qthreadstorage/tst_qthreadstorage.cpp:453
#4 0x7fb0fd6bb1a0 in QThreadPrivate::start(void*) /home/marc/Qt/qtbase-submit/src/corelib/thread/qthread_unix.cpp:472
#5 0x7fb1045f5bd5 in asan_thread_start ../../../../gcc/libsanitizer/asan/asan_interceptors.cpp:239
(etc)
Fixes: QTBUG-148691
Change-Id: I585c1fef80627bf678c6a354375b4ee568825fcb
Reviewed-by: Thiago Macieira <[email protected]>
(cherry picked from commit 8735e1616dcbd8bf5788a5019033bb98d82f748c)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtbase/-/commit/5cd1efb7cf1ab5c5a0fdb8bb8bbf593ed458432e