From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | ntinos(at)aueb(dot)gr |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: "bogus aset link" |
Date: | 2005-01-03 02:29:16 |
Message-ID: | 14376.1104719356@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
ntinos(at)aueb(dot)gr writes:
> While writting some code for the backend (some SPI-like functions for a
> project) I saw this message:
> "WARNING: problem in alloc set ExecutorState: bogus aset link in block
> 0x8301270, chunk 0x8304458"
> I think there is something wrong with some of the memory allocations I do,
> but this message is not helping me much in finding the exact error.
The most likely bet is that your code wrote past the end of a memory
chunk it had palloc'd, and thereby clobbered the bookkeeping info for
the next physically adjacent chunk.
You could home in on the location of the clobber by sprinkling
"MemoryContextCheck(TopMemoryContext)" calls through your code.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-01-03 02:31:21 | Re: OS X shared memory problems 8.0rc3 |
Previous Message | Timothy Perrigo | 2005-01-03 00:34:59 | Re: OS X shared memory problems 8.0rc3 |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-01-03 05:46:07 | CVS is very slow |
Previous Message | Marc G. Fournier | 2005-01-03 01:20:31 | Re: PostgreSQL 8.0.0 Release Candidate 3 |