BUG #14735: A core dumpe is reported in the source of PostgreSQL

Started by ayi_zhoualmost 9 years ago3 messagesbugs
Jump to latest
#1ayi_zhou
ayi_zhou@aliyun.com

The following bug has been logged on the website:

Bug reference: 14735
Logged by: ayi zhou
Email address: ayi_zhou@aliyun.com
PostgreSQL version: Unsupported/Unknown
Operating system: centos66-2 2.6.32-504.el6.x86_64
Description:

PostgreSQL version: 8.4.20-6.el6.x86_64
OS: centos66-2 2.6.32-504.el6.x86_64

Here is the core dump information:

#0 0x00007f4ba2bd0569 in tcmalloc::CentralFreeList::FetchFromSpans() ()
from /usr/lib64/libtcmalloc.so.4
#1 0x00007f4ba2bd0ae7 in tcmalloc::CentralFreeList::RemoveRange(void**,
void**, int) () from /usr/lib64/libtcmalloc.so.4
#2 0x00007f4ba2bd48b5 in
tcmalloc::ThreadCache::FetchFromCentralCache(unsigned long, unsigned long)
() from /usr/lib64/libtcmalloc.so.4
#3 0x00007f4ba2be2b5b in tc_malloc () from /usr/lib64/libtcmalloc.so.4
#4 0x00007f4ba18b98c8 in PQmakeEmptyPGresult () from
/usr/lib64/libpq.so.5
#5 0x00007f4ba18c25fe in ?? () from /usr/lib64/libpq.so.5
#6 0x00007f4ba18ba488 in PQgetResult () from /usr/lib64/libpq.so.5
#7 0x00007f4ba18ba758 in ?? () from /usr/lib64/libpq.so.5
#8 0x0000000000466fd9 in executeDatabaseStatementScalar
(statement=Unhandled dwarf expression opcode 0xf3
)

thanks for your help inadvance!

Regards
ayi Zhou

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: ayi_zhou (#1)
Re: BUG #14735: A core dumpe is reported in the source of PostgreSQL

ayi_zhou@aliyun.com writes:

Here is the core dump information:

This looks like something has clobbered malloc's internal data structures.
I'm skeptical that it was libpq itself that did so, though. I'd suggest
running your program under valgrind or a similar tool to try to find the
cause.

regards, tom lane

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#3ayi_zhou
ayi_zhou@aliyun.com
In reply to: Tom Lane (#2)
回复:[BUGS] BUG #14735: A core dumpe is reported in the source of PostgreSQL

Tom,
Thanks for the reply,I will try your suggestion.
thanks again!Guoyi

------------------------------------------------------------------发件人:Tom Lane <tgl@sss.pgh.pa.us>发送时间:2017年7月5日(星期三) 22:43收件人:ayi_zhou <ayi_zhou@aliyun.com>抄 送:pgsql-bugs <pgsql-bugs@postgresql.org>主 题:Re: [BUGS] BUG #14735: A core dumpe is reported in the source of PostgreSQL
ayi_zhou@aliyun.com writes:

 Here is the core dump information: 

This looks like something has clobbered malloc's internal data structures.
I'm skeptical that it was libpq itself that did so, though.  I'd suggest
running your program under valgrind or a similar tool to try to find the
cause.

   regards, tom lane