[Bug 58212] New: boost::interprocess::named_mutex does not work
http://bugs.winehq.org/show_bug.cgi?id=58212 Bug ID: 58212 Summary: boost::interprocess::named_mutex does not work Product: Wine Version: 10.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: christiaan.arnoldus(a)outlook.com Distribution: --- Created attachment 78525 --> http://bugs.winehq.org/attachment.cgi?id=78525 Small program that demonstrates the issue I was testing our Windows-only app on Wine and in general I was pleasantly surprised by the results, but I did find one crash that wasn't happening on Windows. When an instance of the boost::interprocess::named_mutex class is created (I think this just used the CreateMutex Win32 API internally), an exception is thrown when running on Wine. Consider the attached executable (and source code). On Windows, the program prints: Mutex created while with Wine it prints: boost::interprocess_exception::library_error It would be great if this could be looked at. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58212 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Component|kernel32 |-unknown --- Comment #1 from Andrew Nguyen <arethusa26(a)gmail.com> --- I was able to reproduce the crash with the latest Wine from master (wine-10.7-99-gccb99cd00f5). When built with the macro BOOST_INTERPROCESS_BOOTSTAMP_IS_SESSION_MANAGER_BASED set, the boost interprocess library expects the registry key HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\BootId to exist: https://github.com/boostorg/interprocess/blob/3ae98a5f0d85814bcb646839fc4814... I created a MR to address this issue: https://gitlab.winehq.org/wine/wine/-/merge_requests/8002 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58212 --- Comment #2 from Christiaan Arnoldus <christiaan.arnoldus(a)outlook.com> --- I can confirm that creating the registry key fixes the crash with Wine 10.6. Thanks! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58212 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |69f26893bcf9281dfc94568194a | |306d01cd572a3 Status|NEW |RESOLVED Keywords| |download, source, testcase Resolution|--- |FIXED --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- (In reply to Christiaan Arnoldus from comment #2)
I can confirm that creating the registry key fixes the crash with Wine 10.6. Thanks!
https://gitlab.winehq.org/wine/wine/-/commit/69f26893bcf9281dfc94568194a306d... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58212 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.8. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla