Re: [HACKERS] [sqlsmith] crash in RestoreLibraryState duringlow-memory testing - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: [HACKERS] [sqlsmith] crash in RestoreLibraryState duringlow-memory testing
Date
Msg-id CAA4eK1JtFh7uZHD5O6n2onhw=+5q0maOCbUGPaGtcG2bNeRN=g@mail.gmail.com
Whole thread Raw
In response to [HACKERS] [sqlsmith] crash in RestoreLibraryState during low-memory testing  (Andreas Seltenreich <seltenreich@gmx.de>)
Responses Re: [HACKERS] [sqlsmith] crash in RestoreLibraryState duringlow-memory testing
List pgsql-hackers
On Tue, Oct 3, 2017 at 3:04 AM, Andreas Seltenreich <seltenreich@gmx.de> wrote:
> Hi,
>
> doing low-memory testing with REL_10_STABLE at 1f19550a87 also produced
> a couple of parallel worker core dumps with the backtrace below.
> Although most of the backtrace is inside the dynamic linker, it looks
> like it was passed a pointer to gone-away shared memory.
>

It appears to be some dangling pointer, but not sure how it is
possible.  Can you provide some more details, like do you have any
other library which you want to get loaded in the backend (like by
using shared_preload_libraries or by some other way)?  I think without
that we shouldn't try to load anything in the parallel worker.  Also,
if you can get the failed query (check in server log), it would be
great.

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] [PATCH] Tests for reloptions
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Horrible CREATE DATABASE Performance in High Sierra