bug-cfengine
[Top][All Lists]
Advanced

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

cfexecd segfaults under Solaris 8


From: Jean-Michel Dault
Subject: cfexecd segfaults under Solaris 8
Date: Wed, 10 Aug 2005 11:14:58 -0400

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?

-- 
Jean-Michel Dault <address@hidden>
Révolution Linux inc.






reply via email to

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