delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:references:to:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=nQS3jLhjY/tOaZjO | |
80GL7gTfI+AqImz/2N/4TV1o1NGNpTJfB5z5bhvhcoDXMe1hhqQ/NrpMtAH3Njee | |
0O+QPgq+eOpgsPlOY3wwdhb1140CT52PgK8VfeZCu8PIWXVgJojdIiNP4v0qdLLg | |
lV0FFpG1CMpiIdWRD18iu7Q3UHs= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:references:to:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=hxGyJMaadiACpA1HYp139M | |
JS8GA=; b=Ba8l3icaPn12EtRr3/LDcTMlz41tkcaTnrmvYMXizIfRp7MR7G063B | |
nVrht1qvZp3L9U0TnapCUQ5rdAICpoB+pLw7rt1lzrAOte71zbEkO8gur1osqPMb | |
pXY4g8A8YOMx4xl9+OdYCaDjW69WISIE7rE6bIO/mpb40Sz6SYtY4= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-0.7 required=5.0 tests=AWL,BAYES_05,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | smtp.jhmg.net |
Reply-To: | jhg AT acm DOT org |
Subject: | Re: httpd immediate segfault on startup [solution] |
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> |
To: | cygwin AT cygwin DOT com |
From: | Jim Garrison <jhg AT jhmg DOT net> |
Message-ID: | <55DC8E60.4080602@jhmg.net> |
Date: | Tue, 25 Aug 2015 08:48:48 -0700 |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <55BF0E48.7010207@jhmg.net> |
For anybody else who's having trouble with apache segfaulting at startup: On 8/2/2015 11:46 PM, Jim Garrison wrote: [snip] >>>> 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 [snip] > 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 > mutex > > 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 under Cygwin: > 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 -- > https://cygwin.com/cygwin-ug-net/using-cygserver.html). > 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 (jhg AT acm DOT org) PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |