NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Please help Apache Segmentation fault
In message
<222CEB14-17E4-43F0-B804-AB6D72BCE431%familysafeinternet.com@localhost>
on Mon, 7 Jan 2013 10:44:17 -0500,
Al Zick <al%familysafeinternet.com@localhost> 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
>> 5.4.10...
>
> 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/libc.so.12
(gdb) where
#0 0x00007f7ff609cf67 in ?? () from /usr/lib/libc.so.12
#1 0x00007f7ff609f0d9 in free () from /usr/lib/libc.so.12
#2 0x00007f7feb7285d2 in zend_hash_destroy ()
from /usr/pkg/lib/httpd/mod_php5.so
#3 0x00007f7feb71baf8 in zend_shutdown () from /usr/pkg/lib/httpd/mod_php5.so
#4 0x00007f7feb6c5047 in php_module_shutdown ()
from /usr/pkg/lib/httpd/mod_php5.so
#5 0x00007f7feb6c5100 in php_module_shutdown_wrapper ()
from /usr/pkg/lib/httpd/mod_php5.so
#6 0x00007f7feb7b5557 in php_apache_server_shutdown ()
from /usr/pkg/lib/httpd/mod_php5.so
#7 0x00007f7ff6c17348 in apr_pool_destroy () from /usr/pkg/lib/libapr-1.so.0
#8 0x00007f7ff6c17328 in apr_pool_destroy () from /usr/pkg/lib/libapr-1.so.0
#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.
--
Takahiro Kambe <taca%back-street.net@localhost>
Home |
Main Index |
Thread Index |
Old Index