From: Daniel Verite <daniel@manitou-mail.org>
To: dr00487751@techmahindra.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15704: Possible causes for calling abort () system call during querying database.
Date: Tue, 19 Mar 2019 14:36:02 +0100
Message-ID: <68d57135-8917-465c-81bd-511d77465fe7@manitou-mail.org> (raw)
In-Reply-To: <15704-c7a33dbbab491dce@postgresql.org>
PG Bug reporting form wrote:
> (gdb) bt
> #0 0x00007fddc8f664d8 in raise () from /lib64/libc.so.6
> #1 0x00007fddc8f695aa in abort () from /lib64/libc.so.6
> #2 0x00007fddc8fa092b in ?? () from /lib64/libc.so.6 -> Not sure which
> function is called by realloc in the postgres software
> #3 0x00007fddc8faa906 in ?? () from /lib64/libc.so.6 -> Not sure which
> function is called by realloc in the postgres software
> #4 0x00007fddc8faee7b in realloc () from /lib64/libc.so.6
> #5 0x00007fddcd5eb0fd in pqCheckInBufferSpace () from
> /hegw/postgres/lib/libpq.so.5
realloc() can abort when it finds out that the internal data
structures controlling memory allocations are corrupted.
It should also print an error message to stderr when this
occurs.
This is generally caused by earlier buffer overruns in user
code. The fact that the problem is detected when realloc()
is called from postgres code does not imply that
the problem originates in postgres code.
To locate the bug, it may help to run your application with valgrind.
Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite
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-bugs@postgresql.org
Cc: daniel@manitou-mail.org, dr00487751@techmahindra.com
Subject: Re: BUG #15704: Possible causes for calling abort () system call during querying database.
In-Reply-To: <68d57135-8917-465c-81bd-511d77465fe7@manitou-mail.org>
References: <15704-c7a33dbbab491dce@postgresql.org> <68d57135-8917-465c-81bd-511d77465fe7@manitou-mail.org>
* 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