Skip site navigation (1) Skip section navigation (2)

Re: Bug #456: postgres dumps core in initlocalbuffer

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: fb(at)plt(dot)de, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #456: postgres dumps core in initlocalbuffer
Date: 2001-09-19 18:03:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
pgsql-bugs(at)postgresql(dot)org writes:
> Stacktrace is:

> #0  0x812ac0c in chunk_free (ar_ptr=0x81cb860, p=0xd4ef05d3) at malloc.c:3125
> #1  0x812a4d3 in chunk_alloc (ar_ptr=0x81cb860, nb=7176) at malloc.c:2612
> #2  0x8129f8f in __libc_malloc (bytes=7168) at malloc.c:2714

This looks like malloc's bookkeeping data structures must have gotten
clobbered, perhaps by a wild store operation or freeing a chunk twice
or some such.  The error is doubtless somewhere in the postmaster,
not in InitLocalBuffer.  Before you expend effort trying to hunt it
down, I'd suggest updating to the latest stable release, 7.1.3 ---
the problem may be fixed already.  If that doesn't help, consider
linking the postmaster with a debugging malloc package, such as Electric

			regards, tom lane

In response to


pgsql-bugs by date

Next:From: pgsql-bugsDate: 2001-09-19 18:47:48
Subject: Bug #457: foreign keys are broken
Previous:From: pgsql-bugsDate: 2001-09-19 15:57:41
Subject: Bug #456: postgres dumps core in initlocalbuffer

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group