foreign table: WARNING: problem in alloc set ExecutorState detected write past chunk end in block ...

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: foreign table: WARNING: problem in alloc set ExecutorState detected write past chunk end in block ...
Date: 2011-09-13 22:11:34
Message-ID: CAK3UJRGPY+=50=+_g1wY_h9pmja2=U=HeHae2zKE0sy0-GPUMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While trying to test out the "EXPLAIN and nfiltered, take two" patch
with its test file "explaintesti", I noticed I was getting a warning
message like:

WARNING: problem in alloc set ExecutorState: detected write past
chunk end in block 0x101134e00, chunk 0x101134f38

I got the same warning on unpatched git head as well. I was able to
reproduce the problem with the attached input.sql file, along with a
dummy input file, dummy_passwd, for the foreign table to read from. I
get the above warning along with:

ERROR: missing data for column "pass"
CONTEXT: COPY passwd, line 1: "##"
STATEMENT: SELECT * FROM passwd WHERE uid > 4;

The error message is not surprising, since I am feeding the foreign
table improperly-formatted lines. The warning is what concerns me;
from the comments in aset.c and the warning message text itself, I
gather this is not expected. I tested on OS X 10.6, with
--enable-cassert --enable-debug.

Josh

Attachment Content-Type Size
input.sql application/octet-stream 416 bytes
dummy_passwd application/octet-stream 28 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2011-09-13 22:17:32 Re: Rough impl of IGNORE NULLS for window functions
Previous Message Tomas Vondra 2011-09-13 22:01:10 Re: performance-test farm