Re: No shell can be opened: Error: Could not fork child process: There arre no available terminals

2025-06-09 Thread Stefan Berger via Cygwin
y settings doesn't help... Regards, Stefan From: Cygwin on behalf of Stefan Berger via Cygwin Sent: Monday, June 9, 2025 11:10 AM To: cygwin@cygwin.com Subject: [EXTERNAL] No shell can be opened: Error: Could not fork child process: There arre no avai

No shell can be opened: Error: Could not fork child process: There arre no available terminals

2025-06-09 Thread Stefan Berger via Cygwin
Hello! It looks like a recent update of cygwin is now not letting me open any shell anymore. I get the following error with the Window frame showing 'nologin' in upper left corner: Error: Could not fork child process: There are no available terminals (-1). I have tried to appl

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-23 Thread Jeremy Drake via Cygwin
On Fri, 23 May 2025, Yuyi Wang wrote: > On Fri, 23 May 2025, Jeremy Drake wrote: > > Maybe. MSYS2 doesn't generally advise to rebase on x86_64, but I think > > Cygwin does as part of its setup/postinstall hooks. As a hack, I was able > > to work around this by setting the "dynamicbase" flag on t

fork error when trying to call VirtualAlloc with size==0

2025-05-23 Thread Yuyi Wang via Cygwin
On Fri, 23 May 2025, Jeremy Drake wrote: > Maybe. MSYS2 doesn't generally advise to rebase on x86_64, but I think > Cygwin does as part of its setup/postinstall hooks. As a hack, I was able > to work around this by setting the "dynamicbase" flag on the dlls (it's a > long story about why this hel

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-23 Thread Jon Turney via Cygwin
On 23/05/2025 02:59, Yuyi Wang via Cygwin wrote: On Wed, 22 May 2025, Jeremy Drake wrote: Ultimately, playing whack-a-mole in a 64-bit address space hoping that the DLL will load in the same place as the parent is an exercise in futility, especially in only 6 attempts. Outside cygwin, rustc al

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-22 Thread Jeremy Drake via Cygwin
On Fri, 23 May 2025, Yuyi Wang wrote: > On Wed, 22 May 2025, Jeremy Drake wrote: > > Ultimately, playing whack-a-mole in a 64-bit address space hoping that the > > DLL will load in the same place as the parent is an exercise in futility, > > especially in only 6 attempts. > > Outside cygwin, rustc

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-22 Thread Yuyi Wang via Cygwin
On Wed, 22 May 2025, Jeremy Drake wrote: > Ultimately, playing whack-a-mole in a 64-bit address space hoping that the > DLL will load in the same place as the parent is an exercise in futility, > especially in only 6 attempts. Outside cygwin, rustc also try 5 times to load the proc macro DLL, so t

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-22 Thread Jeremy Drake via Cygwin
DWORD, but > mb.RegionSize is 0x2. mb.RegionSize is SIZE_T, but I figure > size_t is appropriate. I've sent a patch https://cygwin.com/pipermail/cygwin-patches/2025q2/013726.html for review. Now I get the correct error message: 0 [main] rustc 1569 child_info_fork::abort: unabl

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-21 Thread Jeremy Drake via Cygwin
On Wed, 21 May 2025, Jeremy Drake via Cygwin wrote: > the child to not be very fruitful, but maybe there's some debugging to be > done there Well, found the bug that results in a 0 size. size is a DWORD, but mb.RegionSize is 0x2. mb.RegionSize is SIZE_T, but I figure size_t is appropria

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-21 Thread Jeremy Drake via Cygwin
sed to be...? Is it possible that > LoadLibraryExW() allocates smaller region than the image size? > After not being able to reproduce this with May 20 nightly, I was able to reproduce it with May 21 nightly. I added a long sleep after printing out the error, so I could capture the addre

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-19 Thread Yuyi Wang via Cygwin
I tried dlfork(FORK_NO_RELOAD) after dlopen() the proc macro DLLs. Now rustc works as expected. Therefore, I think the problem is most likely caused by too many DLLs loaded. See the PR here: https://github.com/rust-lang/rust/pull/141276 I think dlfork is a good workaround, but not the best. It wou

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-19 Thread Brian Inglis via Cygwin
us/windows/win32/api/winnt/ns-winnt-image_optional_header64 https://stackoverflow.com/questions/62461457/loadlibraryexw-fails-to-load-user32-dll https://learn.microsoft.com/en-us/answers/questions/1189539/loadlibraryexw-returns-error-invalid-image-hash-on -- Take care. Thanks, Brian Inglis

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-19 Thread Yuyi Wang via Cygwin
Thank you for your reply. The DLL is a "proc macro" DLL for rustc, which means that it's not designed to be changed after created. However, I've also found that this stage-1 compiler doesn't always trigger this failure: it just trigger fork failure with compiling relatively large projects. In this

