ci: windows: set error mode to not include SEM_NOGPFAULTERRORBOX
authorAndres Freund <[email protected]>
Thu, 22 Sep 2022 00:15:54 +0000 (17:15 -0700)
committerAndres Freund <[email protected]>
Thu, 22 Sep 2022 00:16:51 +0000 (17:16 -0700)
commit0c400445dbe316d67d19f79fdd096f0b77458b86
treeef4bfb6dfc6da3687632515a07f528eea8839a93
parent08ddb3c0852d87394b44eea45709b9d9b8154f68
ci: windows: set error mode to not include SEM_NOGPFAULTERRORBOX

Cirrus defaults to SetErrorMode(SEM_NOGPFAULTERRORBOX | ...). That prevents
crash reporting from working unless binaries do SetErrorMode()
themselves. Furthermore, it appears that either python or, more likely, the C
runtime has a bug where SEM_NOGPFAULTERRORBOX can very occasionally *trigger*
a crash on process exit - which is hard to debug, given that it explicitly
prevents crash dumps from working...

Discussion: https://postgr.es/m/20220909235836.lz3igxtkcjb5w7zb%40awork3.anarazel.de
Backpatch: 15-, where CI was added
.cirrus.yml