Re: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Brian Inglis

On 2021-12-10 13:19, Kutty, Rejeesh wrote:

Renamed that DLL -- same behavior, and same  access violation in WinDbg.
Killed all Beyond Trust Services/Tasks -- same behavior.


You will probably need to restart Windows after any changes in order to 
unload or reload DLLs and associated data.



Does WinDBG still show the DLL loaded?


> No it didn't, but it reported access violation after RPCRT4.dll.
> (This is the RPC API, as per google).

Many of these apps have difficulty handling dynamic modification, 
cleanly removing themselves from the call or message chains they insert 
themselves into, transparently passing along arbitrary calls, data, 
events, or messages, especially when application code is multithreaded 
and reentrant using mutexes and waits.


Beyond Trust is on the Cygwin Big List of Dodgy Apps: poorly written 
(often so-called "anti-malware", "anti-virus", or "security") software 
that monitors, logs, blocks, and/or interferes with normal operation of 
many applications, with effects sometimes indistinguishable from 
malware, and known to prevent Cygwin working properly; see:


https://cygwin.com/faq/faq.html#faq.using.bloda

Beyond Trust has caused problems because its certs became outdated 
unless you kept the product and its certs updated. Try updating the 
product and check its certs are up to date in the cert store.
If that fails you may need to raise a case with the product vendor 
regarding Cygwin 64; especially useful to mention:


https://www.cygwin.com/faq.html#faq.api.fork

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

--
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


RE: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Kutty, Rejeesh


No it didn't, but it reported access violation after RPCRT4.dll.
(This is the RPC API, as per google).

-Original Message-
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C]  
Sent: Friday, December 10, 2021 3:17 PM
To: Kutty, Rejeesh ; cygwin@cygwin.com
Subject: RE: setup-x86_64.exe does not start in win10 20H2

[External]

> Renamed that DLL -- same behavior, and same  access violation in WinDbg.
> Killed all Beyond Trust Services/Tasks -- same behavior.

Does WinDBG still show the DLL loaded?

Anton Lavrentiev
Contractor NIH/NLM/NCBI

-- 
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


RE: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Renamed that DLL -- same behavior, and same  access violation in WinDbg.
> Killed all Beyond Trust Services/Tasks -- same behavior.

Does WinDBG still show the DLL loaded?

Anton Lavrentiev
Contractor NIH/NLM/NCBI

-- 
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


RE: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Kutty, Rejeesh
I tried two things (though may not make sense).

Renamed that DLL -- same behavior, and same  access violation in WinDbg.
Killed all Beyond Trust Services/Tasks -- same behavior.


-Original Message-
From: Cygwin  On Behalf Of 
Ken Brown
Sent: Friday, December 10, 2021 1:29 PM
To: cygwin@cygwin.com
Subject: Re: setup-x86_64.exe does not start in win10 20H2

[External]

On 12/10/2021 12:12 PM, Kutty, Rejeesh wrote:
> Google says it is part of the Beyond Trust stuff, for security?
> I couldn't find anything that tells me how to disable it.
> Is this DLL the problem?

Could be.  Is Beyond Trust something that you have control over?  Can you 
uninstall it, or temporarily suspend it, or tell it to exclude certain 
directories?

Ken

-- 
Problem reports:  
https://urldefense.com/v3/__https://cygwin.com/problems.html__;!!A3Ni8CS0y2Y!svGaMBRZaWA6cka50TBFP2PYTAVYdIG7Pi8yVgvvn_3Up9m8v_SPOmZkY2mLWW7n9z8$
 
FAQ:  
https://urldefense.com/v3/__https://cygwin.com/faq/__;!!A3Ni8CS0y2Y!svGaMBRZaWA6cka50TBFP2PYTAVYdIG7Pi8yVgvvn_3Up9m8v_SPOmZkY2mLuvozMME$
 
Documentation:
https://urldefense.com/v3/__https://cygwin.com/docs.html__;!!A3Ni8CS0y2Y!svGaMBRZaWA6cka50TBFP2PYTAVYdIG7Pi8yVgvvn_3Up9m8v_SPOmZkY2mLJd1xOEo$
 
Unsubscribe info: 
https://urldefense.com/v3/__https://cygwin.com/ml/*unsubscribe-simple__;Iw!!A3Ni8CS0y2Y!svGaMBRZaWA6cka50TBFP2PYTAVYdIG7Pi8yVgvvn_3Up9m8v_SPOmZkY2mL0sP5jXE$
 

-- 
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


Re: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Ken Brown

On 12/10/2021 12:12 PM, Kutty, Rejeesh wrote:

Google says it is part of the Beyond Trust stuff, for security?
I couldn't find anything that tells me how to disable it.
Is this DLL the problem?


