Re: server process (PID 2964738) was terminated by signal 11: Segmentation fault - Mailing list pgsql-general

From Stefan Froehlich
Subject Re: server process (PID 2964738) was terminated by signal 11: Segmentation fault
Date
Msg-id 20221106143544.GA4940@static.231.150.9.176.clients.your-server.de
Whole thread Raw
In response to Re: server process (PID 2964738) was terminated by signal 11: Segmentation fault  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: server process (PID 2964738) was terminated by signal 11: Segmentation fault
List pgsql-general
On Sun, Nov 06, 2022 at 09:13:08AM -0500, Tom Lane wrote:
> > | 2022-11-06 11:52:36.367 CET [2098-35] LOG:  server process (PID 2964738) was terminated by signal 11:
Segmentationfault
 
 
> contrib/amcheck might help to identify the faulty data (at this
> point there's reason to fear multiple corruptions ...).  If you're
> running v14 or v15 there's a frontend for that called pg_amcheck.

I am using v13, but well:

| # create extension amcheck;
| # select oid, relname from pg_class where relname ='faultytablename_pkey';
| [returns oid 537203]
| # select bt_index_check(537203, true);
| server closed the connection unexpectedly
|         This probably means the server terminated abnormally
|         before or while processing the request.
| The connection to the server was lost. Attempting reset: Failed.

This seems to be quite fucked up ("how" would be a good question,
too, but for the moment priority is to work around the problem).

If I have to delete 1k records in this table, I'll do and survive,
but first I have to find out which ones.

Bye,
Stefan



pgsql-general by date:

Previous
From: Erik Wienhold
Date:
Subject: Re: an difficult SQL
Next
From: Tom Lane
Date:
Subject: Re: server process (PID 2964738) was terminated by signal 11: Segmentation fault