pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Segmentation fault with PG-12
Date: Tue, 8 Oct 2019 20:40:13 +0200 (CEST)
Message-ID: <VisenaEmail.11f.58514559296fe1e1.16dacaab834@tc7-visena> (raw)
In-Reply-To: <21700.1570548261@sss.pgh.pa.us>

På tirsdag 08. oktober 2019 kl. 17:24:21, skrev Tom Lane <tgl@sss.pgh.pa.us 
<mailto:tgl@sss.pgh.pa.us>>: Andreas Joseph Krogh <andreas@visena.com> writes:
 > Will running a debug-enabled build slow things noticably down?

 gcc promises that the generated code is the same with or without debug.
 I think clang does too. With other compilers you may pay some penalty. Nice, 
I'm using the ubuntu-packages, so I'll go ahead and installpostgresql-12-dbgsym
> Is there a way
 > to make it dump a stack-trace (or back-trace in C-land?) on sig11?

 You should be able to get a core file from which you can extract a
 stack trace (and other info) after the fact.

 
https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend
I'll look into that, thanks. -- Andreas Joseph Krogh CTO / Partner - Visena AS 
Mobile: +47 909 56 963 andreas@visena.com <mailto:andreas@visena.com> 
www.visena.com <https://www.visena.com;  <https://www.visena.com;

view thread (15+ messages)  latest in thread

Message-ID: <VisenaEmail.11f.58514559296fe1e1.16dacaab834@tc7-visena>
Permalink:  ../VisenaEmail.11f.58514559296fe1e1.16dacaab834@tc7-visena/
Also on:    postgresql.org/message-id/VisenaEmail.11f.58514559296fe1e1.16dacaab834@tc7-visena

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andreas@visena.com
  Subject: Re: Segmentation fault with PG-12
  In-Reply-To: <VisenaEmail.11f.58514559296fe1e1.16dacaab834@tc7-visena>
  References: <21700.1570548261@sss.pgh.pa.us> <VisenaEmail.11f.58514559296fe1e1.16dacaab834@tc7-visena>

* 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