Bug #53300 [Opn]: php crash since 5.2.x upgrade
Edit report at http://bugs.php.net/bug.php?id=53300&edit=1
ID: 53300
User updated by: if at xip dot at
Reported by: if at xip dot at
Summary: php crash since 5.2.x upgrade
Status: Open
Type: Bug
Package: *General Issues
Operating System: CentOS release 5.5 (Final)
PHP Version: 5.2SVN-2010-11-12 (snap)
Block user comment: N
New Comment:
ok, skills (to avoid <?php> hints):
c
php
sql
strace
gdb
Previous Comments:
------------------------------------------------------------------------
[2010-11-12 22:16:55] if at xip dot at
aeh.. thats a production machine with 500 vhosts from customers.
no idea which script is broken as the error is not fixed to a special
website.
(and it is not a bad memory bank)
any other ideas?
------------------------------------------------------------------------
[2010-11-12 21:40:42] felipe@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2010-11-12 16:49:34] if at xip dot at
Description:
------------
php crashes since 5.2.x upgrade, tried 5.2.11, 5.2.13, 5.2.14, 5.2.snap
I ca't compile php in debug-mode, as zend optimizer and ioncube will
fail.
any other ways to get a better sight of the initial problem?
Actual result:
--------------
*** glibc detected *** /usr/sbin/httpd: free(): invalid pointer:
0xb7cba170
***
======= Backtrace: =========
/lib/libc.so.6[0xb7bce5a5]
/lib/libc.so.6(cfree+0x59)[0xb7bce9e9]
/etc/httpd/modules/libphp5.so[0xb7307188]
/etc/httpd/modules/libphp5.so(zend_hash_destroy+0x47)[0xb74587d7]
/etc/httpd/modules/libphp5.so[0xb73070dd]
/etc/httpd/modules/libphp5.so(module_destructor+0x56)[0xb7451786]
/etc/httpd/modules/libphp5.so[0xb7458469]
/etc/httpd/modules/libphp5.so(zend_hash_graceful_reverse_destroy+0x27)[0xb74586f7]
/etc/httpd/modules/libphp5.so(zend_shutdown+0x3c)[0xb744dbec]
/etc/httpd/modules/libphp5.so(php_module_shutdown+0x45)[0xb7405ab5]
/etc/httpd/modules/libphp5.so(php_module_shutdown_wrapper+0x17)[0xb7405b77]
/etc/httpd/modules/libphp5.so[0xb74d5721]
/usr/lib/libapr-1.so.0[0xb7cee96d]
/usr/lib/libapr-1.so.0(apr_pool_destroy+0x3d)[0xb7cef0fd]
/usr/sbin/httpd[0xb7f703a5]
/usr/sbin/httpd[0xb7f70912]
/usr/sbin/httpd[0xb7f70b21]
/usr/sbin/httpd(ap_mpm_run+0x913)[0xb7f71523]
/usr/sbin/httpd(main+0x867)[0xb7f48197]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7b7ae9c]
/usr/sbin/httpd[0xb7f472e1]
/usr/sbin/httpd[0xb7f472e1]
/usr/sbin/httpd[0xb7f472e1]
....
....
b7b5a000-b7b65000 rw-p b7b5a000 00:00 0
b7b65000-b7cb7000 r-xp 00000000 00:61 207258201
/lib/libc-2.5.so
b7cb7000-b7cb9000 r--p 00152000 00:61 207258201
/lib/libc-2.5.so
b7cb9000-b7cba000 rw-p 00154000 00:61 207258201
/lib/libc-2.5.so
b7cba000-b7cbd000 rw-p b7cba000 00:00 0
-> here b7cba170
b7cbd000-b7cc0000 r-xp 00000000 00:61 207259242
/lib/libdl-2.5.so
b7cc0000-b7cc1000 r--p 00002000 00:61 207259242
/lib/libdl-2.5.so
b7cc1000-b7cc2000 rw-p 00003000 00:61 207259242
/lib/libdl-2.5.so
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53300&edit=1
Thread (6 messages)