I'm trying to debug a piece of software. It dumps a core file which mysteriously vanishes. it's not in the program directory, nor my $HOME, nor /var/crash nor /var/core ... Deliberately crashing /bin/sh also results in a core file which turns up nowhere on my filesystem. Crossposting to -stable and -ppc because i'm uncertain whether this is a ppc issue or a bsd issue or simple operator incompetence. I apologise if the answer is something that was a google away. -- Horst -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090424/d4aaca7c/attachment.pgp
On Sat, Apr 25, 2009 at 01:21:18AM +1000, Horst G?nther Burkhardt III wrote:> I'm trying to debug a piece of software. It dumps a core file which > mysteriously vanishes. it's not in the program directory, nor my $HOME, > nor /var/crash nor /var/core ... > > Deliberately crashing /bin/sh also results in a core file which turns up > nowhere on my filesystem. > > Crossposting to -stable and -ppc because i'm uncertain whether this is a > ppc issue or a bsd issue or simple operator incompetence. > > I apologise if the answer is something that was a google away.Did you check your ulimit limits to see if your login session actually allows for coredumps to be created? Regards, Gary
On Fri, Apr 24, 2009 at 11:21 AM, Horst G?nther Burkhardt III <horst@sxemacs.org> wrote:> I'm trying to debug a piece of software. It dumps a core file which > mysteriously vanishes. it's not in the program directory, nor my $HOME, > nor /var/crash nor /var/core ... > > Deliberately crashing /bin/sh also results in a core file which turns up > nowhere on my filesystem. > > Crossposting to -stable and -ppc because i'm uncertain whether this is a > ppc issue or a bsd issue or simple operator incompetence. > > I apologise if the answer is something that was a google away. > > -- Horst >Have you limited the coredumpsize to 0 by chance? What output do you get from: limits | grep core or perhaps: ulimit -a | grep core Regards, Josh
On Fri, Apr 24, 2009 at 11:21 AM, Horst G?nther Burkhardt III <horst@sxemacs.org> wrote:> I'm trying to debug a piece of software. It dumps a core file which > mysteriously vanishes. it's not in the program directory, nor my $HOME, > nor /var/crash nor /var/core ... > > Deliberately crashing /bin/sh also results in a core file which turns up > nowhere on my filesystem. > > Crossposting to -stable and -ppc because i'm uncertain whether this is a > ppc issue or a bsd issue or simple operator incompetence. > > I apologise if the answer is something that was a google away. >Do you disable coredumps in /boot/loader.conf? The following would enable them: kern.coredump=1 -- Glen Barber