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

Mark, I can't tell you how much I appreciate cfengine and it's philosophy!  
Thank you so much.  =D

Unfortunately for me though, the issue remains even with svn 1305.

The backtrace looks similar.


Program received signal SIGABRT, Aborted.

0x00007ffff6167645 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6167645 in raise () from /lib64/libc.so.6
#1  0x00007ffff6168c33 in abort () from /lib64/libc.so.6
#2  0x00007ffff61a38e8 in ?? () from /lib64/libc.so.6
#3  0x00007ffff61a9108 in ?? () from /lib64/libc.so.6
#4  0x00007ffff61aac66 in free () from /lib64/libc.so.6
#5  0x000000000043e6f9 in DeleteScope (name=0x4646f5 "match") at scope.c:252
#6  0x0000000000446586 in RegExMatchFullString (rex={rx = 0x7fffec003550, err = 
0x0, err_offset = 0, failed = 0, regexp = 0x7ccac0 
"149\\.208\\.(44|45|50)\\.[0-9]*"}, 
    teststring=0x7fffec012c79 "149.208.45.131") at matching.c:683
#7  0x0000000000446bde in FullTextMatch (regexp=0x7ccac0 
"149\\.208\\.(44|45|50)\\.[0-9]*", teststring=0x7fffec012c79 "149.208.45.131") 
at matching.c:56
#8  0x00000000004290ce in IsMatchItemIn (list=, item=0x7fffec012c79 
"149.208.45.131") at item-lib.c:1242
#9  0x0000000000408db7 in AccessControl (oldFilename=, conn=0x7fffec012410, 
encrypt=1, vadmit=0x7cc5d0, vdeny=0x7cc640) at server.c:2089
#10 0x0000000000409eb3 in BusyWithConnection (conn=0x7fffec012410) at 
server.c:1300
#11 0x000000000040ae80 in HandleConnection (conn=0x7fffec012410) at server.c:914
#12 0x00007ffff79c0070 in start_thread () from /lib64/libpthread.so.0
#13 0x00007ffff620811d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()
(gdb) frame 6
#6  0x0000000000446586 in RegExMatchFullString (rex={rx = 0x7fffec003550, err = 
0x0, err_offset = 0, failed = 0, regexp = 0x7ccac0 
"149\\.208\\.(44|45|50)\\.[0-9]*"}, 
    teststring=0x7fffec012c79 "149.208.45.131") at matching.c:683
683           DeleteScope("match");
(gdb) frame 0
#0  0x00007ffff6167645 in raise () from /lib64/libc.so.6
(gdb) frame 1
#1  0x00007ffff6168c33 in abort () from /lib64/libc.so.6
(gdb) frame 2
#2  0x00007ffff61a38e8 in ?? () from /lib64/libc.so.6
(gdb) frame 3
#3  0x00007ffff61a9108 in ?? () from /lib64/libc.so.6
(gdb) frame 4
#4  0x00007ffff61aac66 in free () from /lib64/libc.so.6
(gdb) frame 5
#5  0x000000000043e6f9 in DeleteScope (name=0x4646f5 "match") at scope.c:252
252     free(ptr->scope);
(gdb) frame 6
#6  0x0000000000446586 in RegExMatchFullString (rex={rx = 0x7fffec003550, err = 
0x0, err_offset = 0, failed = 0, regexp = 0x7ccac0 
"149\\.208\\.(44|45|50)\\.[0-9]*"}, 
    teststring=0x7fffec012c79 "149.208.45.131") at matching.c:683
683           DeleteScope("match");
(gdb) frame 7
#7  0x0000000000446bde in FullTextMatch (regexp=0x7ccac0 
"149\\.208\\.(44|45|50)\\.[0-9]*", teststring=0x7fffec012c79 "149.208.45.131") 
at matching.c:56
56      if (RegExMatchFullString(rex,teststring))
(gdb) frame 8
#8  0x00000000004290ce in IsMatchItemIn (list=, item=0x7fffec012c79 
"149.208.45.131") at item-lib.c:1242
1242          if (FullTextMatch(ptr->name,item))
(gdb) frame 9
#9  0x0000000000408db7 in AccessControl (oldFilename=, conn=0x7fffec012410, 
encrypt=1, vadmit=0x7cc5d0, vdeny=0x7cc640) at server.c:2089
2089             if (IsMatchItemIn(ap->accesslist,MapAddress(conn->ipaddr)) || 
IsRegexItemIn(ap->accesslist,conn->hostname))
(gdb) frame 10
#10 0x0000000000409eb3 in BusyWithConnection (conn=0x7fffec012410) at 
server.c:1300
1300           if (!AccessControl(filename,conn,true,VADMIT,VDENY))
(gdb) frame 11
#11 0x000000000040ae80 in HandleConnection (conn=0x7fffec012410) at server.c:914
914     while (BusyWithConnection(conn))
(gdb) frame 12
#12 0x00007ffff79c0070 in start_thread () from /lib64/libpthread.so.0
(gdb) frame 13
#13 0x00007ffff620811d in clone () from /lib64/libc.so.6
(gdb) frame 14
#14 0x0000000000000000 in ?? ()


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

Reply via email to