Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 16:34:18 +0100
From:      Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
To:        freebsd-questions@freebsd.org
Subject:   getting program.core, where and how?
Message-ID:  <4B0413FA.8080506@omnilan.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig1215DEE4C8E58DC7009B3D80
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable

Hello,

I have a daemon (compiled with -g) which is dying frequently, but I=20
can't get a core dump.
The daemon drops privileges and runs as restricted user after startup.
I gave the restricted user write permission to the directory where the=20
binary lives, but that hasn't helped.
The size should be really small, so I think ulimit is not the problem.
How can I find out what the working directory of the binary is? I guess=20
the problem is missing write permissions there.

Thanks,

-Harry


--------------enig1215DEE4C8E58DC7009B3D80
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAksEFAAACgkQLDqVQ9VXb8jjEQCgnwuDXvJaUfNoRgdNof7ywbbY
2MkAnRZ8qRBftFika4VzEoA8fT78SgZ8
=Dcb6
-----END PGP SIGNATURE-----

--------------enig1215DEE4C8E58DC7009B3D80--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B0413FA.8080506>