home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!utkcs2!ornl!dmnds!zhang
- From: zhang@dmnds.ornl.gov (Xiaoguang Zhang)
- Subject: Re: Memory fault
- Message-ID: <1992Nov7.214405.14397@ornl.gov>
- Sender: usenet@ornl.gov (News poster)
- Organization: Oak Ridge National Laboratory
- References: <1992Nov7.180233.7809@ornl.gov> <1992Nov7.195355.22583@decuac.dec.com>
- Distribution: na
- Date: Sat, 7 Nov 1992 21:44:05 GMT
- Lines: 23
-
-
- >From: mjr@hussar.dco.dec.com (Marcus J. "Will do TCP/IP for clues" Ranum)
-
- >>I have a 700k program [...]
- >>Ultrix 4.0 it core-dumped. I guess this is paging related. How do I find out
- >>and fix it?
- >
- > Read the manual page for your friendly neighborhood debugger, and
- >use it to find out where in the code and why it core dumped. Saying "it
- >dumps core" is like going to a doctor and saying "I feel bad." Going in
- >with a debugger and determining that you're getting a segmentation fault
- >in, say, strcmp() is like going to a doctor and saying, "my leg hurts,
- >and here's an Xray showing where it's broken."
- >
- >mjr.
-
- Sorry about not giving you enough information. Running dbx showed that it
- stopped before the first non-comment statement. That's why I suspect it's
- not bug related problem. I can't guarentee it's bug-free, but the program
- is simple enough to see where the problem is. The core-dump was definitely
- *NOT* caused by a program bug.
-
- I'll be glad to provide more info.
-