[Bug 241538] sysutils/screen: update from 4.6.2_3 to 4.7.0_1 crashes on startup with TERM=rxvt

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 28 12:42:34 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241538

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

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

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 at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
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 amd64
FreeBSD

Backtrace:


Starting program: /usr/local/bin/screen 
[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=0x0) at /usr/src/lib/libc/string/strlen.c:100
warning: Source file is more recent than executable.
100             va = (*lp - mask01);
(gdb) bt
#0  strlen (str=0x0) at /usr/src/lib/libc/string/strlen.c:100
#1  0x00000000004225a5 in SaveStr (str=0x0) at misc.c:59
#2  0x0000000000439535 in InitTermcap (wi=0, he=0) at termcap.c:230
#3  0x0000000000406832 in main (ac=0, av=0x7fffffffea80) at screen.c:1370
(gdb) quit

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

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


More information about the freebsd-ports-bugs mailing list