After upgrade to 4.7.0_4 screen would not start: it just hangs after start. A rollback to screen-4.7.0_1 fixes the problem. The system is 11.3-RELEASE. Compile options: Options : INFO : on NAMED_PIPES : off NCURSES_BASE : off NCURSES_DEFAULT: on NCURSES_PORT : off NETHACK : on SHOWENC : off SOCKETS : on SYSTEM_SCREENRC: on XTERM_256 : on
Thank you for the report Victor. If there are non-default OPTIONS selected for this build, please try the default options (make rmconfig) and let us know if the issue is still reproducible ^Triage: Fix Summary typo, assign to maintainer
I've double checked, these ARE the default options. It is also not locale-related, the problem is there both with ru_RU.KOI8-R and ru_RU.UTF-8
Just tried recompiling with NAMED_PIPES instead of SOCKETS, it did not help however. ^T shows that it's just in the pause state: $ screen load: 0.08 cmd: screen 40879 [pause] 2.44r 0.00u 0.01s 0% 2624k load: 0.06 cmd: screen 40879 [pause] 21.39r 0.00u 0.01s 0% 2624k ^C does not interrupt it. ^Z can send it into background, but "fg" does not bring it back: $ screen load: 0.35 cmd: screen 40912 [pause] 4.32r 0.01u 0.00s 0% 2624k ^C ^Z Suspended $ fg screen Sorry, cannot contact session "40913.pts-1.pager1" again. $
uname -a please. Try sending kill -cont to the screen PIDs.
(In reply to Cy Schubert from comment #4) > uname -a please. You know what! The bug is present on i386 only! I've set up two otherwise identical VMs in bhyve. Here the bug is NOT present: FreeBSD test4.sibptus.ru 11.3-RELEASE-p3 FreeBSD 11.3-RELEASE-p3 #0: Mon Aug 19 21:08:43 UTC 2019 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Here the bug is present: FreeBSD test3.sibptus.ru 11.3-RELEASE-p3 FreeBSD 11.3-RELEASE-p3 #0: Mon Aug 19 21:02:24 UTC 2019 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
(In reply to Cy Schubert from comment #4) > Try sending kill -cont to the screen PIDs. vas@test3:~ % ps axwwu | grep screen vas 1723 0,0 0,3 6912 2784 0 S+ 19:37 0:00,01 screen vas 1731 0,0 0,2 6200 2076 1 S+ 19:38 0:00,00 grep screen vas@test3:~ % kill -CONT 1723 1723: Operation not permitted vas@test3:~ % (that was from another SSH session).
(In reply to Victor Sudakov from comment #6) The same "kill -CONT 1723" - just nothing happens. screen keeps haning in the [pause] state. Would you like an account on that i386 virtual host?
(In reply to Victor Sudakov from comment #7) > The same "kill -CONT 1723" - just nothing happens I meant the above from root, from another SSH session.
A commit references this bug: Author: cy Date: Wed Nov 6 21:17:25 UTC 2019 New revision: 516926 URL: https://svnweb.freebsd.org/changeset/ports/516926 Log: Circumvent a hang on FreeBSD 11 i386 caused by an unreported (only visible through truss) stack assertion. This is a temporary fix which will require further investigation to determine the cause. PR: 241750 Reported by: Victor Sudakov <vas@sibptus.ru> (in the PR) Paul Beard <paulbeard@gmail.com> (via direct email) Changes: head/sysutils/screen/Makefile
fixed