php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60771 header, phpinfo, require crash
Submitted: 2012-01-16 18:38 UTC Modified: 2012-01-16 19:45 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bugzilla33 at gmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.4.0RC5 OS: win 7 64-bit
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugzilla33 at gmail dot com
New email:
PHP Version: OS:

 

 [2012-01-16 18:38 UTC] bugzilla33 at gmail dot com
Description:
------------
header, phpinfo, require crash

Debud dial reports:
http://host0001.webd.pl/bugs/php/reports/Reports.zip

My configuration do not contain DLLs from older PHP 
versions and do ton missing some in my paths.

unpacked from: http://windows.php.net/downloads/qa/php-5.4.0RC5-Win32-VC9-x86.zip

Test script:
---------------
PID_1080.php:

<?php
 file_put_contents('test.php',str_repeat('passed, ',1024));
 require('test.php');
?>


PID_1280.php:

<?php
 header('Location: http://php.net/');
?>


PID_4656.php:

<?php
 phpinfo();
?>

Expected result:
----------------
When use 5.4.0 RC4 there are no crashes.

Actual result:
--------------
crashes

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-16 19:13 UTC] pajoye@php.net
Please do not duplicate bugs endlessly. it does not help.

The backtrace clearly shows what I tried to explain you earlier.
 [2012-01-16 19:13 UTC] pajoye@php.net
-Status: Open +Status: Bogus
 [2012-01-16 19:13 UTC] pajoye@php.net
.
 [2012-01-16 19:45 UTC] pajoye@php.net
Ah ok, I got it now.

Again, a duplicate of bug #48034. As you commented there as well. So please 
(please!) do not open new bugs endlessly, it costs time to valid and verify that 
they are not different issues.

The scanner bug (8*1024 script size) is already, patch too and will be validated 
soon and be present for the next release.

Thanks for your understanding.

phpinfo and header do not crash, at all. Despite our numerous attempts to 
reproduce it.
 [2012-01-16 20:48 UTC] mattficken@php.net
I can reproduce a crash of PHP 5.4.0rc5 using the PID1080 script on Win7 x64 with SP0 and SP1.

I can't get the other scripts to reproduce a crash.

PID1080 crashes because the text it has outside a <?php ?> tags is longer than 8kb (this is a known issue).


Again, reporting the same bug repeatedly doesn't get it fixed faster, in fact, it actually slows us down a lot. It is better if you post a comment to your first bug report to ask if it has been fixed.
 [2012-01-16 20:53 UTC] mattficken@php.net
This issue is similar to bug 48034.

A patch for that will be released soon.

It should be available in the next RC release of 5.4.0.

If you can't wait, it may become available in a snapshot release before then.
 [2012-01-16 21:06 UTC] bugzilla33 at gmail dot com
Ok, could you say why the problem (pin 1280 and 4656) no occur with the RC1, RC2, RC3, RC4,
but occurs with RC5 and RC6 last dev?
I tested on Win 32 and Win 64 after system reinstall.

I use Apache 2.2.21 VC9.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC