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: Faulting Module libaprutil-1.dll
Author
TaultUnleashed



Joined: 09 Dec 2010
Posts: 5

PostPosted: Thu 09 Dec '10 8:29    Post subject: Faulting Module libaprutil-1.dll Reply with quote

I have been trying to get rid of my apache crashes for a month now, and am finally at a brick wall.

I had the VC9 version of apache (downloaded from this site) 2.2.17 with the VC9 TS 5.3.3 installed. And I was getting apache crashes in the event log about every 30 seconds. Apache would run, and it would auto restart, but during the restart, it would kill all connections, and not serve pages for about 10 seconds. The error in the windows server 2003 event viewer was mcvcrt90.dll.

So, I uninstalled, and put up the VC6 version. Downloaded from the apache.org site, and the 5.3.3 VC6 TS versions of php.

Now, I get crashes much less frequent, about every 5 mintues. And the error is now: Faulting application httpd.exe, version 2.2.17.0, faulting module libaprutil-1.dll, version 1.3.10.0, fault address 0x0000138d.

The only difference was the compiled versions, nothing else has changed.

Our server is semi active with about 15k people on it a day.

Please help.
Back to top
TaultUnleashed



Joined: 09 Dec 2010
Posts: 5

PostPosted: Wed 15 Dec '10 2:31    Post subject: Reply with quote

Bump anybody?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 15 Dec '10 8:06    Post subject: Reply with quote

Well, php 5.3.4 just came out. Try it.
Beyond that, you might need to go the fcgid route to isolate php from Apache.

If without php loaded the thing does not crash, one knows where the culpret lies. Of course, if everything is dependent on php, not easy to properly test.
Back to top
TaultUnleashed



Joined: 09 Dec 2010
Posts: 5

PostPosted: Wed 15 Dec '10 23:03    Post subject: Reply with quote

If it helps, the crash in the libaprutil-1.dll is the function:

_apr_brigade_flatten


it crashes on the .text:6EE6138D rep movsd

I have no clue what that function is.

Is there anyway to isolate that bug?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 16 Dec '10 5:53    Post subject: Reply with quote

No, I'm not that advanced to know what that means. I just know sometimes other problem will show up in libapr*

But ok, let's try from this angle, what is the last request before it goes down. It is always the same file requested that brings it down?
Back to top
TaultUnleashed



Joined: 09 Dec 2010
Posts: 5

PostPosted: Thu 23 Dec '10 1:20    Post subject: Reply with quote

It *seems* that the last pages are all 301 redirects from our old phpbb2 to the new phpbb3.

Ie,

Client calls phpbb2/page

Server returns 301...(url to new page at /phpbb3/page)

CRASH - error in event viewer

Client calls redirected phpbb3/page

The past 10 crashes I just looked at were all just after the server returned a 301 status code.
Back to top
James Blond
Moderator


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

PostPosted: Thu 23 Dec '10 2:43    Post subject: Reply with quote

You might build a test crash php file with less lines as possible to reproduce the crash. Or is it a server config the redirect?
Back to top
TaultUnleashed



Joined: 09 Dec 2010
Posts: 5

PostPosted: Sat 25 Dec '10 5:17    Post subject: Reply with quote

It is a htaccess redirect.
Back to top


Reply to topic   Topic: Faulting Module libaprutil-1.dll View previous topic :: View next topic
Post new topic   Forum Index -> Apache