Re: random hangs

2025-01-03 Thread Marco Atzeri via Cygwin
On 03/01/2025 21:47, Robert Terzi via Cygwin wrote: On 1/3/2025 2:45 PM, Jeremy Drake via Cygwin 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 e

Re: zsh (oh-my-zsh) hangs on cygwin-3.5.5-1

2025-01-03 Thread Andrey Repin via Cygwin
Greetings, Daisuke Fujimura! Pardon my intervention, but I'd like to make an unrelated comment… >> Are any additional settings necessary? > - zsh is specified by the environment variable SHELL. > - HOME is a symbolic link. (`/home/myname` -> `/cygdrive/c/Users/myname`) I'd suggest using nsswitc

Re: env and PATH

2025-01-03 Thread Andrey Repin via Cygwin
Greetings, Federico Kircheis! > Hello to everyone, > I've noticed that env seems to handle the environment variable PATH in a > particular way > - >> cd /d; >> env -i PATH='C:\Windows;C:\Windows\system32;' >> /c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe > # in the powersh

Re: Modify Cygwin sshd to support login into user SYSTEM?

2025-01-03 Thread Andrey Repin via Cygwin
Greetings, Cedric Blancher! >> What problem are you solving? > 1. Replace PsExec, and only use Cygwin builtin tools Cygwin is a user-level library, don't use it to substitute system administration tools. Bad idea. Bad things will happen. > 2. Do global mounts, i.e. mount SMB filesystem for all

Re: fail: sshd

2025-01-03 Thread Andrey Repin via Cygwin
Greetings, Brian Inglis via Cygwin! > Check Windows SSHD is not running and disabled! Or moved to a different port. ( C:\ProgramData\ssh\sshd_config ) In some specific situations, you WILL need native SSH available, Cygwin one will not work for VS Code remote server f.e. -- With best regards,

Test: python312-3.12.8-1 small fix

2025-01-03 Thread Teepean via Cygwin
I did a quick test with python 3.12 and noticed this in pyconfig.h /* Define on FreeBSD to activate all library features */ #define __BSD_VISIBLE 1 I assume this should be #undef? At least it is in previous versions. -- Problem reports: https://cygwin.com/problems.html FAQ:

X server dumping trying to launch anything

2025-01-03 Thread Brian Inglis via Cygwin
Hi folks, Just recently started complaining in vim about not finding %!command output file /tmp//# and now can not launch clients from XDG menu, even after reverting coreutils, and restarting the system: last updated and previous reboot 2024-11-11, just before last Patch Tuesday! Run

Re: How to make Cygwin handle Unicode symbolic links?

2025-01-03 Thread Larry Martin via Cygwin
I assume you meant cygcheck , not symcheck ? You're right, of course. what do you have for the CYGWIN environment variable, There is no CYGWIN environment variable on either system: $ set | grep CYG CYG_SYS_BASHRC=1 Actually, I think

Re: How to make Cygwin handle Unicode symbolic links?

2025-01-03 Thread David Dyck via Cygwin
I assume you meant cygcheck , not symcheck ? ( i've been "into" symbolic links in cygwin today so the title caught my eye ) what do you have for the CYGWIN environment variable, I've been using winsymlinks:native eg export CYGWIN=winsymlinks:na

Re: random hangs

2025-01-03 Thread Robert Terzi via Cygwin
On 1/3/2025 2:45 PM, Jeremy Drake via Cygwin 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. I'm seeing reproducib

Re: random hangs

2025-01-03 Thread Michael Cook via Cygwin
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 wrote: > There are known (and as yet unknown) hang issues with cygwin 3.5.5, the > known being in signal handling. You

Re: random hangs

2025-01-03 Thread Jeremy Drake via Cygwin
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

Re: random hangs

2025-01-03 Thread Michael Cook via Cygwin
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

Re: random hangs

2025-01-03 Thread Marco Atzeri via Cygwin
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: suspen

random hangs (was: Test: python312-3.12.8-1 venv fails due to pip wheel?)

2025-01-03 Thread Michael Cook via Cygwin
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 0x7CE00, _main_tls 0x7CE00