https://bugs.winehq.org/show_bug.cgi?id=4209 Lauri Kenttä <lauri.kentta(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lauri.kentta(a)gmail.com --- Comment #12 from Lauri Kenttä <lauri.kentta(a)gmail.com> --- Created attachment 56302 --> https://bugs.winehq.org/attachment.cgi?id=56302 Minimal test program Since there's source code available, I isolated the problem and created a minimal crashing example. Steps to reproduce: 1) Compile hook.c to hook.exe (with MinGW or similar). 2) Start hook.exe in shell; optionally try also hook.exe {2|3|4} 3) Start Notepad. 4) Type a key in Notepad. It crashes right away. 5) Close hook.exe by inputting enter. My sample program includes several versions of the hook callback. Looks like the crash comes if the callback accesses memory at all, so practically anything else than a simple return statement will cause a crash. Someone with an undestanding about the Wine memory layout and/or process boundaries should take a look at this. -- 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.