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: Seg-faults in libapr-1.dll and ntdll.dll when using socache
Author
cbj4074



Joined: 02 Nov 2012
Posts: 24
Location: United States

PostPosted: Wed 13 Feb '13 19:27    Post subject: Seg-faults in libapr-1.dll and ntdll.dll when using socache Reply with quote

In short, when I attempt to use mod_authn_socache and mod_socache_dbm, I experience segmentation faults in libapr-1.dll and ntdll.dll.

The faults are sporadic and do not occur with every page request. But within a few seconds of "normal browsing", a fault occurs. The fault kills the child process, but not the parent; Apache spawns a new child and retries the request.

I have described this issue at length on the Apache httpd Users mailing list: http://mail-archives.apache.org/mod_mbox/httpd-users/201302.mbox/browser . Unfortunately, nobody seems to have insight to share.

In order to file a bug report with ASF, I need to provide a backtrace, which requires .PDB debugging symbol files for the .exe, .dll, and .so files.

Given that the binaries I'm using were obtained at Apache Lounge, I'm seeking assistance in this regard.

If debugging symbols are available, their location is non-obvious; if they are not available, is there a specific reason for that (beyond free time and man-power)?

Or, if anyone here recognizes this problem or has suggestions, I'm all ears!

I obtained my binaries from Apache Lounge : httpd-2.4.3-win32-ssl_0.9.8-VC9.zip .

Thank you for providing Windows binaries in the first place; I am very grateful for that.
Back to top
glsmith
Moderator


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

PostPosted: Wed 13 Feb '13 21:30    Post subject: Reply with quote

Have you tried using mod_socache_shmcb instead?
Back to top
cbj4074



Joined: 02 Nov 2012
Posts: 24
Location: United States

PostPosted: Wed 13 Feb '13 22:12    Post subject: Reply with quote

No, but that's brilliant. I switched to shmcb and the faults do not occur. Thank you, thank you, thank you!

As much as I'd love to determine why, exactly, dbm socache doesn't appear to work in my environment, I don't have the time to dedicate when there is a readily-available "workaround".

And, as much I'd love to believe that it's a problem with Apache on Windows, or a problem with this particular build, it seems more likely to be related to another issue about which I've posted (the thread has yet to receive a response): http://www.apachelounge.com/viewtopic.php?t=5033 .

There seems to be a problem with stat-like API calls (files are read-locked or otherwise unavailable, sporadically), and I suspect this to be the cause of the dbm socache seg-faults I'm experiencing.

Thanks again for your help with this one.

Now, if you can just figure out why that locking issue occurs, you will be my personal hero. Smile
Back to top


Reply to topic   Topic: Seg-faults in libapr-1.dll and ntdll.dll when using socache View previous topic :: View next topic
Post new topic   Forum Index -> Apache