Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 442182

Summary: app-misc/screen-4.0.3-r5 freezes with default configuration
Product: Gentoo Linux Reporter: Pavel Šimerda <code>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED DUPLICATE    
Severity: normal CC: shell-tools
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: strace

Description Pavel Šimerda 2012-11-07 11:42:45 UTC
The 'screen' program freezes at start (shows no output, doesn't react to any
keys). When connecting over SSH, I use enter ~ . to drop SSH connection and
connect again. According to strace, it runs pause() and there it stays.

But, if I move away /etc/screenrc, screen works.
Comment 1 Pavel Šimerda 2012-11-07 11:50:25 UTC
Plus, when I remove:

silencewait 15                      # default: 30

Running 'screen' just kills the SSH session.
Comment 2 Pavel Šimerda 2012-11-07 11:51:24 UTC
silencewait 30 does the same, so it definitely is not the default as is suggested by the configuration file
Comment 3 Pavel Šimerda 2012-11-07 12:19:17 UTC
Simplest configuration file that freezes screen:

  silencewait 15                        # default: 30

Simplest configuration file that tears down SSH connection:

  pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."

When I remove both of them, I'm getting something that looks like
a split screen but screen only uses the upper half of the reals
screen.

This can be fixed by also removing:

  startup_message off

However, I don't know how to fix this properly and make it work
with the Gentoo default options.
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-07 13:51:21 UTC
> According to strace, it runs pause() and there it stays.

Can you include the strace as an attachment?
Comment 5 Pavel Šimerda 2012-11-07 15:29:41 UTC
Created attachment 328692 [details]
strace
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2012-11-07 16:02:36 UTC

*** This bug has been marked as a duplicate of bug 442070 ***