Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 May 2008 16:53:58 -0700
From:      Chris Maness <chris@chrismaness.com>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        FreeBSD List <freebsd-questions@freebsd.org>
Subject:   Re: Compiling in Debugging Flags
Message-ID:  <481BA996.50005@chrismaness.com>
In-Reply-To: <481BA6EC.2020209@chrismaness.com>
References:  <alpine.BSF.1.10.0805020730530.6118@ns1.kq6up.org>	<20080502105853.36874cdf.wmoran@potentialtech.com>	<alpine.BSF.1.10.0805020850440.6428@ns1.kq6up.org> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Maness wrote:
> Chris Maness wrote:
>> Bill Moran wrote:
>>> In response to Chris Maness <chris@chrismaness.com>:
>>>
>>>  
>>>>> 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 ?? ()





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?481BA996.50005>