HTCondor Project List Archives



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

Re: [Condor-devel] mmap issue



On Fri, Mar 16, 2007 at 02:06:48PM -0500, Greg Thain wrote:
> Jiansheng Huang wrote:
> > Hi team,
> > 
> > I am periodically seeing the following crash when the new quill tries to
> > compute checksum of an output file used by a job. I used the mmap function
> > to map in the data from the file before passing it to the checksum
> > function. The return status is checked to make sure that it is not
> > MAP_FAILED before doing checksum.

The man page for mmap() mentions:

       SIGBUS Attempted  access to a portion of the buffer that does not corre-
              spond  to  the  file  (for  example, beyond the end of the file,
              including the case  where  another  process  has  truncated  the
              file).

-pete