Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626528 - app-shells/bash-completion ctrl-Z signal freezes the shell
Summary: app-shells/bash-completion ctrl-Z signal freezes the shell
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-29 13:39 UTC by Miroslav Olšák
Modified: 2024-03-03 15:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Olšák 2017-07-29 13:39:20 UTC
Assumes installed
  bash (tested 4.3_p48-r1)
  bash-completion (tested 2.4-r1, 2.7)

Reproduction:
Create an executable script "test.sh":
```
#!/bin/bash
sleep 10
```
and an empty file "something".

Launch bash so that bash_completion is loaded.
$ ./test.sh some[tab]thing [enter]
[ctrl-Z]
--> The shell is broken, not showing any typed characters.

Link to Gentoo:
The bug is not reproducible without Gentoo patch
https://bitbucket.org/mgorny/bashcomp2/downloads/bashcomp-2.0.2.tar.gz
which alters the function "_completion_loader"

Related bash-completion issue:
https://github.com/scop/bash-completion/issues/148