Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGMfx-0008Ho-Dw for pgsql-admin@arkaria.postgresql.org; Tue, 26 Jul 2022 15:40:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oGMfw-0001zr-Am for pgsql-admin@arkaria.postgresql.org; Tue, 26 Jul 2022 15:40:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGMfw-0001zY-0K for pgsql-admin@lists.postgresql.org; Tue, 26 Jul 2022 15:40:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGMft-00081W-BH for pgsql-admin@lists.postgresql.org; Tue, 26 Jul 2022 15:40:47 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 26QFeh0E2356861; Tue, 26 Jul 2022 11:40:43 -0400 From: Tom Lane To: abbas alizadeh cc: pgsql-admin Subject: Re: Segmentation fault In-reply-to: <468712F9-7F36-4AEA-B8A4-1007837D4B3E@yahoo.com> References: <468712F9-7F36-4AEA-B8A4-1007837D4B3E.ref@yahoo.com> <468712F9-7F36-4AEA-B8A4-1007837D4B3E@yahoo.com> Comments: In-reply-to abbas alizadeh message dated "Tue, 26 Jul 2022 17:51:05 +0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <2356859.1658850043.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 26 Jul 2022 11:40:43 -0400 Message-ID: <2356860.1658850043@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk abbas alizadeh writes: > I got =E2=80=9Cterminated by signal 11, segmentation falt=E2=80=9D error= in my database. = > I=E2=80=99m using pg v13.7 > Query causing that error: =E2=80=9Cset client_encoding=3D utf-8=E2=80=9D 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