Hi, I have been picking away at this a little, and my strace looks a
little different then the other one posted, perhaps it has something to
do with the "-f" which also is supposed to trace child processes.
Anyway, this is what I used to generate the trace:

strace -f -t -p 3468 -o /tmp/strace.cron.log

What I am seeing in my trace is that EVERY time the segfault is
preceded by activity involving /etc/group (its always the same....)

I don't really know how to interpret this trace or how to take it
further / deeper, if there is anyone fluent in strace suggestions are
welcome.

Clayton

13761 20:09:01 read(13, "<?xml version=\"1.0\" encoding=\"utf"..., 16384) = 
1070
13761 20:09:01 read(13, ""..., 12288)   = 0
13761 20:09:01 _llseek(13, 0, [1070], SEEK_CUR) = 0
13761 20:09:01 _llseek(13, 0, [0], SEEK_SET) = 0
13761 20:09:01 read(13, "<?xml version=\"1.0\" encoding=\"utf"..., 4096) = 
1070
13761 20:09:01 read(13, ""..., 4096)    = 0
13761 20:09:01 close(13)                = 0
13761 20:09:01 munmap(0xb7fb8000, 4096) = 0
13761 20:09:01 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 13
13761 20:09:01 _llseek(13, 0, [0], SEEK_CUR) = 0
13761 20:09:01 fstat64(13, {st_mode=S_IFREG|0644, st_size=1735, ...}) = 0
13761 20:09:01 mmap2(NULL, 1735, PROT_READ, MAP_SHARED, 13, 0) = 0xb7fb8000
13761 20:09:01 _llseek(13, 1735, [1735], SEEK_SET) = 0
13761 20:09:01 munmap(0xb7fb8000, 1735) = 0
13761 20:09:01 close(13)                = 0
13761 20:09:01 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 13
13761 20:09:01 _llseek(13, 0, [0], SEEK_CUR) = 0
13761 20:09:01 fstat64(13, {st_mode=S_IFREG|0644, st_size=1735, ...}) = 0
13761 20:09:01 mmap2(NULL, 1735, PROT_READ, MAP_SHARED, 13, 0) = 0xb7fb8000
13761 20:09:01 _llseek(13, 1735, [1735], SEEK_SET) = 0
13761 20:09:01 munmap(0xb7fb8000, 1735) = 0
13761 20:09:01 close(13)                = 0
13761 20:09:01 socket(PF_FILE, SOCK_STREAM, 0) = 13
13761 20:09:01 fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
13761 20:09:01 connect(13, {sa_family=AF_FILE, 
path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or 
directory)
13761 20:09:01 close(13)                = 0
13761 20:09:01 socket(PF_FILE, SOCK_STREAM, 0) = 13
13761 20:09:01 fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
13761 20:09:01 connect(13, {sa_family=AF_FILE, 
path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or 
directory)
13761 20:09:01 close(13)                = 0
13761 20:09:01 open("/etc/group", O_RDONLY|O_CLOEXEC) = 13
13761 20:09:01 _llseek(13, 0, [0], SEEK_CUR) = 0
13761 20:09:01 fstat64(13, {st_mode=S_IFREG|0644, st_size=947, ...}) = 0
13761 20:09:01 mmap2(NULL, 947, PROT_READ, MAP_SHARED, 13, 0) = 0xb7fb8000
13761 20:09:01 _llseek(13, 947, [947], SEEK_SET) = 0
13761 20:09:01 munmap(0xb7fb8000, 947)  = 0
13761 20:09:01 close(13)                = 0
13761 20:09:01 --- SIGSEGV (Segmentation fault) @ 0 (0) ---


Reply via email to