-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
std::collections::hash::map::new stuck on Windows 7 #99341
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleO-windowsOperating system: WindowsOperating system: Windows
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleO-windowsOperating system: WindowsOperating system: Windows
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
log4rs = "1.1.1"
HashSet::new called here
I expected it to work on Windows 7 the same as it works on other platforms.
Instead, this happened:

the code get stuck in the initialization of logging, we acquired same-ish stack from multiple people using Windows 7
It was always
[Inline Frame] pcre3.dll!std::collections::hash::map::impl$81::new::KEYS::__getit::closure$0() Line 353callingbcrypt.dll!_BCryptGenRandom@16�()On Windows 10 as under Wine the application starts normally
My rust code produces DLL that is loaded by C++ application from 10 years ago
Meta
Latest working version:
nightly-2022-05-18-i686-pc-windows-msvcEarliest version that gets stuck:
nightly-2022-05-19-i686-pc-windows-msvc