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 2010/04/20 14:41:06 UTC

DO NOT REPLY [Bug 49155] New: mod_rewrite logging crashes apache 64 bit builds on windows

https://issues.apache.org/bugzilla/show_bug.cgi?id=49155

           Summary: mod_rewrite logging crashes apache 64 bit builds on
                    windows
           Product: Apache httpd-2
           Version: 2.2.15
          Platform: PC
        OS/Version: Windows Server 2008 (Longhorn)
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: arthur.blake@gmail.com


Turning on mod_rewrite logging on 64 bit build of apache for windows crashes
apache when the first request comes in.

I have verified that turning on logging for mod_rewrite causes 64 bit httpd.exe
to crash on both Windows 7 64 bit and Windows Server 2008 R2 64 bit (tested
both 2.2.14 and 2.215 versions.)

Here is the fault from the Event Log:

Faulting application name: httpd.exe, version: 2.2.15.0, time stamp: 0×4b956fd9
Faulting module name: libapr-1.dll, version: 1.4.2.0, time stamp: 0×4b956f63
Exception code: 0xc0000005
Fault offset: 0×0000000000012b8a
Faulting process id: 0xb78
Faulting application start time: 0×01cad506a527eac9
Faulting application path: C:\Program Files\Apache Software
Foundation\Apache2.2\bin\httpd.exe
Faulting module path: C:\Program Files\Apache Software
Foundation\Apache2.2\bin\libapr-1.dll
Report Id: e5c38ca9-40f9-11df-97ea-00155d02b107

The mod_rewrite module does work. It’s only when turning on logging for it,
that the server crashes as soon as I try to access any resource:

#example
LoadModule rewrite_module modules/mod_rewrite.so
RewriteLog “C:/rewrite.log”
RewriteLogLevel 1

(Unfortunately, there is no official 64 bit build of Apache for windows.  The
build I used was from here: 
http://www.anindya.com/apache-http-server-2-2-15-x86-and-x64-windows-installers/)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 49155] mod_rewrite logging crashes apache 64 bit builds on windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49155

William A. Rowe Jr. <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
         OS/Version|All                         |Windows Server 2008

--- Comment #1 from William A. Rowe Jr. <wr...@apache.org> 2011-01-19 17:14:35 EST ---
http://httpd.apache.org/dev/debugging.html gives general information about
obtaining a backtrace.  With Dr Watson lost at sea, you may need to install
the windbg x64 flavor available from
http://www.microsoft.com/whdc/devtools/debugging/debugstart.mspx
and then provide a backtrace of where the crash occurred.

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

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


DO NOT REPLY [Bug 49155] mod_rewrite logging crashes apache 64 bit builds on windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49155

--- Comment #2 from Megan <me...@gmail.com> 2011-06-07 05:43:07 UTC ---
I am having the same issue on my development server. (Win 7 Professional x64,
Apache 2.2.17)

I would be glad to provide any additional information needed in order to get
this problem corrected, but I am not afraid to admit that I am a web developer
only: I don't know the first thing about providing a backtrace. If someone
could point me in the direction of a comprehensive guide, I'll do my best.

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

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


DO NOT REPLY [Bug 49155] mod_rewrite logging crashes apache 64 bit builds on windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49155

Anindya <an...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from Anindya <an...@gmail.com> 2012-02-27 23:37:00 UTC ---
I figured out that this bug is related to this one -
https://issues.apache.org/bugzilla/show_bug.cgi?id=40758.

APR_SIZEOF_VOIDP isn't defined as 8 because of the "#ifdef WIN64" statement
preceding "#define APR_SIZEOF_VOIDP 8" in the apr.hw file. It is supposed be
"#ifdef _WIN64". There is another "#ifdef WIN64" in apr.hw which should also be
changed to "#ifdef _WIN64".

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

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


DO NOT REPLY [Bug 49155] mod_rewrite logging crashes apache 64 bit builds on windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49155

--- Comment #6 from Jeff Trawick <tr...@apache.org> 2012-03-01 17:29:08 UTC ---
If anybody needs the particular fix ahead of the next release:
http://svn.apache.org/viewvc?view=revision&revision=1295686

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

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


DO NOT REPLY [Bug 49155] mod_rewrite logging crashes apache 64 bit builds on windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49155

Duane Benson <du...@duanebenson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.2.15                      |2.2.17
         OS/Version|All                         |Windows Server 2008

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

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


DO NOT REPLY [Bug 49155] mod_rewrite logging crashes apache 64 bit builds on windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49155

--- Comment #5 from Jeff Trawick <tr...@apache.org> 2012-03-01 17:27:59 UTC ---
Now in apr 1.4.x branch for the next release after 1.4.6.

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

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


DO NOT REPLY [Bug 49155] mod_rewrite logging crashes apache 64 bit builds on windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49155

Duane Benson <du...@duanebenson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |duane@duanebenson.com
         OS/Version|                            |All

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

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


DO NOT REPLY [Bug 49155] mod_rewrite logging crashes apache 64 bit builds on windows

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49155

Jeff Trawick <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|mod_rewrite                 |APR
            Version|2.2.17                      |1.4.6
         Resolution|                            |FIXED
            Product|Apache httpd-2              |APR

--- Comment #4 from Jeff Trawick <tr...@apache.org> 2012-03-01 17:01:55 UTC ---
Thanks for the fix; committed to APR trunk, and will be merged to 1.5.x and
1.4.x as well.

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

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