Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442182 - app-misc/screen-4.0.3-r5 freezes with default configuration
Summary: app-misc/screen-4.0.3-r5 freezes with default configuration
Status: RESOLVED DUPLICATE of bug 442070
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-07 11:42 UTC by Pavel Šimerda
Modified: 2012-11-07 16:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace (screen.strace,84.91 KB, text/plain)
2012-11-07 15:29 UTC, Pavel Šimerda
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***