pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ci: windows: set error mode to not include SEM_NOGPFAULTERRORBOX
Date: Thu, 22 Sep 2022 00:18:24 +0000
Message-ID: <E1ob9v5-001PvS-Lt@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/661ee7bfc661a4ba52ed57cff46e414b2add75b1

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



view thread (2+ messages)  latest in thread

Message-ID: <E1ob9v5-001PvS-Lt@gemulon.postgresql.org>
Permalink:  ../E1ob9v5-001PvS-Lt@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ob9v5-001PvS-Lt@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: ci: windows: set error mode to not include SEM_NOGPFAULTERRORBOX
  In-Reply-To: <E1ob9v5-001PvS-Lt@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox