Core Dump with Apache22

Kostik Belousov kostikbel at gmail.com
Wed Jul 19 06:02:43 UTC 2006


On Wed, Jul 19, 2006 at 02:03:36AM -0400, Derrick Edwards wrote:
> On Tuesday 18 July 2006 21:47, Jeremy Chadwick wrote:
> > On Tue, Jul 18, 2006 at 09:47:03PM -0400, Derrick Edwards wrote:
> > >       Hi,
> > > I am using FreeBSD 6.1-RC with apache-2.2.2 which is a VMware machine.
> > > Machine was rebooted and now it is giving the following error message
> > > in /var/log/messages:
> > >
> > > Jul 18 21:30:54 www kernel: pid 625 (httpd), uid 0: exited on signal 10
> > > (core   dumped)
> > >
> > >  I have tested my config and it is Ok. Not seeing any answers with
> > > google. Can anybody help. Thanks in advance.
> >
> > We've been dealing with a related problem which happens exactly
> > every 7 days when newsyslog sends SIGUSR1 to httpd (newsyslog runs
> > every 24 hours and does this -- but every 7 days, sig10 happens).
> > This only seems to happen with SSL enabled, however.  Box is 4-STABLE
> > though, not 6-RC.
> >
> > That said -- since you have a coredump, can you provide a backtrace?
> >
> > gdb /usr/local/sbin/httpd /location/of/core/file
> > gdb> bt full
> 	Thanks for the reply,
> I have never done backtracing before so bare with me, The coredump was found 
> at /httpd.core. The first command that I 
> raned "gdb /usr/local/sbin/httpd /location/of/core/file" I outputted to the 
> file core_dump.txt. The bt full is listed below.
> 
> (gdb) bt full
> #0  0x28f38262 in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> No symbol table info available.
> #1  0x282360d0 in sigprocmask () from /usr/lib/libpthread.so.2
> No symbol table info available.
> #2  0x28f3821a in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> No symbol table info available.
> #3  0x282360d0 in sigprocmask () from /usr/lib/libpthread.so.2
> No symbol table info available.
> #4  0x28f3821a in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> No symbol table info available.
> #5  0x282360d0 in sigprocmask () from /usr/lib/libpthread.so.2
> No symbol table info available.
> #6  0x28f3821a in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> No symbol table info available.
> #7  0x282360d0 in sigprocmask () from /usr/lib/libpthread.so.2
> No symbol table info available.
> #8  0x28f3821a in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> No symbol table info available.
> #9  0x282360d0 in sigprocmask () from /usr/lib/libpthread.so.2
> No symbol table info available.
> #10 0x28f3821a in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> No symbol table info available.
> #11 0x282360d0 in sigprocmask () from /usr/lib/libpthread.so.2
> No symbol table info available.
> #12 0x28f3821a in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> No symbol table info available.
> #13 0x282360d0 in sigprocmask () from /usr/lib/libpthread.so.2
> No symbol table info available.
> #14 0x28f3821a in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> No symbol table info available.
> #15 0x282360d0 in sigprocmask () from /usr/lib/libpthread.so.2
> No symbol table info available.
> #16 0x28f3821a in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> No symbol table info available.
> #17 0x282360d0 in sigprocmask () from /usr/lib/libpthread.so.2
> No symbol table info available.
> 
> Let me know if you need any more info.
> v/r
> Derrick

