Date: Fri, 04 Dec 1998 12:25:13 -0500 (EST) From: John Baldwin <jobaldwi@vt.edu> To: freebsd-questions@FreeBSD.ORG Subject: Core dump requirements and purging old files.. Message-ID: <XFMail.981204122513.jobaldwi@vt.edu>
next in thread | raw e-mail | index | archive | help
-----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 <jobaldwi@vt.edu> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.981204122513.jobaldwi>