Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 1999 20:42:47 +0800 (CST)
From:      xiyuan qian <xiyuan@dns.hgs.com.cn>
To:        pasha@sim.net.ua
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Segmentation fault - core dump?
Message-ID:  <199902051242.UAA06602@dns.hgs.com.cn>

next in thread | raw e-mail | index | archive | help
>
> 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?
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902051242.UAA06602>