https://bugs.winehq.org/show_bug.cgi?id=50304
Bug ID: 50304 Summary: Control-C exits winedbg instead of stopping the inferior Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winedbg Assignee: wine-bugs@winehq.org Reporter: joachim.priesner.bugs@web.de CC: jacek@codeweavers.com Regression SHA1: 633b244b1ae7928cafbfd25ef338e4918aac0d74 Distribution: ---
Created attachment 68875 --> https://bugs.winehq.org/attachment.cgi?id=68875 +winedbg log of hang behavior
To reproduce:
- run wine winedbg program.exe - press "c <Enter>" to run the program - press Control-C
Expected: The program is stopped and I am back at the winedbg prompt.
Actual:
The behavior matched the expected one until the following commit:
commit 54e117018cd4cc58c258da92686bfad13946bde2 Author: Jacek Caban jacek@codeweavers.com Date: Mon Sep 21 17:07:29 2020 +0200
kernelbase: Use conhost to handle Unix consoles.
Starting at this commit, pressing Control-C would cause winedbg to hang (needed to "kill -9" it).
The behavior changed again in the following commit:
commit 633b244b1ae7928cafbfd25ef338e4918aac0d74 Author: Jacek Caban jacek@codeweavers.com Date: Tue Oct 13 16:27:38 2020 +0200
kernel32: Always use conhost for ReadConsoleW.
Starting at this commit, and until the current master, pressing Control-C causes winedbg to immediately exit.