Date: Mon, 23 Apr 2001 23:38:48 -0700 From: Doug Hardie <bc979@lafn.org> To: <stable@FreeBSD.ORG> Subject: Illegal Instruction in libm Message-ID: <f04330145b70acb165c9f@[10.0.1.100]> In-Reply-To: <NEBBLDHFCEAGCHNCNNLCKEHPECAA.freebsd@wagar.net> References: <NEBBLDHFCEAGCHNCNNLCKEHPECAA.freebsd@wagar.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f04330145b70acb165c9f>