Re: Memory leak (possibly connected to postgis) leading to server crash

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: Roman Cervenak <roman(at)cervenak(dot)info>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Memory leak (possibly connected to postgis) leading to server crash
Date: 2019-12-11 14:23:10
Message-ID: 20191211142310.f5qqzsgxkwt64j42@development
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

On Wed, Dec 11, 2019 at 12:09:11PM +0100, Roman Cervenak wrote:
>Hi,
>I am trying to do
>
>(gdb) p MemoryContextStats(TopMemoryContext)
>
>on postgres backend process, but the response is: 'TopMemoryContext' has
>unknown type; cast it to its declared type
>
>I never debugged postgres (or anything under linux), and google is not
>helpful. Can you please advise? Full output is attached.
>

Hmmmm, I don't recall having this issue. Can you try installing the
package with debug symbols, it should be called -debug or so.

regards

--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2019-12-11 15:06:37 Re: BUG #16059: Tab-completion of filenames in COPY commands removes required quotes
Previous Message Robert Haas 2019-12-11 14:17:35 Re: BUG #16059: Tab-completion of filenames in COPY commands removes required quotes