bug-cfengine
[Top][All Lists]
Advanced

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

Re: cfengine 2.0 problems


From: Bas van der Vlies
Subject: Re: cfengine 2.0 problems
Date: Thu, 21 Mar 2002 19:17:54 +0100 (MET)

Mark,

 Here it goes:
   linux)
      Program received signal SIGSEGV, Segmentation fault.
      [Switching to Thread 1024 (LWP 31620)]
      0x0805d91c in DeleteItemMatching (list=0x0, string=0x0) at item-ext.c:607
      607     for (ip = *list; ip != NULL; ip=ip->next)

(gdb) backtrace full
#0  0x0805d91c in DeleteItemMatching (list=0x0, string=0x0) at item-ext.c:607
        ip = (struct Item *) 0xbfffe71c
        last = (struct Item *) 0x0
        rx = {buffer = 0x0, allocated = 0, used = 0, syntax = 0, 
  fastmap = 0x0, translate = 0x0, re_nsub = 0, can_be_null = 0, 
  regs_allocated = 0, fastmap_accurate = 0, no_sub = 0, not_bol = 0, 
  not_eol = 0, newline_anchor = 0}
        rxcache = {buffer = 0x8109000 "\001", allocated = 0, used = 1, 
  syntax = 0, fastmap = 0x0, translate = 0x0, re_nsub = 0, can_be_null = 0, 
  regs_allocated = 0, fastmap_accurate = 0, no_sub = 0, not_bol = 0, 
  not_eol = 0, newline_anchor = 0}
        pmatch = {rm_so = 135289840, rm_eo = 134908928}
       
      
   irix)
      cfenvd problem. Must run dbx, Ihave it compiled it with the native
      SGI-compiler.

      dbx cfenvd
      run -F -v

Process 1072321 (cfenvd) started
GNU Cfengine server daemon - 
2.0.0
Free Software Foundation 1994-2001
Donated by Mark Burgess, Faculty of Engineering,
Oslo University College, 0254 Oslo, Norway

------------------------------------------------------------------------

Host name is: t-rex
Operating System Type is irix64
Operating System Release is 6.5
Architecture = ip27


Using internal soft-class irix64 for host t-rex

The time is now Thu Mar 21 19:11:00 2002


------------------------------------------------------------------------

Additional hard class defined as: 32_bit
Additional hard class defined as: irix64_6_5
Additional hard class defined as: irix64_ip27
Additional hard class defined as: irix64_ip27_6_5
Additional hard class defined as: mips
Additional hard class defined as: irix64_ip27_6_5_07091542

GNU autoconf class from compile time: compiled_on_irix6.5

Address given by nameserver: XXX.XXX.XXX.XXX
t-rex: Lock lock.db.localhost.cfenvd.daemon expired...(after 8/1 minutes)
Trying to kill expired process, pid 1072329
region 0 zero size ignoredl
(Users,root,other) = (7,86,12)
Checking free space on /
Disk free = 44 %
region 0 zero size ignoredl
region 1 zero size ignoredl
Process 1072321 (cfenvd) stopped on signal SIGSEGV: Segmentation
violation (handler sig_fixup_mask) at [GatherSocketData:991
+0x44,0x1000be50]
 991  for (sp = local+strlen(local); *sp != '.'; sp--)

After a while:
Mar 21 19:14:44 1A:t-rex unix: ALERT: cfenvd[1073004] was killed to end a
memory deadlock condition.
Mar 21 19:14:44 1A:t-rex unix: |$(0x70d)ALERT: Process [cfenvd] pid
1073004 killed due to insufficient memory/swap.



      


On 21-Mar-2002 address@hidden wrote:
> 
> Please run it in gdb and tell me where it is failing, with backtrace.
> 
> thanks,
> Mark
> 
> 
> On 21 Mar, Bas van der Vlies wrote:
>> I
>> 
>> I want to migrate form cfengine 1 to 2 and this weelk i have some time for
>> it.
>> 
>> I have  the following problems, mabye some one has fixed it or i am doing
>> something wrong:
>>  
>>  - On a debian system (woody/testing release)
>>     libdb 3.2.9-14
>>     openssl 0.9.6c-1
>> 
>>     When i run a executable (cfagent, cfenvd , cfrun) i get a segmentation
>>     fault.
>> 
>>     All programs produces this output:
>>         CFRUNOPTIONS string: 
>>         Unable to open cfrun.hosts
>>         WildMatch(-,linux)
>>         WildMatch(-,linux)
>>         WildMatch(sunos,linux)
>>         WildMatch(ultrix,linux)
>>         WildMatch(hp-ux,linux)
>>         WildMatch(hp-ux,linux)
>>         WildMatch(aix,linux)
>>         WildMatch(linux,linux)
>>         WildMatch(*,i686)
>>         WildMatch(*,2.4.17-xfs-athlonxp-iptables)
>>         AddClassToHeap(linux)
>>         Appending [linux]
>>         AddClassToHeap(test_rainbow_sara_nl)
>>         Appending [test_rainbow_sara_nl]
>>         AddClassToHeap(test_rainbow_sara_nl)
>>         AddClassToHeap(rainbow_sara_nl)
>>         Appending [rainbow_sara_nl]
>>         Segmentation fault
>> 
>>   
>>   - On irix systems (6.5.13) tested with berkeley3 and berkeley4
>>      I can run all the programs, only 'cfenvd' crash with this message:
>> 
>> Address given by nameserver: XXX.XXX.XXX.XXX
>> (Users,root,other) = (7,78,12)
>> Checking free space on /
>> Disk free = 44 %
>> t-rex: Received signal SIGSEGV while doing [lock.db.localhost.cfenvd.daemon]
>> t-rex: Logical start time Thu Jan  1 01:00:00 1970
>> t-rex: This sub-task started really at Thu Jan  1 01:00:00 1970
>> 
>> 
>>      Has someone succesfully run cfenvd on IRIX?
>> 
>> 
>> --
>> ********************************************************************
>> *                                                                  *
>> *  Bas van der Vlies                     e-mail: address@hidden      *
>> *  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
>> *  Kruislaan 415                         fax:    +31 20 6683167    *
>> *  1098 SJ Amsterdam                     WWW:    www.sara.nl       *
>> *                                                                  *
>> ********************************************************************
> 
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Work: +47 22453272            Email:  address@hidden
> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 

--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: address@hidden      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                     WWW:    www.sara.nl       *
*                                                                  *
********************************************************************



reply via email to

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