From owner-freebsd-questions Fri Dec 4 09:25:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA27067 for freebsd-questions-outgoing; Fri, 4 Dec 1998 09:25:46 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA27055 for ; Fri, 4 Dec 1998 09:25:41 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id MAA27770 for ; Fri, 4 Dec 1998 12:25:14 -0500 (EST) Received: from john.baldwinfamily.org (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id MAA17974 for ; Fri, 4 Dec 1998 12:25:14 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 04 Dec 1998 12:25:13 -0500 (EST) Reply-To: jobaldwi@vt.edu Organization: Virginia Tech From: John Baldwin To: freebsd-questions@FreeBSD.ORG Subject: Core dump requirements and purging old files.. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Two questions: 1) What is required to get a program to dump core? I have a CGI script that keeps deferencing null pointers and terminating with signal 11. I want it to dump a core file as it would make debugging it easier and quicker than dumping printf()'s all over the place. I thought it was a permissions problem (Apache and scripts run as nobody:nogroup) so I made the script temporarily suid and owned by root, but it still refuses to dump core. Any suggestions? 2) After doing make world, is it safe to wipe /usr/include of any files older than the newest installed set? My problem is that some things don't appear to get updated (such as /usr/include/sys) and I'm not sure what is safe to purge (if anything) and what is not. Thanks for any help you can give. - --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc @#$$^!@@$56:"{} My modem is speaking in tongues... -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQB1AwUBNmga8IjYza302vYpAQGy6QMAjtPVzDLrsJx0EHOvBpX0PXJhE7BGwolp gK7Ry7ek5n1PDcd4hZT7Jg6c72H8lITHpCSSo81Mc41FwXoRYv0Ur0t9ftqei0zi CyKCAXXt+WSpGTD3VbVTD6SElKXM2cEB =SZjO -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message