Greetings, Andrey Repin!
> I've got a problem with recent Cygwin and some old scripts of mine.
> Particularly, the script at one point trying to normalize EOL's in a file so
> that following operations run smooth.
> But the step fails with message about permission changes.
> The problem is,
> 1. the file is located on a network share and
> 2. it is a noacl share.
> The scripts were running fine several months ago and nothing has сhanged on
> host and remore except Cygwin itself.
Even weirder, patch exhibits the same behavior, and trying to strace it
produces a segfault.
What remained of the strace output is attached.
--
With best regards,
Andrey Repin
Saturday, January 1, 2022 14:30:20
Sorry for my terrible english...
--- Process 34896 created
--- Process 34896 loaded C:\Windows\System32\ntdll.dll at 0000000077970000
--- Process 34896 loaded C:\Windows\System32\kernel32.dll at 0000000077850000
--- Process 34896 loaded C:\Windows\System32\KernelBase.dll at 000007fefd5c0000
--- Process 34896 loaded C:\Programs\Cygwin_64\bin\cygattr-1.dll at
00000003f0590000
--- Process 34896 loaded C:\Programs\Cygwin_64\bin\cygwin1.dll at
0000000180040000
--- Process 34896 loaded C:\Programs\Cygwin_64\bin\cygintl-8.dll at
00000003e4d20000
--- Process 34896 loaded C:\Programs\Cygwin_64\bin\cygiconv-2.dll at
00000003eac60000
--- Process 34896 loaded C:\Windows\System32\apphelp.dll at 000007fefd2c0000
--- Process 34896 loaded C:\Windows\AppPatch\AppPatch64\AcGenral.dll at
000007fef0530000
--- Process 34896 loaded C:\Windows\System32\sspicli.dll at 000007fefd290000
--- Process 34896 loaded C:\Windows\System32\msvcrt.dll at 000007feff980000
--- Process 34896 loaded C:\Windows\System32\rpcrt4.dll at 000007fefee40000
--- Process 34896 loaded C:\Windows\System32\shlwapi.dll at 000007feffa20000
--- Process 34896 loaded C:\Windows\System32\gdi32.dll at 000007feff150000
--- Process 34896 loaded C:\Windows\System32\user32.dll at 0000000077750000
--- Process 34896 loaded C:\Windows\System32\lpk.dll at 000007fefe8e0000
--- Process 34896 loaded C:\Windows\System32\usp10.dll at 000007fefeaf0000
--- Process 34896 loaded C:\Windows\System32\ole32.dll at 000007fefe8f0000
--- Process 34896 loaded C:\Windows\System32\shell32.dll at 000007fefdb50000
--- Process 34896 loaded C:\Windows\System32\sfc.dll at 0000000073980000
--- Process 34896 loaded C:\Windows\System32\sfc_os.dll at 000007fef71b0000
--- Process 34896 loaded C:\Windows\System32\userenv.dll at 000007fefd590000
--- Process 34896 loaded C:\Windows\System32\profapi.dll at 000007fefd4c0000
--- Process 34896 loaded C:\Windows\System32\dwmapi.dll at 000007fefa130000
--- Process 34896 loaded C:\Windows\System32\advapi32.dll at 000007feffaa0000
--- Process 34896 loaded C:\Windows\System32\sechost.dll at 000007feff130000
--- Process 34896 loaded C:\Windows\System32\mpr.dll at 000007fef34c0000
0 0 [main] patch (34896)
**********************************************
465 465 [main] patch (34896) Program name:
C:\Programs\Cygwin_64\bin\patch.exe (windows pid 34896)
294 759 [main] patch (34896) OS version: Windows NT-6.1
236 995 [main] patch (34896)
**********************************************
--- Process 34896 loaded C:\Windows\System32\cryptbase.dll at 000007fefd320000
1780 2775 [main] patch (34896) sigprocmask: 0 = sigprocmask (0, 0x0,
0x180320570)
928 3703 [main] patch (34896) open_shared: name shared.5, n 5, shared
0x180030000 (wanted 0x180030000), h 0x80, *m 6
323 4026 [main] patch (34896) user_heap_info::init: heap base 0x800000000,
heap top 0x800000000, heap size 0x20000000 (536870912)
282 4308 [main] patch (34896) open_shared: name
S-1-5-21-2916456319-725650362-4229827469-1000.1, n 1, shared 0x180020000
(wanted 0x180020000), h 0x7C, *m 6
236 4544 [main] patch (34896) user_info::create: opening user shared for
'S-1-5-21-2916456319-725650362-4229827469-1000' at 0x180020000
318 4862 [main] patch (34896) user_info::create: user shared version
AB1FCCE8
297 5159 [main] patch (34896) fhandler_pipe::create: name
\\.\pipe\cygwin-4a2207ae32d95ad5-34896-sigwait, size 11440, mode
PIPE_TYPE_MESSAGE
218 5377 [main] patch (34896) fhandler_pipe::create: pipe read handle 0x94
177 5554 [main] patch (34896) fhandler_pipe::create: CreateFile: name
\\.\pipe\cygwin-4a2207ae32d95ad5-34896-sigwait
178 5732 [main] patch (34896) fhandler_pipe::create: pipe write handle 0x98
174 5906 [main] patch (34896) dll_crt0_0: finished dll_crt0_0
initialization
--- Process 34896 loaded C:\Windows\System32\imm32.dll at 000007feff100000
--- Process 34896 loaded C:\Windows\System32\msctf.dll at 000007feff870000
--- Process 34896, exception c0000005 at 0000000000000001
--- Process 34896 exited with status 0xc0000005
--
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