Re: fork error when trying to call VirtualAlloc with size==0

2025-05-19 Thread Jeremy Drake via Cygwin
On Mon, 19 May 2025, Yuyi Wang via Cygwin wrote: > Recently I'm trying to build rustc on Cygwin (actually MSYS2). Here is the > error: > > 0 [main] rustc 3299 child_info_fork::abort: couldn't allocate memory > 0x1FD10(0) for > '\??\D:\Straw\Document

fork error when trying to call VirtualAlloc with size==0

2025-05-19 Thread Yuyi Wang via Cygwin
Recently I'm trying to build rustc on Cygwin (actually MSYS2). Here is the error: 0 [main] rustc 3299 child_info_fork::abort: couldn't allocate memory 0x1FD10(0) for '\??\D:\Straw\Documents\Git\rust\build\x86_64-pc-cygwin\stage1-rustc\release\deps\zerovec_derive-4b870

Re: Cygwin fork error

2025-04-12 Thread Siva kumar via Cygwin
bash: fork: Resource temporarily unavailable > > No cmds are working. Rebasing also not working. Everything shows above > error. > I tried installing again using setup_x64.exe, but no use. > Can anyone suggest what should be done? > Should I uninstall python [windows version]?

Cygwin fork error

2025-04-12 Thread Siva kumar via Cygwin
process 9256 died unexpectedly, retry 0, exit code 0xC142, errno 11 bash: fork: retry: Resource temporarily unavailable bash: fork: Resource temporarily unavailable No cmds are working. Rebasing also not working. Everything shows above error. I tried installing again using setup_x64.exe, but no

Re: nano update (8.0) : "set smooth" now gives error

2025-04-10 Thread Philippe Baril Lecavalier via Cygwin
The same question was raised here: https://superuser.com/questions/1784162/nano-where-are-morespace-and-smooth-settings-gone Short answer, it is now default behavior, option was retired. I suppose it means adapt config file accordingly, because apparently won't just ignore mystery options (no "non

nano update (8.0) : "set smooth" now gives error

2025-04-10 Thread Fergus Daly via Cygwin
Thank you for nano update to v.8.0 during last day. Previously the option "set smooth" was allowed in the config file /etc/nanorc but now gives an error message. Is there a new way to set this option? (Or maybe a recursion to, from memory, some switch in the command line?) Thank y

Terdapat error

2025-04-10 Thread Melati Janet Livia Simanjuntak via Cygwin
saat mengetik pwd pada windows command prompt terdapat kelambatan proses, seperti ini : C:\Users\MELJAVIS\Documents\DATA_KUALITAS_UDARA>pwd 3 [main] pwd 1984 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com /cy

Re: Terdapat error

2025-04-10 Thread cygwinautoreply--- via Cygwin
>saat mengetik pwd pada windows command prompt terdapat kelambatan proses, >seperti ini : >C:\Users\MELJAVIS\Documents\DATA_KUALITAS_UDARA>pwd > 3 [main] pwd 1984 find_fast_cwd: WARNING: Couldn't compute FAST_CWD >pointer. Please report this problem to >the public mailing list cygwin@cygwin.c

Re: mv error building LilyPond tests, maybe MAX_PATH related

2025-03-09 Thread Saul Tobin via Cygwin
> > my experiment with "mv" breaks near 4090 path length > with "File name too long" and this in not the error > from lilypond build. > Moving a directory that contains 999 levels > and final path up to 8880 character is not a problem. Hi Marco, Thanks

Re: mv error building LilyPond tests, maybe MAX_PATH related

2025-03-08 Thread Marco Atzeri via Cygwin
On 08/03/2025 11:39, Marco Atzeri wrote: On 08/03/2025 06:10, Saul Tobin via Cygwin wrote: Hello, Based on this, it appears to me that when an in-place rename is performed by `mv`, it calls into a Win32 API that enforces the 260 character MAX_PATH. I can see in the trace that the error is

Re: mv error building LilyPond tests, maybe MAX_PATH related

2025-03-08 Thread Marco Atzeri via Cygwin
On 08/03/2025 06:10, Saul Tobin via Cygwin wrote: Hello, I've encountered a kind of bizarre error when trying to build GNU LilyPond regression tests on Cygwin 3.5.7-1 on Windows 11. For one and only one folder, `mv` fails with `mv: cannot move './out-test' to './out-test-b

mv error building LilyPond tests, maybe MAX_PATH related

