Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Crashes in Apache 2.4.2, suspect php5apache2_4.dll to cause |
|
Author |
|
mariush
Joined: 19 Apr 2012 Posts: 5 Location: Romania
|
Posted: Wed 09 May '12 20:18 Post subject: Crashes in Apache 2.4.2, suspect php5apache2_4.dll to cause |
|
|
Hi,
Windows 2008 Standard 64bit.
Latest runtimes installed (vc9 and vc10)
Only variations from default are mod_log_rotate and php_xcache extension
Had apache 2.4.2 vc10 installed combined with php 5.4.1 vc9 ts from php site and after a while, i got a huge amount of errors in the event viewer:
Code: |
Faulting application httpd.exe, version 2.4.2.0, time stamp 0x4f7ec1ab, faulting module MSVCR90.dll, version 9.0.30729.1, time stamp 0x488ef6c5, exception code 0x40000015, fault offset 0x000731cf, process id 0xab4, application start time 0x01cd2da23cec931e.
|
so much so that it caused connections to be interrupted in the middle of transfer or at start.
So I replaced it with apache 2.4.2 vc9 and also installed php 5.4.3 vc9 ts which fixed these crashes.
However, with both the php5apache2_4.dll from before and the latest one published on the site, I now get crashes in the php_xcache extension :
Code: |
A s s e r t i o n f a i l e d : s a n d b o x ! = N U L L , f i l e . . \ x c a c h e \ u t i l s . c , l i n e 5 8 9
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
|
This used to happen before php 5.4.1 final and was solved by php 5.4.1 rc1
Now with 5.4.3 this issue happens again but I'm not sure if it's apache, php5apache2_4.dll or php related.
All I can think of is that this might be the issue :
CVE-2012-2329 : PHP 5.4.3 fixes a buffer overflow vulnerability in the apache_request_headers()
I had to disable php_xcache extension to stop the crashes.
Sorry I can't be more clear. I guess my question is could these crashes be caused by the dll or apache downloaded here, should an updated dll be made to get xcache working? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 09 May '12 20:39 Post subject: |
|
|
Some I do not understand in your post:
You say:
Had apache 2.4.2 vc10 installed combined with php 5.4.1 vc9 ts from php site and after a while, i got a huge amount of errors in the event viewer:
It is rare that you get a MSVCR90.dll error in an Apache VC10 build.
Please explain how combined? How did you installed it, with mod_fcgid or module ?
See also the 5 ways to install PHP at: http://www.apachelounge.com/viewtopic.php?t=4481
Steffen |
|
Back to top |
|
mariush
Joined: 19 Apr 2012 Posts: 5 Location: Romania
|
Posted: Wed 09 May '12 20:55 Post subject: |
|
|
PHP is the thread save version from the PHP windows downloads page, the one that's delivered in the zip file.
I installed Apache 2.4.2 32bit from the main downloads page, it says there it's a VC10 binary.
62ffb97f7977e674f16e1f01d8a3909d *httpd-2.4.2-win32.zip
739c0f99f64985129f2b0de492a79f7f *php5apache2_4.dll-php-5.4-win32.zip (the original php5apache2_4.dll)
4ab770d19f4d913439c31e44cc1cccfe *httpd.exe
I also downloaded Visual C++ 2010 SP1 Redistributable Package x86 : VC10 SP1 vcredist_x86.exe from the link on the main page and installed it.
PHP version was php-5.4.0-Win32-VC9-x86.zip
This was causing crashes in xcache and a user in another thread I posted reported that the crashes were caused in php and were fixed in php 5.4.1 rc1
Indeed, after I installed php 5.4.1 final, crashes were gone but after a short while those runtime errors in apache started to occur.
I figured msvcr90 is related to VC9 so I also installed the other runtimes from the Additional page, before replacing apache. Stopped the service, restarted it but the crashes still occurred.
So yesterday night I replaced apache 2.4.2 with the VC9 version from the Additional page :
c53b0ee43724891ee8776d8a5468c3d4 *httpd-2.4.2-win32-VC9.zip
and also updated php to php 5.4.3 from main site php-5.4.3-Win32-VC9-x86.zip and downloaded the updated php5apache2_4.dll from the main page (php5apache2_4.dll-php-5.4-win32.zip)
Crashes in msvcr90.dll are gone, but the xcache crashes are back. Had to disable xcache for now.
I'll try to experiment later today and see if I go back to php 5.4.1 if that fixes everything.
Not using cgi, just the plain plugin/sapi/whatever it's called in apache. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 09 May '12 21:13 Post subject: |
|
|
You wrote:
4ab770d19f4d913439c31e44cc1cccfe *httpd.exe
What is that code in front ? Looks like a kind of checksum.
You downloaded httpd.exe separate ? It is included in the httpd-2.4.2-win32.zip.
Yep, it is a pain with some PHP modules in PHP 5.4.x.
Steffen |
|
Back to top |
|
mariush
Joined: 19 Apr 2012 Posts: 5 Location: Romania
|
Posted: Wed 09 May '12 22:27 Post subject: |
|
|
it's the md5 checksum for each file, just to be absolutely sure of the binaries and zip files.
httpd.exe i checksummed is from the zip file from this website, didn't download it separately. |
|
Back to top |
|
|
|
|
|
|