Could be.  Is Beyond Trust something that you have control over?  Can you 
uninstall it, or temporarily suspend it, or tell it to exclude certain directories?


Ken

--
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


RE: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Kutty, Rejeesh
Google says it is part of the Beyond Trust stuff, for security?
I couldn't find anything that tells me how to disable it.
Is this DLL the problem?

-Original Message-
From: Cygwin  On Behalf Of 
Ken Brown
Sent: Friday, December 10, 2021 11:45 AM
To: cygwin@cygwin.com
Subject: Re: setup-x86_64.exe does not start in win10 20H2

[External]

On 12/10/2021 9:39 AM, Kutty, Rejeesh wrote:
> I can't  launch setup-x86_64.exe, but setup-x86 runs fine.
[...]
> ModLoad: 7ffd`4371 7ffd`4374a000   
> C:\WINDOWS\SYSTEM32\privman64.dll

What is this and why is it being loaded?

Ken

-- 
Problem reports:  
https://urldefense.com/v3/__https://cygwin.com/problems.html__;!!A3Ni8CS0y2Y!pcqILE6VYZ3kuNafrVyFcuPl78qLVLvCZ8TDCtcZOeP39W6lRqsjZ7q5B_U2w1cPnrY$
 
FAQ:  
https://urldefense.com/v3/__https://cygwin.com/faq/__;!!A3Ni8CS0y2Y!pcqILE6VYZ3kuNafrVyFcuPl78qLVLvCZ8TDCtcZOeP39W6lRqsjZ7q5B_U2LSeCxDU$
 
Documentation:
https://urldefense.com/v3/__https://cygwin.com/docs.html__;!!A3Ni8CS0y2Y!pcqILE6VYZ3kuNafrVyFcuPl78qLVLvCZ8TDCtcZOeP39W6lRqsjZ7q5B_U2TGoD1FI$
 
Unsubscribe info: 
https://urldefense.com/v3/__https://cygwin.com/ml/*unsubscribe-simple__;Iw!!A3Ni8CS0y2Y!pcqILE6VYZ3kuNafrVyFcuPl78qLVLvCZ8TDCtcZOeP39W6lRqsjZ7q5B_U23r0nYsU$
 

-- 
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


Re: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Ken Brown

On 12/10/2021 9:39 AM, Kutty, Rejeesh wrote:

I can't  launch setup-x86_64.exe, but setup-x86 runs fine.

[...]

ModLoad: 7ffd`4371 7ffd`4374a000   C:\WINDOWS\SYSTEM32\privman64.dll


What is this and why is it being loaded?

Ken

--
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


RE: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Kutty, Rejeesh


MD5SUM from bash shell: (seems to match)

[/cygdrive/c/Users/rkutty/Downloads]> md5sum setup-*x86_64.exe
82f0a6cf3a2b228acf0b2009dc6f6d42 *setup-2.909.x86_64.exe
02bf8c1db4b4e5ead39c1812bd13 *setup-2.910-3-g217aad.x86_64.exe
be948258a63ff971c6f21ebc2a8af43e *setup-2.910.x86_64.exe
82f0a6cf3a2b228acf0b2009dc6f6d42 *setup-x86_64.exe

Trying in a different folder on command prompt:

c:\TEMP>setup-2.910.x86_64.exe -V

But If I run 32bit:

c:\TEMP>setup-x86.exe -V

c:\TEMP>Cygwin setup 2.909

c:\TEMP>



-Original Message-
From: Cygwin  On Behalf Of 
Marco Atzeri
Sent: Friday, December 10, 2021 10:31 AM
To: cygwin@cygwin.com
Subject: Re: setup-x86_64.exe does not start in win10 20H2

[External]

On 10.12.2021 16:19, Kutty, Rejeesh wrote:
> 
> Thanks,
> 
> I did try deleting, re-downloading many times, no luck.
> I also tried the following versions from the link you gave me 
> (cygwin.com/setup/):
> 
> setup-2.909.x86_64.exe
> setup-2.910.x86_64.exe
> setup-2.910-3-g217aad.x86_64.exe
> 
> All behave the same way.
> 

can you check the files ?

$ md5sum setup-*x86_64.exe
be948258a63ff971c6f21ebc2a8af43e *setup-2.910.x86_64.exe
02bf8c1db4b4e5ead39c1812bd13 *setup-2.910-3-g217aad.x86_64.exe
82f0a6cf3a2b228acf0b2009dc6f6d42 *setup-x86_64.exe

additional, as I see

CommandLine: C:\Users\rkutty\Downloads\setup-x86_64.exe

Can you also try to run it in a different directory like C:\TEMP ?


-- 
Problem reports:  
https://urldefense.com/v3/__https://cygwin.com/problems.html__;!!A3Ni8CS0y2Y!twvpymEizoN61iP3hZzPtTY-xon0FL_RCITMP0pPncMKipVHe8kqbEY7FV-ItQuIXZY$
 