2025-03-07 Thread Saul Tobin via Cygwin
Hello, I've encountered a kind of bizarre error when trying to build GNU LilyPond regression tests on Cygwin 3.5.7-1 on Windows 11. For one and only one folder, `mv` fails with `mv: cannot move './out-test' to './out-test-baseline': Permission denied`. The distinguishi

Re: Error with multitail 7.1.5

2025-03-07 Thread Clayton Scott Kern via Cygwin
efault parameters > > Execution of regular expression failed with error: > > MultiTail warning: regular expression failed, reason: > > match failed > > > > Press any key to exit this screen > > > > This command works fine with v7.1.1 > > This

Re: Error with multitail 7.1.5

2025-03-07 Thread Kevin Schnitzius via Cygwin
>On Friday, March 7, 2025 at 02:22:32 PM EST, Clayton Scott Kern via Cygwin > wrote: >On Friday, March 7, 2025 at 02:22:32 PM EST, >Clayton Scott Kern via Cygwin wrote: > > Set default parameters >   Execution of regular expression failed with error: >   MultiTail war

Error with multitail 7.1.5

2025-03-07 Thread Clayton Scott Kern via Cygwin
When running the command: multitail -i file1.log -i file2.log -i file3.log I get this message Set default parameters Execution of regular expression failed with error: MultiTail warning: regular expression failed, reason: match failed Press any key to exit this screen This command

Re: error

2025-03-04 Thread cygwinautoreply--- via Cygwin
>D:\Users\willy\Desktop\john\run>john.exe/crack/Adobe.zip>crack/keys.txt > 0 [main] john 3116 find_fast_cwd: WARNING: Couldn't compute FAST_CWD > pointer. Please report this problem to >the public mailing list cygwin@cygwin.com >stat: /crack/Adobe.zip: No such file or directory https://cyg

error

2025-03-04 Thread Willy Gregoir via Cygwin
D:\Users\willy\Desktop\john\run>john.exe/crack/Adobe.zip>crack/keys.txt 0 [main] john 3116 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com stat: /crack/Adobe.zip: No such file or directory -- Problem report

libusb error -12

2024-11-26 Thread BERTRAND Joël via Cygwin
uctor Corp. Bus 001 Device 003: ID 04b4:0004 Cypress Semiconductor Corp. ... Device appears twice as is contains two different end points. Now, I try to run my code. $ ./sonde 1 ... CY:Error in opening the device... Libusb error is -12 CyGetDeviceInfo failure (3) I have tried to ex

Re: stress-ng --lockmix 1 crashes with *** fatal error - NtCreateEvent(lock): 0xC0000035

2024-11-13 Thread Takashi Yano via Cygwin
ng hogs: 1 lockmix > stress-ng: info: [175] lockmix: exercising file lock types: flock locka lockf > 0 [main] stress-ng 175 C:\cygwin64\bin\stress-ng.exe: *** fatal > error - NtCreateEvent(lock): 0xC035 > stress-ng: warn: [174] metrics-check: &

Re: stress-ng --lockmix 1 crashes with *** fatal error - NtCreateEvent(lock): 0xC0000035

2024-11-12 Thread Cedric Blancher via Cygwin
] dispatching hogs: 1 lockmix > stress-ng: info: [175] lockmix: exercising file lock types: flock locka lockf > 0 [main] stress-ng 175 C:\cygwin64\bin\stress-ng.exe: *** fatal > error - NtCreateEvent(lock): 0xC035 > stress-ng: warn: [174] metrics-

stress-ng --lockmix 1 crashes with *** fatal error - NtCreateEvent(lock): 0xC0000035

