*BSD News Article 80589


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!news.stealth.net!news.mxol.com!news3.agis.net!agis!atmnet.net!news.lightside.com!flourine.shocking.com!user
From: fred@lightside.net (Fred Condo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: enabling core dumps
Date: Sat, 12 Oct 1996 08:42:00 -0700
Organization: Lightside, Inc. - Internet Access
Lines: 13
Message-ID: <fred-1210960842000001@flourine.shocking.com>
NNTP-Posting-Host: flourine.shocking.com
Mime-Version: 1.0
Content-Type: text/plain;charset=US-ASCII
Content-Transfer-Encoding: 7bit

What is required to get a failing program to create a core dump? In
particular, I am trying to get Apache to dump core when it fails with a
SEGV. I've checked ulimit -c (it's unlimited), yet Apache won't dump core
on failure. This is under FreeBSD 2.1.0-R. The core dump would be very
useful for debugging Apache's failures.

I wrote a small program that deliberately makes a SEGV, and it dumps core
very nicely. What am I missing?
-- 
http://www.lightside.net/~fred/ + net access + http://www.lightside.net/
"Attempts to control the use of encryption technology are wrong in
principle, unworkable in practice, and damaging to the long term economic
value of the information networks." - UK Labour Party