FAQ:  
https://urldefense.com/v3/__https://cygwin.com/faq/__;!!A3Ni8CS0y2Y!twvpymEizoN61iP3hZzPtTY-xon0FL_RCITMP0pPncMKipVHe8kqbEY7FV-I2HWLH_w$
 
Documentation:
https://urldefense.com/v3/__https://cygwin.com/docs.html__;!!A3Ni8CS0y2Y!twvpymEizoN61iP3hZzPtTY-xon0FL_RCITMP0pPncMKipVHe8kqbEY7FV-ImxtVucA$
 
Unsubscribe info: 
https://urldefense.com/v3/__https://cygwin.com/ml/*unsubscribe-simple__;Iw!!A3Ni8CS0y2Y!twvpymEizoN61iP3hZzPtTY-xon0FL_RCITMP0pPncMKipVHe8kqbEY7FV-Ir-t2QcA$
 

-- 
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


Re: Native ARM support for Cygwin

2021-12-10 Thread Arthur Norman

I expect a crawling speed when running Cygwin in a ARM x86_64
emulation mode

When I tried that a while ago on a macbook air m1 I was actually quite 
impressed. I ran windows-10-for-arm within UTM on the Mac. This was back 
in August and at that time ar least I had some misery with networking in 
the Windows world. Native ARM code runs with very little slowdown under 
Windows/UTM but what astonished me was that my own code running under 
cygwin-x86_64 in that world was maybe only a factor of 3 down on the same 
code native built on the Mac. So a slowdown but the Mac m1 is sufficiently 
fast that that is not really a crawl. I have not tried more recently and 
am concerned with rumours that Microsoft may withdraw x86_64 emulation 
from W10 (but keep it in W11), and with concerns about windows-for-arm 
licenses for use in a virtual environment.

Arthur





--
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


Re: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Marco Atzeri

On 10.12.2021 16:19, Kutty, Rejeesh wrote:


Thanks,

I did try deleting, re-downloading many times, no luck.
I also tried the following versions from the link you gave me 
(cygwin.com/setup/):

setup-2.909.x86_64.exe
setup-2.910.x86_64.exe
setup-2.910-3-g217aad.x86_64.exe

All behave the same way.



can you check the files ?

$ md5sum setup-*x86_64.exe
be948258a63ff971c6f21ebc2a8af43e *setup-2.910.x86_64.exe
02bf8c1db4b4e5ead39c1812bd13 *setup-2.910-3-g217aad.x86_64.exe
82f0a6cf3a2b228acf0b2009dc6f6d42 *setup-x86_64.exe

additional, as I see

CommandLine: C:\Users\rkutty\Downloads\setup-x86_64.exe

Can you also try to run it in a different directory
like C:\TEMP ?


--
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


Re: Re: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Kutty, Rejeesh


Thanks,

I did try deleting, re-downloading many times, no luck.
I also tried the following versions from the link you gave me 
(cygwin.com/setup/):

setup-2.909.x86_64.exe
setup-2.910.x86_64.exe
setup-2.910-3-g217aad.x86_64.exe

All behave the same way.



-- 
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


Re: Native ARM support for Cygwin

2021-12-10 Thread Marco Atzeri

On 10.12.2021 15:18, Jon Turney wrote:

On 08/12/2021 11:12, Corinna Vinschen wrote:

On DecĀ  8 02:07, Aaron Franke via Cygwin wrote:

Hello Cygwin,
I am wondering what are the plans for adding support for native ARM64
Windows to Cygwin.
Currently there are only downloads for x86 (both 32-bit and 64-bit),
but not for ARM.
I do see in the FAQ that there is a mention of how ARM systems can run
the x86 version of Cygwin, however I am interested in a native ARM64


That FAQ is out of date, since with a sufficiently recent Windows 
(Windows 11, I think), ARM also has x86_64 emulation (which should be 
preferred).




I expect a crawling speed when running Cygwin in a ARM x86_64
emulation mode

--
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


Re: setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Marco Atzeri

 On 10.12.2021 15:39, Kutty, Rejeesh wrote:

Hi,

I can't  launch setup-x86_64.exe, but setup-x86 runs fine.



Hi Kutty,

It works fine on my W10 21H1

May be a corrupted download ?
Can you download it again ?


You can also try the last setup snapshots:

https://sourceware.org/pipermail/cygwin/2021-December/250130.html


--
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


setup-x86_64.exe does not start in win10 20H2

2021-12-10 Thread Kutty, Rejeesh
Hi,

I can't  launch setup-x86_64.exe, but setup-x86 runs fine.

PC Info:

