Bug #52977 [Com]: php cli & apache crash
| From: | epopen at gmail dot com | Date: | Thu, 14 Jul 2011 10:32:34 +0000 |
| Subject: | Bug #52977 [Com]: php cli & apache crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161880@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=52977&edit=1
ID: 52977
Comment by: epopen at gmail dot com
Reported by: epopen at gmail dot com
Summary: php cli & apache crash
Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: FreeBSD 8.1 i386
PHP Version: 5.3.3
Block user comment: N
Private report: N
New Comment:
Hi pajoye
>please try using php only without any non core extensions.
I remove /usr/local/etc/php/extensions.ini and execute # php -v, work fine.
Result
# php -v
PHP 5.3.6 with Suhosin-Patch (cli) (built: Jul 4 2011 22:18:16)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
>Also try using 5.3.6, you can compile it yourself in your home directory without
>having to install it.
OK
1.I fetch snapshot from http://snaps.php.net/php5.3-latest.tar.gz
2.untar
3.# ./configure
4.# make
5.PHP cli Result
/tmp/php5.3-201107140430/sapi/cli]# ./php -v
PHP 5.3.7RC3-dev (cli) (built: Jul 14 2011 14:31:47)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
Look like good?
>If you can't do it, please report this bug to FreeBSD so they can either fix their
>packages or help you fixing this issue.
I think it is not FreeBSD issue, between extensions interference maybe.
Thanks you.
Previous Comments:
------------------------------------------------------------------------
[2011-07-13 04:09:13] pajoye@php.net
please try using php only without any non core extensions.
Also try using 5.3.6, you can compile it yourself in your home directory without
having to install it.
If you can't do it, please report this bug to FreeBSD so they can either fix their
packages or help you fixing this issue.
------------------------------------------------------------------------
[2011-07-13 04:03:58] epopen at gmail dot com
Hi pajoye.
Thanks reply.
>>Are you saying that it does not crash if the memcache extension is not enabled?
Yes, doesn't crash when memcache extension disable...
But not only memcache extension, but also other one cause crash(random).
When PHP upgrade by ports in FreeBSD, extensions row order change randomly.
So crash after upgrade sometime.
Memcache is known issue until today.(Order between extensions I think)
Thanks a lot.
------------------------------------------------------------------------
[2011-07-13 03:33:31] pajoye@php.net
Are you saying that it does not crash if the memcache extension is not enabled?
------------------------------------------------------------------------
[2011-07-13 03:29:58] epopen at gmail dot com
Hi felipe
Thanks your suggest.
But it is hard, Because I installed PHP from FreeBSD ports system.
I can't modified it.
Newest status report (2011-07-13):
Current FreeBSD: 8.2, PHP:5.3.6
Same "Segmentation fault (core dumped)" if "extension=memcache.so" is not least
row in extensions.ini
The "memcache.so" is known reproduce issue easily extensions.
Thanks a lot.
------------------------------------------------------------------------
[2011-07-10 13:34:23] felipe@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=52977
--
Edit this bug report at https://bugs.php.net/bug.php?id=52977&edit=1