https://bugs.winehq.org/show_bug.cgi?id=39447
Bug ID: 39447 Summary: unimplemented function makes games crash Product: Wine Version: 1.7.50 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: hid Assignee: wine-bugs@winehq.org Reporter: nieknooijens@gmail.com Distribution: ---
after trying to run a game launcher from my teacher this happened
Unhandled exception: unimplemented function hid.dll.HidP_TranslateUsagesToI8042ScanCodes called in 32-bit code (0x7b83bfee).
Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7b83bfee ESP:1d99e7c4 EBP:1d99e838 EFLAGS:00200202( - -- I - - - ) EAX:7b827849 EBX:7b8bf000 ECX:00000008 EDX:1d99e7e4 ESI:80000100 EDI:1d99e8ac Stack dump: 0x1d99e7c4: 1d99e860 00000008 7b86387b 80000100 0x1d99e7d4: 00000001 00000000 7b83bfee 00000002 0x1d99e7e4: 7e25ca44 7e25cc57 003b1d22 00000006 0x1d99e7f4: 00000000 00000000 00000000 00000000 0x1d99e804: 00000000 4d430000 003b1c44 00000014 0x1d99e814: 00000000 00000000 00000000 00000004 Backtrace: =>0 0x7b83bfee in kernel32 (+0x2bfee) (0x1d99e838) 1 0x7e25ca28 in hid (+0xca27) (0x1d99e870) 2 0x7e25aec9 in hid (+0xaec8) (0x1d99e8b0) 3 0x00c45849 in libinput (+0x5848) (0x1d99e8b0) 4 0x00c458bf in libinput (+0x58be) (0x1d99e8c0) 5 0x00c470ef in libinput (+0x70ee) (0x1d99e8f0) 6 0x00c472fe in libinput (+0x72fd) (0x1d99e91c) 7 0x00c46bba in libinput (+0x6bb9) (0x1d99e980) 8 0x10041145 in libavs-win32 (+0x41144) (0x1d99e9dc) 9 0x1005ee0f in libavs-win32 (+0x5ee0e) (0x1d99e9e8) 10 0x7bc837f0 call_thread_func_wrapper+0xb() in ntdll (0x1d99e9f8) 11 0x7bc869bd call_thread_func+0x7c() in ntdll (0x1d99eac8) 12 0x7bc837ce RtlRaiseException+0x21() in ntdll (0x1d99eae8) 13 0x7bc8dea9 in ntdll (+0x7dea8) (0x1d99f368) 14 0xf75291aa start_thread+0xd9() in libpthread.so.0 (0x1d99f428)
https://bugs.winehq.org/show_bug.cgi?id=39447
nieknooijens nieknooijens@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64 Version|1.7.50 |1.7.52
https://bugs.winehq.org/show_bug.cgi?id=39447
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com, | |michael@fds-team.de Summary|unimplemented function |Unimplemented function |makes games crash |hid.dll.HidP_TranslateUsage | |sToI8042ScanCodes
--- Comment #1 from Michael Müller michael@fds-team.de --- What is the name of the application?
https://bugs.winehq.org/show_bug.cgi?id=39447
--- Comment #2 from nieknooijens nieknooijens@gmail.com --- it was something my teacher custom build for a VR-headset, it generated 3d-buildings but he didn't come up with a name yet, he only had the "launcher.exe" as executable
https://bugs.winehq.org/show_bug.cgi?id=39447
--- Comment #3 from Aric Stewart aric@codeweavers.com --- While stubbing this is not hard...
It is likely that this API will never fully be implemented in WINE as it relies on HID Keyboard support. Right now it is unlikely that we will ever hook keyboards through HID.
You may want to check with your instructor and see if that will be a requirement or not.
https://bugs.winehq.org/show_bug.cgi?id=39447
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |STAGED CC| |erich.e.hoover@wine-staging | |.com, sebastian@fds-team.de Ever confirmed|0 |1 Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/hid-HidP_Trans | |lateUsagesToI8042ScanCodes
https://bugs.winehq.org/show_bug.cgi?id=39447
--- Comment #4 from Sebastian Lackner sebastian@fds-team.de --- I've added the patch to Staging, it would be useful to know if it actually helps to get this app working.
@Aric: There were a couple of problems in your patch (missing calling convention for one callback, three space indentation, parts that looked like copied from somewhere else, ...). Those are fixed in the version I've added.
https://bugs.winehq.org/show_bug.cgi?id=39447
--- Comment #5 from Aric Stewart aric@codeweavers.com --- (In reply to Sebastian Lackner from comment #4)
I've added the patch to Staging, it would be useful to know if it actually helps to get this app working.
@Aric: There were a couple of problems in your patch (missing calling convention for one callback, three space indentation, parts that looked like copied from somewhere else, ...). Those are fixed in the version I've added.
Thanks, I got no feedback from either developers nor the user so I just let it drop in favor of other work.
https://bugs.winehq.org/show_bug.cgi?id=39447
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=39447
--- Comment #6 from nieknooijens nieknooijens@gmail.com --- Testing it requires me to compile wine from source which I've never done before, so I need some time to sort it out.
https://bugs.winehq.org/show_bug.cgi?id=39447
nieknooijens nieknooijens@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #7 from nieknooijens nieknooijens@gmail.com --- probably a bit late but I finally got it to work! the patch DOES fix it! thanks!
https://bugs.winehq.org/show_bug.cgi?id=39447
Erich E. Hoover erich.e.hoover@wine-staging.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #8 from Erich E. Hoover erich.e.hoover@wine-staging.com --- This patch is only available in the staging branch at the moment, so this isn't completely fixed yet.
https://bugs.winehq.org/show_bug.cgi?id=39447
Erich E. Hoover erich.e.hoover@wine-staging.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |STAGED
https://bugs.winehq.org/show_bug.cgi?id=39447
--- Comment #9 from Aric Stewart aric@codeweavers.com --- I just re-submitted the patch to winehq so hopefully it will get accepted.
-aric
https://bugs.winehq.org/show_bug.cgi?id=39447
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #10 from fjfrackiewicz@gmail.com --- Looks like it's fixed with this commit:
http://source.winehq.org/git/wine.git/commit/b82ce81957a44ac7b80778b5fbe57d3...
https://bugs.winehq.org/show_bug.cgi?id=39447
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|STAGED |RESOLVED Fixed by SHA1| |b82ce81957a44ac7b80778b5fbe | |57d3da2c00535
--- Comment #11 from Sebastian Lackner sebastian@fds-team.de --- Fixed with b82ce81957a44ac7b80778b5fbe57d3da2c00535.
https://bugs.winehq.org/show_bug.cgi?id=39447
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.20.
https://bugs.winehq.org/show_bug.cgi?id=39447
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|b82ce81957a44ac7b80778b5fbe |1 |57d3da2c00535 | Target Milestone|--- |1.8.x CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=39447
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|1 |b82ce81957a44ac7b80778b5fbe | |57d3da2c00535
https://bugs.winehq.org/show_bug.cgi?id=39447
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #13 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.6.