Date: Thu, 23 May 2002 19:51:02 +0000 From: Phil Pennock <pdp@nl.demon.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/38467: less can dump core, FPU exception Message-ID: <E17Ayc2-000240-00@samhain.noc.nl.demon.net>
next in thread | raw e-mail | index | archive | help
>Number: 38467 >Category: bin >Synopsis: less can dump core, FPU exception >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 23 13:00:21 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Phil Pennock >Release: FreeBSD 4.5-RELEASE-p2 i386 >Organization: Thus Plc / Demon Internet Netherlands >Environment: System: FreeBSD samhain.noc.nl.demon.net 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #3: Tue Apr 16 19:28:41 GMT 2002 root@samhain.noc.nl.demon.net:/usr/src/sys/compile/SAMHAIN i386 >Description: less(1) can dump core if target line is greater than the number of lines in a file, and the percentage through the file of the target line is displayed in the prompt. Same general behaviour was in OpenBSD, fixed following PR: <URL:http://cvs.openbsd.org/cgi-bin/wwwgnats.pl/full/1643> However, for some unknown reason, FreeBSD doesn't dump core unless trying as root, so perhaps a different cause. Except that on a 4.6-PRERELEASE system, it _does_ dump core as a regular used. And I can't isolate any related difference in the running environment (env, ulimits, etc). Sorry. >How-To-Repeat: [become root] # export LESS='-j5 -P%pj' # echo foo > bar # /usr/bin/less bar foo Floating point exception - core dumped # >Fix: Unknown. But perhaps similar to the fix for OpenBSD PR #1643. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17Ayc2-000240-00>