bug-cfengine
[Top][All Lists]
Advanced

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

Re: Help please


From: Tim Auckland
Subject: Re: Help please
Date: Thu, 28 Feb 2002 12:31:02 -0800

Did you find a solution to this?  I'm seeing a similar problem in
cfexecd.  When cfexecd is run in daemon mode and it wakes up to make its
scheduled run it also gets a SEGV cfpopen().  This means I can't use
cfexecd to keep cfengine running and I have to rely on cron instead.
I'm seeing the same problem on Solaris, Linux and HP-UX.
Here's the result of dbx during such a crash:

cfpopen(/var/cfengine/bin/cfagent -z)
Got cfengine SMTP server as (mail.procket.com)
Got cfengine sysadm variable (address@hidden)
Got full qualified name (modena.procket.com)
Got IP (10.1.1.6)
Appending [Min00_05]
Appending [Min10_15]
Appending [Min20_25]
Appending [Min30_35]
Appending [Min40_45]
Appending [Min50_55]
cfpclose(pp)
cfpopen - Waiting for process 15773
------------------------------------------------------------------

  LocalExec at Thu Feb 28 11:43:09 2002

------------------------------------------------------------------
address@hidden (address@hidden) signal SEGV (no mapping at the fault address) 
in printf at
0xff184424
0xff184424: printf+0x000c:      st      %i1, [%fp + 0x48]
0xff184424: printf+0x000c:      st      %i1, [%fp + 0x48]
(dbx) where    
current thread: address@hidden
=>[1] printf(0x81d88, 0xff058d08, 0xb68f8, 0x5, 0xff1b8018, 0x301), at
0xff184424
  [2] cfpopen(), at 0x1deb0
dbx: read of 4 bytes at address 0xff03ac38 failed -- Error 0
dbx: attempt to read frame failed -- cannot derive frame pointer


Tim

> Version 2.0.b2 - esp. solaris
> 
> There is a very difficult to find bug in cfservd, which I would like
> some help pinning down. When cfrun is used to execute a remote
> cfengine (esp on solaris), it causes a segmentation fault in the
> cfpopen() function.
> This seems to be caused by an earlier memory error, but I am
> unable to find this problem. I cannot run purify or other programs
> on our systems - they do not work with our compilers. Could
> someone with fancy tools figure out where this problem is arising
> please? It would be a great help.
> 
> Thanks,
> Mark
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Work: +47 22453272            Email:  address@hidden
> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



reply via email to

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