Windows 10, 20H2, OS build: 19042.1348
64-bit operating system, x64-based processor
Windows Feature Experience Pack 120.2212.3920.0

I tried to run from a command prompt, same behavior.
I tried various flags, -B, -a, -t, -V, same behavior.

I tried to debug using the WinDBG tool, here is the output:
Apologies in advance, if the following is irrelevant.

Microsoft (R) Windows Debugger Version 10.0.22000.194 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: C:\Users\rkutty\Downloads\setup-x86_64.exe

* Path validation summary **
Response Time (ms) Location
Deferred   srv*
Symbol search path is: srv*
Executable search path is:
ModLoad: `0040 `008e4000   image`0040
ModLoad: 7ffd`4629 7ffd`46485000   ntdll.dll
ModLoad: 7ffd`45cc 7ffd`45d7e000   C:\WINDOWS\System32\KERNEL32.DLL
ModLoad: 7ffd`439b 7ffd`43c78000   
C:\WINDOWS\System32\KERNELBASE.dll
ModLoad: 7ffd`4476 7ffd`4480c000   C:\WINDOWS\System32\ADVAPI32.DLL
ModLoad: 7ffd`45e3 7ffd`45ece000   C:\WINDOWS\System32\msvcrt.dll
ModLoad: 7ffd`459f 7ffd`45a8b000   C:\WINDOWS\System32\sechost.dll
ModLoad: 7ffd`44b4 7ffd`44c6a000   C:\WINDOWS\System32\RPCRT4.dll
(1a1c.3788): Break instruction exception - code 8003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
7ffd`463606b0 cc  int 3
0:000> g
ModLoad: 7ffd`4371 7ffd`4374a000   C:\WINDOWS\SYSTEM32\privman64.dll
ModLoad: 7ffd`4493 7ffd`44ad1000   C:\WINDOWS\System32\USER32.dll
ModLoad: 7ffd`43d8 7ffd`43da2000   C:\WINDOWS\System32\win32u.dll
ModLoad: 7ffd`44c7 7ffd`44c9b000   C:\WINDOWS\System32\GDI32.dll
ModLoad: 7ffd`43fd 7ffd`440db000   C:\WINDOWS\System32\gdi32full.dll
ModLoad: 7ffd`440e 7ffd`4417d000   C:\WINDOWS\System32\msvcp_win.dll
ModLoad: 7ffd`43c8 7ffd`43d8   C:\WINDOWS\System32\ucrtbase.dll
ModLoad: 7ffd`44e5 7ffd`4558f000   C:\WINDOWS\System32\SHELL32.dll
ModLoad: 7ffd`44ca 7ffd`44dca000   C:\WINDOWS\System32\ole32.dll
ModLoad: 7ffd`4559 7ffd`458e5000   C:\WINDOWS\System32\combase.dll
ModLoad: 7ffd`44ae 7ffd`44b35000   C:\WINDOWS\System32\SHLWAPI.dll
ModLoad: 7ffd`4387 7ffd`4389e000   C:\WINDOWS\SYSTEM32\USERENV.dll
ModLoad: 7ffd`458f 7ffd`4592   C:\WINDOWS\System32\IMM32.DLL
(1a1c.3788): Access violation - code c005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** WARNING: Unable to verify timestamp for 
C:\Users\rkutty\Downloads\setup-x86_64.exe
setup_x86_64+0xe34dd:
`004e34dd add byte ptr [rax],al 
ds:`0224=??
0:000> g
(1a1c.3788): Access violation - code c005 (!!! second chance !!!)
setup_x86_64+0xe34dd:
`004e34dd add byte ptr [rax],al 
ds:`0224=??
0:000> g
(1a1c.3788): Access violation - code c005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
setup_x86_64+0xe34dd:
`004e34dd add byte ptr [rax],al 
ds:`0224=??

Thanks,
Rejeesh

-- 
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


Re: Native ARM support for Cygwin

2021-12-10 Thread Jon Turney

On 08/12/2021 11:12, Corinna Vinschen wrote:

On Dec  8 02:07, Aaron Franke via Cygwin wrote:

Hello Cygwin,
I am wondering what are the plans for adding support for native ARM64
Windows to Cygwin.
Currently there are only downloads for x86 (both 32-bit and 64-bit),
but not for ARM.
I do see in the FAQ that there is a mention of how ARM systems can run
the x86 version of Cygwin, however I am interested in a native ARM64


That FAQ is out of date, since with a sufficiently recent Windows 
(Windows 11, I think), ARM also has x86_64 emulation (which should be 
preferred).


--
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


Re: Help with the prunepaths option with findutils updatedb locate

2021-12-10 Thread Keith Christian
Brian,

Thanks very much for the prunepaths regexes, the /proc/filesystems output,
mount command, and info and man command lines, and the suggestions for
better posting.

-- 
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