Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Mutex.h: BREAKING CHANGE - DISABLE_CONSTEXPR_MUTEX_CONSTRUCTORΒ #4978

@zsd4yr

Description

@zsd4yr

Describe the bug

https://developercommunity.visualstudio.com/t/Access-violation-in-_Thrd_yield-after-up/10664660

Asking every single developer in the entire world to update every single copy of
msvcp140.dll
msvcp140_1.dll
msvcp140_2.dll
msvcp140_codecvt_ids.dll
vcruntime140.dll
vcruntime140_1.dll

is not an acceptable solution. This change needs to be reverted entirely or flipped to opt-in

I just spent the past several hours tracking down an obscure crash, finding it in msvcp140.dll!mtx_do_lock(_Mtx_internal_imp_t * mtx, const xtime * target) Line 102 C++ and tracking that down to a local copy of the dlls outside of the redist under https://pypi.org/project/shiboken2/

The developer community thread says as an answer

Programs should be installable to clean machines, so they should already be packaged with a VCRedist

This is exactly what manifested the issue -an old local copy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis issue is incorrect or by design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions