pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: John Naylor <john.naylor@enterprisedb.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: WIP: BRIN multi-range indexes
Date: Fri, 26 Mar 2021 09:55:38 -0400
Message-ID: <1579327.1616766938@sss.pgh.pa.us> (raw)
In-Reply-To: <d67e33fe-2a7f-d72d-4f1a-10cef91a5f82@enterprisedb.com>
References: <20210303001725.GA1766@alvherre.pgsql>
	<23a0a854-8f1a-e965-7121-f76b1b2fc271@enterprisedb.com>
	<cf8fca26-0fdd-ac74-5dac-66a2ccb59f56@enterprisedb.com>
	<8e319879-32ff-1eb8-d7d3-6a3ac8a51728@enterprisedb.com>
	<CAFBsxsHrqP+OMp5cV6yiEzkwobtAp4rnxOGsfm_s_vX8qSNQeQ@mail.gmail.com>
	<35e866e9-d820-07de-b2be-69d5ac479179@enterprisedb.com>
	<71dfd257-c5ce-530d-90d3-7c744a28e97b@enterprisedb.com>
	<CAFBsxsHswPBXQvvW87uSR59MkPNhEB5Txe4sFjVBfE9TR4jrGw@mail.gmail.com>
	<ea369ea5-0d61-bbee-c1c7-bfe17728bab1@enterprisedb.com>
	<54b47e66-bd8a-d44a-2090-fd4b2f49abe6@enterprisedb.com>
	<357fb6d7-649f-822e-ff43-16b39aed68ee@enterprisedb.com>
	<1da94012-f512-ffc8-dd5e-888d862b662e@enterprisedb.com>
	<d67e33fe-2a7f-d72d-4f1a-10cef91a5f82@enterprisedb.com>

Tomas Vondra <tomas.vondra@enterprisedb.com> writes:
> I recall seeing "bus error" on sparc with other patches because of
> alignment issues, so I wonder if this is what's happening here.

Try compiling with the address sanitizer enabled.  Per c.h,

 * Testing can be done with "-fsanitize=alignment -fsanitize-trap=alignment"
 * on clang, or "-fsanitize=alignment -fno-sanitize-recover=alignment" on gcc.

			regards, tom lane





view thread (177+ messages)  latest in thread

Message-ID: <1579327.1616766938@sss.pgh.pa.us>
Permalink:  ../1579327.1616766938@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1579327.1616766938@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tomas.vondra@enterprisedb.com, john.naylor@enterprisedb.com, alvherre@alvh.no-ip.org, pgsql-hackers@lists.postgresql.org
  Subject: Re: WIP: BRIN multi-range indexes
  In-Reply-To: <1579327.1616766938@sss.pgh.pa.us>

* 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