From: Andres Freund <andres@anarazel.de>
To: John Naylor <john.naylor@enterprisedb.com>
Cc: John Naylor <john.naylor@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Specialize tuplesort routines for different kinds of abbreviated
Date: Sat, 2 Apr 2022 13:21:56 -0700
Message-ID: <20220402202156.6rfdcjsms5rq3m7a@alap3.anarazel.de> (raw)
In-Reply-To: <20220402201557.thanbsxcql5lk6pc@alap3.anarazel.de>
References: <E1naZ8x-000QbH-D0@gemulon.postgresql.org>
<CAFBsxsFLcJFBTniD1=4qYNUkqVsnxuS870s6_GOp3R-Tg8rg0Q@mail.gmail.com>
<20220402201557.thanbsxcql5lk6pc@alap3.anarazel.de>
Hi,
On 2022-04-02 13:15:57 -0700, Andres Freund wrote:
> I get a backtrace to investigate. Unfortunately abort_on_error=1 also removes
> the nicer error message :(. So I ran both.
This bit was just me being stupid and missing the error message...
> with that applied
> CFLAGS=-fsanitize=alignment,undefined,address -fno-sanitize-recover=all
> and
> export ASAN_OPTIONS="detect_leaks=0:disable_coredump=0:print_stacktrace=1:abort_on_error=1" UBSAN_OPTIONS="disable_coredump=0:print_stacktrace=1:abort_on_error=1"
Forgot to add the warning that disable_coredump=0 on non-linux (or old linux)
systems can end up generating humongous core files...
To be able to run rr with ubsan/asan one needs verify_asan_link_order=0 in
ASAN_OPTIONS btw.
Greetings,
Andres Freund
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, john.naylor@enterprisedb.com, john.naylor@postgresql.org
Subject: Re: pgsql: Specialize tuplesort routines for different kinds of abbreviated
In-Reply-To: <20220402202156.6rfdcjsms5rq3m7a@alap3.anarazel.de>
References: <E1naZ8x-000QbH-D0@gemulon.postgresql.org> <CAFBsxsFLcJFBTniD1=4qYNUkqVsnxuS870s6_GOp3R-Tg8rg0Q@mail.gmail.com> <20220402201557.thanbsxcql5lk6pc@alap3.anarazel.de> <20220402202156.6rfdcjsms5rq3m7a@alap3.anarazel.de>
* 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