Package: python3 Version: 3.8.2-3 Severity: important X-Debbugs-Cc: j.arunm...@protonmail.com
Dear Maintainer, Content of .inputrc : ``` # Based on Brendan Miller's initial bash .inputrc # INSTALL # to install, rename this file to just ".inputrc" # place this file in your home dir. e.g. ~/.inputrc # restart your terminal. Then, bash's keybinding for editing # should be like ErgoEmacs. # If no key works, try replace all \e to \M-. That's means change Esc to Meta key. set editing-mode emacs "\M-j": backward-char "\M-l": forward-char "\M-u": backward-word "\C-M-b": backward-word "\M-o": forward-word "\C-M-f": forward-word "\M-g": kill-line "\<S-delete>": kill-line "\M-e": backward-kill-word "\M-r": kill-word "\M-f": delete-char "\C-z": undo "\<S-delete>": kill-region "\M-c": copy-region-as-kill "\<S-insertchar>": yank "\C-v": yank "\C-f": forward-search-history "\M-:": reverse-search-history ``` With .inputrc of above content in HOME, both python and python3 crash by segmentation fault on interactive session. The same happens if any python script takes input from user. This was thought to be an Ergoemacs issue and a bug report was filed in their repository. But the repository maintainers suggested reporting it to readline or / and python package maintainers. Clearing the contents of .inputrc or renaming the file to some trivial name, fixes the issue. Affected usage : 1. Interactive sessions of python and python3 2. Scripts that take input from user. (`python3 myScript.py`) 3. Scripts that process a file and drop to interactive shell. (`python3 -i myScript.py`) Example observation : ``` j_arun_mani@mysys:~$ python3 Python 3.8.5 (default, Aug 2 2020, 15:09:07) [GCC 10.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> <Press Enter> Segmentation fault ``` Please inform me if any other additional details are required. Thanks ^_^ -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.7.0-2-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3 depends on: ii libpython3-stdlib 3.8.2-3 ii python3-minimal 3.8.2-3 ii python3.8 3.8.5-2 python3 recommends no packages. Versions of packages python3 suggests: pn python3-doc <none> pn python3-tk <none> ii python3-venv 3.8.2-3 -- no debconf information