I realize this version is a bit dated but I'm stuck with it until an 
upgrade window is ready.  Having built this I'm getting a segfault running 
cf-promises -x.  GDB below.  What might the cause be?

Starting program: /tmp/cfengine-3.0.2/src/cf-promises -x
warning: .dynamic section for "/lib/libpcre.so.0" is not at the expected 
address
warning: difference appears to be caused by prelink, adjusting 
expectations
[Thread debugging using libthread_db enabled]
----------------------------------------------------------
Cfengine 3 - Performing level 2 self-diagnostic (dialogue)
----------------------------------------------------------

1. Test variable scanning
2. Testing promise duplication and expansion
3. Testing variable expansion
4. Testing regular expression engine
 -> Regex engine is the Perl Compatible Regular Expression library
 -> Regular expression compilation - ok
 -> Regular expression extraction - ok 15 - 31
 -> Regular expression extraction - ok
 -> FullTextMatch - ok 2
 -> BlockTextMatch - ok
 -> BlockTextMatch - ok
5. Testing promise attribute completeness
[New Thread 0xb7fb56c0 (LWP 25325)]

Program received signal SIGSEGV, Segmentation fault.
0x0027ed5b in strlen () from /lib/i686/nosegneg/libc.so.6
(gdb) back
#0  0x0027ed5b in strlen () from /lib/i686/nosegneg/libc.so.6
#1  0x0024e129 in vfprintf () from /lib/i686/nosegneg/libc.so.6
#2  0x080ab3ae in ?? ()
#3  0x00000006 in ?? ()
#4  0x00352ff4 in ?? () from /lib/i686/nosegneg/libc.so.6
#5  0xbfc743cc in ?? ()
#6  0xffffffff in ?? ()
#7  0xbfc743a8 in ?? ()
#8  0x0024a24d in vfprintf () from /lib/i686/nosegneg/libc.so.6
#9  0xbfc74360 in ?? ()
#10 0xb7fb56c0 in ?? ()
#11 0x00000000 in ?? ()

Sincerely,
--
Neil Watson
416-673-3465

CONFIDENTIALITY WARNING 
This communication, including any attachments, is for the exclusive use of 
addressee and may contain proprietary and/or confidential information. If you 
are not the intended recipient, any use, copying, disclosure, dissemination or 
distribution is strictly prohibited. If you are not the intended recipient, 
please notify the sender immediately by return e-mail, delete this 
communication and destroy all copies.

AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ 
Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage 
exclusif de la personne à laquelle il s’adresse et peut contenir de 
l’information personnelle ou confidentielle. Si le lecteur de ce message n’en 
est pas le destinataire, nous l’avisons par la présente que toute diffusion, 
distribution, reproduction ou utilisation de son contenu est strictement 
interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier 
électronique et supprimez ce message ainsi que toutes les pièces jointes.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to