Re: Segmentation fault

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: abbas alizadeh <ramkly(at)yahoo(dot)com>
Cc: pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Segmentation fault
Date: 2022-07-26 15:40:43
Message-ID: 2356860.1658850043@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

abbas alizadeh <ramkly(at)yahoo(dot)com> writes:
> I got “terminated by signal 11, segmentation falt” error in my database.
> I’m using pg v13.7
> Query causing that error: “set client_encoding= utf-8”

Hmm, that is pretty well-tested code.

> There is no core file in data folder.

Maybe you are starting the server under "ulimit -c 0"? See also
the advice at

https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend

> Any idea how can I find the root case for this error?

With only this amount of information, there's not much to be done.
If you could get a stack trace maybe we'd have some ideas.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message OS DB2 2022-07-26 20:22:48 Index is not a btree
Previous Message abbas alizadeh 2022-07-26 13:51:05 Segmentation fault