From owner-freebsd-bugs Thu Mar 2 20:10:07 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id UAA01169 for bugs-outgoing; Thu, 2 Mar 1995 20:10:07 -0800 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id UAA01160; Thu, 2 Mar 1995 20:10:05 -0800 Date: Thu, 2 Mar 1995 20:10:05 -0800 Message-Id: <199503030410.UAA01160@freefall.cdrom.com> From: mcclure@cs.unm.edu Reply-To: mcclure@cs.unm.edu To: freebsd-bugs Subject: misc/229: acos() core dump In-Reply-To: Your message of Thu, 2 Mar 95 21:05:24 MST <9503030405.AA18921@chaco.cs.unm.edu> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 229 >Category: misc >Synopsis: acos() core dump >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 2 20:10:02 1995 >Originator: User & >Organization: >Release: FreeBSD 2.0-RELEASE i386 >Environment: FreeBSD 2.0 from Walnut creek FreeBSD 2.0 "January 1994" release. >Description: calling the acos() function in the math library with illegal values ( say -2.0 ) causes a floating exception core dump. /usr/lib info: # ls -l libm.* -r--r--r-- 1 bin bin 123388 Nov 22 05:14 libm.a -r--r--r-- 1 bin bin 165021 Nov 22 05:14 libm.so.2.0 # cksum libm.* 3164276670 123388 libm.a 3263430048 165021 libm.so.2.0 >How-To-Repeat: Try running this an linking with -lm: #include #include main() { acos(-2.0); } >Fix: Unknown. >Audit-Trail: >Unformatted: