Date: Tue, 05 Nov 2019 00:23:06 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 241714] /usr/bin/diff --tabsize dies with SIGSEGV Message-ID: <bug-241714-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241714 Bug ID: 241714 Summary: /usr/bin/diff --tabsize dies with SIGSEGV Product: Base System Version: 12.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: rlwestlund@gmail.com On the three systems I've tried, /usr/bin/diff with --tabsize dies with SIGSEGV, regardless of any other options or arguments. I'm observing the crash on FreeBSD 12.1-RELEASE. uname -a: FreeBSD coppermind 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENE= RIC=20 amd64 freebsd-version -kur: 12.1-RELEASE 12.1-RELEASE 12.1-RELEASE Outside of --tabsize, diff works normally. The synopsis in diff(1) indicates that the option is a standalone. Later in= the man page it's shown as '-tabsize' (as opposed to --tabsize), and said to ta= ke an argument (which makes sense); however I think the single dash is a typo because when I run diff -tabsize 3 file1 file2, I get "diff: invalid option= -- z". I've also tested this on two 12.0-RELEASE-p10 systems (DO droplets), and se= en the crash on them as well. I updated the userland of those systems to 12.0-RELEASE-p11 and the same thing happened. The DO droplets are also amd64 machines with GENERIC kernel. --=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-241714-227>