DragonFly BSD
DragonFly bugs List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: zero sized core files


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Jul 2005 08:50:55 -0700 (PDT)

:
:Hello!
:
:On my DragonFly 1.2.3 system programs residing in NFS will generate
:zero sized core files. Programs residing in UFS generates valid
:core files. The program below can be used to test this.
:
:Happy hacking!
:        -Richard
:
:#include <assert.h>
:
:int
:main(void)
:{
:        assert(1 < 0);
:        return 0;
:}

    I found it.  The core code tries to write out the file handle info
    and NFS does not support that VOP operation.  This data is used by
    the checkpointing code but the lack of it should not prevent us from
    being able to generate a core :-).

    I will change it so it does not abort the whole core dump.

    I need to look at the gzip stuff before I MFC it and bump the release
    sub version, so it will be a week before the fix makes it into the
    release (at least).

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]