#30637 [Opn->Fbk]: compile with pear error
| From: | derick@php.net | Date: | Mon, 01 Nov 2004 20:05:36 +0000 |
| Subject: | #30637 [Opn->Fbk]: compile with pear error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-68597@lists.php.net to get a copy of this message | ||
ID: 30637
Updated by: derick@php.net
Reported By: arthur at mir5 dot homeip dot net
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: (Slackware) linux-2.4.25
PHP Version: 5.0.2
New Comment:
valgrind --tool=memcheck php ./script-that-crashes.php
should do it.
Previous Comments:
------------------------------------------------------------------------
[2004-11-01 19:47:06] arthur at mir5 dot homeip dot net
please tell me exactly what you want me to run.
valgrind php ./install-pear.php
you must give it a tool= option.
also what flags should i include.
------------------------------------------------------------------------
[2004-11-01 10:40:08] robbat2 at gentoo dot org
valgrind output:
http://dev.gentoo.org/~robbat2/php-4.3.9-valgrind.trace
------------------------------------------------------------------------
[2004-11-01 09:29:22] derick@php.net
Can you run valgrind on this, like in:
valgrind php ./script-that-crashes.php
and put the output somewhere online?
Derick
------------------------------------------------------------------------
[2004-11-01 09:21:34] robbat2 at gentoo dot org
I have to use add comment, as this here isn't my bug report, 30639 is
my bug.
------------------------------------------------------------------------
[2004-11-01 09:20:12] robbat2 at gentoo dot org
The PHP test script that this is reproducable for is depressingly
small...
<?php
?>
the extensions directory is totally empty...
running:
/var/tmp/portage/php-4.3.9/work/php-4.3.9/sapi/cli/php -m -n
will give correct output one time out of ten, and fail dismally the
other times (leaving a corefile that backtraces to the output I gave in
my other bug).
Included here again for good measure:
#0 0x0814d116 in _efree (ptr=0x0, __zend_filename=0x81a7cd8
"/var/tmp/portage/php-4.3.9/work/php-4.3.9/Zend/zend_hash.c",
__zend_lineno=563, __zend_orig_filename=0x0, __zend_orig_lineno=0)
at /var/tmp/portage/php-4.3.9/work/php-4.3.9/Zend/zend_alloc.c:242
242 CALCULATE_REAL_SIZE_AND_CACHE_INDEX(p->size);
(gdb) bt
#0 0x0814d116 in _efree (ptr=0x0, __zend_filename=0x81a7cd8
"/var/tmp/portage/php-4.3.9/work/php-4.3.9/Zend/zend_hash.c",
__zend_lineno=563, __zend_orig_filename=0x0, __zend_orig_lineno=0)
at /var/tmp/portage/php-4.3.9/work/php-4.3.9/Zend/zend_alloc.c:242
#1 0x08165192 in zend_hash_destroy (ht=0x81ba8cc) at
/var/tmp/portage/php-4.3.9/work/php-4.3.9/Zend/zend_hash.c:563
#2 0x0815483d in shutdown_executor () at
/var/tmp/portage/php-4.3.9/work/php-4.3.9/Zend/zend_execute_API.c:186
#3 0x0815ec10 in zend_deactivate () at
/var/tmp/portage/php-4.3.9/work/php-4.3.9/Zend/zend.c:667
#4 0x0812914a in php_request_shutdown (dummy=0x0) at
/var/tmp/portage/php-4.3.9/work/php-4.3.9/main/main.c:996
#5 0x08177c0b in main (argc=3, argv=0xbfffeda4) at
/var/tmp/portage/php-4.3.9/work/php-4.3.9/sapi/cli/php_cli.c:873
The most output it does give me is:
----
[PHP Modules]
ctype
domxml
overload
pcre
posix
session
standard
tokenizer
xml
zlib
[Zend Modules]
----
------------------------------------------------------------------------
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/30637
--
Edit this bug report at http://bugs.php.net/?id=30637&edit=1