Re: segmentation fault in execTuples.c#ExecStoreVirtualTuple

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Manuel Kniep <manuel(at)adjust(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: segmentation fault in execTuples.c#ExecStoreVirtualTuple
Date: 2015-01-06 06:20:20
Message-ID: CAB7nPqQz1iryKjBcopaMkDjiQpkmksZ-2dTSum2qjd2RMOnHKQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 6, 2015 at 12:39 AM, Manuel Kniep <manuel(at)adjust(dot)com> wrote:
> Hi,
>
> we are running postges 9.3.5 on gentoo linux kernel 3.16.5, compiled with gcc 4.8.3
> Any ideas ?

> #17 0x000000000062bb9d in SPI_execute_with_args (
src=0x22b880bb0 "\n CREATE TEMPORARY TABLE
> [...]
> #33 0x00007f363555ab97 in plpgsql_exec_function (func=0xd888c8, fcinfo=0x7ffffaa89a60) at pl_exec.c:321
> #34 0x00007f36355552be in plpgsql_call_handler (fcinfo=0x7ffffaa89a60) at pl_handler.c:129
> [...]
> #46 0x000000000072e4eb in exec_simple_query (
> query_string=0xd633b0 "SELECT 'event' as item, '2014-12-30' as date, 'Backends::Backend9' as backend, '33' as bucket, * FROM materialize_events('2014-11-20', '2014-12-30')") at postgres.c:1048
From the backtrace you are showing, you are creating a temporary table
with CREATE TABLE AS within a plpgsql function. Could you provide a
self-contained test case?
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2015-01-06 06:40:40 Re: On partitioning
Previous Message Josh Berkus 2015-01-06 05:57:57 Re: Turning recovery.conf into GUCs