Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Fri, 29 Oct 2004 11:03:10 -0500 From: Brian Ford Reply-To: cygwin AT cygwin DOT com To: Reini Urban cc: cygwin Subject: Re: cygwin0.dll invalid current_token In-Reply-To: <418268C6.9010002@x-ray.at> Message-ID: References: <418268C6 DOT 9010002 AT x-ray DOT at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes On Fri, 29 Oct 2004, Reini Urban wrote: > After building my first debugging cygwin0.dll from CVS > I get this initialization problem, after closing all old cygwin > processes and using the version in /install/bin/ > > 3 [main] ? 2164 cygheap_user::reimpersonate: ImpersonateLoggedOnUser: > Win32 error 6 > > Which tells me that cygheap_user::current_token is an invalid handle. > Googling for improper initialization on such debug builds didn't help. > > I see a lot of code in seteuid(3) which is obviously never called. > Is there's something more to do? > Or is CVS borked because of the latest deimpersonation patch? > > strace bash --login -i attached http://www.cygwin.com/ml/cygwin-patches/2004-q4/msg00096.html? -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/