bugGNU Screen - Bugs: bug #54458, Session name length causes problem...


bug #54458: Session name length causes problem to "reopen fifo"

Submitted by:  None
Submitted on:  Tue 07 Aug 2018 04:03:42 PM UTC  
Category:  Crash/Freeze/Infloop Severity:  3 - Normal
Priority:  5 - Normal Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.6.2
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.


Sat 10 Nov 2018 09:32:02 PM UTC, comment #2: 

Hm... interesting, so it seems that sockaddr_un that is used in MakeServerSocket can only hold 108 characters (last one being \0 it's 107), which including path to socket directory leaves even less place for actual socket name.

Amadeusz Sławiński <amade>
Project Administrator
Wed 22 Aug 2018 10:56:53 PM UTC, comment #1: 

Hey, thanks for your report.

Yes, actually there are a lof of changes between these versions. For example, we migrated from fifos to sockets in version 4.6.0. That could be the reason, but I'm not sure.

Take a look at this commit: bab73f99a2dc99604fb38b8fa2c73e3453c12b2a

Did you tried to update screen and reopen the old sessions?
There are no PATHs like /run/*, we use /tmp/sceens/S-name. Are there some addition pathes?

@Axel, can you please confirm this problem in (K)ubuntu? Is it really problem with session name length?

Alexander Naumov <anaumov>
Project Administrator
Tue 07 Aug 2018 04:03:42 PM UTC, original submission:  

Hi all,

I have been using screen from earlier than 4.3.1 versions, and with the new kubuntu 18.04 LTS a newer version 4.6.2 is available.

However, I noticed the difference from version 4.3.1 (from kubuntu 16.04LTS) to this one. The problem I found on this newer version is that longer session names cause dead screens and it shows the message "reopen fifo /run/screen/S-pc/9973.[session name with 81chars]: No such file or directory". Additionally, the pid number also influences this behavior, since its length seems to be also accounted for the total length.

So, I tested in version 4.3.1 with plenty more characters without any problem.

Hence, I have to ask, is this a bug? For my needs it would be beneficial to handle longer names as in earlier 4.3.1 version.

If otherwise, this maximum session name length is from now on mandatory, an error should alert the user for this case.

Just to let you know.
Thanks for your attention.



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

Attach Files:

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 (Posted a comment)
  • -email is unavailable- added by anaumov (Posted a comment)

    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.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-10 amade StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.6