Bug 422734

Summary: QCA freezes on receiving a list of certificates (OS Windows Qt-5.15.0 MSVC2019)
Product: [Frameworks and Libraries] qca Reporter: Vitaly <thetvg>
Component: generalAssignee: Ivan Romanov <drizt72>
Status: REPORTED ---    
Severity: normal CC: aacid, bradh, justin, Neustradamus
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vitaly 2020-06-10 10:34:14 UTC
Running the cipherunittest test freezes.

STEPS TO REPRODUCE
1. compile qca library in QtCreator
2. run cipherunittest

OBSERVED RESULT
cipherunittest freezes

EXPECTED RESULT
cipherunittest should pass

SOFTWARE/OS VERSIONS
Windows: 10
Qt Version: 5.15.0 msvc64_2019

ADDITIONAL INFORMATION
Psi-im has the same behavior when it receives a list of certificates.
The library was built in the environment of MSVC2019 x64 with official Qt libraries version 5.15.0 in the Windows operating system.
The same behavior is observed when running a test built using mingw32 cross-compilation (MXE).
When I'm pressing a pause button on program hangs the QtCreator shows this line https://github.com/KDE/qca/blob/ae5dec259faf60bec8cf1559d20876e6a5960f7a/src/support/syncthread.cpp#L183
and ok value is -52.