You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/08/10 14:01:44 UTC

DO NOT REPLY [Bug 36118] New: - PHP-use of ticks crashes Apache when using phpXapacheX.dll on Windows

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36118>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36118

           Summary: PHP-use of ticks crashes Apache when using
                    phpXapacheX.dll on Windows
           Product: Apache httpd-2.0
           Version: 2.0.54
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: fredrik@demomusic.nu


This is a php-related bug, but the bug exists only when using the windows
binaries for php as a module (phpXapacheX.dll), and so is approriate to report
here. It is only reproducable when running php (regardless version) as a module
on apache (regardless version) on Windows (all versions). There is a good chance
this being a combined Apache and PHP-issue. As so, I have filed this report here
and can refer to the report: http://bugs.php.net/bug.php?id=26771

Reproduce:
Load either of php4apache.dll php4apache2.dll php5apache.dll php5apache2.dll
Run a php-sript with the following:
<?
register_tick_function(any parameters);
declare(ticks=1);
?>

This crashes Apache.exe with the Windows error-report dialogue coming up. No
output is made to either error.log or access.log. All there is is an event in
system log "Application error Apache.exe at address x00000000". 

When running on WinXP Pro, PHP 5.0.4, Apache 2.0.54 (latest stable at this
time), one will have to Stop and then start the apache-service in order to be
able to use the webserver again. 

Systems reported having this problem through php bugs pages:
Windows Unspec. - PHP 4.3.6 - Apache Unspec.
Windows 2000    - PHP 4.0.6 - Apache 1.3.20
Windows 2000    - PHP 4.1.1 - Apache 1.3.22
Windows 2000    - PHP 4.2.3 - Apache 1.3.22
Windows XP Pro  - PHP 4.2.2 - Apache Unspec.
Windows Unspec. - PHP 4.2.4-dev - Apache Unspec.
Windows 2000    - PHP 4.2.1 - Apache 1.3.24
Windows Unspec. - PHP 4.3.4 - Apache 2.0.48
Windows 2000    - PHP 4.2.2 - Apache 1.3.22
Windows 2000    - PHP 4.2.3 - Apache 1.3.22
Windows 2000    - PHP 4.4.0-dev - Apache 1.3.22
Windows 2000    - PHP 4.4.0-dev - Apache 2.0.43
Windows XP      - PHP 5.0.0b3  - Apache 2.0.48
Windows Unspec. - PHP 5.0.0 - Apache 1.3.31
Windows XP Pro  - PHP 5.0.4 - Apache 2.0.50
Windows XP Pro  - PHP 5.0.4 - Apache 2.0.54 (The latest stable versions
as of this comment)

Variant:
Windows 2000 - PHP 4.0.6 - Apache 1.3.22 - No crash, but internal server
error

Apache log when crashing:

[Sat Jan 03 01:11:04 2004] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Sat Jan 03 01:11:04 2004] [notice] Parent: Created child process 3036
[Sat Jan 03 01:11:04 2004] [notice] Child 3036: Child process is
running
[Sat Jan 03 01:11:04 2004] [notice] Child 3036: Acquired the start
mutex.
[Sat Jan 03 01:11:04 2004] [notice] Child 3036: Starting 250 worker
threads.

The Windows XP wants to send to Microsoft includes the following:

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="Apache.exe" FILTER="GRABMI_FILTER_PRIVACY">
    <MATCHING_FILE NAME="Apache.exe" SIZE="20545" CHECKSUM="0xD47235F3"
MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0"
LINK_DATE="05/11/2004 17:03:35" UPTO_LINK_DATE="05/11/2004 17:03:35" />
    <MATCHING_FILE NAME="ApacheCore.dll" SIZE="331845"
CHECKSUM="0x59DF3602" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0"
LINKER_VERSION="0x0" LINK_DATE="05/11/2004 17:03:34"
UPTO_LINK_DATE="05/11/2004 17:03:34" />
    <MATCHING_FILE NAME="Win9xConHook.dll" SIZE="20560"
CHECKSUM="0x252AB831" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0"
LINKER_VERSION="0x0" LINK_DATE="05/11/2004 17:02:44"
UPTO_LINK_DATE="05/11/2004 17:02:44" />
    <MATCHING_FILE NAME="xmlparse.dll" SIZE="36946"
CHECKSUM="0xE27B203F" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0"
LINKER_VERSION="0x0" LINK_DATE="05/11/2004 17:03:08"
UPTO_LINK_DATE="05/11/2004 17:03:08" />
    <MATCHING_FILE NAME="xmltok.dll" SIZE="73808" CHECKSUM="0x2B9F157F"
MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0"
LINK_DATE="05/11/2004 17:03:07" UPTO_LINK_DATE="05/11/2004 17:03:07" />
    <MATCHING_FILE NAME="bin\htdigest.exe" SIZE="20555"
CHECKSUM="0x3EE134D3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0"
LINKER_VERSION="0x0" LINK_DATE="05/11/2004 17:03:02"
UPTO_LINK_DATE="05/11/2004 17:03:02" />
    <MATCHING_FILE NAME="bin\htpasswd.exe" SIZE="36939"
CHECKSUM="0xD7F4A01C" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0"
LINKER_VERSION="0x0" LINK_DATE="05/11/2004 17:03:01"
UPTO_LINK_DATE="05/11/2004 17:03:01" />
    <MATCHING_FILE NAME="bin\logresolve.exe" SIZE="16461"
CHECKSUM="0xCEEDE9C6" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0"
LINKER_VERSION="0x0" LINK_DATE="05/11/2004 17:03:02"
UPTO_LINK_DATE="05/11/2004 17:03:02" />
    <MATCHING_FILE NAME="bin\rotatelogs.exe" SIZE="24653"
CHECKSUM="0x90CD346A" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0"
LINKER_VERSION="0x0" LINK_DATE="05/11/2004 17:03:05"
UPTO_LINK_DATE="05/11/2004 17:03:05" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
    <MATCHING_FILE NAME="kernel32.dll" SIZE="930304"
CHECKSUM="0xCBCCF8A9" BIN_FILE_VERSION="5.1.2600.1106"
BIN_PRODUCT_VERSION="5.1.2600.1106" PRODUCT_VERSION="5.1.2600.1106"
FILE_DESCRIPTION="Windows NT BASE API Client DLL"
COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft� Windows�
Operating System" FILE_VERSION="5.1.2600.1106 (xpsp1.020828-1920)"
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="0xE7ED3" LINKER_VERSION="0x50001"
UPTO_BIN_FILE_VERSION="5.1.2600.1106"
UPTO_BIN_PRODUCT_VERSION="5.1.2600.1106" LINK_DATE="08/29/2002
10:40:40"
UPTO_LINK_DATE="08/29/2002 10:40:40" VER_LANGUAGE="English (United
States) [0x409]" />
</EXE>
</DATABASE>

Search keywords: ticks register_tick_function php crash module

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org