mod_proxy causing Apache crash

Started by tsampair, February 02, 2017, 06:08:46 AM

Previous topic - Next topic

tsampair

My platform is Windows Server 2012 R2, I have Apache configured to Load Balance between two TomCat Servers using Proxy AJP. Without failure I get a crash in mod_proxy. This has me completely blocked on this version of Apache. There is a bug fix already in the Apache source control system for this issue. We just need a re-spin of the distribution. I am using Subversion on another server using this Apache and I need the Subversion modules. My repository is 1.9.x. Code base 1.9.5.


Quote:
mod_proxy_{ajp,fcgi}: Fix a possible crash when reusing an established
backend connection, happening with LogLevel trace2 or higher configured,
or at any log level with compilers not detected as C99 compliant (e.g.
MSVC on Windows).

End Quote:

http://svn.apache.org/viewvc?view=revision&revision=1775775

Crash Event:
Faulting application name: httpd.exe, version: 2.4.25.0, time stamp: 0x5854f736
Faulting module name: mod_proxy.so, version: 2.4.25.0, time stamp: 0x5854f799
Exception code: 0xc0000005
Fault offset: 0x0000000000007d2a
Faulting process id: 0x2768
Faulting application start time: 0x01d27d104b72a7c4
Faulting application path: E:\Polarion\bundled\ApacheHausVC11-2.4.25\bin\httpd.exe
Faulting module path: E:\Polarion\bundled\ApacheHausVC11-2.4.25\modules\mod_proxy.so
Report Id: 894dccdd-e903-11e6-80d5-005056926e5c
Faulting package full name:
Faulting package-relative application ID:

Many Thanks,
-Tim

Gregg

Just curios which VC version your Apache is. VC14 is C99 not that it means anything since it's Windows.
I'll build new patched mod_proxy's.

tsampair

Hi Gregg,
   I have both VC14 and VC11 of Apache 2.4.25 both fail with same issue. The VC11 version is more complete since I need Subversion for one of the host in the system configuration. I need Subversion 1.9.x would love to have 1.9.5.


Gregg

As for Subversion, Mario is the one that has built them in the past, maybe he has time to do it again. I've never had success at it.

Post a request for it in the 3rd Party Modules section here and we'll see.

tsampair

Hi Gregg,
  Many thanks for the quick turn around. I will put the patch into some of my test boxes and keep you posted. I will also reach out to Mario and see if I can get a spin of 1.9.5. Again, many thanks. Have a good week-end. :o

mario

Quote from: Gregg on February 02, 2017, 08:53:36 PM
I've never had success at it.

Instructions for VC11 http://pastebin.com/t02GE2Pa

VC14 is easier ist can be build by batch http://pastebin.com/8zjMnPGf


---edit ---

and the collection script

http://pastebin.com/tJ5Cnm73