From: Tom Lane <tgl@sss.pgh.pa.us>
To: vincent.lachenal@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14897: Segfault on statitics SQL request
Date: Fri, 10 Nov 2017 14:08:11 -0500
Message-ID: <1415.1510340891@sss.pgh.pa.us> (raw)
In-Reply-To: <20171110185747.31519.28038@wrigleys.postgresql.org>
References: <20171110185747.31519.28038@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
vincent.lachenal@gmail.com writes:
> But one of the resquest I use causes segmentation fault to server process.
> The request is :
> SELECT
> s.protocol,
> s.mapper,
> c.method,
> s.nb_threads,
> avg(c.client_end - c.client_start) / 1000000 AS total,
> avg(c.server_end - c.server_start) / 1000000 AS server,
> avg(c.server_start - c.client_start) / 1000000 AS client_to_server,
> avg(c.client_end - c.server_end) / 1000000 AS server_to_client
> FROM testsuite s
> INNER JOIN testcall c ON s.id = c.test_suite_id
> GROUP BY (s.protocol, s.mapper, c.method, s.nb_threads)
> ORDER BY s.nb_threads, c.method, s.mapper, s.protocol;
The query alone doesn't help us much. Can you put together a
self-contained test case, including table declarations and some
sample data? Also, are you using any non-default configuration
settings?
Alternatively, if you can get a stack trace from the crash,
that might be enough info to diagnose it (no promises though).
https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: tgl@sss.pgh.pa.us, vincent.lachenal@gmail.com
Subject: Re: BUG #14897: Segfault on statitics SQL request
In-Reply-To: <1415.1510340891@sss.pgh.pa.us>
* 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