pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Johannes Mols <johannes.mols@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Hamid Akhtar <hamid.akhtar@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16351: PostgreSQL closing connection during requests with segmentation fault
Date: Thu, 09 Apr 2020 09:40:00 -0400
Message-ID: <27446.1586439600@sss.pgh.pa.us> (raw)
In-Reply-To: <CAOiYe5sAtdkAUxBCjvPt1jywqizGEubXBmcnxtiW9335hSGE+Q@mail.gmail.com>
References: <16351-5cac06fa29fc19e1@postgresql.org>
	<CANugjhtKxBCMhS8u9SX_DD66qhXBB11-pyxLGnG1QFG+o0+aag@mail.gmail.com>
	<1650.1586355059@sss.pgh.pa.us>
	<CAOiYe5vNZn2Ughp5SGxxqHWE38kuk8UECbQ8hB_twV9mxOX10Q@mail.gmail.com>
	<20200409014835.GN1606@paquier.xyz>
	<CAOiYe5sAtdkAUxBCjvPt1jywqizGEubXBmcnxtiW9335hSGE+Q@mail.gmail.com>

Johannes Mols <johannes.mols@gmail.com> writes:
> I did, but I'm unable to do so. The wiki asks me to enable debug packages
> as described here:  https://wiki.ubuntu.com/DebuggingProgramCrash
> I then found the postgresql-10-dbg package here:
> https://www.ubuntuupdates.org/package/postgresql/trusty-pgdg/main/base/postgresql-10-dbg
> ...
> The following packages have unmet dependencies:
>  postgresql-10-dbg : Depends: postgresql-10 (= 10.8-1.pgdg14.04+1) but
> 10.12-0ubuntu0.18.04.1 is to be installed

That's the wrong repo, evidently.  You got the code from the PGDG
repository, so you need to get the matching debug-symbol package
from the same place.  I gather you don't have the PGDG repo enabled
by default.  I'm not a debian/ubuntu person so I'm not sure about
the exact commands to enable a non-default repo for apt-get.

It looks like there may be a version skew problem as well.  10.12
is the latest v10 release, 10.8 is, um, not.  If you are still on
10.8 then it would behoove you to first update to 10.12 and see
if maybe we already fixed the bug.  In any case, you have to find
a debug-symbol package that *exactly* matches your installed code,
or it's worthless.

			regards, tom lane





view thread (11+ messages)  latest in thread

Message-ID: <27446.1586439600@sss.pgh.pa.us>
Permalink:  ../27446.1586439600@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27446.1586439600@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, johannes.mols@gmail.com, michael@paquier.xyz, hamid.akhtar@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16351: PostgreSQL closing connection during requests with segmentation fault
  In-Reply-To: <27446.1586439600@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