ID:               36084
 Updated by:       [EMAIL PROTECTED]
 Reported By:      clive at darkarts dot co dot za
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: FreeBSD
 PHP Version:      5.1.2
 New Comment:

You were actually asked a question.


Previous Comments:
------------------------------------------------------------------------

[2006-01-19 15:12:45] clive at darkarts dot co dot za

Just a side note, before I delve once more into this bug.  All worked
fine on my system before I upgraded to 5.1.1, before that, I was using
5.0.5.  This bug was introduced between 5.0.5 and 5.1.1 (apache version
unchanged) but at that time i noticed a similar bugreport that seemed to
indicate this bug had been found and fixed between 5.1.1 and 5.1.2. 
This morning I upgraded from 5.1.1 to 5.1.2 to notice that it was still
there.

hmmm, ok I was simply using the FreeBSD defaults as per setup my it's
maintainer.  I have never built php from the source myself before this,
I normaly rely on the "invisible unsung people behind the scenes" that
do all this hard work for me ;)

(still using the latest snap)
the following is (re)built using only:  ./configure --enable-debug.

( there are an incredibly amount of warnings during the compilation of
Zend/zend_execute.c )

./php --version
PHP 5.1.3-dev (cli) (built: Jan 19 2006 16:23:21) (DEBUG)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

I then ran the command-line version as such:
./php phpinfo.php

... and voila .. I am unable to get the segfault again.

I would really appreciate feedback on what (in my ./configure line) is
causing this, so that I can direct the FreeBSD php maintainer to this
bugreport.

Thank you
Clive

------------------------------------------------------------------------

[2006-01-19 14:46:22] [EMAIL PROTECTED]

And DO NOT use this: --enable-versioning !!


------------------------------------------------------------------------

[2006-01-19 14:45:54] [EMAIL PROTECTED]

Does it crash if you compile against NON-threaded Apache?
Apparently the one you have is threaded. We really don't support that..

------------------------------------------------------------------------

[2006-01-19 14:43:43] clive at darkarts dot co dot za

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

------------------------------------------------------------------------

[2006-01-19 14:19:10] [EMAIL PROTECTED]

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



------------------------------------------------------------------------

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

Reply via email to