Ticket #1918 (closed bug: fixed)
Terminal Deadlock When TTY Buffer Full
| Reported by: | bonefish | Owned by: | bonefish |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | Applications/Terminal | Version: | R1 development |
| Cc: | anevilyak | Blocked By: | |
| Platform: | All | Blocking: |
Description
The Terminal can deadlock when the tty buffer runs full. Attached is a KDL session analyzing the situation. In short:
- Window thread: Is in Shell::Write() writing to the TTY, blocking because the TTY buffer is full.
- PtyReader thread: Is in TermParse::PtyReader(), blocking on fReaderLocker.
- EscParse thread: Is in TermView::_Redraw(), blocking trying to lock the window.
May or may not be related to #1755. I can't unblock the Terminal by resizing/zooming the window, though, so it probably isn't.
Regarding how to reproduce it: I have seen this only once yet. I suppose it helps to have a command line program that prints a lot and type something at the same time.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
