Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2019 12:42:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241538] sysutils/screen: update from 4.6.2_3 to 4.7.0_1 crashes on startup with TERM=rxvt
Message-ID:  <bug-241538-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241538

            Bug ID: 241538
           Summary: sysutils/screen: update from 4.6.2_3 to 4.7.0_1
                    crashes on startup with TERM=3Drxvt
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: saper@saper.info
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

screen 4.7.0_1 dumps core when used with TERM=3Drxvt-unicode-256color or
TERM=3Drxvt.

Seen on freshly upgraded 11.3-STABLE box:

FreeBSD xxx 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 am=
d64
amd64 amd64 FreeBSD

as well as an non-upgraded 12.0-STABLE box:

FreeBSD xxx 12.0-STABLE FreeBSD 12.0-STABLE r345375 GENERIC amd64 amd64 amd=
64
FreeBSD

Backtrace:


Starting program: /usr/local/bin/screen=20
[Attaching after LWP 100616 of process 54574 fork to child LWP 100786 of
process 54578]
[New inferior 2 (process 54578)]
[Detaching after fork from parent process 54574]
[Inferior 1 (process 54574) detached]

Thread 2.1 received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100786 of process 54578]
strlen (str=3D0x0) at /usr/src/lib/libc/string/strlen.c:100
warning: Source file is more recent than executable.
100             va =3D (*lp - mask01);
(gdb) bt
#0  strlen (str=3D0x0) at /usr/src/lib/libc/string/strlen.c:100
#1  0x00000000004225a5 in SaveStr (str=3D0x0) at misc.c:59
#2  0x0000000000439535 in InitTermcap (wi=3D0, he=3D0) at termcap.c:230
#3  0x0000000000406832 in main (ac=3D0, av=3D0x7fffffffea80) at screen.c:13=
70
(gdb) quit

Happens with screen setuid or non-setuid root (therefore unrelated to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241530)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241538-7788>