NetBSD-Users archive

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

Re: Please help Apache Segmentation fault


On Jan 7, 2013, at 11:10 AM, Takahiro Kambe wrote:

In message <222CEB14-17E4-43F0-B804->
        on Mon, 7 Jan 2013 10:44:17 -0500,
        Al Zick <> wrote:
First, Apache trying to core dump to none writable directory with
default configuration.  So, I set CoreDumpDirectory but I can't
reproduce the problem yet.  :-(
I've got core dump.

Sure, the problem exists in PHP 5.4.9.  It might be solved on PHP

I am using PHP 5.4.7 and I have this problem too. It looks like it is
caused when PHP tries to free some memory.
Sadly, PHP 5.4.10 dosen't solve the problem.

# php -v
PHP 5.4.10 (cli) (built: Jan  7 2013 01:57:56)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

# gdb /usr/pkg/sbin/httpd /var/tmp/httpd.2337.core
Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ff609cf67 in ?? () from /usr/lib/
(gdb) where
#0  0x00007f7ff609cf67 in ?? () from /usr/lib/
#1  0x00007f7ff609f0d9 in free () from /usr/lib/
#2  0x00007f7feb7285d2 in zend_hash_destroy ()
   from /usr/pkg/lib/httpd/
#3 0x00007f7feb71baf8 in zend_shutdown () from /usr/pkg/lib/httpd/
#4  0x00007f7feb6c5047 in php_module_shutdown ()
   from /usr/pkg/lib/httpd/
#5  0x00007f7feb6c5100 in php_module_shutdown_wrapper ()
   from /usr/pkg/lib/httpd/
#6  0x00007f7feb7b5557 in php_apache_server_shutdown ()
   from /usr/pkg/lib/httpd/
#7 0x00007f7ff6c17348 in apr_pool_destroy () from /usr/pkg/lib/ #8 0x00007f7ff6c17328 in apr_pool_destroy () from /usr/pkg/lib/
#9  0x0000000000427485 in destroy_and_exit_process.clone.0 ()
#10 0x00000000004286fb in main ()

It looks like something bad and caused double-free or something...

Good night.

This is on a system that you just done an upgrade on right? I am thinking that something was left from a older version of NetBSD.

Best Regards,

Home | Main Index | Thread Index | Old Index