From owner-freebsd-stable Mon Apr 23 23:39:56 2001 Delivered-To: freebsd-stable@freebsd.org Received: from zoon.lafn.org (zoon.lafn.org [206.117.18.9]) by hub.freebsd.org (Postfix) with ESMTP id F09EB37B42C for ; Mon, 23 Apr 2001 23:39:53 -0700 (PDT) (envelope-from bc979@lafn.org) Received: from [10.0.1.100] (cs-wla1-p31.lafn.org [192.168.20.31] (may be forged)) by zoon.lafn.org (8.10.1/8.10.1) with ESMTP id f3O6dqC12146 for ; Mon, 23 Apr 2001 23:39:52 -0700 (PDT) Mime-Version: 1.0 X-Sender: bc979@mail.lafn.org Message-Id: In-Reply-To: References: Date: Mon, 23 Apr 2001 23:38:48 -0700 To: From: Doug Hardie Subject: Illegal Instruction in libm Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I upgraded from 4.2 to 4.3-Release today. All seemed fine till I ran a program that references libc. It dies with an illegal instruction. Recompiling the program made no change. Here is the gdb where output: Program terminated with signal 4, Illegal instruction. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x804e011 in ?? () (gdb) where #0 0x804e011 in ?? () #1 0x280f85dc in __dtoa () from /usr/lib/libc.so.4 #2 0x280f56d7 in vfprintf () from /usr/lib/libc.so.4 #3 0x280f36f0 in vfprintf () from /usr/lib/libc.so.4 #4 0x280f2915 in fprintf () from /usr/lib/libc.so.4 #5 0x8048c47 in FLIST () at files.c:61 #6 0x804a9b1 in main (argc=1, argv=0xbfbffc18) at gasp.c:30 #7 0x80487c9 in _start () The only other thing I have found was that ntop had to be recompiled, but it worked fine then. Everything else didn't even need to be recompiled. The statement that is failing is: fprintf (ofd,"%13.5f ",entries[eloc+i]); The falue of entries at that time is 100. The previous values of entries print fine. I commented out that print and it then died on the next one. The value there was 72.3838 so it does not appear to be value dependent. The destination fd I have set to a file and to stdout with no change. -- -- Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message