From owner-freebsd-isp Fri Feb 5 05:59:30 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA19478 for freebsd-isp-outgoing; Fri, 5 Feb 1999 05:59:30 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mail.trace.net.tw (mail.trace.net.tw [202.80.128.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA19473 for ; Fri, 5 Feb 1999 05:59:28 -0800 (PST) (envelope-from ronald@mail.trace.net.tw) X-Comments: ****** Message sent through an Trace account ****** X-http: ****** http://www.trace.com.tw ****** Received: from localhost (ronald@localhost) by mail.trace.net.tw (8.9.0/8.9.0) with SMTP id VAA07811; Fri, 5 Feb 1999 21:59:26 +0800 Date: Fri, 5 Feb 1999 21:59:26 +0800 (CST) From: Ronald Wiplinger To: xiyuan qian cc: pasha@sim.net.ua, freebsd-isp@FreeBSD.ORG Subject: Re: Segmentation fault - core dump? In-Reply-To: <199902051242.UAA06602@dns.hgs.com.cn> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 5 Feb 1999, xiyuan qian wrote: > > > > xiyuan qian wrote: > > > > > > Hi, I run a server program on two FreeBSD box. One is IBM Netfinity3000 (host1) > > > and the other is IBM PC Server 325(host2). On host2, everything seems OK, but > > > on host1, the program always suddenly core dumped. The result code is: > > > "Segmentation fault--core dumped" (Signal 11). The host1 has 128M mem and the > > > host2 64M mem. The kernel and all the others all the same. What's the reason? > > > How can I debug the core to find it? Have you compiled the 64 or 128 MB into the kernel??? > > First of all > > # man signal > > > > To debug program simplest way is to compile programm with -g switch and > > after its crashes run > > # gdb progname progname.core > > In gdb shell type where > > > > Thanks a lot. Now the debug result is: Program terminated with signal 11. > Segmentation fault. Can not access memory at address 0x8075080 > #0 0x2e2f6 in printablestring() > > What's the next for me to find out what's wrong? > > --xiyuan > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message