BUG #14657: Server process segmentation fault in v10, May 10th dev snapshot

From: sveinn(dot)sveinsson(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14657: Server process segmentation fault in v10, May 10th dev snapshot
Date: 2017-05-17 14:11:51
Message-ID: 20170517141151.1435.79890@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

The following bug has been logged on the website:

Bug reference: 14657
Logged by: Sveinn Sveinsson
Email address: sveinn(dot)sveinsson(at)gmail(dot)com
PostgreSQL version: Unsupported/Unknown
Operating system: Linux x86_64
Description:

The following causes segmentation fault in v10, May 10th development
snapshot:

create table test (sd timestamp,anb varchar(16)) partition by range (sd);

create table test_1 partition of test for values from ('2017-01-01') to
('2017-02-01');

create index test_1_a on test_1 (anb,sd);

insert into test values ('2017-01-01','12345');

select min(sd), max(sd) from test where anb='12345';

The server log file shows:

2017-05-16 09:36:13.243 UTC [1503] LOG: server process (PID 3474) was
terminated by signal 11: Segmentation fault
2017-05-16 09:36:13.243 UTC [1503] DETAIL: Failed process was running:
select min(sd), max(sd) from test where anb='12345';
2017-05-16 09:36:13.244 UTC [1503] LOG: terminating any other active server
processes
2017-05-16 09:36:13.245 UTC [3463] WARNING: terminating connection because
of crash of another server process

The stack trace is (no debug info):

Program terminated with signal 11, Segmentation fault.
#0 0x000000000061ab1b in list_nth ()
(gdb) bt
#0 0x000000000061ab1b in list_nth ()
#1 0x00000000005e4081 in ExecLockNonLeafAppendTables ()
#2 0x00000000005f4d52 in ExecInitMergeAppend ()
#3 0x00000000005e0365 in ExecInitNode ()
#4 0x00000000005f35a7 in ExecInitLimit ()
#5 0x00000000005e00f3 in ExecInitNode ()
#6 0x00000000005dd207 in standard_ExecutorStart ()
#7 0x00000000006f96d2 in PortalStart ()
#8 0x00000000006f5c7f in exec_simple_query ()
#9 0x00000000006f6fac in PostgresMain ()
#10 0x0000000000475cdc in ServerLoop ()
#11 0x0000000000692ffa in PostmasterMain ()
#12 0x0000000000476600 in main ()

Regards,
Sveinn Sveinsson.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dilip Kumar 2017-05-17 17:14:51 Re: BUG #14657: Server process segmentation fault in v10, May 10th dev snapshot
Previous Message David G. Johnston 2017-05-16 14:20:12 Re: BUG #14655: PostgreSQL 9.6 not compatible with QTS latest release

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-05-17 14:14:29 Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.
Previous Message Alvaro Herrera 2017-05-17 14:08:47 Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.