deadlock with busy waiting on sigfe

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sat Mar 16 16:44:00 GMT 2013


On Sat, Mar 16, 2013 at 11:00:49AM +0900, jojelino wrote:
>On 2013-03-16 AM 10:46, jojelino wrote:
>> On 2013-03-16 AM 4:41, Christopher Faylor wrote:
>>> On Mon, Mar 11, 2013 at 04:45:54PM -0400, Christopher Faylor wrote:
>>> Actually, if you are running this on a DOS console, and you hit CTRL-C,
>>> you will have at least one other thread executing.
>>>
>>> Were you running this under mintty (aka a pty) or in a Windows cmd
>>> shell?
>>>
>> It was mintty i was running. and shell command was
>> for i in `seq 10000`;do ./hop.py list.txt ;done
>And it would take at least another month to reproduce the busy wait.
>I forgot to print cygtls::stackptr[-1] at that time. which would be key 
>to identify the cause of the problem.

No, not really.  The caller in this case isn't interesting.  The number
of threads executing is interesting.

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



More information about the Cygwin mailing list