Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!sri-unix!rutgers!princeton!mccc!pjh From: pjh@mccc.UUCP (Peter J. Holsberg) Newsgroups: comp.lang.c,comp.unix.questions Subject: C Programs and sdb Message-ID: <161@mccc.UUCP> Date: Tue, 1-Dec-87 00:49:22 EST Article-I.D.: mccc.161 Posted: Tue Dec 1 00:49:22 1987 Date-Received: Fri, 4-Dec-87 04:33:34 EST Organization: Mercer Co. Comm. College, Trenton, N. J. Lines: 20 Keywords: debug C Xref: mnetor comp.lang.c:5666 comp.unix.questions:5153 I wrote and compiled a large program and when it executes, I get a core dump. (SysVr3 on a 3B2/400) When I try to use sdb, it refers me to a nonexistent 'strncmp.c' file, and says: 0x80802d0b in strncpy:No lines in file *Memory Fault (11) (sig 11) at 0x80802d0b in strncpy:No lines in file strncpy() is used many many times in the program, and is used correctly, and with the proper header file. What could be wrong??? -- Peter Holsberg UUCP: {rutgers!}princeton!mccc!pjh Technology Division CompuServe: 70240,334 Mercer College GEnie: PJHOLSBERG Trenton, NJ 08690 Voice: 1-609-586-4800