Forum: Cfengine Help
Subject: Re: cf-serverd segfaulting
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,17924,18442#msg-18442

I started cf-serverd with gdb and waited for it to fail and got a backtrace:


Program received signal SIGSEGV, Segmentation fault.

0x000000000043d100 in DeleteScope (name=0x4636ad "match") at scope.c:246
246        prev->next = ptr->next;
(gdb) bt
#0  0x000000000043d100 in DeleteScope (name=0x4636ad "match") at scope.c:246
#1  0x0000000000444796 in RegExMatchFullString (rex={rx = 0x814a40, err = 0x0, 
err_offset = 0, failed = 0, regexp = 0x7c47a0 
"149\\.208\\.(44|45|50)\\.[0-9]*"},
    teststring=0x7fffec0010e5 "149.208.44.193") at matching.c:683
#2  0x0000000000444dee in FullTextMatch (regexp=0x7c47a0 
"149\\.208\\.(44|45|50)\\.[0-9]*", teststring=0x7fffec0010e5 "149.208.44.193") 
at matching.c:56
#3  0x0000000000428d7e in IsMatchItemIn (list=, item=0x7fffec0010e5 
"149.208.44.193") at item-lib.c:1062
#4  0x0000000000408fdf in AccessControl (oldFilename=, conn=0x7fffec0008c0, 
encrypt=1, vadmit=0x7c42b0, vdeny=0x7c4320) at server.c:2092
#5  0x000000000040a0cc in BusyWithConnection (conn=0x7fffec0008c0) at 
server.c:1300
#6  0x000000000040b050 in HandleConnection (conn=0x7fffec0008c0) at server.c:914
#7  0x00007ffff79c0070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff620811d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()


I'm not well experienced with gdb... Is there more information I can get from 
this?  It seems like the crash happens during access control?

Any thoughts?

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to