pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lars Aksel Opsahl <Lars.Opsahl@nibio.no>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: free(): invalid pointer , when to dumping data to a new server
Date: Tue, 27 Oct 2020 12:04:59 -0400
Message-ID: <1058472.1603814699@sss.pgh.pa.us> (raw)
In-Reply-To: <PR3P189MB1035C3DC4C526A813501E7FD9D160@PR3P189MB1035.EURP189.PROD.OUTLOOK.COM>
References: <AM7P189MB10282FF31D45127630C767739D1D0@AM7P189MB1028.EURP189.PROD.OUTLOOK.COM>
	<AM7P189MB1028756DDD017F9828C8FDE99D1D0@AM7P189MB1028.EURP189.PROD.OUTLOOK.COM>
	<AM7P189MB1028645B919276B0B6055FA49D190@AM7P189MB1028.EURP189.PROD.OUTLOOK.COM>
	<4ae13029956a4bbcb7f60aee6f97b62c6bf85b98.camel@cybertec.at>
	<PR3P189MB1035C3DC4C526A813501E7FD9D160@PR3P189MB1035.EURP189.PROD.OUTLOOK.COM>

Lars Aksel Opsahl <Lars.Opsahl@nibio.no> writes:
> Here is the new stackstrace not too much info that helps mee thou.

This is probably the reason why "bt" is producing garbage:

> BFD: warning: /var/lib/systemd/coredump/core.postmaster.26.6f7d98107f544085a41c6f8b876418d0.298120.1603810048000000 is truncated: expected core file size >= 2326896640, found: 2147483648

So the core file is being truncated at 2GB, but the process image was a
little bit larger than that.  You need to get a complete core file.

First thing I'd check is the "ulimit -c" setting that the postmaster is
being started under.  I see that systemd is capturing the core dump,
so it could also be that there's some systemd configuration you need
to adjust ("man systemd-coredump" might help here).

			regards, tom lane





view thread (12+ messages)  latest in thread

Message-ID: <1058472.1603814699@sss.pgh.pa.us>
Permalink:  ../1058472.1603814699@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1058472.1603814699@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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Lars.Opsahl@nibio.no, laurenz.albe@cybertec.at, pgsql-admin@lists.postgresql.org
  Subject: Re: free(): invalid pointer , when to dumping data to a new server
  In-Reply-To: <1058472.1603814699@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