php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37866 zend causing crash
Submitted: 2006-06-21 01:47 UTC Modified: 2006-06-22 17:35 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: pryorda at gmail dot com Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 5.1.4 OS: FreeBSD 6.1-RELEASE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pryorda at gmail dot com
New email:
PHP Version: OS:

 

 [2006-06-21 01:47 UTC] pryorda at gmail dot com
Description:
------------
php-cgi core dump




Reproduce code:
---------------
<?php
$file=file_get_contents("/usr/home/httpd/public_html/data/includes/users.html");
echo $file;

?>
<?php
$file=file_get_contents("/usr/home/httpd/public_html/data/includes/links.html");
echo $file;
?>


Expected result:
----------------
it outputs two files to the page... everything prints fine i just get a php-cgi core dump

Actual result:
--------------
#73 0x0814bc98 in zend_hash_copy (target=0x826f780, source=0x2852c508,
    pCopyConstructor=0x8270800, tmp=0x292cf492, size=676513032)
    at /usr/ports/lang/php5/work/php-5.1.4/Zend/zend_hash.c:757
Previous frame inner to this frame (corrupt stack?)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-21 07:34 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-06-22 00:30 UTC] pryorda at gmail dot com
Um.. I dont install anything by hand it all comes from ports so until the port is created i cant do that option
 [2006-06-22 17:35 UTC] tony2001@php.net
Felle free to reopen if you can reproduce it with the latest CVS snapshot.
Until then -> bogus.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 10 12:01:33 2025 UTC