X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 4 Mar 2009 12:18:49 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [1.7] rebaseall doesn't solve the problem Message-ID: <20090304111849.GB10046@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20090224100616 DOT GC6035 AT calimero DOT vinschen DOT de> <49A85971 DOT 6070300 AT cwilson DOT fastmail DOT fm> <20090228104337 DOT GG19887 AT calimero DOT vinschen DOT de> <49A986B4 DOT 2080501 AT cwilson DOT fastmail DOT fm> <20090228201625 DOT GA8503 AT calimero DOT vinschen DOT de> <49A9AA0C DOT 9020904 AT cwilson DOT fastmail DOT fm> <20090301102035 DOT GB10046 AT calimero DOT vinschen DOT de> <49AE18D8 DOT 3010009 AT cwilson DOT fastmail DOT fm> <49AE191D DOT 2000307 AT cwilson DOT fastmail DOT fm> <20090304084923 DOT GA10046 AT calimero DOT vinschen DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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/