You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
seg fault when using Cntrl-q keymap to exit app #76190
the.inputrc: The ~/.inputrc file that is needed to trigger the problem
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-11-12.04:19:56.887>created_at=<Date2017-11-11.22:18:02.634>labels= ['library', 'type-crash']
title='seg fault when using Cntrl-q keymap to exit app'updated_at=<Date2017-11-12.04:19:56.876>user='https://bugs.python.org/BrittonKerin'
This probably applies to more recent version also.
It may be a readline bug, but I haven't seen it except when using the python interface, despite using this same .inputrc file with many different command line programs.
I've attached the ~/.inputrc which are required to trigger the problem.
This simple script will allow the problem to be reproduced:
#!/usr/bin/python3.4-dbg
importreadlineinput('the_prompt> ')
After launching test.py with the given ~/.inputrc in place, simply type Cntrl-q to trigger the seg fault.
Perhaps if this can be confirmed to be a readline issue someone can submit a bug report to that project.
Activity
BrittonKerin commentedon Nov 11, 2017
This probably applies to more recent version also.
It may be a readline bug, but I haven't seen it except when using the python interface, despite using this same .inputrc file with many different command line programs.
I've attached the ~/.inputrc which are required to trigger the problem.
This simple script will allow the problem to be reproduced:
After launching test.py with the given ~/.inputrc in place, simply type Cntrl-q to trigger the seg fault.
Perhaps if this can be confirmed to be a readline issue someone can submit a bug report to that project.
Britton
vadmium commentedon Nov 12, 2017
This looks the same as bpo-25259. The trigger is that multiple lines are generated at the same time, but Python only expects the first line.