Skip to content

crash with vs 2022 #3

Description

@cw-datac

Hi,

if anybody else has sudden problems after building with vs 2022:

We noticed a crash in UXReader/UXReaderDocument.cpp in OpenWithPassword at

std::lock_guardstd::mutex lockGuard(support.Mutex);

The reason for this is discussed here:

https://stackoverflow.com/questions/78598141/first-stdmutexlock-crashes-in-application-built-with-latest-visual-studio

To fix it add this preprocessor macro to the uxreader lib:

_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR

Best regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions