Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s912U-00Gmej-HR for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2024 11:18:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s912U-000wQh-Id for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2024 11:18:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s912U-000wQU-7i for pgsql-general@lists.postgresql.org; Mon, 20 May 2024 11:18:46 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s912Q-001BKh-Jz for pgsql-general@postgresql.org; Mon, 20 May 2024 11:18:45 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1ec69e3dbcfso72478485ad.0 for ; Mon, 20 May 2024 04:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716203921; x=1716808721; darn=postgresql.org; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=4LwwZ1pr6STmDV5ogd0/TAucz1EG1X/MyrYtfQtXABo=; b=LIlP/Tpvo0POOGnvLyolPMRaAALatyVCv4duyP0qY8pScVNbUfDfDOVOj2K6avK1a3 37tmJfe/bSX6dd14XpT5+TbaI/8hzg6lKz3cknuMzRsmhh4jOawHWSfnMLvG1OEbmaID iJgQxWi6OdWVQ+G8p+TxsAESL5JV5QNZKOLBS66nfIQpsZDWugFENXQ5VRgoTxbPf1uI pXjPnT6ptZaiXlIudMxLdpf1ExZA+GGizTS243OcUIcXSLqFIn80xTd3WC2nMr0rQBrR WKbJbR3C/iAvhyojttsYzJqQ6HxbVXxELW7dxzs/kRMIosU95M7eHjkjekqA8tf2x7HE fkXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716203921; x=1716808721; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4LwwZ1pr6STmDV5ogd0/TAucz1EG1X/MyrYtfQtXABo=; b=wi9egaomhwYloynmV26h+/OjbGqkJ1tGkdQUTw+em75L2Ky5V5ZCEjwzPFOUx1nf9l hRAbMwgJFB1inRQXbLW110hP98uaBscq55Oe4PRDn9iXHcQh7E47mnxxVTSU+WWw7Dek OTJy9k+3uAW9esFWwdPyBUQtIOERWRDyE0+n1CWu+4BfohE0pLC8kcrqtTTVdsWwqs+d 51vgo1W0eTq1G/thnxCF6dvdtTrdmT7tzUvCZnjPlKjJ5ALjyijkIC0x/IJJoWFQk7Jb n5K5MMiCRYjzPfRmsZddsk63J6QmuPByq8969N5rFeKLK9AGzaXFD8o++4GExUdsbQUh rICA== X-Gm-Message-State: AOJu0YzoXsqH2CgMHiiRQmd2Nfn/PssxWi5H3HMnD/Bbj4aPoSTMh61H xPSTweBo4DAyRJk9I3DmvmNTT+tQ9UVr5LqNwjTsqc4bwmJ+X/t/ShA6siBvJ7MPphnbIuq5UkE m6Oe3ePPtyGL8iXcwD9GaPEvA71+P5B0= X-Google-Smtp-Source: AGHT+IFRyDpmHAFuRkYV7dn8Wx6KBbLlYUxCGY5eYdS2h2pjxKDcVNheKeyIVgV+87ZfOlb5uqruvImGxFYQIwfsikA= X-Received: by 2002:a17:90a:ba94:b0:2b1:b1a1:1310 with SMTP id 98e67ed59e1d1-2b6cc8765edmr24576588a91.29.1716203921300; Mon, 20 May 2024 04:18:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: milist ujang Date: Mon, 20 May 2024 18:18:30 +0700 Message-ID: Subject: Re: signal 11: Segmentation fault ; query constraint list; pg16.3 Cc: pgsql-general@postgresql.org Content-Type: multipart/alternative; boundary="0000000000001766030618e0dd49" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001766030618e0dd49 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable as of subject, it should be 16.3. scenario was: - a few months ago install + deployed user data pg 16.2. - 2 days ago, updated to 16.3 now I can reproduce the issue, the segment fault comes from postgres[495645]: segfault at 0 ip 00007f318b17e1f4 sp 00007ffc7f1b15d8 error 4 in citus.so[7f318b0a4000+ee000] likely on CPU 93 (core 1, socket 1) after dropping the citus extension, now it's OK. Thanks for the reply. On Mon, May 20, 2024 at 6:01=E2=80=AFPM David Rowley = wrote: > On Mon, 20 May 2024 at 22:32, milist ujang wrote= : > > > > postgres 16.1; rocky 9.3 > > > > when connect to database postgres this query is OK, but run on user > database, got segmentation fault. > > I tried your query on 16.1 and I'm unable to reproduce the crash. > > Are you able to recreate this on a freshly installed instance after > creating the table in question? If not, does it crash after you do a > pg_dump --schema-only from the problem database and restoring that to > the fresh instance and running ANALYZE? The crash may depend on the > query plan chosen and that will depend on the schema in that database. > > We're probably going to need a recreator script for this. You might be > able to come up with one from doing the --schema-only dump and > restoring that somewhere and dropping unrelated objects to find the > minimum set you need for the crash. > > Alternatively, a stack trace would be useful. See: > > > https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_Postg= reSQL_backend_on_Linux/BSD > > David > --=20 regards ujang jaenudin | Self-Employed, DBA Consultant http://id.linkedin.com/pub/ujang-jaenudin/12/64/bab --0000000000001766030618e0dd49 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
as of subject, it should be 16.3.

scena= rio was:
- a few months ago install + deployed user data pg 16.2.=
- 2 days ago, updated to 16.3

now I can= reproduce the issue, the segment fault comes from=C2=A0
postgres= [495645]: segfault at 0 ip 00007f318b17e1f4 sp 00007ffc7f1b15d8 error 4 in = citus.so[7f318b0a4000+ee000] likely on CPU 93 (core 1, socket 1)
<= div>
after dropping the citus=C2=A0extension, now it's OK= .

Thanks for the reply.

=
On Mon= , May 20, 2024 at 6:01=E2=80=AFPM David Rowley <dgrowleyml@gmail.com> wrote:
On Mon, 20 May 2024 at 22:32, milist uj= ang <ujang.m= ilist@gmail.com> wrote:
>
> postgres 16.1; rocky 9.3
>
> when connect to database postgres this query is OK, but run on user da= tabase, got segmentation fault.

I tried your query on 16.1 and I'm unable to reproduce the crash.

Are you able to recreate this on a freshly installed instance after
creating the table in question? If not, does it crash after you do a
pg_dump --schema-only from the problem database and restoring that to
the fresh instance and running ANALYZE? The crash may depend on the
query plan chosen and that will depend on the schema in that database.

We're probably going to need a recreator script for this. You might be<= br> able to come up with one from doing the --schema-only dump and
restoring that somewhere and dropping unrelated objects to find the
minimum set you need for the crash.

Alternatively, a stack trace would be useful. See:

h= ttps://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreS= QL_backend_on_Linux/BSD

David


--
regards

ujang jaenudin | Self-Employed, DBA Consultan= t
http://id.linkedin.com/pub/ujang-jaenudin/12/64/bab
--0000000000001766030618e0dd49--