Hi,
I'm working on updating sysutils/cfengine to 3.4.0 (see attachment for
port). When running cf-agent it segfaults on both 5.2/amd64 and
current/amd64. In gdb, on current/amd64, it looks like the segfault happens
in the rthread library.
Cfengines pipes.c:139 calls /usr/src/librthread/rthread_fork.c. Now I can
do next line (n) till rthread_fork.c:100. When I try to step (s) from line
100, I'm getting the following error:
100 newid = sys_fork();
(gdb) s
[New process 22237]
Program received signal SIGSEGV, Segmentation fault.
0x06286ee04fc2 in strlen (
str=0x6286afe0490 )
at /usr/src/lib/libc/string/strlen.c:43
43 for (s = str; *s; ++s)
(gdb)
Any suggestions on how to fix this?
Kind regards,
Martijn Rijkeboer
PS: I can provide a core dump if needed.
cfengine.tgz
Description: application/compressed-tar