Forum: Cfengine Help Subject: Re: cfengine 3.1.2 segfaulting again... and on 3.1.3 as well Author: Jim Amanatidis Link to topic: https://cfengine.com/forum/read.php?3,20083,20243#msg-20243
Been having similar issue, have tried 3.1.2, 3.1.3, and 3.1.3a build 1700, cf-serverd continues to seg fault. With each build, I removed all root.*pub keys from ppkeys, all *.db files from /var/cfengine directory and all contents from /var/cfengine/state. Then I started cf-serverd. It will dump core anywhere from 10 minutes to a couple of hours. My environment is as follows: Sun Solaris10, Sparc, kernel 142900-15 Sun Studio12 - Version Sun C 5.9 SunOS_sparc Patch 124867-10 2009/04/14 cfengine-3.1.3a1 build 1700 db-5.1.19.NC openssl-1.0.0c pcre-8.11.tar Here is the gdb output: GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.10"... Reading symbols from /var/cfengine/lib/libpromises.so.1...done. Loaded symbols for /var/cfengine/lib/libpromises.so.1 Reading symbols from /lib/libpthread.so.1...done. Loaded symbols for /lib/libpthread.so.1 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /var/cfengine/lib/libpcre.so.0...done. Loaded symbols for /var/cfengine/lib/libpcre.so.0 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libsocket.so.1...done. Loaded symbols for /lib/libsocket.so.1 Reading symbols from /lib/libm.so.2...done. Loaded symbols for /lib/libm.so.2 Reading symbols from /var/cfengine/lib/libdb-5.1.so...done. Loaded symbols for /var/cfengine/lib/libdb-5.1.so Reading symbols from /var/cfengine/lib/libcrypto.so.1.0.0...done. Loaded symbols for /var/cfengine/lib/libcrypto.so.1.0.0 Reading symbols from /lib/libelf.so.1...done. Loaded symbols for /lib/libelf.so.1 Reading symbols from /lib/libsec.so.1...done. Loaded symbols for /lib/libsec.so.1 Reading symbols from /lib/libc.so.1...done. Loaded symbols for /lib/libc.so.1 Reading symbols from /lib/libaio.so.1...done. Loaded symbols for /lib/libaio.so.1 Reading symbols from /lib/libmd.so.1...done. Loaded symbols for /lib/libmd.so.1 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libdl.so.1...done. Loaded symbols for /lib/libdl.so.1 Reading symbols from /lib/libavl.so.1...done. Loaded symbols for /lib/libavl.so.1 Reading symbols from /platform/sun4v/lib/libc_psr.so.1...done. Loaded symbols for /platform/SUNW,SPARC-Enterprise-T5120/lib/libc_psr.so.1 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 Core was generated by `/var/cfengine/bin/cf-serverd'. Program terminated with signal 11, Segmentation fault. #0 0xfe6b1d60 in strcmp () from /lib/libc.so.1 (gdb) where #0 0xfe6b1d60 in strcmp () from /lib/libc.so.1 #1 0xff23e5b8 in LastSaw (username=0x129295 "root", ipaddress=0x12969d "::ffff:160.43.16.10", digest=0x128e54 "\254Bw\273B\207>\372\rr\264\372\372k}\344o /bb/util/cfg/dbe/dev-test/generic/verifmxtabs.stoyosu-fe2248.bloomberg .com", role=cf_accept) at instrumentation.c:316 dwarf2read.c:2754: internal-error: process_die: Assertion `die->child == NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) dwarf2read.c:2754: internal-error: process_die: Assertion `die->child == NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. further debugging may prove unreliable. Create a core file of GDB? (y or n) (gdb) q ~ _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine