From owner-freebsd-questions Sun Sep 6 06:07:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA15331 for freebsd-questions-outgoing; Sun, 6 Sep 1998 06:07:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.bit-net.com (dns1.bit-net.com [208.146.132.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA15326 for ; Sun, 6 Sep 1998 06:07:46 -0700 (PDT) (envelope-from sderdau@bit-net.com) Received: from bit-net.com (sderdau.bit-net.com [208.146.135.247]) by mail.bit-net.com (8.8.8/8.8.8) with ESMTP id JAA01992 for ; Sun, 6 Sep 1998 09:07:43 -0400 (EDT) Message-ID: <35F2898D.42971A56@bit-net.com> Date: Sun, 06 Sep 1998 09:09:33 -0400 From: Stephen Derdau X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.7-STABLE i386) MIME-Version: 1.0 To: "FreeBSD .org" Subject: Core DUMP Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG compiling a small program on my system " see sig. below also " " FreeBSD 2.2.7-STABLE #0:" The program compiles but when I run the program I get this error message" -- Bus error (core dumped) Here is the the file : #include int main(void) { char c1, c2, c3; int i; float x; double y; printf("\n%s\n%s", "Input three characters," "an int, a float, and a double: "); scanf("%c%c%c%d%f%lf" , &c1, &c2, &c3, &i, &x, &y); printf("\nHere is the data that you typed in:\n"); printf("%3c%3c%3c5d%17e%17e%\n\n", c1, c2, c3, i, x, y); return 0; } % When I more the a.out file I noticed this also : ^@Failure reading ld.so ^@Bad magic: ld.so ^@Cannot map ld.so (text) ^@Cannot map ld.so (data) ^@Cannot map ld.so (bss) ^@ld.so failed^@: ^@ Thank You /SD FreeBSD 2.2.7-STABLE #0: Mon Aug 24 02:20:10 EDT 1998 **http://www.freebsd.org/search.html "Alot of answers found here see FAQ's"** ***** FreeBSD IT's HARD TO BELIEVE IT IS FREE ! http://www.FreeBSD.org ***** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message