Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2001 19:49:29 -0700 (PDT)
From:      David Kirchner <davidk@accretivetg.com>
To:        Kory Hamzeh <kory@avatar.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Missing core file?
Message-ID:  <20011022194712.M85958-100000@localhost>
In-Reply-To: <005301c15b6c$eee40100$14ce21c7@avatar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Oct 2001, Kory Hamzeh wrote:

>
> I have a native binary CGI web app that seems to be crashing every now and
> then with signal 11 (SIGSEGV). But for the life of me, I can't find any core
> files afterwards. Is there some place specific that core files are placed or
> do I need to enable them? I've seen core files from other apps sprinkled
> here and there.
>
> Thanks,
> Kory

By default core dumps are placed in the "current working directory" for
the program, I believe. If the process doesn't have write-access to that
directory, no core dump will be created. You can change the place
coredumps will go by setting "kern.corefile=/path/%N.core" with sysctl.


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?20011022194712.M85958-100000>