ok, super.
I've just now downgraded to 3.5.4.
The scripts that were previously hanging have not yet reproduced the
hanging problem.

On Fri, Jan 3, 2025 at 2:45 PM Jeremy Drake <cyg...@jdrake.com> wrote:

> There are known (and as yet unknown) hang issues with cygwin 3.5.5, the
> known being in signal handling.  You might try with cygwin 3.5.4 to see if
> your hang issues go away.  That might help elimiate python as the culprit.
>
> On Fri, 3 Jan 2025, Michael Cook via Cygwin wrote:
>
> > The hangs I've looked at were when a Python script was using the
> > `subprocess` module to run external commands like `stty size` and
> `conan`.
> > May very well not be a Python issue at all but instead some kind of
> deeper
> > Cygwin thing.
> >
> > One path forward might be to change this "couldn't interrupt. trying
> again"
> > loop to give up eventually, say after 100 tries. That might lead to a
> > greater understanding of what's happening?
> >
> > On Fri, Jan 3, 2025 at 2:21 PM Marco Atzeri <marco.atz...@gmail.com>
> wrote:
> >
> > > On 03/01/2025 18:31, Michael Cook via Cygwin wrote:
> > > > I'm seeing hangs at the moment in a reproducible way.
> > > >
> > > > One of the hung processes is stty.exe.
> > > > I attached with strace and saw the following three messages being
> rapidly
> > > > repeated:
> > > >
> > > >     64 115520392 [sig] stty 20375 sigpacket::setup_handler:
> suspending
> > > > thread, tls 0x7FFFFCE00, _main_tls 0x7FFFFCE00
> > > >     77 115520469 [sig] stty 20375 _cygtls::inside_kernel: pc
> > > 0x7FF91290D574,
> > > > h 0x7FF912870000, inside_kernel 1
> > > >     66 115520535 [sig] stty 20375 sigpacket::setup_handler: couldn't
> > > > interrupt.  trying again.
> > > >
> > > > Is this interesting?
> > > >
> > > > The command was simply `stty size`.
> > > >
> > > > Michael
> > > >
> > >
> > > how to reproduce as `stty size` as it is not a python command ?
> > > Or are you saying that you see general cygwin hang issue ?
> > >
> > > Regards
> > > Marco
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > Problem reports:      https://cygwin.com/problems.html
> > FAQ:                  https://cygwin.com/faq/
> > Documentation:        https://cygwin.com/docs.html
> > Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
> >
>
> --
> Paul's Law:
>         In America, it's not how much an item costs, it's how much you
> save.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to