ID: 3115
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Won\'t fix
Bug Type: Misbehaving function
Operating System: Sparc Solaris 7
PHP Version: 3.0.12
New Comment:
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.
Previous Comments:
------------------------------------------------------------------------
[2000-01-06 04:40:13] [EMAIL PROTECTED]
I see numerous closed bug reports relating to phpinfo() causing a core
dump, however in certain situations it does not appear to be fixed
yet.
phpinfo() creates a partial web page (stopping in the middle of the
"Environment" table) when used in a script with phplib's page_open on
it. phplib version 7.2
Backtrace:
(gdb) run -f /usr/local/apache/conf/httpd_debug.conf -X
Starting program: /apache_stuff/apache/conf/../bin/httpd_debug -f
/usr/local/apache/conf/httpd_debug.conf -X
Program received signal SIGSEGV, Segmentation fault.
0x530ac in _php3_hash_internal_pointer_reset (ht=0x1b5818) at
php3_hash.c:983
983 ht->pInternalPointer = ht->pListHead;
(gdb) bt
#0 0x530ac in _php3_hash_internal_pointer_reset (ht=0x1b5818) at
php3_hash.c:983
#1 0x7c710 in _php3_info () at functions/info.c:290
#2 0x7cbc0 in php3_info (ht=0x40d398, return_value=0x21c4a8,
list=0x21cf6c, plist=0x21dce4) at functions/info.c:418
#3 0x8f7c8 in phpparse () at control_structures_inline.h:934
#4 0x513f0 in php3_parse (yyin=0x21d400) at main.c:1548
#5 0x51718 in apache_php3_module_main (r=0x318c40, fd=2092032,
display_source_mode=0, preprocessed=0) at main.c:1934
#6 0x4e37c in send_php3 ()
#7 0x4e40c in send_parsed_php3 ()
#8 0xdc06c in ap_invoke_handler ()
#9 0xf84b4 in process_request_internal ()
#10 0xf8538 in ap_process_request ()
#11 0xec110 in child_main ()
#12 0xec3a4 in make_child ()
#13 0xec5c0 in startup_children ()
#14 0xecfb0 in standalone_main ()
#15 0xedb98 in main ()
(gdb)
test.php3 script which causes the problem:-
<?php
page_open(array("sess" => "Example_Session"));
?>
<html>
<head><title>PHP3 test page</title></head>
<body bgcolor="#ffffff">
<a href="<?php $sess->purl("index.php3")?>">Load</a> the simple page
again.<br>
<a href="<?php $sess->purl("showoff.php3")?>">Load</a> the complex
example again (login as kris, password test).
<br>
<a href="<?php $sess->purl("defauth.php3")?>">Load</a> the default
auth example.<br>
<a href="<?php $sess->purl("logout.php3") ?>">Logout</a> and delete
your authentication information.<br>
<?php
page_close();
phpinfo();
?>
</body>
</html>
<!-- $Id: test.php3,v 1.5 1999/04/30 19:51:29 kk Exp $ -->
If I can provide any help or more info on this, please let me know.
Thanks very much for an excellent product.
Best Regards,
Brian S. Craigie
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=3115&edit=1