public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin 3.3.0 regression: "make" segmentation faults
@ 2021-11-15 16:47 Aleksey Shipilev
  2021-11-15 17:32 ` Marco Atzeri
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Aleksey Shipilev @ 2021-11-15 16:47 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 4517 bytes --]

Hi,

OpenJDK project uses Cygwin to drive the OpenJDK build system under Windows. Recently, our GitHub 
Actions (GHA) Windows runs started to fail with make SEGV-ing:
     https://bugs.openjdk.java.net/browse/JDK-8276854

This also reproduces locally for me, with the standard OpenJDK Windows build. All sightings we had 
are on Windows 10, but it is unclear if it is Windows 10 specific.

The reproducer would be a bit hairy, because it requires MSVC 2019, JDK 17 binary, and some other 
dependencies to be installed for OpenJDK build. It goes like this:

------- 8< ------- ------- ------- ------- ------- ------- ------- -------

<open Cygwin shell>
$ git clone https://github.com/openjdk/jdk/ jdk
$ cd jdk
$ sh ./configure --with-boot-jdk=<jdk17-binary> --disable-warnings-as-errors
$ make clean jdk
    ...
Compiling 8 files for BUILD_TOOLS_LANGTOOLS
Compiling 1 files for BUILD_TOOLS_HOTSPOT
Compiling 12 properties into resource bundles for jdk.jdeps
/usr/bin/bash: line 1:  1588 Segmentation fault      (core dumped) /usr/bin/make -s -r -R -I
/cygdrive/d/a/jdk17u/jdk17u/jdk/make/common
SPEC=/cygdrive/d/a/jdk17u/jdk17u/jdk/build/windows-x64/spec.gmk MAKE_LOG_FLAGS="-s" -f
ModuleWrapper.gmk -I /cygdrive/d/a/jdk17u/jdk17u/jdk/make/common/modules
-I/cygdrive/d/a/jdk17u/jdk17u/jdk/make/modules/java.base MODULE=java.base MAKEFILE_PREFIX=Copy
make[2]: *** [make/Main.gmk:157: java.base-copy] Error 139
make[2]: *** Waiting for unfinished jobs....
Compiling 7 properties into resource bundles for jdk.jshell

------- 8< ------- ------- ------- ------- ------- ------- ------- -------

I have managed to bisect this in Cygwin to the difference between 3.2.0 and 3.3.0. Downgrading 
cygwin package to 3.2.0 workarounds this bug. This is the fix we are currently deploying in our 
build infra:
    https://github.com/openjdk/jdk/commit/403f3185f0988dcf6ef4e857d6659533bfa2943f

...but, of course, this is living on borrowed time, while 3.2.0 version is still available.

Any help would be appreciated. I have a working Windows VM where this issue reliably reproduces. 
Perhaps an easier way to follow up on this is to use me as remote hands.

After installing make-devel and doing "ulimit -c unlimited", I have got this stackdump:

Exception: STATUS_ACCESS_VIOLATION at rip=0018017516C
rax=0000000000000001 rbx=00000008004BE630 rcx=0000000000000001
rdx=00000000FFFFFFFF rsi=0000000800000000 rdi=0000000000000001
r8 =FFFFFFFFFFFFFFF1 r9 =0000000000000001 r10=0000000180320880
r11=0000000800000000 r12=0000000000000001 r13=0000000180243A80
r14=0000000000000000 r15=0000000000000000
rbp=0000000800403440 rsp=00000000FFFF99B0
program=C:\cygwin64\bin\make.exe, pid 61490, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
00800403440  0018017516C (00100438940, 00800000000, 00000000001, 00800403440)
00800403440  001800D7C68 (000FFFF9BE7, 00000000000, 000FFFF9BE7, 008004035E0)
00800403440  0018018EB0B (000FFFF9BE7, 00000000000, 000FFFF9BE7, 008004035E0)
00800403440  0010040F513 (000FFFFE410, 001802A4CB0, 00180366E08, 00800071DB0)
00000000000  0010040F68C (00000000000, 001801402B0, 000FFFF9B20, 00100427E70)
00100427D70  001004104E3 (00000000000, 00000000000, 00000000006, 00000000000)
000FFFF9CD0  00100410D5F (7A01C9E544B96FAD, 00100419ED2, 001803231A0, 00800323460)
0080034D8A0  0010041C15F (00000000006, 00000000002, 00000000000, 00000000000)
00000000000  0010041C55E (00000000000, 00000000000, 00000000000, 00000000000)
00000000000  0010041B5B0 (00000000004, 006FFFFFFB9, 303E90000F032, 00180267740)
00000000000  0010041C55E (00000000000, 68F5F1EE9D7B, 00000000000, 00000000103)
00000000000  0010041B5B0 (00000000002, 00000000000, 00100000000, 00000000000)
00000000000  0010041C55E (000800D7C68, 00000000000, 000FFFFA2E8, 008001DA120)
00000000000  0010041B5B0 (53454400000000, 6176652D2A2D2824, 2D7367616C662D6C, 00000292D2A)
00100435590  0010041C985 (00000000000, 001803231A0, 00800075740, 00100429B21)
000FFFFB360  00100426324 (001801B609A, 00000000000, 00000000000, 000FFFFCD30)
000FFFFCD30  00180049B8D (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  00180047746 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  001800477F4 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace

It does not look particularly useful to me, I was hoping for symbol names to be resolved, to be 
honest. I don't know what I am supposed to do next. There is no "core" around, as far as I can see...

-- 
Thanks,
-Aleksey

[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 34722 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Wed Nov 10 10:19:41 2021

Windows 10 Professional Ver 10.0 Build 19041 

Path:	C:\cygwin64\usr\local\bin
	C:\cygwin64\bin
	C:\WINDOWS\system32
	C:\WINDOWS
	C:\WINDOWS\System32\Wbem
	C:\WINDOWS\System32\WindowsPowerShell\v1.0
	C:\WINDOWS\System32\OpenSSH
	C:\Users\test\AppData\Local\Programs\Microsoft VS Code\bin
	C:\Users\test\AppData\Local\Microsoft\WindowsApps

Output from C:\cygwin64\bin\id.exe
UID: 197609(test)
GID: 197121(Отсутствует)
197121(Отсутствует)
545(Пользователи)
559(Пользователи журналов производительности)
4(ИНТЕРАКТИВНЫЕ)
66049(КОНСОЛЬНЫЙ ВХОД)
11(Прошедшие проверку)
15(Данная организация)
113(Локальная учетная запись)
4095(CurrentSession)
66048(ЛОКАЛЬНЫЕ)
262154(Проверка подлинности NTLM)
401408(Средний обязательный уровень)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'test'
PWD = '/home/test'
HOME = '/home/test'

USERDOMAIN = 'DESKTOP-R9FG84F'
OS = 'Windows_NT'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
PROCESSOR_LEVEL = '23'
PSModulePath = 'C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules'
CommonProgramW6432 = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
TZ = 'Europe/Berlin'
HOSTNAME = 'DESKTOP-R9FG84F'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/cygdrive/c/Users/test/Desktop'
USERNAME = 'test'
LOGONSERVER = '\\DESKTOP-R9FG84F'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\test\AppData\Local'
COMPUTERNAME = 'DESKTOP-R9FG84F'
FPS_BROWSER_APP_PROFILE_STRING = 'Internet Explorer'
!:: = '::\'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\test'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
SYSTEMROOT = 'C:\WINDOWS'
USERDOMAIN_ROAMINGPROFILE = 'DESKTOP-R9FG84F'
PROCESSOR_IDENTIFIER = 'AMD64 Family 23 Model 49 Stepping 0, AuthenticAMD'
TMP = '/tmp'
LC_CTYPE = 'ru_RU.UTF-8'
TERM_PROGRAM = 'mintty'
TERM_PROGRAM_VERSION = '3.5.1'
OneDrive = 'C:\Users\test\OneDrive'
PROCESSOR_REVISION = '3100'
FPS_BROWSER_USER_PROFILE_STRING = 'Default'
PROFILEREAD = 'true'
NUMBER_OF_PROCESSORS = '32'
ProgramW6432 = 'C:\Program Files'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
APPDATA = 'C:\Users\test\AppData\Roaming'
SHELL = '/bin/bash'
TERM = 'xterm'
WINDIR = 'C:\WINDOWS'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
MINTTY_SHORTCUT = '/cygdrive/c/Users/Public/Desktop/Cygwin64 Terminal.lnk'
PRINTER = 'Microsoft Print to PDF'
PROGRAMFILES = 'C:\Program Files'
ALLUSERSPROFILE = 'C:\ProgramData'
TEMP = '/tmp'
DriverData = 'C:\Windows\System32\Drivers\DriverData'
SESSIONNAME = 'Console'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
HOMEDRIVE = 'C:'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
HOMEPATH = '\Users\test'
ORIGINAL_PATH = '/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Users/test/AppData/Local/Programs/Microsoft VS Code/bin:/cygdrive/c/Users/test/AppData/Local/Microsoft/WindowsApps'
EXECIGNORE = '*.dll'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\SOFTWARE\Cygwin
HKEY_CURRENT_USER\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin64'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: e022582115c10879 Path: C:\cygwin64
  User:   Key: e022582115c10879 Path: C:\cygwin64

c:  hd  NTFS     70650Mb  75% CP CS UN PA FC    QU  
d:  cd  CDFS        57Mb 100%    CS UN              VBox_GAs_6.1.10
v:  net VBoxSharedFolderFS 1499941Mb  65% CP    UN              VBOX_VBoxExchange
z:  net VBoxSharedFolderFS 1499941Mb  65% CP    UN              VBOX_VBoxExchange

C:\cygwin64      /          system  binary,auto
C:\cygwin64\bin  /usr/bin   system  binary,auto
C:\cygwin64\lib  /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,posix=0,auto

Found: C:\cygwin64\bin\awk
 -> C:\cygwin64\bin\gawk.exe
Found: C:\cygwin64\bin\bash.exe
Found: C:\cygwin64\bin\cat.exe
Found: C:\WINDOWS\system32\certutil.exe
Not Found: clinfo
Found: C:\WINDOWS\system32\comp.exe
Found: C:\WINDOWS\system32\convert.exe
Found: C:\cygwin64\bin\cp.exe
Found: C:\cygwin64\bin\cpp.exe
Not Found: crontab
Found: C:\cygwin64\bin\curl.exe
Found: C:\WINDOWS\system32\curl.exe
Warning: C:\cygwin64\bin\curl.exe hides C:\WINDOWS\system32\curl.exe
Found: C:\cygwin64\bin\expand.exe
Found: C:\WINDOWS\system32\expand.exe
Warning: C:\cygwin64\bin\expand.exe hides C:\WINDOWS\system32\expand.exe
Found: C:\cygwin64\bin\find.exe
Found: C:\WINDOWS\system32\find.exe
Warning: C:\cygwin64\bin\find.exe hides C:\WINDOWS\system32\find.exe
Found: C:\WINDOWS\system32\ftp.exe
Found: C:\cygwin64\bin\gcc.exe
Found: C:\cygwin64\bin\gdb.exe
Found: C:\cygwin64\bin\grep.exe
Found: C:\cygwin64\bin\hostname.exe
Found: C:\WINDOWS\system32\hostname.exe
Warning: C:\cygwin64\bin\hostname.exe hides C:\WINDOWS\system32\hostname.exe
Found: C:\cygwin64\bin\kill.exe
Found: C:\WINDOWS\system32\klist.exe
Found: C:\cygwin64\bin\ld.exe
Found: C:\cygwin64\bin\ls.exe
Found: C:\cygwin64\bin\make.exe
Found: C:\cygwin64\bin\mv.exe
Found: C:\WINDOWS\system32\nslookup.exe
Not Found: patch
Found: C:\cygwin64\bin\perl.exe
Found: C:\WINDOWS\system32\replace.exe
Found: C:\cygwin64\bin\rm.exe
Found: C:\cygwin64\bin\sed.exe
Found: C:\cygwin64\bin\sh.exe
Found: C:\WINDOWS\system32\shutdown.exe
Found: C:\cygwin64\bin\sort.exe
Found: C:\WINDOWS\system32\sort.exe
Warning: C:\cygwin64\bin\sort.exe hides C:\WINDOWS\system32\sort.exe
Found: C:\cygwin64\bin\ssh.exe
Found: C:\WINDOWS\System32\OpenSSH\ssh.exe
Warning: C:\cygwin64\bin\ssh.exe hides C:\WINDOWS\System32\OpenSSH\ssh.exe
Found: C:\cygwin64\bin\tar.exe
Found: C:\WINDOWS\system32\tar.exe
Warning: C:\cygwin64\bin\tar.exe hides C:\WINDOWS\system32\tar.exe
Found: C:\cygwin64\bin\test.exe
Found: C:\cygwin64\bin\timeout.exe
Found: C:\WINDOWS\system32\timeout.exe
Warning: C:\cygwin64\bin\timeout.exe hides C:\WINDOWS\system32\timeout.exe
Found: C:\cygwin64\bin\vi.exe
Not Found: vim
Found: C:\cygwin64\bin\whoami.exe
Found: C:\WINDOWS\system32\whoami.exe
Warning: C:\cygwin64\bin\whoami.exe hides C:\WINDOWS\system32\whoami.exe

   39k 2016/09/19 C:\cygwin64\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygargp-0.dll" v0.0 ts=2016-09-19 02:13
   29k 2021/08/22 C:\cygwin64\bin\cygatomic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygatomic-1.dll" v0.0 ts=2021-08-22 09:57
   19k 2018/12/20 C:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygattr-1.dll" v0.0 ts=2018-12-20 09:48
  254k 2020/03/31 C:\cygwin64\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygblkid-1.dll" v0.0 ts=2020-03-28 06:22
  892k 2018/04/09 C:\cygwin64\bin\cygboost_regex-1_66.dll - os=4.0 img=0.0 sys=5.2
                  "cygboost_regex-1_66.dll" v0.0 ts=2018-04-09 20:30
  132k 2021/04/20 C:\cygwin64\bin\cygbrotlicommon-1.dll - os=4.0 img=1.0 sys=5.2
                  "cygbrotlicommon-1.dll" v0.0 ts=2021-04-20 11:42
   46k 2021/04/20 C:\cygwin64\bin\cygbrotlidec-1.dll - os=4.0 img=1.0 sys=5.2
                  "cygbrotlidec-1.dll" v0.0 ts=2021-04-20 11:42
   66k 2019/07/21 C:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygbz2-1.dll" v0.0 ts=2019-07-22 00:05
   42k 2020/02/17 C:\cygwin64\bin\cygcbor-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcbor-0.dll" v0.0 ts=2020-02-17 12:04
   13k 2019/01/02 C:\cygwin64\bin\cygcom_err-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcom_err-2.dll" v0.0 ts=2019-01-02 02:39
   39k 2017/09/03 C:\cygwin64\bin\cygcrypt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-0.dll" v0.0 ts=2017-09-03 08:18
  193k 2021/05/20 C:\cygwin64\bin\cygcrypt-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-2.dll" v0.0 ts=2021-05-20 09:38
 2198k 2021/10/20 C:\cygwin64\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.0.0.dll" v0.0 ts=2021-10-20 11:33
 2490k 2021/10/20 C:\cygwin64\bin\cygcrypto-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.1.dll" v0.0 ts=2021-10-20 19:07
  661k 2021/09/26 C:\cygwin64\bin\cygcurl-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygcurl-4.dll" v0.0 ts=2021-09-26 01:11
 1552k 2017/09/28 C:\cygwin64\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb-5.3.dll" v0.0 ts=2017-09-28 20:05
  119k 2017/09/28 C:\cygwin64\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_cxx-5.3.dll" v0.0 ts=2017-09-28 20:06
  569k 2017/09/28 C:\cygwin64\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_sql-5.3.dll" v0.0 ts=2017-09-28 20:06
  154k 2013/10/20 C:\cygwin64\bin\cygedit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygedit-0.dll" v0.0 ts=2013-10-20 21:56
  169k 2021/07/23 C:\cygwin64\bin\cygexpat-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygexpat-1.dll" v0.0 ts=2021-07-23 20:08
  353k 2020/03/31 C:\cygwin64\bin\cygfdisk-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygfdisk-1.dll" v0.0 ts=2020-03-28 06:23
   27k 2015/11/17 C:\cygwin64\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygffi-6.dll" v0.0 ts=2015-11-17 22:14
  136k 2020/10/20 C:\cygwin64\bin\cygfido2-1.dll - os=4.0 img=1.5 sys=5.2
                  "cygfido2-1.dll" v0.0 ts=2020-10-20 19:25
   56k 2019/07/28 C:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygformw-10.dll" v0.0 ts=2019-07-28 17:33
  146k 2021/10/13 C:\cygwin64\bin\cyggc-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggc-1.dll" v0.0 ts=2021-10-13 06:55
   74k 2021/08/22 C:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2021-08-22 09:49
 1099k 2018/03/19 C:\cygwin64\bin\cyggcrypt-20.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcrypt-20.dll" v0.0 ts=2018-03-19 20:09
   46k 2019/07/10 C:\cygwin64\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-4.dll" v0.0 ts=2019-07-10 15:06
   49k 2019/07/10 C:\cygwin64\bin\cyggdbm-6.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-6.dll" v0.0 ts=2019-07-10 14:53
   13k 2019/07/10 C:\cygwin64\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm_compat-4.dll" v0.0 ts=2019-07-10 14:53
  582k 2021/08/21 C:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmp-10.dll" v0.0 ts=2021-08-21 19:11
  217k 2021/08/22 C:\cygwin64\bin\cyggomp-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggomp-1.dll" v0.0 ts=2021-08-22 09:53
  116k 2020/02/16 C:\cygwin64\bin\cyggpg-error-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggpg-error-0.dll" v0.0 ts=2020-02-16 21:28
  100k 2017/05/03 C:\cygwin64\bin\cyggsasl-7.dll - os=4.0 img=0.0 sys=5.2
                  "cyggsasl-7.dll" v0.0 ts=2017-05-03 09:33
  274k 2018/03/16 C:\cygwin64\bin\cyggssapi_krb5-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyggssapi_krb5-2.dll" v0.0 ts=2018-03-16 03:38
 1333k 2018/08/07 C:\cygwin64\bin\cygguile-2.0-22.dll - os=4.0 img=0.0 sys=5.2
                  "cygguile-2.0-22.dll" v0.0 ts=2018-08-07 08:10
 1070k 2020/03/13 C:\cygwin64\bin\cygguile-2.2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygguile-2.2-1.dll" v0.0 ts=2020-03-08 21:47
   36k 2021/08/31 C:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
                  "cyghistory7.dll" v0.0 ts=2021-08-31 07:54
 1007k 2020/07/13 C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygiconv-2.dll" v0.0 ts=2020-07-13 13:57
26267k 2018/03/27 C:\cygwin64\bin\cygicudata61.dll - os=4.0 img=0.0 sys=5.2
                  "cygicudata61.dll" v0.0 ts=2018-03-27 02:15
 2339k 2018/03/27 C:\cygwin64\bin\cygicui18n61.dll - os=4.0 img=0.0 sys=5.2
                  "cygicui18n61.dll" v0.0 ts=2018-03-27 02:13
   47k 2018/03/27 C:\cygwin64\bin\cygicuio61.dll - os=4.0 img=0.0 sys=5.2
                  "cygicuio61.dll" v0.0 ts=2018-03-27 02:13
 1506k 2018/03/27 C:\cygwin64\bin\cygicuuc61.dll - os=4.0 img=0.0 sys=5.2
                  "cygicuuc61.dll" v0.0 ts=2018-03-27 02:12
  197k 2017/05/02 C:\cygwin64\bin\cygidn-11.dll - os=4.0 img=0.0 sys=5.2
                  "cygidn-11.dll" v0.0 ts=2017-05-02 01:18
  125k 2021/07/25 C:\cygwin64\bin\cygidn2-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygidn2-0.dll" v0.0 ts=2021-07-25 08:25
   42k 2021/07/29 C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
                  "cygintl-8.dll" v0.0 ts=2021-07-29 03:40
 1560k 2020/03/01 C:\cygwin64\bin\cygisl-22.dll - os=4.0 img=0.0 sys=5.2
                  "cygisl-22.dll" v0.0 ts=2020-03-01 16:46
 1695k 2021/08/21 C:\cygwin64\bin\cygisl-23.dll - os=4.0 img=0.0 sys=5.2
                  "cygisl-23.dll" v0.0 ts=2021-08-21 18:50
  192k 2018/03/16 C:\cygwin64\bin\cygk5crypto-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygk5crypto-3.dll" v0.0 ts=2018-03-16 03:37
  754k 2018/03/16 C:\cygwin64\bin\cygkrb5-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5-3.dll" v0.0 ts=2018-03-16 03:37
   37k 2018/03/16 C:\cygwin64\bin\cygkrb5support-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5support-0.dll" v0.0 ts=2018-03-16 03:36
   48k 2021/06/12 C:\cygwin64\bin\cyglber-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyglber-2-4-2.dll" v0.0 ts=2021-06-12 19:04
   49k 2021/11/01 C:\cygwin64\bin\cyglber-2-5-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyglber-2-5-0.dll" v0.0 ts=2021-11-01 17:44
  266k 2021/06/12 C:\cygwin64\bin\cygldap-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2-4-2.dll" v0.0 ts=2021-06-12 19:05
  323k 2021/11/01 C:\cygwin64\bin\cygldap-2-5-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2-5-0.dll" v0.0 ts=2021-11-01 17:44
  283k 2021/06/12 C:\cygwin64\bin\cygldap_r-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap_r-2-4-2.dll" v0.0 ts=2021-06-12 19:07
   35k 2019/07/28 C:\cygwin64\bin\cygltdl-7.dll - os=4.0 img=0.0 sys=5.2
                  "cygltdl-7.dll" v0.0 ts=2019-07-28 17:44
   73k 2017/06/19 C:\cygwin64\bin\cyglz4-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyglz4-1.dll" v0.0 ts=2017-06-19 15:40
  144k 2019/07/21 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzma-5.dll" v0.0 ts=2019-07-22 00:15
  153k 2020/10/29 C:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmagic-1.dll" v0.0 ts=2020-10-29 21:32
  212k 2021/02/16 C:\cygwin64\bin\cygman-2-9-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygman-2-9-4.dll" v0.0 ts=2021-02-16 17:36
   24k 2021/02/16 C:\cygwin64\bin\cygmandb-2-9-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygmandb-2-9-4.dll" v0.0 ts=2021-02-16 17:36
   28k 2019/07/28 C:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygmenuw-10.dll" v0.0 ts=2019-07-28 17:32
   46k 2021/05/31 C:\cygwin64\bin\cygmetalink-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygmetalink-3.dll" v0.0 ts=2021-05-31 10:30
  100k 2021/08/21 C:\cygwin64\bin\cygmpc-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpc-3.dll" v0.0 ts=2021-08-21 19:35
 2663k 2021/08/21 C:\cygwin64\bin\cygmpfr-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpfr-6.dll" v0.0 ts=2021-08-21 19:01
  301k 2019/07/28 C:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncursesw-10.dll" v0.0 ts=2019-07-28 17:30
  156k 2021/10/23 C:\cygwin64\bin\cygnghttp2-14.dll - os=4.0 img=0.0 sys=5.2
                  "cygnghttp2-14.dll" v0.0 ts=2021-10-23 21:48
   30k 2015/03/19 C:\cygwin64\bin\cygntlm-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygntlm-0.dll" v0.0 ts=2015-03-19 02:15
 1020k 2020/03/27 C:\cygwin64\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygp11-kit-0.dll" v0.0 ts=2020-03-27 22:30
   14k 2019/07/28 C:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygpanelw-10.dll" v0.0 ts=2019-07-28 17:32
  497k 2021/06/20 C:\cygwin64\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre-1.dll" v0.0 ts=2021-06-20 12:53
  601k 2021/11/01 C:\cygwin64\bin\cygpcre2-8-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre2-8-0.dll" v0.0 ts=2021-11-01 17:58
 3566k 2021/08/14 C:\cygwin64\bin\cygperl5_32.dll - os=4.0 img=0.0 sys=5.2
                  "cygperl5_32.dll" v0.0 ts=2021-08-14 08:07
   42k 2020/12/27 C:\cygwin64\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpipeline-1.dll" v0.0 ts=2020-12-27 14:15
   53k 2020/04/06 C:\cygwin64\bin\cygpkgconf-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygpkgconf-3.dll" v0.0 ts=2020-04-06 17:37
   42k 2020/12/31 C:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpopt-0.dll" v0.0 ts=2020-12-31 12:16
   69k 2021/05/21 C:\cygwin64\bin\cygpsl-5.dll - os=4.0 img=0.0 sys=5.2
                  "cygpsl-5.dll" v0.0 ts=2021-05-21 08:58
  355k 2021/08/22 C:\cygwin64\bin\cygquadmath-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygquadmath-0.dll" v0.0 ts=2021-08-22 09:56
  254k 2021/08/31 C:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
                  "cygreadline7.dll" v0.0 ts=2021-08-31 07:54
   99k 2020/01/09 C:\cygwin64\bin\cygsasl2-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygsasl2-3.dll" v0.0 ts=2020-01-09 02:13
   11k 2015/07/17 C:\cygwin64\bin\cygsigsegv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:35
  156k 2020/03/31 C:\cygwin64\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygsmartcols-1.dll" v0.0 ts=2020-03-28 06:22
  733k 2018/04/12 C:\cygwin64\bin\cygsource-highlight-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygsource-highlight-4.dll" v0.0 ts=2018-04-12 01:30
 1277k 2020/12/24 C:\cygwin64\bin\cygsqlite3-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygsqlite3-0.dll" v0.0 ts=2020-12-24 07:59
  449k 2019/05/02 C:\cygwin64\bin\cygssh-4.dll - os=4.0 img=4.7 sys=5.2
                  "cygssh-4.dll" v0.0 ts=2019-05-02 16:11
  230k 2021/08/31 C:\cygwin64\bin\cygssh2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygssh2-1.dll" v0.0 ts=2021-08-31 08:06
  396k 2021/10/20 C:\cygwin64\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.0.0.dll" v0.0 ts=2021-10-20 11:34
  511k 2021/10/20 C:\cygwin64\bin\cygssl-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.1.dll" v0.0 ts=2021-10-20 19:07
 1869k 2021/08/22 C:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygstdc++-6.dll" v0.0 ts=2021-08-22 10:08
   68k 2019/07/29 C:\cygwin64\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygtasn1-6.dll" v0.0 ts=2019-07-29 03:12
   57k 2019/07/28 C:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygticw-10.dll" v0.0 ts=2019-07-28 17:31
 1612k 2018/08/16 C:\cygwin64\bin\cygunistring-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygunistring-2.dll" v0.0 ts=2018-08-16 20:33
   27k 2020/03/31 C:\cygwin64\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyguuid-1.dll" v0.0 ts=2020-03-28 06:22
 1238k 2020/09/11 C:\cygwin64\bin\cygxml2-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygxml2-2.dll" v0.0 ts=2020-09-11 15:37
   37k 2020/09/06 C:\cygwin64\bin\cygxxhash-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygxxhash-0.dll" v0.0 ts=2020-09-07 00:04
   83k 2017/03/03 C:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
                  "cygz.dll" v0.0 ts=2017-03-03 21:42
  945k 2021/05/16 C:\cygwin64\bin\cygzstd-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygzstd-1.dll" v0.0 ts=2021-05-16 06:27
 3466k 2021/11/08 C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
                  "cygwin1.dll" v0.0 ts=2021-11-08 16:55
    Cygwin DLL version info:
        DLL version: 3.3.2
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 341
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


No Cygwin services found.


Cygwin Package Information
Last downloaded files to: C:\Users\test\Downloads
Last downloaded files from: http://mirror.checkdomain.de/cygwin/

Package                                 Version                         Status
_autorebase                             001007-1                        OK
alternatives                            1.3.30c-10                      OK
autoconf                                13-1                            OK
autoconf2.1                             2.13-12                         OK
autoconf2.5                             2.69-4                          OK
base-cygwin                             3.8-1                           OK
base-files                              4.3-3                           OK
bash                                    4.4.12-3                        OK
binutils                                2.37-2                          OK
bzip2                                   1.0.8-1                         OK
ca-certificates                         2.50-4                          OK
coreutils                               8.26-2                          OK
crypto-policies                         20190218-1                      OK
csih                                    0.9.11-1                        OK
curl                                    7.79.1-1                        OK
cygrunsrv                               1.62-1                          OK
cygutils                                1.4.16-7                        OK
cygwin                                  3.3.2-1                         OK
cygwin-debuginfo                        3.3.2-1                         OK
cygwin-devel                            3.3.2-1                         OK
dash                                    0.5.11.5-1                      OK
diffutils                               3.8-1                           OK
editrights                              1.03-1                          OK
file                                    5.39-1                          OK
findutils                               4.8.0-1                         OK
gawk                                    5.1.1-1                         OK
gcc-core                                11.2.0-1                        OK
gcc-g++                                 11.2.0-1                        OK
gdb                                     10.2-1                          OK
getent                                  2.18.90-4                       OK
git                                     2.33.1-1                        OK
grep                                    3.7-2                           OK
groff                                   1.22.4-1                        OK
gzip                                    1.11-1                          OK
hostname                                3.13-1                          OK
info                                    6.8-2                           OK
ipc-utils                               1.0-2                           OK
less                                    590-1                           OK
libargp                                 20110921-3                      OK
libatomic1                              11.2.0-1                        OK
libattr1                                2.4.48-2                        OK
libblkid1                               2.33.1-2                        OK
libboost_regex1.66                      1.66.0-1                        OK
libbrotlicommon1                        1.0.9-2                         OK
libbrotlidec1                           1.0.9-2                         OK
libbz2_1                                1.0.8-1                         OK
libcbor                                 0.5.0-1                         OK
libcom_err2                             1.44.5-1                        OK
libcrypt0                               2.1-1                           OK
libcrypt2                               4.4.20-1                        OK
libcurl4                                7.79.1-1                        OK
libdb5.3                                5.3.28-2                        OK
libedit0                                20130712-1                      OK
libexpat1                               2.4.1-1                         OK
libfdisk1                               2.33.1-2                        OK
libffi6                                 3.2.1-2                         OK
libfido2                                1.5.0-2                         OK
libgc1                                  8.0.6-1                         OK
libgcc1                                 11.2.0-1                        OK
libgcrypt20                             1.8.2-1                         OK
libgdbm4                                1.13-1                          OK
libgdbm6                                1.18.1-1                        OK
libgdbm_compat4                         1.18.1-1                        OK
libgmp10                                6.2.1-2                         OK
libgomp1                                11.2.0-1                        OK
libgpg-error0                           1.37-1                          OK
libgsasl-common                         1.8.0-4                         OK
libgsasl7                               1.8.0-4                         OK
libgssapi_krb5_2                        1.15.2-2                        OK
libguile2.0_22                          2.0.14-3                        OK
libguile2.2_1                           2.2.7-1                         OK
libiconv                                1.16-2                          OK
libiconv2                               1.16-2                          OK
libicu61                                61.1-1                          OK
libidn11                                1.33-1                          OK
libidn2_0                               2.3.2-1                         OK
libintl8                                0.21-1                          OK
libisl22                                0.22.1-2                        OK
libisl23                                0.24-2                          OK
libk5crypto3                            1.15.2-2                        OK
libkrb5_3                               1.15.2-2                        OK
libkrb5support0                         1.15.2-2                        OK
libltdl7                                2.4.6-7                         OK
liblz4_1                                1.7.5-1                         OK
liblzma5                                5.2.4-1                         OK
libmetalink3                            0.1.3-1                         OK
libmpc3                                 1.2.1-2                         OK
libmpfr6                                4.1.0-2                         OK
libncursesw10                           6.1-1.20190727                  OK
libnghttp2_14                           1.46.0-1                        OK
libntlm0                                1.4-1                           OK
libopenldap2_4_2                        2.4.59-1                        OK
libopenldap2_5_0                        2.5.9-1                         OK
libp11-kit0                             0.23.20-1                       OK
libpcre1                                8.45-1                          OK
libpcre2_8_0                            10.39-1                         OK
libpipeline1                            1.5.3-1                         OK
libpkgconf3                             1.6.3-1                         OK
libpopt-common                          1.18-1                          OK
libpopt0                                1.18-1                          OK
libpsl5                                 0.21.1-1                        OK
libquadmath0                            11.2.0-1                        OK
libreadline7                            8.1-2                           OK
libsasl2_3                              2.1.27-1                        OK
libsigsegv2                             2.10-2                          OK
libsmartcols1                           2.33.1-2                        OK
libsource-highlight-common              3.1.8-6                         OK
libsource-highlight4                    3.1.8-6                         OK
libsqlite3_0                            3.34.0-1                        OK
libssh-common                           0.8.7-1                         OK
libssh2_1                               1.10.0-1                        OK
libssh4                                 0.8.7-1                         OK
libssl1.0                               1.0.2u-1                        OK
libssl1.1                               1.1.1l-1                        OK
libstdc++6                              11.2.0-1                        OK
libtasn1_6                              4.14-1                          OK
libunistring2                           0.9.10-1                        OK
libuuid-devel                           2.33.1-2                        OK
libuuid1                                2.33.1-2                        OK
libxml2                                 2.9.10-2                        OK
libxxhash0                              0.8.0-1                         OK
libzstd1                                1.5.0-1                         OK
login                                   1.13-1                          OK
m4                                      1.4.19-1                        OK
make                                    4.3-1                           OK
make-debuginfo                          4.3-1                           OK
man-db                                  2.9.4-1                         OK
mercurial                               5.8-1                           OK
mingw64-x86_64-binutils                 2.37-2                          OK
mingw64-x86_64-gcc-core                 11.2.0-1                        OK
mingw64-x86_64-gcc-g++                  11.2.0-1                        OK
mingw64-x86_64-gettext                  0.21-1                          OK
mingw64-x86_64-glib2.0                  2.54.3-1                        OK
mingw64-x86_64-headers                  9.0.0-1                         OK
mingw64-x86_64-libffi                   3.2.1-2                         OK
mingw64-x86_64-pcre                     8.45-1                          OK
mingw64-x86_64-runtime                  9.0.0-1                         OK
mingw64-x86_64-win-iconv                0.0.6-2                         OK
mingw64-x86_64-windows-default-manifest 6.4-1                           OK
mingw64-x86_64-winpthreads              9.0.0-1                         OK
mingw64-x86_64-zlib                     1.2.11-1                        OK
mintty                                  3.5.1-1                         OK
ncurses                                 6.1-1.20190727                  OK
openssh                                 8.8p1-1                         OK
openssl                                 1.1.1l-1                        OK
p11-kit                                 0.23.20-1                       OK
p11-kit-trust                           0.23.20-1                       OK
perl                                    5.32.1-2                        OK
perl-Error                              0.17029-2                       OK
perl-Scalar-List-Utils                  1.60-1                          OK
perl-TermReadKey                        2.38-3                          OK
perl_autorebase                         5.32.1-2                        OK
perl_base                               5.32.1-2                        OK
pkg-config                              1.6.3-1                         OK
pkgconf                                 1.6.3-1                         OK
publicsuffix-list-dafsa                 20210519-1                      OK
python-pip-wheel                        19.2.3-1                        OK
python-setuptools-wheel                 41.2.0-1                        OK
python2                                 2.7.18-4                        OK
python27                                2.7.18-4                        OK
python27-pip                            20.3.3-2                        OK
python27-setuptools                     41.2.0-1                        OK
python38                                3.8.10-1                        OK
python38-pip                            21.1.1-1                        OK
python38-setuptools                     51.1.1-1                        OK
rebase                                  4.5.0-1                         OK
rsync                                   3.2.3+20200903+git9f9240b-4     OK
run                                     1.3.4-2                         OK
sed                                     4.8-1                           OK
tar                                     1.34-1                          OK
terminfo                                6.1-1.20190727                  OK
terminfo-extra                          6.1-1.20190727                  OK
tzcode                                  2021e-1                         OK
tzdata                                  2021e-1                         OK
unzip                                   6.0-17                          OK
util-linux                              2.33.1-2                        OK
vim-minimal                             8.2.0486-1                      OK
w32api-headers                          9.0.0-1                         OK
w32api-runtime                          9.0.0-1                         OK
which                                   2.20-2                          OK
windows-default-manifest                6.4-1                           OK
xz                                      5.2.4-1                         OK
zip                                     3.0-12                          OK
zlib0                                   1.2.11-1                        OK
zstd                                    1.5.0-1                         OK
Use -h to see help about each section

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin 3.3.0 regression: "make" segmentation faults
  2021-11-15 16:47 Cygwin 3.3.0 regression: "make" segmentation faults Aleksey Shipilev
@ 2021-11-15 17:32 ` Marco Atzeri
  2021-11-16  8:11 ` Takashi Yano
  2021-11-18 15:46 ` Jon Turney
  2 siblings, 0 replies; 5+ messages in thread
