[Bug 56882] New: ConEmu errors: Injecting hooks failed (regression)
https://bugs.winehq.org/show_bug.cgi?id=56882 Bug ID: 56882 Summary: ConEmu errors: Injecting hooks failed (regression) Product: Wine Version: 9.1 Hardware: x86-64 OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: xerox.xerox2000x(a)gmail.com Regression SHA1: 6ea77ec0864eb7870ce3418bf828077c2a072413 Distribution: Debian Throws the aforementioned error at start. And this also causes ansi escape codes to appear in console 6ea77ec0864eb7870ce3418bf828077c2a072413 is the first bad commit commit 6ea77ec0864eb7870ce3418bf828077c2a072413 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Jun 18 12:08:03 2024 +0200 kernelbase: Make memory writable in WriteProcessMemory if necessary. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56882 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/Maximus5 | |/ConEmu/releases CC| |julliard(a)winehq.org --- Comment #1 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- added dl-link -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56882 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ConEmu errors: Injecting |ConEmu errors: Injecting |hooks failed (regression) |hooks failed Keywords| |regression -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56882 --- Comment #2 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Hack below makes ConEmu work properly again. Might help to pinpoint cause /fix regression diff --git a/dlls/kernelbase/memory.c b/dlls/kernelbase/memory.c index 46b155b7a47..5ce3f61d8c0 100644 --- a/dlls/kernelbase/memory.c +++ b/dlls/kernelbase/memory.c @@ -621,6 +621,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH WriteProcessMemory( HANDLE process, void *addr, co case PAGE_READWRITE: case PAGE_WRITECOPY: case PAGE_EXECUTE_READWRITE: + case (PAGE_NOCACHE | PAGE_EXECUTE_READWRITE): case PAGE_EXECUTE_WRITECOPY: /* already writable */ if ((status = NtWriteVirtualMemory( process, addr, buffer, size, bytes_written ))) break; -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56882 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |270b679bf8affb39c471a521302 | |b8fe4637b7d89 CC| |infyquest(a)gmail.com Resolution|--- |FIXED --- Comment #3 from Vijay Kamuju <infyquest(a)gmail.com> --- Fix committed - https://source.winehq.org/git/wine.git/commitdiff/270b679bf8affb39c471a52130... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56882 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.13. -- 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.
participants (1)
-
WineHQ Bugzilla