From owner-freebsd-bugs Thu May 23 13: 0:53 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1DE1737B47E for ; Thu, 23 May 2002 13:00:22 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4NK0MM86565; Thu, 23 May 2002 13:00:22 -0700 (PDT) (envelope-from gnats) Received: from hermes.mail.nl.demon.net (hermes.mail.nl.demon.net [194.159.72.197]) by hub.freebsd.org (Postfix) with ESMTP id 9D1F937B41E for ; Thu, 23 May 2002 12:51:03 -0700 (PDT) Received: from samhain.noc.nl.demon.net ([194.159.72.214]) by hermes.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 17Ayc2-0000Oq-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 23 May 2002 21:51:02 +0200 Received: by samhain.noc.nl.demon.net with local id 17Ayc2-000240-00; Thu, 23 May 2002 19:51:02 +0000 Message-Id: Date: Thu, 23 May 2002 19:51:02 +0000 From: Phil Pennock To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/38467: less can dump core, FPU exception Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: 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