php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43254 Apache HTTP crashes on some pettions
Submitted: 2007-11-11 23:34 UTC Modified: 2007-11-20 01:00 UTC
Votes:19
Avg. Score:4.0 ± 1.1
Reproduced:14 of 15 (93.3%)
Same Version:9 (64.3%)
Same OS:11 (78.6%)
From: pedro dot cambra at gmail dot com Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 5.2.5 OS: Windows XP
Private report: No CVE-ID: None
 [2007-11-11 23:34 UTC] pedro dot cambra at gmail dot com
Description:
------------
Suddenly (ive not made any config change, from a time to now, it simply crashes), in some parts of the code i get a Apache HTTP crash (the classic error for reporting Windows.

The "stack" that i get is this

szAppName : httpd.exe     szAppVer : 2.2.4.0     szModName : php5ts.dll     
szModVer : 5.2.6.6     offset : 00181bca     

The error report contents is this

H:\DOCUME~1\Pedro\LOCALS~1\Temp\WERb60d.dir00\httpd.exe.mdmp
H:\DOCUME~1\Pedro\LOCALS~1\Temp\WERb60d.dir00\appcompat.txt

Ive tested with PHP 5.2.2, 5.2.3 and 5.2.6

I am not seeing any error details on Apache 2.2 error.log even if i config it to debug mode.

phpinfo() works well

Reproduce code:
---------------
This H:\DOCUME~1\Pedro\LOCALS~1\Temp\WERb60d.dir00\appcompat.txt has this content:

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="httpd.exe" FILTER="GRABMI_FILTER_PRIVACY">
    <MATCHING_FILE NAME="ab.exe" SIZE="65600" CHECKSUM="0x83F080C1" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="ApacheBench/SSL command line utility" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="ab.exe" INTERNAL_NAME="ab.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:20:26" UPTO_LINK_DATE="01/10/2007 05:20:26" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="ApacheMonitor.exe" SIZE="41041" CHECKSUM="0x72A8CDF3" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache HTTP Server Monitor" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="ApacheMonitor.exe" INTERNAL_NAME="ApacheMonitor.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:20:43" UPTO_LINK_DATE="01/10/2007 05:20:43" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="htcacheclean.exe" SIZE="53322" CHECKSUM="0x2C2DD7E1" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache htcacheclean command line utility" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="htcacheclean.exe" INTERNAL_NAME="htcacheclean.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:20:28" UPTO_LINK_DATE="01/10/2007 05:20:28" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="htdbm.exe" SIZE="77891" CHECKSUM="0x134B0B6F" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache htdbm command line utility" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="htdbm.exe" INTERNAL_NAME="htdbm.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:20:30" UPTO_LINK_DATE="01/10/2007 05:20:30" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="htdigest.exe" SIZE="69702" CHECKSUM="0xD6CC7FEC" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache htdigest command line utility" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="htdigest.exe" INTERNAL_NAME="htdigest.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:20:32" UPTO_LINK_DATE="01/10/2007 05:20:32" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="htpasswd.exe" SIZE="73798" CHECKSUM="0xEEA2EFF6" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache htpasswd command line utility" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="htpasswd.exe" INTERNAL_NAME="htpasswd.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:20:34" UPTO_LINK_DATE="01/10/2007 05:20:34" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="httpd.exe" SIZE="20539" CHECKSUM="0x86431AD8" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache HTTP Server" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="httpd.exe" INTERNAL_NAME="httpd.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:17:23" UPTO_LINK_DATE="01/10/2007 05:17:23" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="libapr-1.dll" SIZE="127049" CHECKSUM="0xECADE28" BIN_FILE_VERSION="1.2.8.0" BIN_PRODUCT_VERSION="1.2.8.0" PRODUCT_VERSION="1.2.8" FILE_DESCRIPTION="Apache Portable Runtime Library" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache Portable Runtime Project" FILE_VERSION="1.2.8" ORIGINAL_FILENAME="libapr-1.dll" INTERNAL_NAME="libapr-1" LEGAL_COPYRIGHT="Copyright 2000-2005 The Apache Software Foundation or its licensors, as applicable." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.2.8.0" UPTO_BIN_PRODUCT_VERSION="1.2.8.0" LINK_DATE="01/10/2007 05:07:47" UPTO_LINK_DATE="01/10/2007 05:07:47" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="libapriconv-1.dll" SIZE="36948" CHECKSUM="0x74D816ED" BIN_FILE_VERSION="1.1.1.0" BIN_PRODUCT_VERSION="1.1.1.0" PRODUCT_VERSION="1.1.1" FILE_DESCRIPTION="Apache Portable Runtime Library" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache Portable Runtime Project" FILE_VERSION="1.1.1" ORIGINAL_FILENAME="libapriconv-1.dll" INTERNAL_NAME="libapriconv-1" LEGAL_COPYRIGHT="Copyright 2000-2005 The Apache Software Foundation or its licensors, as applicable." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.1.1.0" UPTO_BIN_PRODUCT_VERSION="1.1.1.0" LINK_DATE="01/10/2007 05:08:00" UPTO_LINK_DATE="01/10/2007 05:08:00" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="libaprutil-1.dll" SIZE="168018" CHECKSUM="0xCDBB1C86" BIN_FILE_VERSION="1.2.8.0" BIN_PRODUCT_VERSION="1.2.8.0" PRODUCT_VERSION="1.2.8" FILE_DESCRIPTION="Apache Portable Runtime Library" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache Portable Runtime Project" FILE_VERSION="1.2.8" ORIGINAL_FILENAME="libaprutil-1.dll" INTERNAL_NAME="libaprutil-1" LEGAL_COPYRIGHT="Copyright 2000-2005 The Apache Software Foundation or its licensors, as applicable." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.2.8.0" UPTO_BIN_PRODUCT_VERSION="1.2.8.0" LINK_DATE="01/10/2007 05:16:27" UPTO_LINK_DATE="01/10/2007 05:16:27" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="libhttpd.dll" SIZE="266302" CHECKSUM="0x24E7FF3E" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache HTTP Server Core" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="libhttpd.dll" INTERNAL_NAME="libhttpd.dll" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:17:21" UPTO_LINK_DATE="01/10/2007 05:17:21" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="logresolve.exe" SIZE="20552" CHECKSUM="0xE1E31E76" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache logresolve command line pipe" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="logresolve.exe" INTERNAL_NAME="logresolve.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:20:36" UPTO_LINK_DATE="01/10/2007 05:20:36" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="rotatelogs.exe" SIZE="45128" CHECKSUM="0xC5012C2E" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache rotatelogs command line pipe" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="rotatelogs.exe" INTERNAL_NAME="rotatelogs.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:20:37" UPTO_LINK_DATE="01/10/2007 05:20:37" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="wintty.exe" SIZE="20554" CHECKSUM="0x6000185C" BIN_FILE_VERSION="2.2.4.0" BIN_PRODUCT_VERSION="2.2.4.0" PRODUCT_VERSION="2.2.4" FILE_DESCRIPTION="Apache wintty console pipe" COMPANY_NAME="Apache Software Foundation" PRODUCT_NAME="Apache HTTP Server" FILE_VERSION="2.2.4" ORIGINAL_FILENAME="wintty.exe" INTERNAL_NAME="wintty.exe" LEGAL_COPYRIGHT="Copyright 2006 The Apache Software Foundation." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.2.4.0" UPTO_BIN_PRODUCT_VERSION="2.2.4.0" LINK_DATE="01/10/2007 05:20:45" UPTO_LINK_DATE="01/10/2007 05:20:45" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
    <MATCHING_FILE NAME="zlib1.dll" SIZE="73783" CHECKSUM="0x822409DA" BIN_FILE_VERSION="1.2.3.0" BIN_PRODUCT_VERSION="1.2.3.0" PRODUCT_VERSION="1.2.3" FILE_DESCRIPTION="zlib data compression library" PRODUCT_NAME="zlib" FILE_VERSION="1.2.3" ORIGINAL_FILENAME="zlib1.dll" INTERNAL_NAME="zlib1.dll" LEGAL_COPYRIGHT="(C) 1995-2004 Jean-loup Gailly &amp; Mark Adler" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.2.3.0" UPTO_BIN_PRODUCT_VERSION="1.2.3.0" LINK_DATE="09/27/2006 21:23:05" UPTO_LINK_DATE="09/27/2006 21:23:05" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
    <MATCHING_FILE NAME="kernel32.dll" SIZE="983552" CHECKSUM="0x4CE79457" BIN_FILE_VERSION="5.1.2600.2180" BIN_PRODUCT_VERSION="5.1.2600.2180" PRODUCT_VERSION="5.1.2600.2180" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft? Windows? Operating System" FILE_VERSION="5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="? Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xFF848" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.2180" UPTO_BIN_PRODUCT_VERSION="5.1.2600.2180" LINK_DATE="08/04/2004 07:56:36" UPTO_LINK_DATE="08/04/2004 07:56:36" VER_LANGUAGE="Ingl?s (Estados Unidos) [0x409]" />
</EXE>
</DATABASE>



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-12 09:41 UTC] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.


 [2007-11-20 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".
 [2008-05-02 16:51 UTC] ilanfir at gmail dot com
I'm having almost the same problem.
Error signature:
szAppName : httpd.exe     szAppVer : 2.2.8.0     szModName : libhttpd.dll     
szModVer : 2.2.8.0     offset : 0001b317     

I'm using php 5.2.6 and apache 2.2.8 on windows xp
phpinfo() works for me too, but any other php scripts crash apache.
 [2008-05-15 19:01 UTC] slr at k4z dot org
Anyone help?

Windows generates a Program not responding

C:\DOCUME~1\********\LOCALS~1\Temp\WER2b6b.dir00\httpd.exe.mdmp
C:\DOCUME~1\********\LOCALS~1\Temp\WER2b6b.dir00\appcompat.txt
 [2008-05-29 18:36 UTC] eric dot walker at gmail dot com
Re the short script, the bug automatically occurs in the course of installing XAMPP 1.6.6a if one attempts to install Apache as a service.

http://www.apachefriends.org/download.php?xampp-win32-1.6.6a-installer.exe
 [2008-06-30 15:58 UTC] blackhailang at hotmail dot com
Error info:
szAppName : httpd.exe     szAppVer : 2.2.4.0     szModName : php5ts.dll     
szModVer : 5.2.6.6     offset : 0000abda     

I&#12288;also meeted the same problem.
 [2011-06-02 11:40 UTC] dawnruby at 163 dot com
szAppName : httpd.exe     szAppVer : 2.2.4.0     szModName : php5ts.dll     
szModVer : 5.2.1.1     offset : 000b3194

The problem also meeted by me.

Who has a solution...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC