Forum: Cfengine Help Subject: Re: cf-serverd segfaulting Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,17924,18391#msg-18391
I recompiled without LDFLAGS='--static' and unfortunately there are still issues. I am assuming this is an issue with my server because testing on other boxes this does not seem to be a problem. Oh well. cf3 -> Receiving session key from client (size=256)... cf3 Received: on socket 6 cf3 Received: on socket 4 cf3 Found a matching rule in access list (/var/cfengine/masterfiles in /var/cfengine/masterfiles) cf3 Found a matching rule in access list (/var/cfengine/bin/cf-runagent in /var/cfengine/bin) cf3 No root privileges granted cf3 No root privileges granted cf3 Host ls-am-hbgra01 granted access to /var/cfengine/bin/cf-runagent *** glibc detected *** /var/cfengine/bin/cf-serverd: double free or corruption (fasttop): 0x086e4f90 *** ======= Backtrace: ========= /lib/libc.so.6[0xf7e1c654] /lib/libc.so.6(cfree+0x9c)[0xf7e1df3c] /var/cfengine/bin/cf-serverd[0x8089889] /var/cfengine/bin/cf-serverd[0x80912a6] /var/cfengine/bin/cf-serverd[0x809195d] /var/cfengine/bin/cf-serverd[0x80731a0] /var/cfengine/bin/cf-serverd[0x80505b4] /var/cfengine/bin/cf-serverd[0x8051992] /var/cfengine/bin/cf-serverd[0x8052e50] /lib/libpthread.so.0[0xf7f461b5] /lib/libc.so.6(clone+0x5e)[0xf7e813ae] ======= Memory map: ======== 08048000-08331000 r-xp 00000000 fd:00 2402945 /var/cfengine/bin/cf-serverd 08331000-08332000 r-xp 002e8000 fd:00 2402945 /var/cfengine/bin/cf-serverd 08332000-0833d000 rwxp 002e9000 fd:00 2402945 /var/cfengine/bin/cf-serverd 0833d000-100f2000 rwxp 0833d000 00:00 0 f4dff000-f4e00000 ---p f4dff000 00:00 0 f4e00000-f4f00000 rwxp f4e00000 00:00 0 f4f00000-f4fc4000 rwxp f4f00000 00:00 0 f4fc4000-f5000000 ---p f4fc4000 00:00 0 f5100000-f5300000 rwxp f5100000 00:00 0 f5300000-f5500000 rwxp f5300000 00:00 0 f5500000-f5700000 rwxp f5500000 00:00 0 f5700000-f5900000 rwxp f5700000 00:00 0 f5900000-f5b00000 rwxp f5900000 00:00 0 f5b00000-f5d00000 rwxp f5b00000 00:00 0 f5d00000-f5f00000 rwxp f5d00000 00:00 0 f5f00000-f6100000 rwxp f5f00000 00:00 0 f6100000-f6300000 rwxp f6100000 00:00 0 f6300000-f6500000 rwxp f6300000 00:00 0 f6500000-f6700000 rwxp f6500000 00:00 0 f6700000-f6900000 rwxp f6700000 00:00 0 f6900000-f6b00000 rwxp f6900000 00:00 0 f6b00000-f6d00000 rwxp f6b00000 00:00 0 f6d00000-f6f00000 rwxp f6d00000 00:00 0 f6f00000-f7100000 rwxp f6f00000 00:00 0 f7100000-f7300000 rwxp f7100000 00:00 0 f7300000-f7500000 rwxp f7300000 00:00 0 f7500000-f7700000 rwxp f7500000 00:00 0 f7700000-f7900000 rwxp f7700000 00:00 0 f7900000-f7a00000 rwxp f7900000 00:00 0 f7ae9000-f7aea000 ---p f7ae9000 00:00 0 f7aea000-f7bea000 rwxp f7aea000 00:00 0 f7bea000-f7beb000 ---p f7bea000 00:00 0 f7beb000-f7ceb000 rwxp f7beb000 00:00 0 f7ceb000-f7d20000 r-xs 00000000 fd:00 2220880 /var/run/nscd/passwd f7d20000-f7d55000 r-xs 00000000 fd:00 2220885 /var/run/nscd/dbsmF0xR (deleted) f7d55000-f7d8a000 r-xs 00000000 fd:00 1499141 /var/run/nscd/services f7d8a000-f7d8b000 rwxp f7d8a000 00:00 0 f7d8b000-f7d95000 r-xp 00000000 fd:00 87 /lib/libnss_files-2.9.so f7d95000-f7d96000 r-xp 00009000 fd:00 87 /lib/libnss_files-2.9.so f7d96000-f7d97000 rwxp 0000a000 fd:00 87 /lib/libnss_files-2.9.so f7d97000-f7dac000 r-xp 00000000 fd:00 81 /lib/libnsl-2.9.so f7dac000-f7dad000 r-xp 00014000 fd:00 81 /lib/libnsl-2.9.so f7dad000-f7dae000 rwxp 00015000 fd:00 81 /lib/libnsl-2.9.so f7dae000-f7db0000 rwxp f7dae000 00:00 0 f7db0000-f7f05000 r-xp 00000000 fd:00 70 /lib/libc-2.9.so f7f05000-f7f06000 ---p 00155000 fd:00 70 /lib/libc-2.9.so f7f06000-f7f08000 r-xp 00155000 fd:00 70 /lib/libc-2.9.so f7f08000-f7f09000 rwxp 00157000 fd:00 70 /lib/libc-2.9.so f7f09000-f7f0d000 rwxp f7f09000 00:00 0 f7f0d000-f7f34000 r-xp 00000000 fd:00 78 /lib/libm-2.9.so f7f34000-f7f35000 r-xp 00026000 fd:00 78 /lib/libm-2.9.so f7f35000-f7f36000 rwxp 00027000 fd:00 78 /lib/libm-2.9.so f7f36000-f7f3e000 r-xp 00000000 fd:00 100 /lib/librt-2.9.so f7f3e000-f7f3f000 r-xp 00007000 fd:00 100 /lib/librt-2.9.so f7f3f000-f7f40000 rwxp 00008000 fd:00 100 /lib/librt-2.9.so f7f40000-f7f56000 r-xp 00000000 fd:00 96 /lib/libpthread-2.9.so f7f56000-f7f57000 r-xp 00015000 fd:00 96 /lib/libpthread-2.9.so f7f57000-f7f58000 rwxp 00016000 fd:00 96 /lib/libpthread-2.9.so f7f58000-f7f5a000 rwxp f7f58000 00:00 0 f7f5a000-f7f63000 r-xp 00000000 fd:00 91 /lib/libnss_nis-2.9.so f7f63000-f7f64000 r-xp 00008000 fd:00 91 /lib/libnss_nis-2.9.so f7f64000-f7f65000 rwxp 00009000 fd:00 91 /lib/libnss_nis-2.9.so f7f88000-f7f95000 r-xp 00000000 fd:00 630 /lib/libgcc_s.so.1 f7f95000-f7f96000 r-xp 0000c000 fd:00 630 /lib/libgcc_s.so.1 f7f96000-f7f97000 rwxp 0000d000 fd:00 630 /lib/libgcc_s.so.1 f7f97000-f7f99000 rwxp f7f97000 00:00 0 f7f99000-f7fb7000 r-xp 00000000 fd:00 16 /lib/ld-2.9.so f7fb7000-f7fb8000 r-xp 0001d000 fd:00 16 /lib/ld-2.9.so f7fb8000-f7fb9000 rwxp 0001e000 fd:00 16 /lib/ld-2.9.so ffc73000-ffcb7000 rwxp 7ffffffbb000 00:00 0 ffffe000-fffff000 r-xp ffffe000 00:00 0 Aborted _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine