You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sukhwinder Singh <ss...@hotmail.com> on 2003/02/21 15:21:48 UTC

[users@httpd] Access Violation (page fault in libapr.dll) when running Apache 2.0.44 on windows 98.

Hi,
 I tried to compile Apache 2.0.44 on Windows 98 using MS Visual C++ 6.0. I
was able to compile all versions of Apache prior to version 2.0.44 without
any problem. But this version has many problems:
1. First when I try to open Apache.dsw following projects are missing:

apriconv.dsp
libapriconv.dsp
libapriconv_ccs_modules.dsp
libapriconv_ces_modules.dsp

Do I need to download something other than downloading httpd-2.0.44.tar.gz?

2. Ignoring these I tried to compile Apache after selecting ApacheClasses
project.

An error was displayed when compiling xlate.c

//////////////////////////////////////////////////////
D:\httpd-2.0.44\srclib\apr-util\xlate\xlate.c(81) : fatal error C1083:
Cannot open include file: 'apr_iconv.h': No such file or directory
apr_xml.c
Generating Code...
Error executing cl.exe.

Apache.exe - 1 error(s), 20 warning(s)
//////////////////////////////////////////////////////////

I made a change in httpd-2.0.44\srclib\apr-util\include\apu.h I changed:

#define APU_HAVE_APR_ICONV     1

to

#define APU_HAVE_APR_ICONV     0

and tried to compile again and it compiled fine.

Then when I double click Apache.exe (after copying required modules and
httpd.conf etc) following error is displayed:

APACHE caused an invalid page fault in
module LIBAPR.DLL at 017f:6eed96ae.
Registers:
EAX=00000053 CS=017f EIP=6eed96ae EFLGS=00010246
EBX=00530000 SS=0187 ESP=0057dbe0 EBP=0057dbe8
ECX=0000bff6 DS=0187 ESI=8165e318 FS=36b7
EDX=0057dc28 ES=0187 EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 0c 8d f8 c6 ed 6e 8d 54 01 ff 8b 45 08 89 50
Stack dump:
00000078 6eee2c03 0057dc38 6eed981d 0057dcd0 0057dc28 8165e318 8163c6f0
0057dc24 bff75c0f 00000000 000207d3 00140004 00220016 001e0033 480d8b60

Then when I click debug then an Access Violation message is displayed and
line pointer points to line 103, in function:

/////////////////////////////
static void SystemTimeToAprExpTime(apr_time_exp_t *xt, SYSTEMTIME *tm)
//////////////////////////////

in file httpd-2.0.44\srclib\apr\time\win32\time.c

///////////////////////////////////
    xt->tm_yday = dayoffset[xt->tm_mon] + (tm->wDay - 1); // line 103
////////////////////////////////

if I run it from dos prompt as:
D:\Apache\bin>Apache -k start

[Sun 

is displayed and it returns to command prompt.

What is the problem here? and why four projects missing in workspace?

3. If I use InstallBin project it fails many times because of missing
apriconv related files. I was able to compile it after removing referneces
to it from many files.


-- Sukhwinder Singh

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Access Violation (page fault in libapr.dll) when running Apache 2.0.44 on windows 98. Thanks

Posted by Sukhwinder Singh <ss...@hotmail.com>.
Thank you very much for helping me.

Regards,
Sukhwinder Singh

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Access Violation (page fault in libapr.dll) when running Apache 2.0.44 on windows 98.

Posted by Razvan Costea-Barlutiu <cb...@laitek.com>.
Follow this link: http://httpd.apache.org/download.cgi

At 20:10 21.02.2003 +0530, you wrote:
>Thanks but I am unable to find the win 98 / me patch where i can find it? It
>is not available on http://www.apache.org/dist/httpd/ or on
>http://www.apache.org/dist/httpd/patches/ ? Where it is?
>http://www.apache.org/dist/httpd/patches/apply_to_2.0.44/ doesn't have any
>files.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Access Violation (page fault in libapr.dll) when running Apache 2.0.44 on windows 98.

Posted by Sukhwinder Singh <ss...@hotmail.com>.
Thanks but I am unable to find the win 98 / me patch where i can find it? It
is not available on http://www.apache.org/dist/httpd/ or on
http://www.apache.org/dist/httpd/patches/ ? Where it is?
http://www.apache.org/dist/httpd/patches/apply_to_2.0.44/ doesn't have any
files.

--Sukhwinder Singh



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Access Violation (page fault in libapr.dll) when running Apache 2.0.44 on windows 98.

Posted by Sukhwinder Singh <ss...@hotmail.com>.
> First of all, why are you downloading the *nix source version if you are
> running win98?

I always download *nix version of package and it compiles without any
problem. I download unix version because I don't have to download it twice
as bandwidth is the problem here and I use same package on both os.

Regards,
Sukhwinder Singh

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Access Violation (page fault in libapr.dll) when running Apache 2.0.44 on windows 98.

Posted by Razvan Costea-Barlutiu <cb...@laitek.com>.
First of all, why are you downloading the *nix source version if you are 
running win98?
On the apache download site there is a package called 
httpd-2.0.44-win32-src.zip. Did you got the apache from somewhere else?

Secondly, right below that, there is another package that has as 
description Win95/98/ME Patch.

Good luck...

At 19:51 21.02.2003 +0530, you wrote:

>Do I need to download something other than downloading httpd-2.0.44.tar.gz?



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org