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 1s90le-00Gkwg-M2 for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2024 11:01:24 +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 1s90le-000n2U-EE for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2024 11:01:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s90le-000n2M-3a for pgsql-general@lists.postgresql.org; Mon, 20 May 2024 11:01:22 +0000 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s90lb-0016wr-Id for pgsql-general@postgresql.org; Mon, 20 May 2024 11:01:20 +0000 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5238fe0cfc9so2418242e87.0 for ; Mon, 20 May 2024 04:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716202878; x=1716807678; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oWBv3hSVuNnZ/edwlerk2cBWJoJN4pA/TdPpsUbrX6I=; b=Uxwd4hLgKNYAymQnPNUYzNBGB7y7gQEUwQc6LVKNxC+fWVQHGWUQwTLxTLHe1CaV1N qW6sWDcsAs84ctyAdNi+RXoTaAwPwLaxHm/ISfMW3oLx/tJJxw5uCe9kmPxtQfQ1Aqa2 +2n5ImDFgzS0LG/Dvtr3vSni8vOprNJNPR2uenbP3U1iXgUFytorVmu1iZkiDqKCKM2U /lRXAnWBYLGeAh0aSR5Gn5qCREtxi6tCsr//Zbwe8i6M/sGpFX99BihMgJuAmUKuNC28 FuMthsb92iLf6w03cA1LqENSCtmHb4XG2RloVUAFGiJFZBPoxxm5o1ptKXa9n6Bh+GtU GTpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716202878; x=1716807678; h=cc:to: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=oWBv3hSVuNnZ/edwlerk2cBWJoJN4pA/TdPpsUbrX6I=; b=jmDrvnmYUpsmKf8g6kxbsQjqVJ8bLpxyWEHGYNabS5AmCowDY5vnmrX4g87FzX0d4E HTh9ctC7YJehIv+wk0IZ2dJXd5ida54ZZ4sq5f5sXrwFyu6ux2aA4osZfZCfu3QakI5p e4JQP9FQqysQSGCA9PN782MU/wDN9kzrODzOp9HnkPVs9NOwsgFuHkHQOZ5FHR98Ff8R B2KOvca2o1IiabjslKMYKoNnGG1P+oi4SgalBB3iUz57tquVB6ieiGoYSxkKcYzTZjDU lo4KnO7fAc9s35soTU1H/y0DIfWwduVkkZpRHnxUaIZfn+2/tkkBEtxCShXTU72VGc1N MbHQ== X-Gm-Message-State: AOJu0Yxc3xaV3G5sWFtAfhjbCjG/AW6YvYVTgKcLOPe/fRKaSkF5ZMRC ooL8uw3+YOHv6iHALp1iF/CX/SBQkroHmjeP+WDcnZ2Z70UrlIMeTyym3rQ+c9OaDGUQQzYguKg vFDOysDq52fDNt+lHWJeKvJYus419EHnS X-Google-Smtp-Source: AGHT+IHvgD5vrhF1299rw5HXqH8X+PcMMok0kpvxHhBsf8/p3srMsI+mShIqDRivmo3NyIoXSeHvZxjxOmkpwq4/A3Y= X-Received: by 2002:a05:6512:312c:b0:51f:33d5:31fd with SMTP id 2adb3069b0e04-52407bbec4amr1990487e87.11.1716202877779; Mon, 20 May 2024 04:01:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Rowley Date: Mon, 20 May 2024 23:01:05 +1200 Message-ID: Subject: Re: signal 11: Segmentation fault ; query constraint list; pg16.3 To: milist ujang Cc: pgsql-general@postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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_PostgreSQL_backend_on_Linux/BSD David