bugGNU Screen - Bugs: bug #54164, race between starting backend and...

 
 

bug #54164: race between starting backend and issuing command to session

Submitted by:  Amadeusz Sławiński <amade>
Submitted on:  Thu 21 Jun 2018 08:03:46 PM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  None
Work Required:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 21 Jun 2018 09:17:12 PM UTC, comment #1: 

in my experience, seems it is easier to trigger when the system is under heavy cpu load. and as a bad workaround, i just put a "sleep 1" in between the 2 calls.

Anonymous
Thu 21 Jun 2018 08:03:46 PM UTC, original submission:  

there can be race when starting it in background and immediately issuing a command to session.

$ screen -S foo -dm
screen -S foo -X stuff "/path/to/script.sh^M"

No screen session found.

easier to reproduce if screen was not run previously or was flushed out of memory (/proc/sys/vm/drop_caches)

Amadeusz Sławiński <amade>
Project Administrator

 

(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 amade (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5