2024-11-12 Thread Sebastian Feld via Cygwin
locka lockf 0 [main] stress-ng 175 C:\cygwin64\bin\stress-ng.exe: *** fatal error - NtCreateEvent(lock): 0xC035 stress-ng: warn: [174] metrics-check: all bogo-op counters are zero, data may be incorrect stress-ng: info: [174] skipped: 0 stress-ng: info: [174

Re: cyg-x install error

2024-09-13 Thread scowles via Cygwin
4-09-13 14:02, S. Cowles via Cygwin wrote: >>>> >>>> i have a clean install of cygwin on a win11pro box.  when i install cyg-x >>>> (via https://x.cygwin.com/docs/ug/setup.html#setup-cygwin-x-installing), i >>>> get the following error: >>&g

Re: cyg-x install error

2024-09-13 Thread Brian Inglis via Cygwin
-installing), i get the following error: Package:  _/xinit xinit.sh exit code 3 Where are you seeing this error? final error reporting window of setup-x86_64.ext instance the result of the error is no access to any cyg-x apps via start menu, etc. what is the proper way to fix this error

Re: cyg-x install error

2024-09-13 Thread S. Cowles via Cygwin
On Fri, 13 Sep 2024, Brian Inglis via Cygwin wrote: On 2024-09-13 14:02, S. Cowles via Cygwin wrote: i have a clean install of cygwin on a win11pro box. when i install cyg-x (via https://x.cygwin.com/docs/ug/setup.html#setup-cygwin-x-installing), i get the following error: Package

Re: cyg-x install error

2024-09-13 Thread Brian Inglis via Cygwin
On 2024-09-13 14:02, S. Cowles via Cygwin wrote: i have a clean install of cygwin on a win11pro box.  when i install cyg-x (via https://x.cygwin.com/docs/ug/setup.html#setup-cygwin-x-installing), i get the following error: Package:  _/xinit     xinit.sh exit code 3 Where are you seeing

cyg-x install error

2024-09-13 Thread S. Cowles via Cygwin
i have a clean install of cygwin on a win11pro box. when i install cyg-x (via https://x.cygwin.com/docs/ug/setup.html#setup-cygwin-x-installing), i get the following error: Package: _/xinit xinit.sh exit code 3 the result of the error is no access to any cyg-x apps via start menu

Re: Advice sought: Cygwin or gcc or ???: unable to figure out odd gcc error message [WITHDRAWN]

2024-07-26 Thread ASSI via Cygwin
Richard via Cygwin writes: > As anticipated, after further investigation, it is NOT a > Cygwin-related issue, hence I withdraw my request with apologies for > noise. You didn't say what you are trying to achieve, but since the exercise seems to be to learn something about Linux kernel (module) pro

Advice sought: Cygwin or gcc or ???: unable to figure out odd gcc error message [WITHDRAWN]

2024-07-26 Thread Richard via Cygwin
', as it clearly states in its error message... Once adjusted, there is no issue left. ;) -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#u

Advice sought: Cygwin or gcc or ???: unable to figure out odd gcc error message

2024-07-25 Thread Richard via Cygwin
Sirs: Please note initially that the error indicated occurs systematically in the actual project, but it was reproduced here using a simpler demonstration case for documentation. I might have to defer to www.kernel.org || gcc.gnu.org depending upon your comments, as I feel that it is not

Re: Issue regarding SFD_CLOEXEC. error: "''O_CLOEXEC' undeclared here (not in a function); did you mean 'FD_CLOEXEC'?"

2024-06-23 Thread ASSI via Cygwin
christianon39--- via Cygwin writes: > /usr/include/sys/signalfd.h:17:17: error: 'O_CLOEXEC' undeclared here (not in > a function); did you mean 'FD_CLOEXEC'? >17 | SFD_CLOEXEC = O_CLOEXEC, > |  ^ > |

Re: Sv: Issue regarding SFD_CLOEXEC. error: "''O_CLOEXEC' undeclared here (not in a function); did you mean 'FD_CLOEXEC'?"

2024-06-23 Thread Jon Turney via Cygwin
oduces the same error when compiled? Because that doesn't happen for me... -- 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

Sv: Issue regarding SFD_CLOEXEC. error: "''O_CLOEXEC' undeclared here (not in a function); did you mean 'FD_CLOEXEC'?"

2024-06-18 Thread christianon39--- via Cygwin
17:07 Til: cygwin@cygwin.com Emne: Issue regarding SFD_CLOEXEC. error: "''O_CLOEXEC' undeclared here (not in a function); did you mean 'FD_CLOEXEC'?" Hi, I am trying to build wlroots, but get this error in meson logs: Command line: `cc /home/Chris/wlroots/build/m

Issue regarding SFD_CLOEXEC. error: "''O_CLOEXEC' undeclared here (not in a function); did you mean 'FD_CLOEXEC'?"

2024-06-18 Thread christianon39--- via Cygwin
Hi, I am trying to build wlroots, but get this error in meson logs: Command line: `cc /home/Chris/wlroots/build/meson-private/tmprxphcsub/testfile.c -o /home/Chris/wlroots/build/meson-private/tmprxphcsub/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -std=c11` -> 1 stderr: In file included f

install error: xinit.sh exit code 3

2024-05-13 Thread Harry Rockefeller via Cygwin
I don't use those two Cygwin-X shortcuts that failed to be created by mkshortcut when /etc/postinstall/xinit.sh tried to do that. I commented out those two lines near the end of xinit.sh. I hope that has no unwanted side effect(s). -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: ntfs-3g/ntfssecaudit build failed with fatal error: linux/fd.h: No such file or directory

2024-03-24 Thread Brian Inglis via Cygwin
On 2024-03-24 12:59, Matthias--- via Cygwin wrote: I downloaded ntfs-3g_ntfsprogs-2022.10.3.tgz from tuxera, extract it and run, in my cygwin 3.5 environment: ./configure make ntfsprogs I got a "fatal error: linux/fd.h: No such file or directory". All ntfsprogs are build in ~

ntfs-3g/ntfssecaudit build failed with fatal error: linux/fd.h: No such file or directory

2024-03-24 Thread Matthias--- via Cygwin
Hello, I downloaded ntfs-3g_ntfsprogs-2022.10.3.tgz from tuxera, extract it and run, in my cygwin 3.5 environment: ./configure make ntfsprogs I got a "fatal error: linux/fd.h: No such file or directory". All ntfsprogs are build in ~/ntfsprogs but not ntfsrecover, ntfsse

Re: Getting error 60 of curl to cygwin setup

2024-03-22 Thread Brian Inglis via Cygwin
On 2024-03-22 09:49, J M wrote: This is a very painfull and weird failed error of Windows antivirus. I apologize for not having realized before. For other people who may encounter this difficult problem,  the key to find this error is (cut connections only for sites that use Letsencrypt

Re: Getting error 60 of curl to cygwin setup

2024-03-22 Thread J M via Cygwin
Hi, This is a very painfull and weird failed error of Windows antivirus. I apologize for not having realized before. For other people who may encounter this difficult problem, the key to find this error is (cut connections only for sites that use Letsencrypt certificates), is the strace /usr

Re: Getting error 60 of curl to cygwin setup

2024-03-19 Thread Brian Inglis via Cygwin
;s openssl test: $ openssl s_client -connect cygwin.com:443 and ldd (or cygcheck): $ ldd /usr/bin/curl ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffadca5) KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffadb6d) KERNELBASE.dll =&g

Re: Getting error 60 of curl to cygwin setup

2024-03-19 Thread Brian Inglis via Cygwin
On 2024-03-19 11:00, J M wrote: $ file /etc/pki/tls/certs/* /etc/pki/tls/certs/ca-bundle.crt:       symbolic link to /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/pki/tls/certs/ca-bundle.trust.crt: symbolic link to /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt $ grep -c '^-

Re: Getting error 60 of curl to cygwin setup

2024-03-19 Thread Brian Inglis via Cygwin
On 2024-03-19 08:02, ASSI via Cygwin wrote: J M via Cygwin writes: $ curl - -O https://cygwin.com/setup-x86_64.exe % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00

Re: Getting error 60 of curl to cygwin setup

2024-03-19 Thread ASSI via Cygwin
J M via Cygwin writes: > $ curl - -O https://cygwin.com/setup-x86_64.exe > % Total% Received % Xferd Average Speed TimeTime Time > Current > Dload Upload Total SpentLeft > Speed > 0 00 00 0 0 0 --:--:--

Re: Getting error 60 of curl to cygwin setup

2024-03-19 Thread J M via Cygwin
ebmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> El lun, 18 mar 2024 a las 23:19, Brian Inglis via Cygwin () escribió: > On 2024-03-18 15:21, J M via Cygwin wrote: > > With a fresh install of Cygwin then I launch (with package curl > installed): > > > > curl -O htt

Re: Getting error 60 of curl to cygwin setup

2024-03-18 Thread Brian Inglis via Cygwin
On 2024-03-18 15:21, J M via Cygwin wrote: With a fresh install of Cygwin then I launch (with package curl installed): curl -O https://www.cygwin.com/setup-x86_64.exe Shows a curl 60 error ssl problem. Using -k or --insecure works, but is not recomended. Howto fix it? WJFFM! That error

Getting error 60 of curl to cygwin setup

2024-03-18 Thread J M via Cygwin
Hi, With a fresh install of Cygwin then I launch (with package curl installed): curl -O https://www.cygwin.com/setup-x86_64.exe Shows a curl 60 error ssl problem. Using -k or --insecure works, but is not recomended. Howto fix it? Regards, Cesar Jorge -- Problem reports: https

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Corinna Vinschen via Cygwin
; >> (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to > >> 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) > >> GNU make 4.4.1-2, when it starts external processes and those external > >> processes exit wi

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Dimitry Andric via Cygwin
>> 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) >> GNU make 4.4.1-2, when it starts external processes and those external >> processes exit with a zero exit code. >> >> For example, a very simple Makefile: >> >>

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Corinna Vinschen via Cygwin
On Feb 26 17:34, Dimitry Andric via Cygwin wrote: > Hi, > > After a recent upgrade of a Cygwin installation, including cygwin1.dll > (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to > 3.5.0-1, I now get spurious "error 127" messages from (Cygwin'

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Dimitry Andric via Cygwin
i, >>>> After a recent upgrade of a Cygwin installation, including cygwin1.dll >>>> (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to >>>> 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) >>>> GNU mak

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Marco Atzeri via Cygwin
-February/255308.html) to 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) GNU make 4.4.1-2, when it starts external processes and those external processes exit with a zero exit code. For example, a very simple Makefile: all: cmd /c echo done Running this a few ti

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Dimitry Andric via Cygwin
to >> 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) >> GNU make 4.4.1-2, when it starts external processes and those external >> processes exit with a zero exit code. >> For example, a very simple Makefile: >> all: >>

Re: cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Marco Atzeri via Cygwin
On 26/02/2024 17:34, Dimitry Andric via Cygwin wrote: Hi, After a recent upgrade of a Cygwin installation, including cygwin1.dll (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) GNU mak

cygwin1.dll 3.5.0-1 appears to cause spurious "error 127" with make 4.4.1

2024-02-26 Thread Dimitry Andric via Cygwin
Hi, After a recent upgrade of a Cygwin installation, including cygwin1.dll (see https://cygwin.com/pipermail/cygwin/2024-February/255308.html) to 3.5.0-1, I now get spurious "error 127" messages from (Cygwin's copy of) GNU make 4.4.1-2, when it starts external processes and

Re: cl: on failure - there is no shell error code returned with cygwin-3.5.0-1

2024-02-21 Thread Satish Balay via Cygwin
On Thu, 22 Feb 2024, Takashi Yano wrote: > On Thu, 22 Feb 2024 11:46:39 +0530 (IST) Satish Balay wrote: > > With cygwin upgrade to 3.5.0-1 - I'm not seeing "error return codes" on > > compile failures. > Thanks for the report. > This bug has already has bee

Re: cl: on failure - there is no shell error code returned with cygwin-3.5.0-1

2024-02-21 Thread Takashi Yano via Cygwin
run 'cl /c test.c' > > With cygwin upgrade to 3.5.0-1 - I'm not seeing "error return codes" on > compile failures. > > However - this works again after downgrading to 3.4.10-1. > > Note: This works with 3.5.0-1 - if I use 'mintty'

cl: on failure - there is no shell error code returned with cygwin-3.5.0-1

2024-02-21 Thread Satish Balay via Cygwin
Usage: Invoke 'cl' from cygwin/bash. i.e: - run 'Visual Studio CMD' to setup MS compilers in dos shell - run 'c:\cygwin64\cygwin.bat' [or 'c:\cygwin64\bin\bash --login'] - run 'cl /c test.c' With cygwin upgrade to 3.5.0-1 - I'm not see

Re: I am getting an error trying to use openssl 1.1.1v in cygwin

2024-02-18 Thread marco atzeri via Cygwin
On Sun, Feb 18, 2024 at 3:40 PM Cary Lewis via Cygwin wrote: > > Attempting to run: > > openssl enc -base64 -i file > > gives the following error: > > 42949672976:error:25066067:DSO support routines:dlfcn_load:could not load > the shared library:crypto/d

I am getting an error trying to use openssl 1.1.1v in cygwin

2024-02-18 Thread Cary Lewis via Cygwin
Attempting to run: openssl enc -base64 -i file gives the following error: 42949672976:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:118:filename(libproviders.dll): No such file or directory 42949672976:error:25070067:DSO support

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-05 Thread David Allsopp via Cygwin
On Sat, 3 Feb 2024 at 19:25, Corinna Vinschen wrote: > > Sorry to say that, but SetThreadErrorMode/CreateProcess don't do what we > > want them to do. I just tested this myself with a modified Cygwin DLL > > (code below) and it turns out that the child process error mode

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-03 Thread Corinna Vinschen via Cygwin
inna Vinschen via Cygwin wrote: > > > > > Is it actually a safe bet that the error mode set by > > > > > SetThreadErrorMode > > > > > is then propagated as process error mode to the child process? > > > > > > > > > > I ha

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-03 Thread Jeremy Drake via Cygwin
uot;right" is the reason the flag/option was re-added in MSYS2. I think the most "right" thing Cygwin could do (if it were to only do one thing, rather than having an option) would be to somehow have native processes inherit the error mode as though Cygwin were not in the mix. The issu

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-03 Thread Corinna Vinschen via Cygwin
On Feb 2 19:51, Corinna Vinschen via Cygwin wrote: > On Feb 2 18:22, Corinna Vinschen via Cygwin wrote: > > On Feb 2 14:56, David Allsopp via Cygwin wrote: > > > On Fri, 2 Feb 2024 at 14:18, Corinna Vinschen via Cygwin wrote: > > > > Is it actually a safe

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-02 Thread Corinna Vinschen via Cygwin
the > > > > call to CreateProcess for a non-Cygwin binary, Cygwin restores the > > > > error mode (for that thread only) to the value read at startup, calls > > > > CreateProcess and then sets the error mode back. > > > > > > This sounds like a good

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-02 Thread Corinna Vinschen via Cygwin
e change), but in some ways perhaps Cygwin > > > should be using GetErrorMode on startup and instead of not inheriting > > > it, ensuring that it sets whatever it received? i.e. just before the > > > call to CreateProcess for a non-Cygwin binary, Cygwin restores the > &

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-02 Thread David Allsopp via Cygwin
ly suggesting it be done this way (it feels more complicated > > than just reverting the change), but in some ways perhaps Cygwin > > should be using GetErrorMode on startup and instead of not inheriting > > it, ensuring that it sets whatever it received? i.e. just before the > &

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-02 Thread Corinna Vinschen via Cygwin
on startup and instead of not inheriting > it, ensuring that it sets whatever it received? i.e. just before the > call to CreateProcess for a non-Cygwin binary, Cygwin restores the > error mode (for that thread only) to the value read at startup, calls > CreateProcess and then sets the error

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-02 Thread David Allsopp via Cygwin
ing it be done this way (it feels more complicated than just reverting the change), but in some ways perhaps Cygwin should be using GetErrorMode on startup and instead of not inheriting it, ensuring that it sets whatever it received? i.e. just before the call to CreateProcess for a non-Cygwin binary,

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-02 Thread David Allsopp via Cygwin
On Fri, 2 Feb 2024 at 12:55, Corinna Vinschen via Cygwin wrote: > On Feb 2 09:43, David Allsopp via Cygwin wrote: > > On Thu, 1 Feb 2024 at 10:02, Corinna Vinschen via Cygwin > > wrote: > > > > > > The behaviour changed in 2020 > > > > > > https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-02 Thread Jon Turney via Cygwin
w would you get the behaviour you want? I guess perhaps what's needed here is a command-wrapper tool like 'nice' or 'env' which lets you run a command with the error-handling mode you want. But that must already exist for Windows, right? :) -- Problem reports: ht

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-02 Thread Corinna Vinschen via Cygwin
On Feb 2 09:43, David Allsopp via Cygwin wrote: > On Thu, 1 Feb 2024 at 10:02, Corinna Vinschen via Cygwin > wrote: > > > > The behaviour changed in 2020 > > > > https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=21ec498d7f912 > > > > not without a discussion > > > > https://cygwin.com/pi

Re: Restore SEM_FAILCRITICALERRORS [was: Aren't Windows System Error popups meant to be disabled in Cygwin?]

2024-02-02 Thread David Allsopp via Cygwin
On Thu, 1 Feb 2024 at 10:02, Corinna Vinschen via Cygwin wrote: > > The behaviour changed in 2020 > > https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=21ec498d7f912 > > not without a discussion > > https://cygwin.com/pipermail/cygwin-patches/2020q4/010870.html Aha, thank you! (congrats

Re: Aren't Windows System Error popups meant to be disabled in Cygwin?

2024-02-01 Thread Brian Inglis via Cygwin
v%d\n", ZSTD_versionNumber()); } and compiling with x86_64-w64-mingw32-gcc -o test.exe test.c -lzstd when I then run ./test.exe, I get the Windows critical-error-handler dialog stating "The code execution cannot proceed because libzstd-1.dll was not found. Reinstalling the program may fix this problem.&q

Re: Aren't Windows System Error popups meant to be disabled in Cygwin?

2024-02-01 Thread Corinna Vinschen via Cygwin
s test, there is no popup displayed. However, it also calls > Cygwin's sh and _that_ executes that program too, so something like > "C:\cygwin64\bin\sh -c "./test.exe | sed ..." but then the popup error > message appears. So somewhere along the line, Cygwin appears to be > res

Re: Aren't Windows System Error popups meant to be disabled in Cygwin?

2024-02-01 Thread David Allsopp via Cygwin
ogram too, so something like "C:\cygwin64\bin\sh -c "./test.exe | sed ..." but then the popup error message appears. So somewhere along the line, Cygwin appears to be resetting the system error mode, and that appears contrary to previous (old) messages on the subject. Thanks, David

Re: Aren't Windows System Error popups meant to be disabled in Cygwin?

2024-02-01 Thread David Allsopp via Cygwin
dard v%d\n", ZSTD_versionNumber()); > > } > > > > and compiling with > > > > x86_64-w64-mingw32-gcc -o test.exe test.c -lzstd > > > > when I then run ./test.exe, I get the Windows critical-error-handler > > dialog stating "The code exec

Re: Aren't Windows System Error popups meant to be disabled in Cygwin?

2024-01-31 Thread Brian Inglis via Cygwin
exe, I get the Windows critical-error-handler dialog stating "The code execution cannot proceed because libzstd-1.dll was not found. Reinstalling the program may fix this problem." My question is not how to fix the problem (I'm well aware of that), but rather why that message is being

Re: Aren't Windows System Error popups meant to be disabled in Cygwin?

2024-01-31 Thread marco atzeri via Cygwin
x86_64-w64-mingw32-gcc -o test.exe test.c -lzstd > > when I then run ./test.exe, I get the Windows critical-error-handler > dialog stating "The code execution cannot proceed because > libzstd-1.dll was not found. Reinstalling the program may fix this > problem." > > My q

Re: Aren't Windows System Error popups meant to be disabled in Cygwin?

2024-01-31 Thread René Berber via Cygwin
exe, I get the Windows critical-error-handler dialog stating "The code execution cannot proceed because libzstd-1.dll was not found. Reinstalling the program may fix this problem." [snip] x86_64-w64-mingw32-gcc is a cross compiler, a.k.a. the Mingw compiler, not Cygwin's gcc.

Aren't Windows System Error popups meant to be disabled in Cygwin?

2024-01-31 Thread David Allsopp via Cygwin
Starting with this very trivial C program: #include #include int main(void) { printf("Zstandard v%d\n", ZSTD_versionNumber()); } and compiling with x86_64-w64-mingw32-gcc -o test.exe test.c -lzstd when I then run ./test.exe, I get the Windows critical-error-handler dialog st

Re: "Internal Error: gcrypt library error 60 illegal tag." when scripting

2024-01-02 Thread James Hanley via Cygwin
Thanks, Jon - I've removed the parameter for ' http://cygwinports.org/ports.gpg' and I'm not entirely sure why I had it there in the first place. However, on removing the parameter, I now get the error for every referenced site in the script "Unable to get setup from

Re: "Internal Error: gcrypt library error 60 illegal tag." when scripting

2023-12-22 Thread Jon Turney via Cygwin
On 22/12/2023 14:41, James Hanley via Cygwin wrote: when running the following script below - I always get the error indicated in the subject line. If I click another site from the UI then after it works fine. If I change the script to reflect that selected site from the UI and re-run, I get

"Internal Error: gcrypt library error 60 illegal tag." when scripting

2023-12-22 Thread James Hanley via Cygwin
when running the following script below - I always get the error indicated in the subject line. If I click another site from the UI then after it works fine. If I change the script to reflect that selected site from the UI and re-run, I get the same error mentioned. Any ideas? ""&

Re: Command 'net user' outputs error message if PKA is used

2023-11-27 Thread Shaddy Baddah via Cygwin
Hi, On 27/11/2023 7:51 pm, tk--- via Cygwin wrote: Any idea why this is happening ? I suspect the reason is related to this long standing understanding of Cygwin: https://sourceware.org/legacy-ml/cygwin/2004-09/msg00087.html On 03/09/2004 2:13 am, Corinna Vinschen wrote: Public Key authenti

Command 'net user' outputs error message if PKA is used

2023-11-27 Thread tk--- via Cygwin
Hi, We have observed that the command 'NET USER' issues en error message and doesn't display the computer name, even if it completes the command successfully: >>>>> User accounts for \\

Cygwin 3.4.9 - Error starting cygsshd service

2023-11-21 Thread Matthias--- via Cygwin
o" to use StrictMode and "yes" to install sshd as a service I just press for the question for "Value of CYGWIN for the daemon". cygrunsrv -S cygsshd will not start the sshd. "QueryServiceStatus: Win32 error 1062:" I tried "ssh-keygen -A" - but no key

Re: Another confusing error from someone else's Cygwin setup

2023-11-06 Thread Andrey Repin via Cygwin
that I wrote, and he gets a seemingly nonsensical > error that I don't understand. > The script starts out pretty simply, just like this: > -- > #! /bin/bash > #set -x > main() { > if [ "$1" == "" ]; then > usage; > exit; > fi >

Re: [pkg cygwin-devel] /usr/include/sys/cpuset.h:52 error: missing return type

2023-09-08 Thread Jon Turney via Cygwin
, but couldn't find the repo for cygwin-devel anywhere. This error was introduced with the most recent update to cpuset.h. There is a public-visible mirror of the Cygwin tree at     https://github.com/cygwin/cygwin/blob/main/winsup/cygwin and the problematic file can be found at     i

  1   2   3   4   5   6   7   8   9   10   >