pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthew Clark <mclark@drmatthewclark.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: server crash on raspberry pi for large queries
Date: Tue, 20 Aug 2024 09:16:12 -0400
Message-ID: <1527796.1724159772@sss.pgh.pa.us> (raw)
In-Reply-To: <2123352386.9759142.1724114730509@mail.yahoo.com>
References: <2123352386.9759142.1724114730509.ref@mail.yahoo.com>
	<2123352386.9759142.1724114730509@mail.yahoo.com>

Matthew Clark <mclark@drmatthewclark.com> writes:
> issue: when issuing a large query ,  e.g.   "Select count(*) from temperature" on a table with > 150M rows the system crashes.
>   example error:   LOG:  server process (PID 20037) was terminated by signal 4: Illegal instruction  no more diagnostic information is generated.
> Workaround : this stops happening when jit_above_cost is set to -1 in postgresql.conf   After changing this setting the problem stops.

What this sounds like is a memory leak in the JIT stuff.  We fixed
one such issue last year, but perhaps there's more.  Can you provide
a self-contained test case?  Also, please be more specific about
which Linux version you are using, and which LLVM version.

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <1527796.1724159772@sss.pgh.pa.us>
Permalink:  ../1527796.1724159772@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1527796.1724159772@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mclark@drmatthewclark.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: server crash on raspberry pi for large queries
  In-Reply-To: <1527796.1724159772@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