[Bug 47098] New: The Superlatives: Shattered Worlds Demo (from Steam) crashes on exit inside UnRegisterDeviceNotification

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 29 09:48:49 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47098

            Bug ID: 47098
           Summary: The Superlatives: Shattered Worlds Demo (from Steam)
                    crashes on exit inside UnRegisterDeviceNotification
           Product: Wine
           Version: 4.7
          Hardware: x86
               URL: https://store.steampowered.com/app/1050210/The_Superla
                    tives_Shattered_Worlds/
                OS: Linux
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: xerox.xerox2000x at gmail.com
      Distribution: Debian

Created attachment 64296
  --> https://bugs.winehq.org/attachment.cgi?id=64296
crashlog

On exit (closing the game) i get the crash from the attached crashlog. Patch
below is a fix. Demo  is free to download.

Note: the games itsself sometimes starts, sometimes hangs with a blank screen.
That might be another bug, but could also be a problem on my side (graphics
driver?). Anyway, just trying it a few times gets me  into the game
eventually...


diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c
index bd4795a346..6ff0980ecd 100644
--- a/dlls/user32/misc.c
+++ b/dlls/user32/misc.c
@@ -404,7 +404,7 @@ HDEVNOTIFY WINAPI DECLSPEC_HOTPATCH
RegisterDeviceNotificationW(HANDLE hRecipien
  *             UnregisterDeviceNotification (USER32.@)
  *
  */
-BOOL  WINAPI UnregisterDeviceNotification(HDEVNOTIFY hnd)
+BOOL WINAPI DECLSPEC_HOTPATCH UnregisterDeviceNotification(HDEVNOTIFY hnd)
 {
     FIXME("(handle=%p), STUB!\n", hnd);
     return TRUE;

-- 
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.



More information about the wine-bugs mailing list