help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solaris 2.6 cfexecd 2.1.13 problem


From: Tod Oace
Subject: Re: Solaris 2.6 cfexecd 2.1.13 problem
Date: Tue, 22 Feb 2005 16:02:08 -0800

Apparently nobody else had the same cfexecd problem as me but in case someone does... Recompiling OpenSSL/BerkeleyDB/Cfengine with gcc 2.95.3 fixed the problem.

The core dumping cfexecd's came from gcc 3.1 and then gcc 3.3 on a fully patched Solaris 2.6 system. Maybe gcc 3.4 would help, but I don't have that handy on Solaris so I didn't try it. I also didn't try gcc 3.x on Solaris 2.7 or 2.8 so I don't know if it's a gcc 3.x + Solaris 2.6 problem or a gcc 3.x + Solaris 2.x problem.

Anyway, I hope this helps someone someday.  -Tod


On Feb 14, 2005, at 17:01, Tod Oace wrote:

Has anyone seen cfexecd (or anything) seg fault on _run_prefork?
Should I be compiling cfengine without threading somehow?
Running "/var/cfengine/bin/cfagent -z -D from_cfexecd" by hand works and produces a blank line.

# /usr/intel/bin/gdb cfexecd core
GNU gdb 5.2.1
Copyright 2002 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 "sparc-sun-solaris2.6"...
Core was generated by `/usr/local/sbin/cfexecd -F'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libsec.so.1...done.
Loaded symbols for /usr/lib/libsec.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
#0  0xef4d1728 in _run_prefork () from /usr/lib/libthread.so.1
(gdb) bt
#0  0xef4d1728 in _run_prefork () from /usr/lib/libthread.so.1
#1  0xef4d2fc8 in fork1 () from /usr/lib/libthread.so.1
#2  0x0002b26c in cfpopen (
    command=0xefffed70 "/var/cfengine/bin/cfagent -z -D from_cfexecd",
    type=0x113da8 "r") at popen.c:74
#3  0x000299fc in GetCfStuff () at cfexecd.c:492
#4 0x0002916c in StartServer (argc=2, argv=0xeffffecc) at cfexecd.c:297
#5  0x00028b6c in main (argc=2, argv=0xeffffecc) at cfexecd.c:124

--
Tod Oace, Intel Corporation <tod@intel.com>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]