psql crashes found when executing slash commands

From: "K S, Sandhya (Nokia - IN/Bangalore)" <sandhya(dot)k_s(at)nokia(dot)com>
To: "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org>
Subject: psql crashes found when executing slash commands
Date: 2018-06-06 07:06:24
Message-ID: VI1PR0702MB3693CB3B38D5B3A3BD52EF6BD6650@VI1PR0702MB3693.eurprd07.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

We recently upgraded to Postgres 9.6.8 version.
After the upgrade we are encountering crash for psql and it is happening only when we are executing "slash" commands.

Example:
template1=# create database tempora;
CREATE DATABASE
template1=# \c tempora
Segmentation fault (core dumped)

template1=# create table tmp (emp int);
CREATE TABLE
template1=# select count(*) from tmp;
count
-------
0
(1 row)

template1=# \l
Segmentation fault (core dumped)

Below is the backtrace:
(gdb) bt
#0 0x0000000120037a6c in slash_yylex ()
#1 0x0000000120038d04 in psql_scan_slash_command ()
Backtrace stopped: frame did not save the PC
(gdb) bt full
#0 0x0000000120037a6c in slash_yylex ()
No symbol table info available.
#1 0x0000000120038d04 in psql_scan_slash_command ()
No symbol table info available.
Backtrace stopped: frame did not save the PC

Regards,
Sandhya

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sergei Kornilov 2018-06-06 07:42:41 Re: psql crashes found when executing slash commands
Previous Message Fabien COELHO 2018-06-06 02:51:23 RE: BUG #15228: pgbench custom script numbering off-by-one