bugGNU Screen - Bugs: bug #33225, screen sometimes dies when started...

 
 

bug #33225: screen sometimes dies when started through ssh -t

Submitter:  Cyril Roussillon <cyril42e>
Submitted:  Tue 03 May 2011 06:02:18 PM UTC
   
 
Category:  Crash/Freeze/Infloop Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.0.3
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 03 May 2011 06:02:18 PM UTC, original submission:  

I start commands in screens on distant machines using ssh with -t option, advertised in ssh man to allow the use of screen. It doesn't work at all without this option (the command is blocking). For instance with this command :

ssh -t <machine> "screen -d -m sleep 100"

- sometimes it doesn't seem to create a screen session (nothing with screen -ls),
- sometimes it creates a screen session but which is immediately "Dead",
- sometimes it creates a screen session correctly "Detached", but which never ends (here after 100s it is supposed to end). When trying to attach it it freezes, and ctrl-c makes the screen "Dead" with the message "Suddenly the Dungeon collapses!! - You die...",
-eventually sometimes it just works (creates a "Detached" screen, can attach it, detach it again, etc).

More interesting, on some machines it almost always works, and on some other machines it almost never works, even if they have exactly the same OS and software version, eg:

[~] uname -a
Linux bugsbunny 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
[~] cat /proc/version
Linux version 2.6.18-238.9.1.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Tue Apr 12 18:10:13 EDT 2011
[~] screen --version
Screen version 4.00.03 (FAU) 23-Oct-06
[~] ssh -v
OpenSSH_5.8p1-hpn13v10, OpenSSL 1.0.0d 8 Feb 2011

I tried with different machines with different OpenSSH versions, from 4.3 to 5.8, in the two directions, and it never worked perfectly. Actually I don't know if this is a bug of ssh, sshd or screen... Of course it is the same with other commands than sleep.



Cyril Roussillon <cyril42e>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cyril42e (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code