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

More bad news...  (Also seeing segfaults for cf-execd and cf-agent on this 
build, but I did not look at them.)



0x00007ffff6167645 in raise () from /lib64/libc.so.6
(gdb)
(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  0x00000000004463bc in RegExMatchFullString (rex={rx = 0x8821e0, err = 0x0, 
err_offset = 0, failed = 0, regexp = 0x7d6370 
"149\\.208\\.(44|45|50)\\.[0-9]*"},
    teststring=0x7fffec003cc9 "149.208.44.193") at matching.c:678
#6  0x0000000000446a0e in FullTextMatch (regexp=0x7d6370 
"149\\.208\\.(44|45|50)\\.[0-9]*", teststring=0x7fffec003cc9 "149.208.44.193") 
at matching.c:56
#7  0x00000000004290de in IsMatchItemIn (list=, item=0x7fffec003cc9 
"149.208.44.193") at item-lib.c:1242
#8  0x0000000000408db7 in AccessControl (oldFilename=, conn=0x7fffec003460, 
encrypt=1, vadmit=0x7d5e80, vdeny=0x7d5ef0) at server.c:2089
#9  0x0000000000409eb3 in BusyWithConnection (conn=0x7fffec003460) at 
server.c:1300
#10 0x000000000040ae80 in HandleConnection (conn=0x7fffec003460) at server.c:914
#11 0x00007ffff79c0070 in start_thread () from /lib64/libpthread.so.0
#12 0x00007ffff620811d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()
(gdb) frame 0
#0  0x00007ffff6167645 in raise () from /lib64/libc.so.6
(gdb) up
#1  0x00007ffff6168c33 in abort () from /lib64/libc.so.6
(gdb) up
#2  0x00007ffff61a38e8 in ?? () from /lib64/libc.so.6
(gdb) up
#3  0x00007ffff61a9108 in ?? () from /lib64/libc.so.6
(gdb) up
#4  0x00007ffff61aac66 in free () from /lib64/libc.so.6
(gdb) up
#5  0x00000000004463bc in RegExMatchFullString (rex={rx = 0x8821e0, err = 0x0, 
err_offset = 0, failed = 0, regexp = 0x7d6370 
"149\\.208\\.(44|45|50)\\.[0-9]*"},
    teststring=0x7fffec003cc9 "149.208.44.193") at matching.c:678
678        DeleteScope("match");
(gdb) up
#6  0x0000000000446a0e in FullTextMatch (regexp=0x7d6370 
"149\\.208\\.(44|45|50)\\.[0-9]*", teststring=0x7fffec003cc9 "149.208.44.193") 
at matching.c:56
56      if (RegExMatchFullString(rex,teststring))
(gdb) print teststring
$1 = 0x7fffec003cc9 "149.208.44.193"
(gdb) print rex
$2 = {rx = 0x8821e0, err = 0x0, err_offset = 0, failed = 0, regexp = 0x7d6370 
"149\\.208\\.(44|45|50)\\.[0-9]*"}
(gdb) up
#7  0x00000000004290de in IsMatchItemIn (list=, item=0x7fffec003cc9 
"149.208.44.193") at item-lib.c:1242
1242          if (FullTextMatch(ptr->name,item))
(gdb) print ptr
$3 = (struct Item *) 0x7d6330
(gdb) print *ptr
$4 = {done = 96 '`', name = 0x7d6370 "149\\.208\\.(44|45|50)\\.[0-9]*", classes 
= 0x0, counter = 0, time = 0, next = 0x0}
(gdb) up
#8  0x0000000000408db7 in AccessControl (oldFilename=, conn=0x7fffec003460, 
encrypt=1, vadmit=0x7d5e80, vdeny=0x7d5ef0) at server.c:2089
2089             if (IsMatchItemIn(ap->accesslist,MapAddress(conn->ipaddr)) || 
IsRegexItemIn(ap->accesslist,conn->hostname))
(gdb) up
#9  0x0000000000409eb3 in BusyWithConnection (conn=0x7fffec003460) at 
server.c:1300
1300           if (!AccessControl(filename,conn,true,VADMIT,VDENY))
(gdb) up
#10 0x000000000040ae80 in HandleConnection (conn=0x7fffec003460) at server.c:914
914     while (BusyWithConnection(conn))
(gdb) up
#11 0x00007ffff79c0070 in start_thread () from /lib64/libpthread.so.0
(gdb) up
#12 0x00007ffff620811d in clone () from /lib64/libc.so.6
(gdb) up
#13 0x0000000000000000 in ?? ()
(gdb) up
Initial frame selected; you cannot go up.


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

Reply via email to