From: Tom Lane <tgl@sss.pgh.pa.us>
To: Cory Albrecht <coryca@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17977: PorstGreSQL in a jail crashes randomly with Signal 10 bus error
Date: Thu, 15 Jun 2023 15:07:27 -0400
Message-ID: <2252981.1686856047@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMW5rYK7SyW4GpfQPFak1P3wV4AOVmBuz3QZFMtnPVU=APzJGQ@mail.gmail.com>
References: <17977-e252db4b187adeb5@postgresql.org>
<2113225.1686835726@sss.pgh.pa.us>
<CAMW5rYK7SyW4GpfQPFak1P3wV4AOVmBuz3QZFMtnPVU=APzJGQ@mail.gmail.com>
Cory Albrecht <coryca@gmail.com> writes:
> Also, which PID do I attach GDB to?
> If it's the individual database ones like 15947 or 15990 in the
> above example, I have no way of knowing which one will get a SIGBUS. Is the
> main process (e.g. 15892) OK?
If you don't know that, the best way is to collect a core file and
then gdb that. Starting the postmaster under "ulimit -c unlimited"
ought to be enough.
regards, tom lane
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, coryca@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17977: PorstGreSQL in a jail crashes randomly with Signal 10 bus error
In-Reply-To: <2252981.1686856047@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