Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2002 21:47:26 +0200
From:      "Jan" <jbaggen@xs4all.nl>
To:        freebsd-isp@freebsd.org
Subject:   FreeBSD segfault and coredump: war on sefgault
Message-ID:  <adr2kk$it7$1@news1.xs4all.nl>

next in thread | raw e-mail | index | archive | help
We are having a problem with on of our Apache/1.3.24 (Unix) PHP/4.2.1
mod_ssl/2.8.8 OpenSSL/0.9.6d
webservers. The server is segfaulting 5x a day, sometimes more. Today it
even produced a coredump. The
problem raised a few months ago and we are researching this issue since but
is driving me crazy.

We have switched memory on the server with new memory and updated all ports
that are used by the
Apache and PHP server. We have compiled Apache with DSO support and build a
static one with
PHP and mod_ssl. Still a segfault a couple of times a day.

We tried to get some more information by debugging the coredump but i'm not
an expert on this. Could
someone with some spare time (heh..) look at the following output and maybe
email his or her thoughts?

Thank you.
War on sefgault!

---
www08# gdb /usr/local/apache/2/bin/httpd -core=/httpd.core
GNU gdb 4.18
Copyright 1998 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-unknown-freebsd"...(no debugging symbols
found)...
Core was generated by `httpd'.
Program terminated with signal 5, Trace/BPT trap.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/libmm.so.11...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols
found)...done.
Reading symbols from /usr/local/apache/2/libexec/libphp4.so...done.
Reading symbols from /usr/lib/libpam.so.1...done.
Reading symbols from /usr/local/lib/libsablot.so.68...done.
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Reading symbols from /usr/local/lib/libexpat.so.2...done.
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.10...done.
Reading symbols from /usr/local/lib/libmhash.so.2...done.
Reading symbols from /usr/local/lib/libgd.so.4...done.
Reading symbols from /usr/local/lib/libpng.so.5...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/local/lib/libjpeg.so.9...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/local/lib/libfreetype.so.9...done.
Reading symbols from /usr/local/apache/2/libexec/libssl.so...done.
Reading symbols from /usr/local/lib/libssl.so.3...done.
Reading symbols from /usr/local/lib/libcrypto.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x280cf679 in r_debug_state () from /usr/libexec/ld-elf.so.1
(gdb) backtrace
#0  0x280cf679 in r_debug_state () from /usr/libexec/ld-elf.so.1
#1  0x8093ca6 in ap_os_dso_unload ()
#2  0x806f950 in unload_module ()
#3  0x807261d in run_cleanups ()
#4  0x8070b69 in ap_clear_pool ()
#5  0x80825e0 in standalone_main ()
#6  0x8082fac in main ()
#7  0x80502e1 in _start ()
(gdb)
---

PHP configure line:
---
'./configure' '--with-apxs=/usr/local/apache/2/bin/apxs'
'--with-mysql=/usr/local' '--with-ttf' '--enable-safe-mode'
'--enable-memory-limit' '--enable-track-vars' '--with-gd=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-tiff-dir=/usr/local'
'--with-png-dir=/usr/local' '--enable-bcmath' '--enable-versioning'
'--enable-trans-sid' '--with-zlib' '--with-xml'
'--enable-gd-imgstrttf--with-mcrypt--with-sablot=/usr/local'
'--with-expat=/usr/local' '--with-xslt-sablot' '--enable-xslt'
'--with-xslt-sablot' '--enable-calendar' '--with-mhash' '--enable-ftp'
---



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?adr2kk$it7$1>