X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 8 Oct 2009 12:37:39 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Thread related crash Message-ID: <20091008163738.GA627@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4ACDCA99 DOT 9090400 AT cwilson DOT fastmail DOT fm> <20091008134822 DOT GD14389 AT ednor DOT casa DOT cgf DOT cx> <4ACE10DB DOT 3010808 AT cwilson DOT fastmail DOT fm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ACE10DB.3010808@cwilson.fastmail.fm> User-Agent: Mutt/1.5.20 (2009-06-14) 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 Thu, Oct 08, 2009 at 12:18:35PM -0400, Charles Wilson wrote: >Christopher Faylor wrote: >>>This is coming up because any tcl app that I've built -- including >>>insight -- always dies on exit, as tcl is shutting down its various >>>utility threads. >> >>So why isn't this a problem with the current version of insight then? > >I believe it /is/ a problem, at least on cygwin-1.7. I've tried to >restore my system to "normal", and I see a different behavior on >cygwin-1.5 and cygwin-1.7 with the test below. > >[1.5] $ /usr/bin/wish84.exe /usr/share/tk8.4/demos/hello Hello, world > >works fine. You should see a small window pop up. When you click the >button, "Hello, sorld" is printed to the console and the small window >disappears. The application exits with no problem. > >[1.7] $ /usr/bin/wish84.exe /usr/share/tk8.4/demos/hello Hello, world >Segmentation fault (core dumped) > >Again, you should see a small window pop up. When you click the >button, "Hello, sorld" is printed to the console and the small window >disappears. But then, the application segfaults. > >Similarly, for insight.exe: > >[1.5] $ insight.exe Exit> > >and the application exits without error. But on 1.7: > >[1.7] $ insight.exe Exit> Segmentation fault (core >dumped) > >Can anybody verify this behavior for me, to make sure I haven't somehow >left dregs of my X-based tcl/tk packages lying around on my system? The version of insight that I built works fine for me on Windows XP SP3. I just tried the sigint problem test case with it and it worked as expected. cgf -- 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