From: Marco Atzeri @ 2021-11-15 17:32 UTC (permalink / raw)
  To: cygwin


On 15.11.2021 17:47, Aleksey Shipilev via Cygwin wrote:
> Hi,
> 
> OpenJDK project uses Cygwin to drive the OpenJDK build system under 
> Windows. Recently, our GitHub Actions (GHA) Windows runs started to fail 
> with make SEGV-ing:
>      https://bugs.openjdk.java.net/browse/JDK-8276854
>

[cut]
> Any help would be appreciated. I have a working Windows VM where this 
> issue reliably reproduces. Perhaps an easier way to follow up on this is 
> to use me as remote hands.
> 
> After installing make-devel and doing "ulimit -c unlimited", I have got 
> this stackdump:
> 
> Exception: STATUS_ACCESS_VIOLATION at rip=0018017516C
> rax=0000000000000001 rbx=00000008004BE630 rcx=0000000000000001
> rdx=00000000FFFFFFFF rsi=0000000800000000 rdi=0000000000000001
> r8 =FFFFFFFFFFFFFFF1 r9 =0000000000000001 r10=0000000180320880
> r11=0000000800000000 r12=0000000000000001 r13=0000000180243A80
> r14=0000000000000000 r15=0000000000000000
> rbp=0000000800403440 rsp=00000000FFFF99B0
> program=C:\cygwin64\bin\make.exe, pid 61490, thread main
> cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
> Stack trace:
> Frame        Function    Args
> 00800403440  0018017516C (00100438940, 00800000000, 00000000001, 
> 00800403440)
> 00800403440  001800D7C68 (000FFFF9BE7, 00000000000, 000FFFF9BE7, 
> 008004035E0)
> 00800403440  0018018EB0B (000FFFF9BE7, 00000000000, 000FFFF9BE7, 
> 008004035E0)
> 00800403440  0010040F513 (000FFFFE410, 001802A4CB0, 00180366E08, 
> 00800071DB0)
> 00000000000  0010040F68C (00000000000, 001801402B0, 000FFFF9B20, 
> 00100427E70)
> 00100427D70  001004104E3 (00000000000, 00000000000, 00000000006, 
> 00000000000)
> 000FFFF9CD0  00100410D5F (7A01C9E544B96FAD, 00100419ED2, 001803231A0, 
> 00800323460)
> 0080034D8A0  0010041C15F (00000000006, 00000000002, 00000000000, 
> 00000000000)
> 00000000000  0010041C55E (00000000000, 00000000000, 00000000000, 
> 00000000000)
> 00000000000  0010041B5B0 (00000000004, 006FFFFFFB9, 303E90000F032, 
> 00180267740)
> 00000000000  0010041C55E (00000000000, 68F5F1EE9D7B, 00000000000, 
> 00000000103)
> 00000000000  0010041B5B0 (00000000002, 00000000000, 00100000000, 
> 00000000000)
> 00000000000  0010041C55E (000800D7C68, 00000000000, 000FFFFA2E8, 
> 008001DA120)
> 00000000000  0010041B5B0 (53454400000000, 6176652D2A2D2824, 
> 2D7367616C662D6C, 00000292D2A)
> 00100435590  0010041C985 (00000000000, 001803231A0, 00800075740, 
> 00100429B21)
> 000FFFFB360  00100426324 (001801B609A, 00000000000, 00000000000, 
> 000FFFFCD30)
> 000FFFFCD30  00180049B8D (00000000000, 00000000000, 00000000000, 
> 00000000000)
> 000FFFFFFF0  00180047746 (00000000000, 00000000000, 00000000000, 
> 00000000000)
> 000FFFFFFF0  001800477F4 (00000000000, 00000000000, 00000000000, 
> 00000000000)
> End of stack trace
> 
> It does not look particularly useful to me, I was hoping for symbol 
> names to be resolved, to be honest. I don't know what I am supposed to 
> do next. There is no "core" around, as far as I can see...
> 

