http://bugs.winehq.org/show_bug.cgi?id=58255
Bug ID: 58255 Summary: I am Using Wine Staging Trying to run a program Called Player2 Which allows to play minecraft with AI Product: Wine Version: 10.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: salikovjr@gmail.com Distribution: ---
Created attachment 78598 --> http://bugs.winehq.org/attachment.cgi?id=78598 here is the backtrace
something broke idk
http://bugs.winehq.org/show_bug.cgi?id=58255
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|I am Using Wine Staging |Player2 crashes |Trying to run a program | |Called Player2 Which allows | |to play minecraft with AI | Severity|blocker |normal URL| |https://player2.game/
http://bugs.winehq.org/show_bug.cgi?id=58255
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming though I get a different backtrace. For me it crashes into two unimplemented functions user32.SetProcessLaunchForegroundPolicy and pdh.PdhEnumObjectsA.
The first one seems to be undocumented, and seems to be called from msedgewebview2 The first parameter seems to be the process id as it always corresponds to the pid of msedgeweview2 that you can find by running tasklist in a separate window. The second parameter might be some flag?, it's always '4'
The attached patch makes the program start for me though sometimes I get a crash in ole32 (RevokeDragDrop). I'll send patches for the stubs later.
Note, i cannot add an attachment, pasting stubs below diff --git a/dlls/pdh/pdh.spec b/dlls/pdh/pdh.spec index 3d51f6257ef..778fb4f0b32 100644 --- a/dlls/pdh/pdh.spec +++ b/dlls/pdh/pdh.spec @@ -32,7 +32,7 @@ @ stub PdhEnumObjectItemsHA @ stub PdhEnumObjectItemsHW @ stdcall PdhEnumObjectItemsW(wstr wstr wstr ptr ptr ptr ptr long long) -@ stub PdhEnumObjectsA +@ stdcall PdhEnumObjectsA(ptr ptr ptr ptr ptr ptr) @ stub PdhEnumObjectsHA @ stub PdhEnumObjectsHW @ stub PdhEnumObjectsW diff --git a/dlls/pdh/pdh_main.c b/dlls/pdh/pdh_main.c index dec86a9962b..11c36e5bd33 100644 +++ b/dlls/user32/misc.c @@ -543,3 +543,7 @@ LRESULT WINAPI ImeWndProcW( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ) if (!imm_ime_wnd_proc) return DefWindowProcW(hwnd, msg, wParam, lParam); return imm_ime_wnd_proc( hwnd, msg, wParam, lParam, FALSE ); } + +BOOL WINAPI SetProcessLaunchForegroundPolicy(DWORD id, DWORD a1) +{FIXME("(%lu %lu): stub\n", id, a1); + return 0;} diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index 081e4c38373..494c8b7a983 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -1074,7 +1074,7 @@ @ stdcall SetProcessDefaultLayout(long) NtUserSetProcessDefaultLayout @ stdcall SetProcessDpiAwarenessContext(long) @ stdcall SetProcessDpiAwarenessInternal(long) -# @ stub SetProcessLaunchForegroundPolicy +@ stdcall SetProcessLaunchForegroundPolicy(long long) # @ stub SetProcessRestrictionExemption @ stdcall SetProcessWindowStation(long) NtUserSetProcessWindowStation @ stdcall SetProgmanWindow(long) NtUserSetProgmanWindow ~
http://bugs.winehq.org/show_bug.cgi?id=58255
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Component|-unknown |pdh Status|NEW |RESOLVED Fixed by SHA1| |43498adabdbc65a4848a6f73a86 | |6c22c64eef692
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Two commits (43498adabdbc65a4848a6f73a866c22c64eef692 and 62b3eee965223a2de62daa87c4b81708cd62e6f3) are in upstream wine now that should help with crashes for this program. There might be more issues; open new bugreport if you encounter them.
Some issues I encountered: - You have to set version windows 7 for msedgewebview2.exe in winecfg, otherwise window will be blank. - There seems to be some race condition while starting the app: sometimes it starts fine, sometimes it crashes inside RevokeDragDrop (in ole32). I don't know if this is a problem on my side. I just try to start the app a few times until I get around the crash.
As mentioned before, new issues can be tracked in new bugreport, resolving this one as fixed.
http://bugs.winehq.org/show_bug.cgi?id=58255
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.9.