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