php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45464 PHP Crashs when sending header('Content-type: application/rss+xml');
Submitted: 2008-07-09 11:12 UTC Modified: 2009-02-19 01:00 UTC
From: ast dot markus at gmx dot net Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.3CVS-2008-07-09 (snap) OS: Windows Vista x64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-07-09 11:12 UTC] ast dot markus at gmx dot net
Description:
------------
Sending this header:
header('Content-type: application/rss+xml');

will cause PHP to crash (on IIS7 with FastCgi).

Windows Log says:

Fehlerhafte Anwendung php-cgi.exe, Version 5.3.0.0, Zeitstempel 0x487474e8, fehlerhaftes Modul php-cgi.exe, Version 5.3.0.0, Zeitstempel 0x487474e8, Ausnahmecode 0xc0000005, Fehleroffset 0x000055d4, Prozess-ID 0x11e0, Anwendungsstartzeit 01c8e1b3e4ba9d90.

or

Fehlerhafte Anwendung php-cgi.exe, Version 5.3.0.0, Zeitstempel 0x487474e8, fehlerhaftes Modul php5ts.dll, Version 5.3.0.0, Zeitstempel 0x487474d6, Ausnahmecode 0xc0000005, Fehleroffset 0x0000bae6, Prozess-ID 0x12d0, Anwendungsstartzeit 01c8e1b43b3e5210.

Reproduce code:
---------------
<?php
header('Content-type: application/rss+xml');
echo '<rss></rss>';
?>

Expected result:
----------------
IIS7 Error:
HTTP-Fehler 500.0 - Internal Server Error


Modul: FastCgiModule
Benachrichtigung: ExecuteRequestHandler
Handler	PHP via FastCgi
Fehlercode: 0x800703e3


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-09 11:16 UTC] ast dot markus at gmx dot net
By the way:
header('Content-type: application/xml');
for example works without any problem
 [2008-07-11 15:18 UTC] jani@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2008-07-11 15:25 UTC] jani@php.net
Also, I can not reproduce this with PHP 5.2.6, so is this specific for PHP 5.3.0-dev ?
 [2008-07-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-02-11 21:32 UTC] felipe@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-02-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 08:01:32 2024 UTC