https://bugs.winehq.org/show_bug.cgi?id=55129
Bug ID: 55129 Summary: Boost throws c++ exception when creating shared memory Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: dlehman25@gmail.com Distribution: ---
Created attachment 74681 --> https://bugs.winehq.org/attachment.cgi?id=74681 simple c++ repro case
boost uses 2 methods to fetch the boot time to build a path for shared memory. code path is chosen with a #define
the 2 methods are: - registry key (default): - BootId and optionally additionally HybridBootAnimationTime - https://github.com/boostorg/interprocess/blob/boost-1.82.0/include/boost/int... - creates a path like: C:/ProgramData/boost_interprocess/01000000/crash
- Eventlog - fetches record for event log start - https://github.com/boostorg/interprocess/blob/boost-1.82.0/include/boost/int... - creates a path like: C:/ProgramData/boost_interprocess/1687093260/crash - the event log timestamp is always moments after boot on physical and virtual machines i have access to, although many testbot vms seem to have boot records after the event log start - not sure what the 24 bytes at DataOffset are - seems like overkill to fully implement the event log feature, which generally doesn't seem useful on wine, just for this case
it throws a c++ exception if either method fails https://github.com/boostorg/interprocess/blob/boost-1.82.0/include/boost/int...
pull request to follow
https://bugs.winehq.org/show_bug.cgi?id=55129
--- Comment #1 from daniel dlehman25@gmail.com --- https://gitlab.winehq.org/wine/wine/-/merge_requests/3153