Thanks. Revision 579 fixes, just a missing parameter in a print statement.
M

Rimma Ashkinadze wrote:
> Mark,
> 
> I have one machine on which cfengine seg faults during a directories  
> sequence.
> 
> Directory /etc/httpd/certs okay
> MakePath(/etc/httpd/conf)
> Directory /etc/httpd/conf okay
> MakePath(/etc/httpd/htdocs)
> Segmentation Fault
> 
> I believe that it faults on:
> 
>          http::
>                  /etc/httpd/htdocs       mode=2750        
> owner=root      group=www
> 
> Let me know if you need any other output.
> 
> Rimma
> 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xfeeb467c in strlen () from /usr/lib/libc.so.1
> (gdb) bt
> #0  0xfeeb467c in strlen () from /usr/lib/libc.so.1
> #1  0xfef07588 in _doprnt () from /usr/lib/libc.so.1
> #2  0xfef09230 in snprintf () from /usr/lib/libc.so.1
> #3  0x0002257c in DirectoriesWrapper (dir=0xffbfc960 "/etc/httpd/ 
> htdocs", vp=0x2022a0) at wrapper.c:320
> #4  0x00023618 in ExpandWildCardsAndDo (wildpath=<value optimized  
> out>, buffer=0xffbfc960 "/etc/httpd/htdocs",
>      function=0x224f4 <DirectoriesWrapper>, argptr=0x2022a0) at do.c: 
> 3700
> #5  0x000237f0 in ExpandWildCardsAndDo (wildpath=<value optimized  
> out>, buffer=0xffbfc960 "/etc/httpd/htdocs",
>      function=0x224f4 <DirectoriesWrapper>, argptr=0x2022a0) at do.c: 
> 3714
> #6  0x000237f0 in ExpandWildCardsAndDo (wildpath=<value optimized  
> out>, buffer=0xffbfc960 "/etc/httpd/htdocs",
>      function=0x224f4 <DirectoriesWrapper>, argptr=0x2022a0) at do.c: 
> 3714
> #7  0x000237f0 in ExpandWildCardsAndDo (wildpath=<value optimized  
> out>, buffer=0xffbfc960 "/etc/httpd/htdocs",
>      function=0x224f4 <DirectoriesWrapper>, argptr=0x2022a0) at do.c: 
> 3714
> #8  0x00024d94 in MakePaths () at do.c:364
> #9  0x0001fae8 in DoTree (passes=3, info=0xa8ed8 "Main Tree") at  
> cfagent.c:1255
> #10 0x00022314 in main (argc=0, argv=0xa8c00) at cfagent.c:241
> (gdb)
> 
> 
> [17:50:[EMAIL PROTECTED]:ra2028# cfagent -V
> GNU cfengine 2.2.7b1
> Free Software Foundation 1994-
> Donated by Mark Burgess, Oslo University College, Norway
> This program is covered by the GNU Public License and may be
> copied free of charge.  No warranty is implied.
> 
> [17:50:[EMAIL PROTECTED]:ra2028# uname -a
> SunOS mimolette 5.9 Generic_122300-21 sun4u sparc SUNW,Sun-Fire-V210  
> Solaris
> 
> _______________________________________________
> Help-cfengine mailing list
> [EMAIL PROTECTED]
> https://cfengine.org/mailman/listinfo/help-cfengine

-- 


Mark Burgess

Web: http://www.iu.hio.no/~mark
Tlf: +47 22453272
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to