#36084 [Fbk->Opn]: apache2 segfaults on phpinfo()
| From: | clive at darkarts dot co dot za | Date: | Thu, 19 Jan 2006 13:43:45 +0000 |
| Subject: | #36084 [Fbk->Opn]: apache2 segfaults on phpinfo() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-92206@lists.php.net to get a copy of this message | ||
ID: 36084
User updated by: clive at darkarts dot co dot za
Reported By: clive at darkarts dot co dot za
-Status: Feedback
+Status: Open
-Bug Type: Apache2 related
+Bug Type: Reproducible crash
Operating System: FreeBSD
PHP Version: 5.1.2
New Comment:
using: http://snaps.php.net/php5.1-latest.tar.gz
./php --version
PHP 5.1.3-dev (cli) (built: Jan 19 2006 15:52:43) (DEBUG)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
and the backtrace:
<snip many lines of the same>
#158 0x6f5f7465 in ?? ()
#159 0x00000000 in ?? ()
#160 0x083d3000 in ?? ()
#161 0x00000000 in ?? ()
#162 0xbfbfe7a0 in ?? ()
#163 0x083d3000 in ?? ()
#164 0xbfbfbba8 in ?? ()
#165 0x08158e06 in _zend_ts_hash_add_or_update (ht=0x6,
arKey=0xbfbfb938 "ß", 'ÿ' <repeats 15 times>, "é3!(",
nKeyLength=0,
pData=0x28535cb6, nDataSize=1, pDest=0x28234600, flag=-33,
__zend_filename=0xffffffff <Address 0xffffffff out of bounds>,
__zend_lineno=4294967295) at
/usr/ports/lang/php5/work/php5.1-200601191130/Zend/zend_ts_hash.c:102
Previous Comments:
------------------------------------------------------------------------
[2006-01-19 14:19:10] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2006-01-19 14:17:57] clive at darkarts dot co dot za
configure line used:
./configure' '--enable-versioning' '--enable-memory-limit'
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php'
'--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local'
'--enable-reflection' '--enable-spl' '--with-regex=php'
'--with-apxs2=/usr/local/sbin/apxs' '--enable-debug'
'--prefix=/usr/local' 'i386-portbld-freebsd6.0
------------------------------------------------------------------------
[2006-01-19 14:07:49] clive at darkarts dot co dot za
sniper:"Does it crash with something more stable than Apache 2.2 ? Like
2.0 or 1.3.x ?"
yes it crashes the same way from the CLI, without apache at all.
------------------------------------------------------------------------
[2006-01-19 14:05:58] clive at darkarts dot co dot za
after running it enough times i reproduced the segfault with --enable
debug, backtrace as follows:
(gdb) bt
#0 0x289a3bf0 in ?? ()
#1 0x2853735f in __cxa_finalize () from /lib/libc.so.6
#2 0x28536f9a in exit () from /lib/libc.so.6
#3 0x081d36c1 in main (argc=2, argv=0xbfbfe8a8) at
/usr/ports/lang/php5/work/php-5.1.2/sapi/cli/php_cli.c:1243
------------------------------------------------------------------------
[2006-01-19 13:56:52] sniper@php.net
And what was the full configure line used to configure PHP?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/36084
--
Edit this bug report at http://bugs.php.net/?id=36084&edit=1