bug-cfengine
[Top][All Lists]
Advanced

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

Re: cfexecd segfaults under Solaris 8


From: Christian Pearce
Subject: Re: cfexecd segfaults under Solaris 8
Date: Wed, 10 Aug 2005 16:12:25 -0400

We need to narrow this further.  I just install 2.1.15 from
blastwave.org on Solaris 8 no problems.  I won't touch the SunFreewre
packages.

Are you client server the same version?  Does it happen everytime?

On Wed, 2005-08-10 at 11:14 -0400, Jean-Michel Dault wrote:
> Hello,
> 
> I installed cfengine under Solaris 8, and have a segfault with cfexecd.
> I have the 2.1.15 version, built from source, but the problem is also in
> the SunFreeWare.com package, which is 2.1.13.
> 
> The bug is in cfpopen.
> 
> When I run cfexecd, the first cfpopen works
> cfpopen(/var/cfengine/bin/cfagent -Q
> smtpserver,sysadm,fqhost,ipaddress,EmailMaxLines,EmailFrom,EmailTo -D
> from_cfexecd)
> cfpclose(pp)
> 
> Then, the second cfpopen makes a segfault:
> cfpopen - Waiting for process 5797
> Got(to:address@hidden,serv:mailhost,host:merlin.cits.rncan.gc.ca,ip:132.156.18.24,max:2000,from:)
> cfpopen(/var/cfengine/bin/cfagent -z -D from_cfexecd)
> Segmentation Fault (core dumped)
> 
> Using gdb gives me this:
> (gdb) bt
> #0  0xff0c5ba0 in ?? ()
> #1  0xff0c79c8 in ?? ()
> #2  0x0002fcb8 in cfpopen (command=0xff0de000 "", type=0xff0de000 "") at
> popen.c:74
> 
> This popen.c:74 is a call to fork()
> 
> Anyone has a clue on what could possibly be the problem?
> 
-- 
Christian Pearce
Perfect Order, Inc.
http://www.sysnav.com
http://www.perfectorder.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]