This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Thread related crash
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 <then choose File->Exit>
>
>and the application exits without error. But on 1.7:
>
>[1.7] $ insight.exe <then choose File->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