Обсуждение: Segmentation fault

Поиск
Список
Период
Сортировка

Segmentation fault

От
abbas alizadeh
Дата:
Hi all.
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”
There is no core file in data folder.
Any idea how can I find the root case for this error?
Command execute for 1000times, but only some times cuz this error

Regards



Re: Segmentation fault

От
Tom Lane
Дата:
abbas alizadeh <ramkly@yahoo.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