On Saturday 20 August 2005 07:21 pm, Mike Hokenson wrote:
> I'm having this problem also, but haven't tried 3.0pl1-87. I'm also having
> problems with my clock running too fast, so I'm frequently running ntpdate
> until I can figure out what's going on when I get back to work on Monday.
> Not sure if that would have anything to do with it...
>
> I've rebuilt the cron daemon with -g to try and get something good out of
> the core, but now it's not crashing. :/
>
> A strace I captured earlier looks like this:
>
> [snip]
> 1523  open("/etc/cron.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
> 1523  fstat64(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 1523  fcntl64(4, F_SETFD, FD_CLOEXEC)   = 0
> 1523  getdents64(4, /* 5 entries */, 4096) = 136
> 1523  lstat64("/etc/cron.d/sendmail", {st_mode=S_IFREG|0644, st_size=7,
> ...}) = 0 1523  open("/etc/cron.d/sendmail", O_RDONLY) = 5
> 1523  fstat64(5, {st_mode=S_IFREG|0644, st_size=7, ...}) = 0
> 1523  close(5)                          = 0
> 1523  lstat64("/etc/cron.d/php4", {st_mode=S_IFREG|0644, st_size=456, ...})
> = 0 1523  open("/etc/cron.d/php4", O_RDONLY) = 5
> 1523  fstat64(5, {st_mode=S_IFREG|0644, st_size=456, ...}) = 0
> 1523  close(5)                          = 0
> 1523  getdents64(4, /* 0 entries */, 4096) = 0
> 1523  close(4)                          = 0
> 1523  open("crontabs", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
> 1523  fstat64(4, {st_mode=S_IFDIR|S_ISVTX|0730, st_size=4096, ...}) = 0
> 1523  fcntl64(4, F_SETFD, FD_CLOEXEC)   = 0
> 1523  getdents64(4, /* 4 entries */, 4096) = 104
> 1523  open("crontabs/root", O_RDONLY|O_NOFOLLOW) = 5
> 1523  fstat64(5, {st_mode=S_IFREG|0600, st_size=1011, ...}) = 0
> 1523  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>
> It seemed stable when I commented everyone's crontabs.
>
> Mike

It certainly seems more than coincidental to me that your strace shows the 
same seg fault that my strace shows... immediately after opening 
"crontabs/root".

Rick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to