diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-04-03 11:36:44 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-05-02 21:06:32 +0000 |
commit | f4394c86b68050c37ef6e56a7c30c50870875bcd (patch) | |
tree | 667e6f3d6722cd3b4169981d71b8080bb1548cda /tests/baselineserver | |
parent | f240efaa353d9c2fea64a1b331fc2b5e5dcc5c47 (diff) |
qFatal: Prevent deadlocks on Windows
We began using abort() on 25d6f312ac5b42a6bbca4d1c3c06742d97283e14
(5.8), which improved since we stopped using exit() with MSVC. However,
abort() with MinGW and on debug-mode MSVC's CRT calls _exit(), which
attempts to cleanly unload the DLLs, which in turn may run global
destructors.
[ChangeLog][QtCore][Important behavior changes] qFatal() no longer uses
std::abort() on Windows, as there are circumstances where global
destructors are still run after that call, leading to possible
deadlocks.
Task-number: QTBUG-34460
Change-Id: I2bec439d0e9841f58c7ffffd152200e45f1df982
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'tests/baselineserver')
0 files changed, 0 insertions, 0 deletions