From owner-freebsd-hackers Sun Feb 22 13:45:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18371 for freebsd-hackers-outgoing; Sun, 22 Feb 1998 13:45:12 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18346 for ; Sun, 22 Feb 1998 13:45:07 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id NAA08454; Sun, 22 Feb 1998 13:44:22 -0800 (PST) Message-Id: <199802222144.NAA08454@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Sunthiti Patchararungruang cc: hackers@FreeBSD.ORG Subject: Re: Signal 11 problem In-reply-to: Your message of "Mon, 23 Feb 1998 04:12:05 +0700." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 22 Feb 1998 13:44:21 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > You should start by applying the debugger (gdb) to your program and the > > core file produced when it crashes. If you build your program with the > > '-g' flag you will be able to determine the source line on which the > > fault occurs. (This may not be the location of the bug itself, of > > course.) > > Sorry about my useless example. Here is the real problem. I cut it > from wu-ftpd 2.4. All variables are proved to be correct. I use > FreeBSD2.2.5. Have you tried attaching the debugger? What does it say? What are the actual contents of the variables (what do you mean by "proved correct"?) Can you please provide a compilable example that demonstrates the problem? Note that the wu-ftpd works for everyone else. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message