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

 
 

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

Submitter:  Amadeusz Sławiński <amade>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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)
  •  

    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-5190.
    Corresponding source code