From owner-freebsd-ports Sat May 1 8:10: 9 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 89B9D15AD7 for ; Sat, 1 May 1999 08:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA22800; Sat, 1 May 1999 08:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from s1.hs.yes.no (s1.hs.yes.no [195.204.136.128]) by hub.freebsd.org (Postfix) with ESMTP id EA6B314FB7 for ; Sat, 1 May 1999 08:06:37 -0700 (PDT) (envelope-from root@s1.hs.yes.no) Received: (from root@localhost) by s1.hs.yes.no (8.9.3/8.9.3) id TAA02880; Sat, 1 May 1999 19:07:53 +0200 (CEST) (envelope-from root) Message-Id: <199905011707.TAA02880@s1.hs.yes.no> Date: Sat, 1 May 1999 19:07:53 +0200 (CEST) From: des@flood.ping.uio.no Reply-To: des@flood.ping.uio.no To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11430: incorrect int type causes floating point exception in bonnie Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11430 >Category: ports >Synopsis: incorrect int type causes floating point exception in bonnie >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 1 08:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Dag-Erling Smorgrav >Release: FreeBSD 3.1-19990412-STABLE i386 >Organization: Yes! Interactive >Environment: >Description: Bonnie apparently uses signed integers to measure scratch file size etc. Specifying a file size of 2048 MB or more causes wraparound, and ultimately Bonnie dies of a floating point exception and dumps core. >How-To-Repeat: # bonnie -s 2048 >Fix: Use size_t / off_t where appropriate. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message