X-Recipient: archive-cygwin@delorie.com X-Spam-Check-By: sourceware.org Date: Wed, 4 Mar 2009 12:18:49 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [1.7] rebaseall doesn't solve the problem Message-ID: <20090304111849.GB10046@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20090224100616.GC6035@calimero.vinschen.de> <49A85971.6070300@cwilson.fastmail.fm> <20090228104337.GG19887@calimero.vinschen.de> <49A986B4.2080501@cwilson.fastmail.fm> <20090228201625.GA8503@calimero.vinschen.de> <49A9AA0C.9020904@cwilson.fastmail.fm> <20090301102035.GB10046@calimero.vinschen.de> <49AE18D8.3010009@cwilson.fastmail.fm> <49AE191D.2000307@cwilson.fastmail.fm> <20090304084923.GA10046@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090304084923.GA10046@calimero.vinschen.de> User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com On Mar 4 09:49, Corinna Vinschen wrote: > On Mar 4 01:01, Charles Wilson wrote: > > Charles Wilson wrote: > > > Corinna Vinschen wrote: > > > > > >> Can you tweak the tool so I can test that next week? > > > > > > Attached, > > > > It helps when you actually attach the file. > > Heh :) Thank you! I'll give it a whirl on my TS system. Success! - I removed all Cygwin traces from my TS test machine. - I disabled DEP for all applications and rebooted (necessary so that the next step succeeds). - I installed a 1.7 distro from scratch. - I re-enabled DEP for all apps and rebooted. - I disabled the TS hack in the Cygwin DLL, rebuilt it and installed it on the TS machine. - I started bash and it crashed. - I started ash (always works for some reason). - I called "./peflags -t 1 /bin/bash" - I started bash and... it worked! - I started GDB and it crashed. - I called "./peflags -t 1 /bin/gdb" - I started GDB and it worked. - I started grep and... - I called ... /bin/grep - ... worked. - ... and ssh ... - ... and mkpasswd ... - ... and mkgroup ... So it seems that setting the TS-aware flag for all applications by default is the way to go, same as in Visual C++. Unfortunately that doesn't help us with existing packages in the distro, only for new ones, but at least we now have the peflags tool for these cases. Nevertheless, I will disable the TS hack in Cygwin 1.7 now. We have a much better solution now and the hack was a real PITA performance-wise. Thank you very much for doing that! I think this deserves a gold star. Igor? Are you still with us? I didn't see a mail from you since October. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/