pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: matt.jibson@gmail.com
Subject: BUG #16213: segfault when running a query
Date: Thu, 16 Jan 2020 23:27:29 +0000
Message-ID: <16213-871ac3bc208ecf23@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16213
Logged by:          Matt Jibson
Email address:      matt.jibson@gmail.com
PostgreSQL version: 11.5
Operating system:   linux
Description:        

SELECT
    *
FROM
    (
        SELECT
            tab_31924.col_41292 AS col_41294,
            tab_31924.col_41293 AS col_41295,
            0::OID AS col_41296,
            false AS col_41297
        FROM
            (
                VALUES
                    (
                        'A'::STRING::STRING
                        NOT IN (
                                SELECT
                                    'E'::STRING::STRING AS col_41289
                                FROM
                                    (
                                        VALUES
                                            (NULL),
                                            (NULL),
                                            (NULL),
                                            (NULL)
                                    )
                                        AS tab_31923 (col_41288)
                                WHERE
                                    false
                            ),
                        NULL,
                        'B'::STRING,
                        3::OID
                    ),
                    (false, 4::OID, 'B'::STRING, 0::OID)
            )
                AS tab_31924
                    (col_41290, col_41291, col_41292, col_41293)
        WHERE
            tab_31924.col_41290
    )
        AS tab_31925
ORDER BY
    col_41294 NULLS FIRST,
    col_41295 NULLS FIRST,
    col_41296 NULLS FIRST,
    col_41297 NULLS FIRST;

The above query produces an error in the server log:

LOG:  server process (PID 108) was terminated by signal 11: Segmentation
fault



view thread (3+ messages)  latest in thread

Message-ID: <16213-871ac3bc208ecf23@postgresql.org>
Permalink:  ../16213-871ac3bc208ecf23@postgresql.org/
Also on:    postgresql.org/message-id/16213-871ac3bc208ecf23@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, matt.jibson@gmail.com
  Subject: Re: BUG #16213: segfault when running a query
  In-Reply-To: <16213-871ac3bc208ecf23@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox