[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: cfexecd segfaults under Solaris 8
From: |
Baker, Darryl |
Subject: |
RE: cfexecd segfaults under Solaris 8 |
Date: |
Thu, 11 Aug 2005 11:37:13 -0400 |
I'm going to sound a lot like Mark. Are you sure you have the same versions
of the shared libraries on all the machines? Are you relatively current on
you Sun patches? I have 80+ Solaris 8 machines and 40+ Solaris 9 machines,
patched to within 3 months of current, and have no problem with cfexecd. I
did have a SIGSEGV problem with cfenvd when sent a SIGTERM but I
retro-fitted code from the snapshot into 2.1.15 and that went away.
-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of
Jean-Michel Dault
Sent: Thursday, August 11, 2005 10:02 AM
To: Mark Burgess
Subject: Re: cfexecd segfaults under Solaris 8
Le jeu 11/08/2005 à 05:59, Mark Burgess a écrit :
> This is a little strange. I don't think it has anything to do with
> fork(). Possibly it is a problem that only manifests when fork tries to
> copy a segment. The actual problem could have occurred at any time
> before this...and the reason? Could be anything from a bug in cfengine
> to a compiler issue.
Sut since cfengine uses threads, it can also be a reentrency bug or
something more obscure. But it can be a compiler issue as well:
-My first compile was with gcc 3.0, as that's what was installed on the
system. It would throw a compiler error at cfenvgraph.c
- My last compile was gcc 3.3.2, it compiles without problems, cfagent
runs perfectly, but I have the segfault with cfexec.
Can you tell me what's needed to compile cfengine? What
packages/versions, etc.
I can't believe I'm the only one who has these problems...
Sorry if it has already been answered, but I spent days on Google, on
the cfengine.org web site, on the cfwiki, and I haven't found anything
on that topic.
Jean-Michel
> Sorry not to be very helpful.
>
> Mark
>
> 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?
> >
>
_______________________________________________
Bug-cfengine mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-cfengine