-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when click on clink.bat #35
Comments
It may be a regression from the Windows 7 fix. The log shows it's accidentally hooking both ReadConsoleW APIs. Hopefully fixing it to only hook one ReadConsoleW API will resolve the crash. But I can't reproduce the problem, so I can't tell for sure. The crash dump shows that calling ReadConsoleW lands in the middle of a completely unrelated OS API. So it seems reasonably likely that this is a regression from the Windows 7 fix, but without being able to reproduce the crash I have no way of investigating deeper or verifying if this change will fix the issue. When I publish a build with a fix in the morning, please try it and let me know if it's stable again. (And if not, please submit a new crash dump -- that was very helpful, thank you!) |
Out of curiosity, do you also have Clink 0.4.x installed, and is 0.4.x set up for auto-inject? |
There is a clink 0.4.x installed in my computer, but auto-inject has not been enabled. And at the same time this clink crashed, there wasn't any running instance of clink 0.4.x. |
Issue #35; skywind3000 observed that Clink crashes sometimes when injecting on Windows 10. The crash dump shows that ReadConsoleW got redirected into the middle of a completely unrelated OS API. I recently fixed Clink on Windows 7 by hooking ReadConsoleW in both kernelbase.dll and kernel32.dll, and maybe hooking both somehow contributed to the crash? Now it only hooks one or the other. Hopefully this resolves the intermittent crash.
v1.1.12 has a speculative fix for this. Please try it when you get a chance. |
Using 1.1.13 for one day, no crash encountered. |
Closing this issue, but please reopen if it happens again. Thank you! |
System: Windows 10 - 10.0.19042.685
Clink: 1.1.11 bd8deb
Sometimes it works, but later when I start your new clink by clicking clink.bat:
see the attatchment for detail:
clink_crash_report.zip
Hope it could be fixed.
The text was updated successfully, but these errors were encountered: