https://bugs.winehq.org/show_bug.cgi?id=54951
Bug ID: 54951 Summary: Calling SetUserObjectInformationW with UOI_TIMERPROC_EXCEPTION_SUPPRESSION causes Invalid parameter Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: cocoa@hoto.us Distribution: ---
Created attachment 74476 --> https://bugs.winehq.org/attachment.cgi?id=74476 reproducible executable file
Confirmed on Ubuntu 22.04, wine-8.8.
I am developer who develops company internal software, using Win32 API.
Some of our members using macOS, So I recommended CrossOver.
However that member says It's crashing, I thought It maybe x64 issue so I provided x86 build for them. It seems to work at first, but crashed after seconds. It reports: "[87 0x81] Invalid parameter.".
I traced stack and I found this line is the problem: https://github.com/rodrigocfd/windigo/blob/master/ui/any_globals.go#L172
And I commented out that line, It works with some graphic issue. (No graphic issue on Wine)
I don't know about Wine's workaround about this function as many, But It seems to UOI_TIMERPROC_EXCEPTION_SUPPRESSION flag caused the error.
I attached a simple reproducible program that creates 500x500 window.
I also confirmed It crashes on Wine 8.8, the latest development release.
I sent this issue also to CodeWeavers, but I'm filing this bug report because this also happens on Wine.
By Wine doesn't crash but throws invalid exception, there is no trace attachment.
Thanks.