screen unpredictably crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Invalid
|
High
|
Unassigned | ||
eglibc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
screen (Ubuntu) |
Incomplete
|
High
|
Unassigned |
Bug Description
Recently on a wide range of unconnected servers, I've been noticing byobu sessions crashing out, with the message "Error: Cannot find master process to attach to!" appearing on the console/shell. I have not yet noticed any unifying factors; this happens when logged on to the physical console as well as over ssh, while the screen is in use as well as when it has been idle for a long time.
byobu 2.68-0ubuntu1.1 and screen 4.0.3-14ubuntu1 are in use in all the cases I've seen (i.e. current upgraded Ubuntu 10.04 servers)
{{{
$ screen -ls
There is a screen on:
4384.pts-0.leela (14/09/10 23:55:39) (Dead ???)
Remove dead screens with 'screen -wipe'.
1 Socket in /var/run/
}}}
I have never noticed this behaviour before, and I've been using vanilla screen for a long time; recently I've been switching to byobu because I find the on-screen info bars to be useful. For this reason I'm listing this bug against byobu, but I cannot prove that.
Suggestions for increasing debug visibility would be appreciated -- I don't want to have to run multi-day sessions under strace, but if that's what it takes I can do that on at least one server.
Changed in byobu: | |
importance: | Undecided → High |
Changed in eglibc (Ubuntu): | |
status: | New → Confirmed |
Thanks for the bug report.
Okay, I'm marking this bug "High", but can't yet Confirm it. I haven't seen the problem, myself, yet, but it sounds serious.
The precise error message itself is coming from a recent from patch to Screen from Debian: patches/ 32misc_ minor_fixes. dpatch: + printf("\nError: Cannot find master process to attach to!\n");
./debian/
Are you running with Nethack mode on?
The content of the patch just changes an error message:
--- screen- 4.0.3.orig/ attacher. c 2009-02-26 01:40:12.427283863 +0100 4.0.3/attacher. c 2009-02-26 01:43:02.258234277 +0100
+++ screen-
@@ -579,7 +579,7 @@
{
fcntl(0, F_SETFL, 0);
SetTTY(0, &attach_Mode);
- printf("\nSuddenly the Dungeon collapses!! - You die...\n");
+ printf("\nError: Cannot find master process to attach to!\n");
eexit(1);
}
#endif
Previously, did you see an equal number of "Suddenly the Dungeon collapses!! - You die..." messages?