Date: Thu, 2 Mar 1995 20:10:05 -0800 From: mcclure@cs.unm.edu To: freebsd-bugs Subject: misc/229: acos() core dump Message-ID: <199503030410.UAA01160@freefall.cdrom.com> In-Reply-To: Your message of Thu, 2 Mar 95 21:05:24 MST <9503030405.AA18921@chaco.cs.unm.edu>
index | next in thread | previous in thread | raw e-mail
>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<stdio.h>
#include<math.h>
main()
{
acos(-2.0);
}
>Fix:
Unknown.
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503030410.UAA01160>
