From owner-freebsd-questions@FreeBSD.ORG Fri May 2 23:54:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C0A2106566B for ; Fri, 2 May 2008 23:54:00 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi101.prodigy.net (nlpi101.prodigy.net [207.115.36.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2CB3A8FC18 for ; Fri, 2 May 2008 23:54:00 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.150] Received: from [192.168.1.2] (adsl-76-238-148-150.dsl.irvnca.sbcglobal.net [76.238.148.150]) by nlpi101.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m42Nrw8W029345; Fri, 2 May 2008 18:53:59 -0500 Message-ID: <481BA996.50005@chrismaness.com> Date: Fri, 02 May 2008 16:53:58 -0700 From: Chris Maness User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Bill Moran References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> In-Reply-To: <481BA6EC.2020209@chrismaness.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD List Subject: Re: Compiling in Debugging Flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 23:54:00 -0000 Chris Maness wrote: > Chris Maness wrote: >> Bill Moran wrote: >>> In response to Chris Maness : >>> >>> >>>>> Then, ensure the sysctls in the kernel are all frobbed to allow >>>>> coredumps. >>>>> Specifically: >>>>> kern.coredump: 1 >>>>> kern.sugid_coredump: 1 >>>>> >>>> What is frobbed? >>>> >>> >>> http://en.wikipedia.org/wiki/Frob >>> >>> You need to learn important things like this if you're going to get >>> anywhere in this business ... >>> >>> >> sysctl -a | grep core >> kern.corefile: %N.core >> kern.nodump_coredump: 0 >> kern.coredump: 1 >> kern.sugid_coredump: 0 >> <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped) >> <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped) >> <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped) >> debug.elf32_legacy_coredump: 0 >> >> How do I change the the values? Also, where do the files go by default? >> > Never mind, I figured it out. Stay tuned, and I'll have some output. > > Chris Is it choking on: /libexec/ld-elf.so.1 or /libexec/ld-elf.so.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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 "i386-marcel-freebsd"... Core was generated by `httpd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypt.so.4...done. Loaded symbols for /lib/libcrypt.so.4 Reading symbols from /usr/local/lib/libexpat.so.6...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...done. Loaded symbols for /usr/local/libexec/apache/mod_mmap_static.so Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...done. Loaded symbols for /usr/local/libexec/apache/mod_vhost_alias.so Reading symbols from /usr/local/libexec/apache/mod_env.so...done. Loaded symbols for /usr/local/libexec/apache/mod_env.so Reading symbols from /usr/local/libexec/apache/mod_log_config.so...done. Loaded symbols for /usr/local/libexec/apache/mod_log_config.so Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...done. Loaded symbols for /usr/local/libexec/apache/mod_mime_magic.so Reading symbols from /usr/local/libexec/apache/mod_mime.so...done. Loaded symbols for /usr/local/libexec/apache/mod_mime.so Reading symbols from /usr/local/libexec/apache/mod_negotiation.so...done. Loaded symbols for /usr/local/libexec/apache/mod_negotiation.so Reading symbols from /usr/local/libexec/apache/mod_status.so...done. Loaded symbols for /usr/local/libexec/apache/mod_status.so Reading symbols from /usr/local/libexec/apache/mod_info.so...done. Loaded symbols for /usr/local/libexec/apache/mod_info.so Reading symbols from /usr/local/libexec/apache/mod_include.so...done. Loaded symbols for /usr/local/libexec/apache/mod_include.so Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...done. Loaded symbols for /usr/local/libexec/apache/mod_autoindex.so Reading symbols from /usr/local/libexec/apache/mod_dir.so...done. Loaded symbols for /usr/local/libexec/apache/mod_dir.so Reading symbols from /usr/local/libexec/apache/mod_cgi.so...done. Loaded symbols for /usr/local/libexec/apache/mod_cgi.so Reading symbols from /usr/local/libexec/apache/mod_asis.so...done. Loaded symbols for /usr/local/libexec/apache/mod_asis.so Reading symbols from /usr/local/libexec/apache/mod_imap.so...done. Loaded symbols for /usr/local/libexec/apache/mod_imap.so Reading symbols from /usr/local/libexec/apache/mod_actions.so...done. Loaded symbols for /usr/local/libexec/apache/mod_actions.so Reading symbols from /usr/local/libexec/apache/mod_speling.so...done. Loaded symbols for /usr/local/libexec/apache/mod_speling.so Reading symbols from /usr/local/libexec/apache/mod_userdir.so...done. Loaded symbols for /usr/local/libexec/apache/mod_userdir.so Reading symbols from /usr/local/libexec/apache/mod_alias.so...done. Loaded symbols for /usr/local/libexec/apache/mod_alias.so Reading symbols from /usr/local/libexec/apache/mod_rewrite.so...done. Loaded symbols for /usr/local/libexec/apache/mod_rewrite.so Reading symbols from /usr/local/libexec/apache/mod_access.so...done. Loaded symbols for /usr/local/libexec/apache/mod_access.so Reading symbols from /usr/local/libexec/apache/mod_auth.so...done. Loaded symbols for /usr/local/libexec/apache/mod_auth.so Reading symbols from /usr/local/libexec/apache/mod_auth_anon.so...done. Loaded symbols for /usr/local/libexec/apache/mod_auth_anon.so Reading symbols from /usr/local/libexec/apache/mod_auth_db.so...done. Loaded symbols for /usr/local/libexec/apache/mod_auth_db.so Reading symbols from /usr/local/libexec/apache/mod_digest.so...done. Loaded symbols for /usr/local/libexec/apache/mod_digest.so Reading symbols from /usr/local/libexec/apache/libproxy.so...done. Loaded symbols for /usr/local/libexec/apache/libproxy.so Reading symbols from /usr/local/libexec/apache/mod_cern_meta.so...done. Loaded symbols for /usr/local/libexec/apache/mod_cern_meta.so Reading symbols from /usr/local/libexec/apache/mod_expires.so...done. Loaded symbols for /usr/local/libexec/apache/mod_expires.so Reading symbols from /usr/local/libexec/apache/mod_headers.so...done. Loaded symbols for /usr/local/libexec/apache/mod_headers.so Reading symbols from /usr/local/libexec/apache/mod_usertrack.so...done. Loaded symbols for /usr/local/libexec/apache/mod_usertrack.so Reading symbols from /usr/local/libexec/apache/mod_log_forensic.so...done. Loaded symbols for /usr/local/libexec/apache/mod_log_forensic.so Reading symbols from /usr/local/libexec/apache/mod_unique_id.so...done. Loaded symbols for /usr/local/libexec/apache/mod_unique_id.so Reading symbols from /usr/local/libexec/apache/mod_setenvif.so...done. Loaded symbols for /usr/local/libexec/apache/mod_setenvif.so Reading symbols from /usr/local/libexec/apache/libphp5.so...done. Loaded symbols for /usr/local/libexec/apache/libphp5.so Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/local/lib/libxml2.so.5...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /lib/libz.so.4...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x28b00bd0 in ?? ()