https://bugs.winehq.org/show_bug.cgi?id=41733
Bug ID: 41733 Summary: wineconsole: crashes in emacs mode when pasting (Ctrl+Y) empty buffer Product: Wine Version: 1.9.23 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: jre.winesim@gmail.com Distribution: ---
Created attachment 56173 --> https://bugs.winehq.org/attachment.cgi?id=56173 Backtrace of crash.
Originally reported as https://bugs.debian.org/844412.
wineconsole in emacs mode crashes when pressing "Ctrl" + "y" (paste buffer) while the buffer is still empty.
This is reproducible if wineconsole is in emacs mode (changing to emacs mode requires restart, see bug #41732).
In a fresh wineprefix:
$ wineconsole Right-click -> Set defaults Setup - Default settings -> Configuration -> Choose Edition: Emacs -> Restart wineconsole -> "Ctrl" + "y" -> Crash, see backtrace.txt. wine: Unhandled page fault on read access to 0x00000000 at address 0x7b43a074 (thread 0059), starting debugger...
Once I copy something to the buffer it works as expected: $ wineconsole Z:\home\jens>foo -> "Strg" + "w" cuts "foo" -> "Strg" + "y" pastes "foo" as expected.