https://bugs.winehq.org/show_bug.cgi?id=56334
Bug ID: 56334 Summary: Page fault when querying dinput8_a_EnumDevices Product: Wine Version: 9.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dinput Assignee: wine-bugs@winehq.org Reporter: leonicolas@gmail.com Distribution: ---
Created attachment 76066 --> https://bugs.winehq.org/attachment.cgi?id=76066 Unhandled exception: page fault on read access to 0x00000006 in wow64 32-bit code (0x7bd37250).
This error happens when I try to run a game I'm developing on the MMBasic For Windows environment over Wine. I have tried different Wine versions, including the last dev version (9.2). The error only happens if I have the gamepad connected to the computer.
This is the MMBasic For Windows interpreter I'm using: https://www.thebackshed.com/forum/uploads/matherp/2023-12-24_033644_MMBasic....
This is the game repo: https://github.com/leonicolas/knightmare-cmm2/
To run the interpreter environment: wine MMBasic_input.exe &> /dev/null
To run the game:
chdir"the/game/path" Usually the root folder is your Documents folder run"km.bas"
Wine crashes with the attached backtrace after running the run"km.bas" command.