> 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"...(no debugging symbols found)...
> Core was generated by `httpd'.
> Program terminated with signal 10, Bus error.
> Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done.
> Loaded symbols for /lib/libm.so.4
> Reading symbols from /usr/local/lib/libaprutil-1.so.2...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libaprutil-1.so.2
> Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libexpat.so.6
> Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libiconv.so.3
> Reading symbols from /usr/local/lib/libapr-1.so.2...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libapr-1.so.2
> Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done.
> Loaded symbols for /lib/libcrypt.so.3
> Reading symbols from /usr/lib/libpthread.so.2...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libpthread.so.2
> Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /usr/local/libexec/apache22/mod_authn_file.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authn_file.so
> Reading symbols from /usr/local/libexec/apache22/mod_authn_dbm.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authn_dbm.so
> Reading symbols from /usr/local/libexec/apache22/mod_authn_anon.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authn_anon.so
> Reading symbols from /usr/local/libexec/apache22/mod_authn_default.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authn_default.so
> Reading symbols from /usr/local/libexec/apache22/mod_authz_host.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authz_host.so
> Reading symbols from /usr/local/libexec/apache22/mod_authz_groupfile.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authz_groupfile.so
> Reading symbols from /usr/local/libexec/apache22/mod_authz_user.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authz_user.so
> Reading symbols from /usr/local/libexec/apache22/mod_authz_dbm.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authz_dbm.so
> Reading symbols from /usr/local/libexec/apache22/mod_authz_owner.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authz_owner.so
> Reading symbols from /usr/local/libexec/apache22/mod_authz_default.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_authz_default.so
> Reading symbols from /usr/local/libexec/apache22/mod_auth_basic.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_auth_basic.so
> Reading symbols from /usr/local/libexec/apache22/mod_auth_digest.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_auth_digest.so
> Reading symbols from /usr/local/libexec/apache22/mod_file_cache.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_file_cache.so
> Reading symbols from /usr/local/libexec/apache22/mod_cache.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_cache.so
> Reading symbols from /usr/local/libexec/apache22/mod_disk_cache.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_disk_cache.so
> Reading symbols from /usr/local/libexec/apache22/mod_include.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_include.so
> Reading symbols from /usr/local/libexec/apache22/mod_filter.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_filter.so
> Reading symbols from /usr/local/libexec/apache22/mod_charset_lite.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_charset_lite.so
> Reading symbols from /usr/local/libexec/apache22/mod_deflate.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_deflate.so
> Reading symbols from /lib/libz.so.3...(no debugging symbols found)...done.
> Loaded symbols for /lib/libz.so.3
> Reading symbols from /usr/local/libexec/apache22/mod_log_config.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_log_config.so
> Reading symbols from /usr/local/libexec/apache22/mod_logio.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_logio.so
> Reading symbols from /usr/local/libexec/apache22/mod_env.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_env.so
> Reading symbols from /usr/local/libexec/apache22/mod_mime_magic.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_mime_magic.so
> Reading symbols from /usr/local/libexec/apache22/mod_cern_meta.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_cern_meta.so
> Reading symbols from /usr/local/libexec/apache22/mod_expires.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_expires.so
> Reading symbols from /usr/local/libexec/apache22/mod_headers.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_headers.so
> Reading symbols from /usr/local/libexec/apache22/mod_usertrack.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_usertrack.so
> Reading symbols from /usr/local/libexec/apache22/mod_unique_id.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_unique_id.so
> Reading symbols from /usr/local/libexec/apache22/mod_setenvif.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_setenvif.so
> Reading symbols from /usr/local/libexec/apache22/mod_ssl.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_ssl.so
> Reading symbols from /usr/lib/libssl.so.4...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libssl.so.4
> Reading symbols from /lib/libcrypto.so.4...(no debugging symbols found)...done.
> Loaded symbols for /lib/libcrypto.so.4
> Reading symbols from /usr/local/libexec/apache22/mod_mime.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_mime.so
> Reading symbols from /usr/local/libexec/apache22/mod_dav.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_dav.so
> Reading symbols from /usr/local/libexec/apache22/mod_status.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_status.so
> Reading symbols from /usr/local/libexec/apache22/mod_autoindex.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_autoindex.so
> Reading symbols from /usr/local/libexec/apache22/mod_asis.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_asis.so
> Reading symbols from /usr/local/libexec/apache22/mod_info.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_info.so
> Reading symbols from /usr/local/libexec/apache22/mod_cgi.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_cgi.so
> Reading symbols from /usr/local/libexec/apache22/mod_dav_fs.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_dav_fs.so
> Reading symbols from /usr/local/libexec/apache22/mod_vhost_alias.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_vhost_alias.so
> Reading symbols from /usr/local/libexec/apache22/mod_negotiation.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_negotiation.so
> Reading symbols from /usr/local/libexec/apache22/mod_dir.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_dir.so
> Reading symbols from /usr/local/libexec/apache22/mod_imagemap.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_imagemap.so
> Reading symbols from /usr/local/libexec/apache22/mod_actions.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_actions.so
> Reading symbols from /usr/local/libexec/apache22/mod_speling.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_speling.so
> Reading symbols from /usr/local/libexec/apache22/mod_userdir.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_userdir.so
> Reading symbols from /usr/local/libexec/apache22/mod_alias.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_alias.so
> Reading symbols from /usr/local/libexec/apache22/mod_rewrite.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_rewrite.so
> Reading symbols from /usr/local/libexec/apache22/libphp5.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/libphp5.so
> Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libxml2.so.5
> Reading symbols from /usr/local/libexec/apache22/mod_security.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/libexec/apache22/mod_security.so
> Reading symbols from /usr/local/lib/php/20050922/pdf.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/pdf.so
> Reading symbols from /usr/local/lib/libpdf.so.7...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libpdf.so.7
> Reading symbols from /usr/local/lib/php/20050922/zlib.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/zlib.so
> Reading symbols from /usr/local/lib/php/20050922/bz2.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/bz2.so
> Reading symbols from /usr/lib/libbz2.so.2...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libbz2.so.2
> Reading symbols from /usr/local/lib/php/20050922/ctype.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/ctype.so
> Reading symbols from /usr/local/lib/php/20050922/dom.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/dom.so
> Reading symbols from /usr/local/lib/php/20050922/ftp.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/ftp.so
> Reading symbols from /usr/local/lib/php/20050922/gd.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/gd.so
> Reading symbols from /usr/local/lib/libt1.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libt1.so.5
> Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libfreetype.so.9
> Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libX11.so.6
> Reading symbols from /usr/X11R6/lib/libXpm.so.4...(no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libXpm.so.4
> Reading symbols from /usr/local/lib/libpng.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libpng.so.5
> Reading symbols from /usr/local/lib/libjpeg.so.9...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libjpeg.so.9
> Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libXext.so.6
> Reading symbols from /usr/local/lib/php/20050922/iconv.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/iconv.so
> Reading symbols from /usr/local/lib/php/20050922/imap.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/imap.so
> Reading symbols from /usr/local/lib/libc-client4.so.8...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libc-client4.so.8
> Reading symbols from /usr/lib/libpam.so.3...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libpam.so.3
> Reading symbols from /usr/local/lib/php/20050922/mcrypt.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/mcrypt.so
> Reading symbols from /usr/local/lib/libmcrypt.so.8...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libmcrypt.so.8
> Reading symbols from /usr/local/lib/libltdl.so.4...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libltdl.so.4
> Reading symbols from /usr/local/lib/php/20050922/mhash.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/mhash.so
> Reading symbols from /usr/local/lib/libmhash.so.2...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libmhash.so.2
> Reading symbols from /usr/local/lib/php/20050922/ming.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/ming.so
> Reading symbols from /usr/local/lib/libming.so.4...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libming.so.4
> Reading symbols from /usr/local/lib/libungif.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libungif.so.5
> Reading symbols from /usr/X11R6/lib/libSM.so.6...(no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libSM.so.6
> Reading symbols from /usr/X11R6/lib/libICE.so.6...(no debugging symbols found)...done.
> Loaded symbols for /usr/X11R6/lib/libICE.so.6
> Reading symbols from /usr/local/lib/php/20050922/mysql.so...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/php/20050922/mysql.so
> Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.15...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.15
> Reading symbols from /usr/local/lib/liblthread.so.3...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/liblthread.so.3
> Reading symbols from /usr/local/lib/liblstdc++.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/liblstdc++.so.5
> Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x28f38262 in pthread_sigmask () from /usr/local/lib/liblthread.so.3
> [New LWP 100108]
> (gdb) 
> (gdb) quit
You managed to get both (I presume) linuxthreads and standard threading library
into the same process. Most likely, your mysql instance is compiled with
linuxthreads. Recompile it without.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060719/bc274fe2/attachment.pgp


More information about the freebsd-ports mailing list