From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3904 invoked by alias); 25 Aug 2015 15:48:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 3894 invoked by uid 89); 25 Aug 2015 15:48:52 -0000 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 Received: from smtp.jhmg.net (HELO smtp.jhmg.net) (45.55.176.36) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 25 Aug 2015 15:48:51 +0000 Received: from [192.168.10.7] (c-50-137-136-169.hsd1.or.comcast.net [50.137.136.169]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.jhmg.net (Postfix) with ESMTPSA id 29BDC4059F for ; Tue, 25 Aug 2015 11:48:49 -0400 (EDT) Reply-To: jhg@acm.org Subject: Re: httpd immediate segfault on startup [solution] References: <55B57A35.1070106@jhmg.net> <55BB9FD3.4090500@jhmg.net> <55BE58E6.2040801@gmail.com> <55BF0E48.7010207@jhmg.net> To: cygwin@cygwin.com From: Jim Garrison Message-ID: <55DC8E60.4080602@jhmg.net> Date: Tue, 25 Aug 2015 15:48:00 -0000 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> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00430.txt.bz2 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@acm.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