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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=DBeJ/w8snJoTDG2d9dimULVEZKJK94raoTeHquF3x+KF1iD3PopvX EbKHwg1k08FGVDcXjBj+yjozcK7Rrp03b+DMNhqZVMbWhhPMF64R7cKz57HOyf1O jFXv/WHHQL5J9FjjJtAE/+EASOJQpk5HoR2jtc0LnBZRkPKYkzg+DI= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=hC5ctKjjSYuS2efkm08EAtINn6A=; b=V/XHvESRmqLTv/1GjWmwzKVGZhBk Ahqk3AhjNLN8i1IT+sKPMLTQnNpFdyqijjOXiQXe845eHVq2cQYbZ/4d+1oby0yM ZwAwNL1s821fzOqASibZabPVwMsGoWmPe8Y0e+Now2wIRY+tWtGxErYfQ0Tad8SS Ku4YLE61Vp5A8Wc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 7 Apr 2014 13:45:02 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Tons of cygserver errors Message-ID: <20140407114502.GI2061@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5F8AAC04F9616747BC4CC0E803D5907D0C8ADCB0 AT MLBXv04 DOT nih DOT gov> <20140407095722 DOT GH2061 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lqaZmxkhekPBfBzr" Content-Disposition: inline In-Reply-To: <20140407095722.GH2061@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) --lqaZmxkhekPBfBzr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 7 11:57, Corinna Vinschen wrote: > On Apr 5 02:35, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: > > >> I can=E2=80=99t push this through your list spam filter. Another at= tempt... > >=20 > > I was trying a few times, and finally deleted the strace attachment. L= et's see if this will go through. > > Excuse me for being a bit straightforward, but the spam filter this lis= t is using is *really* stupid! > >=20 > > > Still, you're missing the cygcheck log, > >=20 > > Cygcheck log was attached to an earlier message from today (thread: exe= .stackdump is always empty). > >=20 > > > and a simple testcase would be helpful > >=20 > > Here you go: > > [...] > > Windows event log immediately recorded 10 new events, like so: > >=20 > > Error 4/4/2014 10:02:34 PM cygserver 0 None > > Error 4/4/2014 10:02:33 PM cygserver 0 None > > Error 4/4/2014 10:02:32 PM cygserver 0 None > > Error 4/4/2014 10:02:31 PM cygserver 0 None > > Error 4/4/2014 10:02:30 PM cygserver 0 None > > Error 4/4/2014 10:02:29 PM cygserver 0 None > > Error 4/4/2014 10:02:28 PM cygserver 0 None > > Error 4/4/2014 10:02:27 PM cygserver 0 None > > Error 4/4/2014 10:02:26 PM cygserver 0 None > > Error 4/4/2014 10:02:25 PM cygserver 0 None > >=20 > > (each having exactly the same message: cygserver: PID 1944: cygserver: = error getting signal_arrived to server (6)) >=20 > Thanks, I can reproduce the issue. I'll investigate. Ok, I see what happens. At fork time, cygserver gets called to fixup the information on XSI shared memory regions. When this fixup call is made, the handle value sent to cygserver is invalid. It's, in fact, the value of this object in the parent process, while the object doesn't exist at this point in the forked child. The child value is set to NULL just a little bit later and created as soon as it's required, but this happens too late for the aforementioned fixup call. I created a fix and I'm just building cygwin 1.7.29 with it. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --lqaZmxkhekPBfBzr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTQo+9AAoJEPU2Bp2uRE+geqYP/2LalyUK11xsiVBQyMdSCB+N yyxQtHBZH3N7MGcekyiarp36MHzRm9vjPQS8PMja8L7Blt8qe06jxHAuP6VDP2qu NFN+ZywrRdsSHm9jMdxPqwfyAgW53yhGvqE/FHFAHpRFlMXgJ2ku3JTeROols4uS Nm/1rB+lVW9s/FrW6vVh20tbp/yByDnyMdP5cWJhnbIATJszIyJJo0RvHxPdV7+q UYvAsvsa+Yy6cTOWSiBqlwMc/HuDLlS6Jrla7esO4BeS+ZrfzXLbE8nepxaix0XS smiwemXPKmHlHJY8+A4Yo38RIogb5wy0ky7qtBIpk/hUZn8RejnRQJdJB/spKEC5 cZGI5296cMANBrzuCjXzQGTB/u2Kos1TKioJ3/Of6sII87OZ8ni69AiAHwP7cxbX QMXw7xmPGhc3IYt3JtJk5tAqkhnr79YqazsWv/qzwZUSBBYpWLSv7CVuK+9gaNY0 WG3czysdfDR0XvjBtArTCaKlHD4Fm/D+5kaQdVAz55f5y8LFqTBV7HgL2LvXOsZM C2wMT0qWPlAo3lR1/ojo8QHIgFYoThjhEbcA9ktsJCjMC+5YSYGQpvhl6ihLkz34 wd6SfJcvun3xRWeZI/yyFjG2/hZqUybghMvo6y7TkiwG3/t2IiDQ3iPMeM18NZrp RAkKVzsohQ0Bet6YRtbk =enYh -----END PGP SIGNATURE----- --lqaZmxkhekPBfBzr--