install make-debuginfo and cygwin-debuginfo
than you can use addr2line to find the proper info

an example on:
https://stackoverflow.com/questions/37628530/how-to-debug-using-stackdump-file-in-cygwin/37629946#37629946

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin 3.3.0 regression: "make" segmentation faults
  2021-11-15 16:47 Cygwin 3.3.0 regression: "make" segmentation faults Aleksey Shipilev
  2021-11-15 17:32 ` Marco Atzeri
@ 2021-11-16  8:11 ` Takashi Yano
  2021-11-17 15:00   ` Aleksey Shipilev
  2021-11-18 15:46 ` Jon Turney
  2 siblings, 1 reply; 5+ messages in thread
From: Takashi Yano @ 2021-11-16  8:11 UTC (permalink / raw)
  To: cygwin

On Mon, 15 Nov 2021 17:47:58 +0100
Aleksey Shipilev wrote:
> OpenJDK project uses Cygwin to drive the OpenJDK build system under Windows. Recently, our GitHub 
> Actions (GHA) Windows runs started to fail with make SEGV-ing:
>      https://bugs.openjdk.java.net/browse/JDK-8276854
> 
> This also reproduces locally for me, with the standard OpenJDK Windows build. All sightings we had 
> are on Windows 10, but it is unclear if it is Windows 10 specific.
> 
> The reproducer would be a bit hairy, because it requires MSVC 2019, JDK 17 binary, and some other 
> dependencies to be installed for OpenJDK build. It goes like this:
> 
> ------- 8< ------- ------- ------- ------- ------- ------- ------- -------
> 
> <open Cygwin shell>
> $ git clone https://github.com/openjdk/jdk/ jdk
> $ cd jdk
> $ sh ./configure --with-boot-jdk=<jdk17-binary> --disable-warnings-as-errors
> $ make clean jdk
>     ...
> Compiling 8 files for BUILD_TOOLS_LANGTOOLS
> Compiling 1 files for BUILD_TOOLS_HOTSPOT
> Compiling 12 properties into resource bundles for jdk.jdeps
> /usr/bin/bash: line 1:  1588 Segmentation fault      (core dumped) /usr/bin/make -s -r -R -I
> /cygdrive/d/a/jdk17u/jdk17u/jdk/make/common
> SPEC=/cygdrive/d/a/jdk17u/jdk17u/jdk/build/windows-x64/spec.gmk MAKE_LOG_FLAGS="-s" -f
> ModuleWrapper.gmk -I /cygdrive/d/a/jdk17u/jdk17u/jdk/make/common/modules
> -I/cygdrive/d/a/jdk17u/jdk17u/jdk/make/modules/java.base MODULE=java.base MAKEFILE_PREFIX=Copy
> make[2]: *** [make/Main.gmk:157: java.base-copy] Error 139
> make[2]: *** Waiting for unfinished jobs....
> Compiling 7 properties into resource bundles for jdk.jshell
> 
> ------- 8< ------- ------- ------- ------- ------- ------- ------- -------

