logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Xp embedded msvcr100
Author
grunk



Joined: 03 Sep 2012
Posts: 4

PostPosted: Mon 03 Sep '12 9:26    Post subject: Xp embedded msvcr100 Reply with quote

Hi, i'm trying to use apache 2.4.3 with xp embedded. The installation goes well , but when i try to start apache i have a crash which seems to involve msvcr100.dll . (vcredist are installed)

The same install works great on xp sp3 or win7.

Below the error log (install log is clean):

Code:
[Mon Sep 03 09:00:22.765625 2012] [mpm_winnt:notice] [pid 4428:tid 384] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.6 configured -- resuming normal operations
[Mon Sep 03 09:00:22.781250 2012] [mpm_winnt:notice] [pid 4428:tid 384] AH00456: Server built: Aug 18 2012 12:41:37
[Mon Sep 03 09:00:22.781250 2012] [core:notice] [pid 4428:tid 384] AH00094: Command line: 'C:\\Web\\Apache\\bin\\httpd.exe -d C:/Web/Apache'
[Mon Sep 03 09:00:22.781250 2012] [mpm_winnt:notice] [pid 4428:tid 384] AH00418: Parent: Created child process 244
[Mon Sep 03 09:00:37.687500 2012] [mpm_winnt:crit] [pid 4428:tid 384] AH00419: master_main: create child process failed. Exiting.


Maybe a missing component ?

Thanks for your help Wink
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 03 Sep '12 15:28    Post subject: Reply with quote

I don't think it is about apache itself. It seems that PHP does the crash.

Can you run php from the command line?
Back to top
grunk



Joined: 03 Sep 2012
Posts: 4

PostPosted: Mon 03 Sep '12 15:34    Post subject: Reply with quote

James Blond wrote:
I don't think it is about apache itself. It seems that PHP does the crash.

Can you run php from the command line?


Thanks for your answer.

yes i can run php from the command line. For example
Code:
php -r phpinfo();
works like a charm.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 03 Sep '12 15:37    Post subject: Reply with quote

What is the windows event log?

Can you start apache without PHP?
Back to top
grunk



Joined: 03 Sep 2012
Posts: 4

PostPosted: Tue 04 Sep '12 9:51    Post subject: Reply with quote

James Blond wrote:
What is the windows event log?

Can you start apache without PHP?


Removing completely (httpd.conf + files) PHP is not changing anything.

This is what i have in the application section of the event log :

Code:
Event type :   Error
Event source :   Application Error
Event category :   (100)
Event ID :   1000
Date :      03/09/2012
Time :      17:06:58
User :   N/A
Computer :   DP_224_HP3000
Description :
Application failure httpd.exe, version 2.4.3.0, in msvcr100.dll, version 10.0.40219.1, at offset 0x0008af3e.
Données :
0000: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 68 74 74   ure  htt
0018: 70 64 2e 65 78 65 20 32   pd.exe 2
0020: 2e 34 2e 33 2e 30 20 69   .4.3.0 i
0028: 6e 20 6d 73 76 63 72 31   n msvcr1
0030: 30 30 2e 64 6c 6c 20 31   00.dll 1
0038: 30 2e 30 2e 34 30 32 31   0.0.4021
0040: 39 2e 31 20 61 74 20 6f   9.1 at o
0048: 66 66 73 65 74 20 30 30   ffset 00
0050: 30 38 61 66 33 65         08af3e 
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Tue 04 Sep '12 10:02    Post subject: Reply with quote

Saw there is a embedded SP3, try to upgrade.

Or try the VC9 version at the Additional Download page here.
Back to top
grunk



Joined: 03 Sep 2012
Posts: 4

PostPosted: Wed 05 Sep '12 9:23    Post subject: Reply with quote

The xp embedded is already in SP3 Wink

I have tried with the VC9 version without success , same error with msvcr90.dll.

I'm suspecting a missing component in xp embedded (some are removed to make a lighter install), just need to find which one.
Back to top
koolholio



Joined: 09 Aug 2006
Posts: 4
Location: England, UK

PostPosted: Mon 10 Sep '12 7:26    Post subject: Reply with quote

I would ask why the apache binary is dependant upon calling the ms VC++ 2010 dll, that appears odd to me?

XP embedded was based on the windows CE versions. http://en.wikipedia.org/wiki/Embedded_C%2B%2B

To eliminate a potential missing component ensure .NET Framework 3.5 is installed and up to date --- http://www.microsoft.com/en-us/download/details.aspx?id=65

The error appears specific to the VC++ dll's in relation to the apache binary though... try uninstalling all versions of VC++? unless there are dependancies from other programs, then only installing VC9 (2008 redist) --- Try installing this additionally: http://www.microsoft.com/en-gb/download/details.aspx?id=16683

If that doesnt work, ensure that windows updates are operating correctly and if neccessary, stop the 'wuauserv' and 'bits' services, rename the softwaredistribution folder, restart the wuauserv service and run a 'wuauclt /r /detectnow'.

And if all else fails, you could try an SFC /scannow followed by chkdsk /R <DRIVE:/> ...

Creating a child process and failing out from master_main, I remember was a symptom of using an apache.org binary, with a VC9 version of PHP.

I take it you were using the version of apache from here? (this one??? http://www.apachelounge.com/download/win32/binaries/httpd-2.4.3-win32-VC9.zip)

Tried running the httpd binary from the command line? whats the output?

As sometimes log files arent always great unless you bump up the logging/debug levels in the configs to a higher 'offset'...
Back to top


Reply to topic   Topic: Xp embedded msvcr100 View previous topic :: View next topic
Post new topic   Forum Index -> Apache