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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 02:01:29 2024 UTC