Comments (3)
@knz Could you help me to test that can this pr fix this deadlock? Thanks.
from readline.
To test this properly I think there is no choice and you have to perform a stress test (many hundreds calls of the problem).
I tested with this:
for ((i=0;i<10000;i++)); do printf 'bye\x00' | ./readline-demo; done
No error found any more after 10000 runs, so the situation is now definitely better! 👍
from readline.
Thanks, @knz
from readline.
Related Issues (20)
- Deadlock issue when client closes TCP connection unexpectedly
- Data race between `Operation.ioloop()` and `Operation.SetConfig()`
- How do I complete a file path HOT 1
- how to modify Prompt
- Autocomplete CharBackspace behaviour question HOT 1
- readline.ListenRemote and telnet connection
- Support multi-line edit
- Breaks terminal when used '\n' in promt
- data race warning
- the serial terminal key is invalid or stuck
- change of color (ANSI color code unchaged) when calling `log.SetOutput(l.Stderr())` HOT 4
- `(*Instance).Close()` hangs if there is a concurrent `(*Instance).ReadLine` call
- data race in history search
- TOCTOU race in prompt redraw
- Add a security policy HOT 1
- Example how to use library with old UNIX CLI tools like Oracle sqlplus or rman
- Can I use `readline.NewRawReader()` as `os.Stdin` on Windows? Can `readline.NewRawReader()` support `Ctrl + Space`? HOT 1
- bug
- Fails to read piped stdin in windows
- Reading from differents threads sharing the same Instance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from readline.