[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.1.8 problems on Mac OS 10.3.4
From: |
Chris Kacoroski |
Subject: |
Re: 2.1.8 problems on Mac OS 10.3.4 |
Date: |
Thu, 12 Aug 2004 08:49:00 -0700 |
User-agent: |
Mozilla Thunderbird 0.7.3 (Macintosh/20040803) |
Mark,
It got a bit further in the process and then crashed again in the
function RecursiveImage. I am guessing it is the same sort of issue you
fixed before as this function calls the BufferOverflow function that you
replaced in the snapshot with ExpandOverflow. The file that it attempts
to copy created on the Mac client, but it is empty. Thanks for your help.
cheers,
ski
1795 if (rename(new,dest) == -1)
(gdb) n
1810 if ((IMAGEBACKUP != 'n') && backupisdir)
(gdb) n
1815 else if ((IMAGEBACKUP != 'n') && Repository(backup,ip->repository))
(gdb) n
1820 if (ip->preservetimes == 'y')
(gdb) n
1829 return true;
(gdb) ba
#0 CopyReg (source=0xbffef8a0 "", dest=0xbfff28a0
"/var/cfengine/inputs/variables.cf", sstat={st_dev = 0, st_ino = 0,
st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0,
st_atimespec = {tv_sec = 0, tv_nsec = 0}, st_mtimespec = {tv_sec = 0,
tv_nsec = 0}, st_ctimespec = {tv_sec = 0, tv_nsec = 0}, st_size = 0,
st_blocks = 0, st_blksize = 0, st_flags = 0, st_gen = 0, st_lspare = 0,
st_qspare = {0, 0}}, dstat={st_dev = 234881026, st_ino = 371806, st_mode
= 33152, st_nlink = 1, st_uid = 0, st_gid = 0, st_rdev = 0, st_atimespec
= {tv_sec = 1092325574, tv_nsec = 0}, st_mtimespec = {tv_sec =
1092325574, tv_nsec = 802625000}, st_ctimespec = {tv_sec = 1092325574,
tv_nsec = 0}, st_size = 0, st_blocks = 0, st_blksize = 4096, st_flags =
0, st_gen = 0, st_lspare = 0, st_qspare = {0, 0}}, ip=0x307860) at
image.c:1829
#1 0x0000006e in ?? ()
#2 0x0001a590 in CopyReg (source=0xbffef8a0 "", dest=0xbfff28a0
"/var/cfengine/inputs/variables.cf", sstat={st_dev = -1090495472, st_ino
= 1182082, st_mode = 49151, st_nlink = 23472, st_uid = 1207904, st_gid =
3221183504, st_rdev = 1207904, st_atimespec = {tv_sec = 1179848, tv_nsec
= 1179844}, st_mtimespec = {tv_sec = 1179854, tv_nsec = -1},
st_ctimespec = {tv_sec = 1179848, tv_nsec = 12}, st_size =
-4611957529079971840, st_blocks = 5067402668675500, st_blksize =
1081084, st_flags = 2684358820, st_gen = 3221162108, st_lspare =
-1878997464, st_qspare = {-4611958627987619294, -8070232365088080520}},
dstat={st_dev = 0, st_ino = 26, st_mode = 0, st_nlink = 0, st_uid =
1081084, st_gid = 0, st_rdev = 1182082, st_atimespec = {tv_sec =
-1073783888, tv_nsec = 1207904}, st_mtimespec = {tv_sec = -1073783792,
tv_nsec = 1207904}, st_ctimespec = {tv_sec = 1179848, tv_nsec =
1179844}, st_size = 5067438639022079, st_blocks = -4293787452,
st_blksize = 46, st_flags = 0, st_gen = 46, st_lspare = -1878873112,
st_qspare = {-4611958282309857116, -8069698343619475928}},
ip=0xbfff0880) at image.c:1795
(gdb) n
1830 }
(gdb) n
ImageCopy (sourcefile=0xbffef8a0 "", destfile=0xbfff28a0
"/var/cfengine/inputs/variables.cf", sourcestatbuf={st_dev = 0, st_ino =
0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0,
st_atimespec = {tv_sec = 0, tv_nsec = 0}, st_mtimespec = {tv_sec = 0,
tv_nsec = 0}, st_ctimespec = {tv_sec = 0, tv_nsec = 0}, st_size = 0,
st_blocks = 0, st_blksize = 0, st_flags = 0, st_gen = 0, st_lspare = 0,
st_qspare = {0, 0}}, ip=0x0) at image.c:894
894 if (stat(destfile,&deststatbuf) == -1)
(gdb) ba
#0 ImageCopy (sourcefile=0xbffef8a0 "", destfile=0xbfff28a0
"/var/cfengine/inputs/variables.cf", sourcestatbuf={st_dev = 0, st_ino =
0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0,
st_atimespec = {tv_sec = 0, tv_nsec = 0}, st_mtimespec = {tv_sec = 0,
tv_nsec = 0}, st_ctimespec = {tv_sec = 0, tv_nsec = 0}, st_size = 0,
st_blocks = 0, st_blksize = 0, st_flags = 0, st_gen = 0, st_lspare = 0,
st_qspare = {0, 0}}, ip=0x0) at image.c:894
#1 0x00000000 in ?? ()
(gdb) n
901
CheckCopiedFile(ip->cf_findertype,destfile,ip->plus,ip->minus,fixall,ip->uid,ip->gid,&deststatbuf,&sourcestatbuf,NULL,ip->acl_aliases);
(gdb) ba
#0 ImageCopy (sourcefile=0xbffef8a0 "", destfile=0xbfff28a0
"/var/cfengine/inputs/variables.cf", sourcestatbuf={st_dev = 0, st_ino =
0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0,
st_atimespec = {tv_sec = 0, tv_nsec = 0}, st_mtimespec = {tv_sec = 0,
tv_nsec = 0}, st_ctimespec = {tv_sec = 0, tv_nsec = 0}, st_size = 0,
st_blocks = 0, st_blksize = 0, st_flags = 0, st_gen = 0, st_lspare = 0,
st_qspare = {0, 0}}, ip=0x0) at image.c:901
#1 0x00000000 in ?? ()
(gdb) cont
Continuing.
CheckCopiedFile(/var/cfengine/inputs/variables.cf,+700,-7077)
cfengine:: Checking fs-object /var/cfengine/inputs/variables.cf
CheckExistingFile(+700,-7077)
CheckFinderType of /var/cfengine/inputs/variables.cf for *
CheckFinderType not needed
CheckOwner: 0
uid 0
Trying to fix mode...
cfengine:: Object /var/cfengine/inputs/variables.cf had permission 600,
changed it to 700
CheckExistingFile(Done)
Leaving ImageCopy
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00000000 in ?? ()
Mark.Burgess@iu.hio.no wrote:
Chris,
try the snapshot at http://www.cfengine.org/src-mirror/cfengine-snap.tar.gz
M
--
"When we try to pick out anything by itself, we find it
connected to the entire universe" John Muir
Chris "Ski" Kacoroski, ckacoroski@nsd.org, 425-489-6263