X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_NV X-Spam-Check-By: sourceware.org Message-ID: <4EF32BAC.6060209@shaddybaddah.name> Date: Fri, 23 Dec 2011 00:07:56 +1100 From: Shaddy Baddah User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.10 References: <4EF2D79D DOT 2020809 AT shaddybaddah DOT name> <20111222092552 DOT GA31936 AT calimero DOT vinschen DOT de> <4EF3027A DOT 7090503 AT shaddybaddah DOT name> <20111222104443 DOT GC31936 AT calimero DOT vinschen DOT de> <4EF31077 DOT 8060705 AT shaddybaddah DOT name> <20111222111951 DOT GD31936 AT calimero DOT vinschen DOT de> In-Reply-To: <20111222111951.GD31936@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Hi Corinna, On 22/12/11 22:19, Corinna Vinschen wrote: > On Dec 22 22:11, Shaddy Baddah wrote: >> On 22/12/11 21:44, Corinna Vinschen wrote: >>> Does it really work if you replace the DLL with 1.7.9 again? If so, >>> you could try to find out which snapshot introduced the problem for you. >>> >>> Also, you could start the whole thing from strace to see what happens: >>> >>> CMD> strace -o my.trace sh -c "/bin/id -a" >> >> I've done this with 1.7.10 still in place, once with portapps user >> (the failure case), and with my own regular (domain) user. Comparing >> the two outputs, there is an obvious ERROR_ACCESS_DENIED error in the >> failure case: >> >> 69 126706 [main] sh 3824 build_env: envp 0x61266AB4, envc 47 >> 37 126743 [main] sh 3824 child_info::child_info: subproc_ready 0x234 >> 589 127332 [main] sh 3824 seterrno_from_win_error: >> /netrel/src/cygwin-snapshot-20111219-1/winsup/cygwin/spawn.cc:692 >> windows error 5 >> 59 127391 [main] sh 3824 geterrno_from_win_error: windows error 5 == >> errno 13 >> 74 127465 [main] sh 3824 child_info_spawn::worker: CreateProcess >> failed, Win32 error 5 >> 196 127661 [main] sh 3824 stat64: entering >> >> Any further hints? > > Well, CreateProcess fails with "access denied". There must be a reason > for that, but I don't know what it is and I don't know what to look for. > Try bisecting the snapshots. > Sorry, it was always my intention to try the snapshots. I have got the domestic duties out of the way now, and managed to determine the last known good snapshot as the one listed as 2011-12-07 03:13:28 UTC. The next one, the first known bad one is listed as 2011-12-08 06:55:55 UTC. In between these there was a check-in of spawn.cc, if that is indeed the culprit: Revision 1.317, Wed Dec 7 10:48:17 2011 UTC (2 weeks, 1 day ago) by corinna Branch: MAIN CVS Tags: HEAD Changes since 1.316: +11 -1 lines * spawn.cc (child_info_spawn::worker): Add CREATE_BREAKAWAY_FROM_JOB to all spawned processes. Explain why. http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?r1=1.316&r2=1.317&cvsroot=src Looks rather innocuous, so don't understand why it is causing me problems. Thanks, Shaddy -- 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