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: gcc version

2025-05-22 Thread Lee via Cygwin
On Thu, May 22, 2025 at 1:58 PM lostbits via Cygwin wrote: > > Win 11-64 > > Are the version numbers for gcc correct? You have listed the latest gcc > (version 15.1) when I search packages but: > > > gcc --version > > shows version 12.4.0. My setup-x86_64.exe version is 2.933. > > The version show

Re: bash::SIGSEGV in timegm () from D:\cygwin64\bin\cygwin1.dll

2025-05-22 Thread Jon Turney via Cygwin
On 22/05/2025 19:55, Brian Inglis via Cygwin wrote: On 2025-05-22 10:07, ASSI via Cygwin wrote: Gary Liddle via Cygwin writes: Thanks for the link, but all the .dbg programmes segfault in:- ie bash.exe.dbg mainCRTStartup () at /usr/src/debug/cygwin-3.4.10-1/winsup/ cygwin/crt0.c:16 fo

Re: gcc links to libcmain when generating a dll

2025-05-22 Thread Brian Inglis via Cygwin
On 2025-05-22 12:37, Arthur Schwarz via Cygwin wrote: I can't figure this one out. > clear;g++ -flinker-output=dyn -o slip.dll *.o generates: /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/ gcc/x86_64-pc-cygwin/12/../../../../lib/libcygwin.a(libcmain.o): in fu

Re: gcc version [SOLVED]

2025-05-22 Thread lostbits via Cygwin
Operator error. Looked at download tool (setup-x86-64.exe) and found that the listing shows the current version and extra steps are needed to show updates. The (really old) setup showed the update version and provided a choice. Sorry for the bother. On 5/22/2025 10:58 AM, lostbits wrote: Win

Re: bug with cygserver-config not working anymore

2025-05-22 Thread Jon Turney via Cygwin
On 02/05/2025 12:16, Takashi Yano via Cygwin wrote: On Wed, 30 Apr 2025 21:30:16 + Christian Lupien wrote: On a recent system install, I tried to install cygserver by executing cygserver-config but it failed saying that cygserver was already running. I have done that same install for many

Re: bash::SIGSEGV in timegm () from D:\cygwin64\bin\cygwin1.dll

2025-05-22 Thread Brian Inglis via Cygwin
On 2025-05-22 10:07, ASSI via Cygwin wrote: Gary Liddle via Cygwin writes: Thanks for the link, but all the .dbg programmes segfault in:- ie bash.exe.dbg mainCRTStartup () at /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/crt0.c:16 for all versions (which might be a clue?). Did

gcc links to libcmain when generating a dll

2025-05-22 Thread Arthur Schwarz via Cygwin
I can't figure this one out. > clear;g++ -flinker-output=dyn -o slip.dll *.o generates: /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../lib/libcygwin.a(libcmain.o): in function `main': /usr/src/debug/cygwin-3.6.1-1/winsup/cygw

gcc version

2025-05-22 Thread lostbits via Cygwin
Win 11-64 Are the version numbers for gcc correct? You have listed the latest gcc (version 15.1) when I search packages but: > gcc --version shows version 12.4.0. My setup-x86_64.exe version is 2.933. The version shown in the local update pop-up is 12.4.0-3. How do I get later versions? t

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

2025-05-22 Thread Jeremy Drake via Cygwin
On Wed, 21 May 2025, Jeremy Drake via Cygwin wrote: > 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 0x2000

Re: bash::SIGSEGV in timegm () from D:\cygwin64\bin\cygwin1.dll

2025-05-22 Thread ASSI via Cygwin
Gary Liddle via Cygwin writes: > Thanks for the link, but all the .dbg programmes segfault in:- > ie bash.exe.dbg > mainCRTStartup () at > /usr/src/debug/cygwin-3.4.10-1/winsup/cygwin/crt0.c:16 > for all versions (which might be a clue?). Did you actually close all Cygwin programs an

Re: bash::SIGSEGV in timegm () from D:\cygwin64\bin\cygwin1.dll

2025-05-22 Thread Gary Liddle via Cygwin
> On 22 May 2025, at 14:30, Jon Turney wrote: > > On 22/05/2025 14:15, Gary Liddle via Cygwin wrote: >> Yesterday I updated Cygwin using setup-x86_64 to the latest non test >> release, and bash —login would no longer start. >> It turns out bash won’t start for me when a .profile runs a sub-co

Re: bash::SIGSEGV in timegm () from D:\cygwin64\bin\cygwin1.dll

2025-05-22 Thread Jon Turney via Cygwin
On 22/05/2025 14:15, Gary Liddle via Cygwin wrote: Yesterday I updated Cygwin using setup-x86_64 to the latest non test release, and bash —login would no longer start. It turns out bash won’t start for me when a .profile runs a sub-command. This is highlighted by:- gdb bash d

bash::SIGSEGV in timegm () from D:\cygwin64\bin\cygwin1.dll

2025-05-22 Thread Gary Liddle via Cygwin
Yesterday I updated Cygwin using setup-x86_64 to the latest non test release, and bash —login would no longer start. It turns out bash won’t start for me when a .profile runs a sub-command. This is highlighted by:- gdb bash dll cygwin1.dll b timegm run b