NetBSD-Users archive

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

Re: Please help Apache Segmentation fault


I just happen to have a core file.

Here is the output:

gdb /usr/local/sbin/httpd /usr/local/httpd.core
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later < gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc--netbsd".
For bug reporting instructions, please see:
Reading symbols from /usr/local/sbin/httpd...(no debugging symbols found)...done.
[New process 1]
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
#0  0xfddf352c in ?? () from /usr/lib/
(gdb) bt
#0  0xfddf352c in ?? () from /usr/lib/
#1  0xfddf345c in ?? () from /usr/lib/
#2  0xfddf5ca4 in free () from /usr/lib/
#3 0xfcb2c160 in zend_hash_destroy () from /usr/local/lib/httpd/ #4 0xfcb2f45c in zend_destroy_rsrc_list_dtors () from /usr/local/lib/ httpd/
#5  0xfcb1c6c4 in zend_shutdown () from /usr/local/lib/httpd/
#6 0xfcab22e0 in php_module_shutdown () from /usr/local/lib/httpd/ #7 0xfcab23b8 in php_module_shutdown_wrapper () from /usr/local/lib/ httpd/ #8 0xfcbe3124 in php_apache_server_shutdown () from /usr/local/lib/ httpd/
#9  0xfdf088d4 in apr_pool_destroy () from /usr/local/lib/
#10 0xfdf088a4 in apr_pool_destroy () from /usr/local/lib/
#11 0x01819a7c in destroy_and_exit_process ()
#12 0x0181ad28 in main ()


On Jan 6, 2013, at 11:37 AM, Stephan wrote:

Hi all,

won´t you happen to have a corresponding core file? Please open it in
gdb and issue a "bt" to see where the crash happend.



2013/1/6 Takahiro Kambe <>:
In message <>
        on Sun, 6 Jan 2013 17:37:57 +0200,
        Jukka Marin <> wrote:
On Sun, Jan 06, 2013 at 10:30:27AM -0500, Al wrote:

I am seeing "[notice] child pid 16566 exit signal Segmentation fault (11)" in my apache error_log. There is something like 66790 in maybe 1 or 2

Apache is crashing on our server as well (ever since we upgraded to NetBSD
6.0).  Haven't had the time to sort this out yet..
I've seen it, too.

    NetBSD 6.0_STABLE (HPMICRO) #7: Wed Dec 12 11:29:58 JST 2012

It looks like apache24 from pkgsrc has the problem but apache22
dosen't have it.  In my case,

* Crash happens on reloading configuration or log rotation.
* System V IPC, semaphores are left after crash and need to remove
  them manually with ipcrm(1).

Best regards.

Takahiro Kambe <>

Home | Main Index | Thread Index | Old Index