Forum: Cfengine Help Subject: strange segfault Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20855,20855#msg-20855
Yesterday morning cf started segfaulting on just one host. This not a new install so my assumption is that something on the host other than Cf has changed to cause this. The gdb output is odd. Can anyone here make sense of it? ippdd01:/var/cfengine/outputs # /usr/bin/gdb /var/cfengine/bin/cf-promises GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-suse-linux"... Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) run -v Starting program: /var/cfengine/bin/cf-promises -v warning: Cannot initialize thread debugging library: unknown thread_db error '22' ^^^^^^^ I've not see that before. community> Cfengine - autonomous configuration engine - commence self-diagnostic prelude community> ------------------------------------------------------------------------ community> Work directory is /var/cfengine community> Making sure that locks are private... community> Checking integrity of the state database community> Checking integrity of the module directory community> Checking integrity of the PKI directory community> Looking for a source of entropy in /var/cfengine/randseed community> -> Loaded private key /var/cfengine/ppkeys/localhost.priv community> -> Loaded public key /var/cfengine/ppkeys/localhost.pub community> Setting cfengine default port to 5308 = 5308 community> Reference time set to Mon Feb 28 10:09:50 2011 community> Cfengine - 3.1.4 Copyright (C) Cfengine AS 2008,2010- community> ------------------------------------------------------------------------ community> Host name is: ippdd01 community> Operating System Type is linux community> Operating System Release is 2.6.16.60-0.42.10-smp community> Architecture = x86_64 community> Using internal soft-class linux for host ippdd01 community> The time is now Mon Feb 28 10:09:50 2011 community> ------------------------------------------------------------------------ community> # Extended system discovery is only available in version Nova and above community> Additional hard class defined as: 64_bit community> Additional hard class defined as: linux_2_6_16_60_0_42_10_smp community> Additional hard class defined as: linux_x86_64 community> Additional hard class defined as: linux_x86_64_2_6_16_60_0_42_10_smp community> GNU autoconf class from compile time: compiled_on_linux_gnu community> Address given by nameserver: 10.129.127.2 community> Interface 1: lo community> Interface 2: lo community> Interface 3: bond0 community> Adding alias ippdd01.. community> Trying to locate my IPv6 address community> Found IPv6 address fe80::21a:64ff:fe9d:8e02 community> Looking for environment from cf-monitord... community> Unable to detect environment from cf-monitord community> This appears to be a SuSE system. community> Looking for SuSE enterprise info in "SUSE Linux Enterprise Server 10 (x86_64)" community> -> Discovered SuSE version SuSE_10 community> This appears to be a VMware xSX system. Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) back #0 0x0000000000000000 in ?? () #1 0x00002baa262918af in ?? () #2 0x0000000000000000 in ?? () _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine