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

Still crashing I'm afraid in about the same place.  Perhaps something else on 
the server is being naughty causing cf-serverd to die...?  I suppose it would 
be helpful if I could get it to crash on demand.  Hrm.


Program received signal SIGABRT, Aborted.

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  0x00000000004465ac in RegExMatchFullString (rex={rx = 0x82aa20, err = 0x0, 
err_offset = 0, failed = 0, regexp = 0x7d6550 
"149\\.208\\.(44|45|50)\\.[0-9]*"}, 
    teststring=0x7fffec001129 "149.208.44.187") at matching.c:678
#6  0x0000000000446bfe in FullTextMatch (regexp=0x7d6550 
"149\\.208\\.(44|45|50)\\.[0-9]*", teststring=0x7fffec001129 "149.208.44.187") 
at matching.c:56
#7  0x00000000004290de in IsMatchItemIn (list=, item=0x7fffec001129 
"149.208.44.187") at item-lib.c:1242
#8  0x0000000000408db7 in AccessControl (oldFilename=, conn=0x7fffec0008c0, 
encrypt=1, vadmit=0x7d6060, vdeny=0x7d60d0) at server.c:2089
#9  0x0000000000409eb3 in BusyWithConnection (conn=0x7fffec0008c0) at 
server.c:1300
#10 0x000000000040ae80 in HandleConnection (conn=0x7fffec0008c0) 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  0x00000000004465ac in RegExMatchFullString (rex={rx = 0x82aa20, err = 0x0, 
err_offset = 0, failed = 0, regexp = 0x7d6550 
"149\\.208\\.(44|45|50)\\.[0-9]*"}, 
    teststring=0x7fffec001129 "149.208.44.187") at matching.c:678
678        DeleteScope("match");
(gdb) up
#6  0x0000000000446bfe in FullTextMatch (regexp=0x7d6550 
"149\\.208\\.(44|45|50)\\.[0-9]*", teststring=0x7fffec001129 "149.208.44.187") 
at matching.c:56
56      if (RegExMatchFullString(rex,teststring))
(gdb) up
#7  0x00000000004290de in IsMatchItemIn (list=, item=0x7fffec001129 
"149.208.44.187") at item-lib.c:1242
1242          if (FullTextMatch(ptr->name,item))
(gdb) up
#8  0x0000000000408db7 in AccessControl (oldFilename=, conn=0x7fffec0008c0, 
encrypt=1, vadmit=0x7d6060, vdeny=0x7d60d0) at server.c:2089
2089             if (IsMatchItemIn(ap->accesslist,MapAddress(conn->ipaddr)) || 
IsRegexItemIn(ap->accesslist,conn->hostname))
(gdb) up
#9  0x0000000000409eb3 in BusyWithConnection (conn=0x7fffec0008c0) at 
server.c:1300
1300           if (!AccessControl(filename,conn,true,VADMIT,VDENY))
(gdb) up
#10 0x000000000040ae80 in HandleConnection (conn=0x7fffec0008c0) 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