pgsql: ci: windows: set error mode to not include SEM_NOGPFAULTERRORBOX

Started by Andres Freundalmost 4 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

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: /messages/by-id/20220909235836.lz3igxtkcjb5w7zb@awork3.anarazel.de
Backpatch: 15-, where CI was added

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0c400445dbe316d67d19f79fdd096f0b77458b86

Modified Files
--------------
.cirrus.yml | 9 +++++++++
1 file changed, 9 insertions(+)