Thanks for the report.
I could reproduce the problem and found that the cause is
the same with:
https://cygwin.com/pipermail/cygwin/2021-November/249913.html

I will submit the patch for these issues shortly.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin 3.3.0 regression: "make" segmentation faults
  2021-11-16  8:11 ` Takashi Yano
@ 2021-11-17 15:00   ` Aleksey Shipilev
  0 siblings, 0 replies; 5+ messages in thread
From: Aleksey Shipilev @ 2021-11-17 15:00 UTC (permalink / raw)
  To: Takashi Yano, cygwin

On 11/16/21 9:11 AM, Takashi Yano wrote:
> Thanks for the report.
> I could reproduce the problem and found that the cause is
> the same with:
> https://cygwin.com/pipermail/cygwin/2021-November/249913.html
> 
> I will submit the patch for these issues shortly.

Nice. Let me know when there is a testable binary, I could then verify the fix.

-- 
Thanks,
-Aleksey


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin 3.3.0 regression: "make" segmentation faults
  2021-11-15 16:47 Cygwin 3.3.0 regression: "make" segmentation faults Aleksey Shipilev
  2021-11-15 17:32 ` Marco Atzeri
  2021-11-16  8:11 ` Takashi Yano
@ 2021-11-18 15:46 ` Jon Turney
  2 siblings, 0 replies; 5+ messages in thread
From: Jon Turney @ 2021-11-18 15:46 UTC (permalink / raw)
  To: Aleksey Shipilev, The Cygwin Mailing List

On 15/11/2021 16:47, Aleksey Shipilev via Cygwin wrote:
[...]
> After installing make-devel and doing "ulimit -c unlimited", I have got 
> this stackdump:

For no particularly good reason, writing a core dump is not hooked up to 
the core file size limit.

> 
> Exception: STATUS_ACCESS_VIOLATION at rip=0018017516C
[...]
>
> It does not look particularly useful to me, I was hoping for symbol 

Indeed

> names to be resolved, to be honest. I don't know what I am supposed to 
> do next. There is no "core" around, as far as I can see...

You can use 'export CYGWIN="error_start=dumper"' to get a coredump 
written on fatal signal.

Or if you're just going to load that into gdb, save steps with 'export 
CYGWIN="error_start=gdb"'


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-18 15:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-15 16:47 Cygwin 3.3.0 regression: "make" segmentation faults Aleksey Shipilev
2021-11-15 17:32 ` Marco Atzeri
2021-11-16  8:11 ` Takashi Yano
2021-11-17 15:00   ` Aleksey Shipilev
2021-11-18 15:46 ` Jon Turney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).