This is the mail archive of the
mailing list for the Cygwin project.
Re: httpd immediate segfault on startup [solution]
- From: Jim Garrison <jhg at jhmg dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 25 Aug 2015 08:48:48 -0700
- Subject: Re: httpd immediate segfault on startup [solution]
- Authentication-results: sourceware.org; auth=none
- References: <55B57A35 dot 1070106 at jhmg dot net> <55BB9FD3 dot 4090500 at jhmg dot net> <55BE58E6 dot 2040801 at gmail dot com> <55BF0E48 dot 7010207 at jhmg dot net>
- Reply-to: jhg at acm dot org
For anybody else who's having trouble with apache segfaulting at
On 8/2/2015 11:46 PM, Jim Garrison wrote:
>>>> Updated all cygwin packages to current versions, installed
>>>> httpd 2.4.16-1. On startup httpd segfaults:
>>>> Exception: STATUS_ACCESS_VIOLATION at eip=65DC5D78 eax=8004E028
>>>> ebx=00000001 ecx=00000000 edx=8004DFF0 esi=80014490
>>>> edi=80016498 ebp=0028CC78 esp=0028CB5C
>>>> program=C:\cygwin\usr\sbin\httpd.exe, pid 25500, thread main
>>>> cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B Stack trace:
>>>> Frame Function Args 0028CC78 65DC5D78 (00000003,
>>>> 0028CC9C, 80010100, 00000020) 0028CD28 6100846A (00000000,
>>>> 0028CD84, 610074F0, 00000000) End of stack trace
> I think the exception and stack trace are secondary to the main
> problem, which is described by the two messages in the error_log:
> (88)Function not implemented: AH00023: Couldn't create the proxy
> mutex (88)Function not implemented: AH02478: failed to create proxy
> The exception goes away if I remove mod_perl from the configuration,
> but the errors and failure to configure are the same. I also tried
> launching httpd in a mintty shell that was started with
> administrator privilege level, but the same error occurs.
> The "Function not implemented" seems to indicate something
> mis-matched in my system but I cannot figure out what.
I just received this from Alex Kononov (thanks). I have not tried this
as I've moved in a different direction and no longer need to run apache
> I wasn't sure how to get on Cygwin mailing list quickly, so I'm
> writing to you directly. I've had the same problem as you with the
> new release of Apache and I've just found a fix. The issue is with
> the IPC (shared memory, semaphores, queues). You must start an IPC
> server under windows (see, for starters, here --
> Unfortunately, the whole thing is not well documented. Before, it
> was a part of the standard Cygwin installation, but now you must
> install cygrunsrv as a separate package.
> Anyway, to fix "everything", just do: 1) Install cygrunsrv (this is
> done only once) 2) Run /usr/bin/cygserver-config (this is done only
> once) 3) Start Apache (/usr/sbin/apachectl ... options ...)
> Alternatively, you may probably ask Apache not to use IPC mechanisms.
> I don't have time to try this, but feel free to explore.
> Hope this helps. Feel free to document these procedures on the
> Cygwin mailing list, so other people having the same problem will
> know what to do.
> Good luck!
> -- Alex
Jim Garrison (firstname.lastname@example.org)
PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple