Hi,
A couple of days ago we got a report regarding an incorrect shmem size
calculation in btree [1], leading to a buffer overflow / memory
corruption. Which became a much less common issue in our code, thanks to
valgrind and similar tools. But it took me a while to realize valgrind
won't catch this because we only instrument private memory (palloc et
al), while shmem is left alone.
I was wondering if it's feasible to improve this. Attached is a trivial
patch that adjusts shm_toc.c to add a couple NOACCESS bytes after each
entry in the segment. It seems to do the trick - with this we get a
reasonable report (for the reproducer provided in the bug report, before
it got fixed by 748d871b7c) from valgrind, with invalid accesses. See
the attached .log for an example. It's much better than the confusing
crashes due to corrupted state.
There's an issue, though. It seems the valgrind memory markings are not
shared between processes. The leader sets the shm_toc up, marks the
ranges as NOACCESS, and then checks it while accessing the memory. But
the parallel workers don't seem to see this, and so will produce no
reports. I'm assuming this is the case, because all the reports come
from the leader, never from the workers. Maybe there's a different
explanation (e.g. maybe it's just the leader touching the memory?).
Still, it seems useful even with this limitation. If the leader
participates, it will produce a nice report (unless the worker crashes
first, because of the corrupted state). But we also have
debug_parallel_query = regress
in which case everything should run in a single process, and work just
fine. Maybe that's good enough.
An alternative would be to do mprotect(), but unfortunately it requires
page-aligned ranges, which makes it somewhat useless for small overflows
of a couple bytes (like here). It should work cross-process, I think,
FWIW the PoC patch adds a 32-byte chunk, not just a single byte. This is
intentional, because if the state is an array, it's quite possible the
invalid access steps over a fair number of bytes. I'm actually thinking
it should be even larger.
This modifies just the dynamic shmem, but maybe we should do this even
for the "regular" shmem allocated at start. Issues in that would likely
cause crashes pretty quick (unlike the btree issue, which requires a
somewhat special reproducer), but a nice valgrind report helps.
regards
[1]
https://www.postgresql.org/message-id/CAGCUe0Lwk3C0qdkBa%2BOLpYc7yXwW%3Dpbaz8Sju4xMXEQAmyp%2B5g%40mail.gmail.com
--
Tomas Vondra
From 2cbe2650f80f062928dbb0e8bc60fc5d602d24af Mon Sep 17 00:00:00 2001
From: test <test>
Date: Sat, 2 May 2026 23:09:00 +0200
Subject: [PATCH] valgrind: add NOACCESS sentinels for dynamic shmem
When build with USE_VALGRIND, add a couple NOACCESS bytes after each
entry allocated from the segment.
Unfortunately, these markings don't seem to be shared between processes,
so it applies only for the process that sets it up (i.e. the parallel
leader), and not the workers. Even with this limitation it seems useful,
as the leader may participate in the processing. We also have
debug_parallel_query=regress, running everything in a single process.
---
src/backend/storage/ipc/shm_toc.c | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/src/backend/storage/ipc/shm_toc.c b/src/backend/storage/ipc/shm_toc.c
index 2f9fbb0a519..0c17e1adf85 100644
--- a/src/backend/storage/ipc/shm_toc.c
+++ b/src/backend/storage/ipc/shm_toc.c
@@ -16,6 +16,7 @@
#include "port/atomics.h"
#include "storage/shm_toc.h"
#include "storage/spin.h"
+#include "utils/memdebug.h"
typedef struct shm_toc_entry
{
@@ -74,6 +75,13 @@ shm_toc_attach(uint64 magic, void *address)
return toc;
}
+/* with valgrind, we want to add a couple NOACCESS bytes */
+#ifdef USE_VALGRIND
+#define NUM_NOACCESS_BYTES 32
+#else
+#define NUM_NOACCESS_BYTES 0
+#endif
+
/*
* Allocate shared memory from a segment managed by a table of contents.
*
@@ -119,9 +127,19 @@ shm_toc_allocate(shm_toc *toc, Size nbytes)
}
vtoc->toc_allocated_bytes += nbytes;
+#ifdef USE_VALGRIND
+ vtoc->toc_allocated_bytes += NUM_NOACCESS_BYTES;
+#endif
+
SpinLockRelease(&toc->toc_mutex);
- return ((char *) toc) + (total_bytes - allocated_bytes - nbytes);
+#ifdef USE_VALGRIND
+ /* make the bytes at the end no-access */
+ VALGRIND_MAKE_MEM_NOACCESS(((char *) toc) + (total_bytes - allocated_bytes - NUM_NOACCESS_BYTES),
+ NUM_NOACCESS_BYTES);
+#endif
+
+ return ((char *) toc) + (total_bytes - allocated_bytes - nbytes - NUM_NOACCESS_BYTES);
}
/*
@@ -275,5 +293,8 @@ shm_toc_estimate(shm_toc_estimator *e)
sz = add_size(sz, mul_size(e->number_of_keys, sizeof(shm_toc_entry)));
sz = add_size(sz, e->space_for_chunks);
+ /* add space for ENOACCESS bytes, NUM_NOACCESS_BYTES per key */
+ sz = add_size(sz, mul_size(e->number_of_keys, NUM_NOACCESS_BYTES));
+
return BUFFERALIGN(sz);
}
--
2.54.0
==1159420== Invalid write of size 4
==1159420== at 0x2AB798: _bt_parallel_serialize_arrays (nbtree.c:739)
==1159420== by 0x2AC0C6: _bt_parallel_primscan_schedule (nbtree.c:1106)
==1159420== by 0x2A89F3: _bt_advance_array_keys (nbtreadpage.c:2831)
==1159420== by 0x2A6D90: _bt_checkkeys (nbtreadpage.c:1261)
==1159420== by 0x2A50A2: _bt_readpage (nbtreadpage.c:259)
==1159420== by 0x2B01F9: _bt_readfirstpage (nbtsearch.c:1780)
==1159420== by 0x2B102E: _bt_endpoint (nbtsearch.c:2232)
==1159420== by 0x2AF2D9: _bt_first (nbtsearch.c:1245)
==1159420== by 0x2AA8BA: btgettuple (nbtree.c:249)
==1159420== by 0x28F0AB: index_getnext_tid (indexam.c:615)
==1159420== by 0x28F2C5: index_getnext_slot (indexam.c:707)
==1159420== by 0x55FDF7: IndexNext (nodeIndexscan.c:135)
==1159420== by 0x532834: ExecScanFetch (execScan.h:135)
==1159420== by 0x53289B: ExecScanExtended (execScan.h:179)
==1159420== by 0x532A07: ExecScan (execScan.c:59)
==1159420== by 0x5608F1: ExecIndexScan (nodeIndexscan.c:540)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x5485DF: ExecProcNode (executor.h:327)
==1159420== by 0x548D83: ExecAppend (nodeAppend.c:368)
==1159420== Address 0x1235e500 is 24 bytes before a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:_bt_parallel_serialize_arrays
fun:_bt_parallel_primscan_schedule
fun:_bt_advance_array_keys
fun:_bt_checkkeys
fun:_bt_readpage
fun:_bt_readfirstpage
fun:_bt_endpoint
fun:_bt_first
fun:btgettuple
fun:index_getnext_tid
fun:index_getnext_slot
fun:IndexNext
fun:ExecScanFetch
fun:ExecScanExtended
fun:ExecScan
fun:ExecIndexScan
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:ExecAppend
}
==1159420== Invalid write of size 4
==1159420== at 0x8A311D: datumSerialize (datum.c:516)
==1159420== by 0x2AB818: _bt_parallel_serialize_arrays (nbtree.c:749)
==1159420== by 0x2AC0C6: _bt_parallel_primscan_schedule (nbtree.c:1106)
==1159420== by 0x2A89F3: _bt_advance_array_keys (nbtreadpage.c:2831)
==1159420== by 0x2A6D90: _bt_checkkeys (nbtreadpage.c:1261)
==1159420== by 0x2A50A2: _bt_readpage (nbtreadpage.c:259)
==1159420== by 0x2B01F9: _bt_readfirstpage (nbtsearch.c:1780)
==1159420== by 0x2B102E: _bt_endpoint (nbtsearch.c:2232)
==1159420== by 0x2AF2D9: _bt_first (nbtsearch.c:1245)
==1159420== by 0x2AA8BA: btgettuple (nbtree.c:249)
==1159420== by 0x28F0AB: index_getnext_tid (indexam.c:615)
==1159420== by 0x28F2C5: index_getnext_slot (indexam.c:707)
==1159420== by 0x55FDF7: IndexNext (nodeIndexscan.c:135)
==1159420== by 0x532834: ExecScanFetch (execScan.h:135)
==1159420== by 0x53289B: ExecScanExtended (execScan.h:179)
==1159420== by 0x532A07: ExecScan (execScan.c:59)
==1159420== by 0x5608F1: ExecIndexScan (nodeIndexscan.c:540)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x5485DF: ExecProcNode (executor.h:327)
==1159420== Address 0x1235e504 is 20 bytes before a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:datumSerialize
fun:_bt_parallel_serialize_arrays
fun:_bt_parallel_primscan_schedule
fun:_bt_advance_array_keys
fun:_bt_checkkeys
fun:_bt_readpage
fun:_bt_readfirstpage
fun:_bt_endpoint
fun:_bt_first
fun:btgettuple
fun:index_getnext_tid
fun:index_getnext_slot
fun:IndexNext
fun:ExecScanFetch
fun:ExecScanExtended
fun:ExecScan
fun:ExecIndexScan
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
}
==1159420== Invalid write of size 8
==1159420== at 0x8A3151: datumSerialize (datum.c:524)
==1159420== by 0x2AB818: _bt_parallel_serialize_arrays (nbtree.c:749)
==1159420== by 0x2AC0C6: _bt_parallel_primscan_schedule (nbtree.c:1106)
==1159420== by 0x2A89F3: _bt_advance_array_keys (nbtreadpage.c:2831)
==1159420== by 0x2A6D90: _bt_checkkeys (nbtreadpage.c:1261)
==1159420== by 0x2A50A2: _bt_readpage (nbtreadpage.c:259)
==1159420== by 0x2B01F9: _bt_readfirstpage (nbtsearch.c:1780)
==1159420== by 0x2B102E: _bt_endpoint (nbtsearch.c:2232)
==1159420== by 0x2AF2D9: _bt_first (nbtsearch.c:1245)
==1159420== by 0x2AA8BA: btgettuple (nbtree.c:249)
==1159420== by 0x28F0AB: index_getnext_tid (indexam.c:615)
==1159420== by 0x28F2C5: index_getnext_slot (indexam.c:707)
==1159420== by 0x55FDF7: IndexNext (nodeIndexscan.c:135)
==1159420== by 0x532834: ExecScanFetch (execScan.h:135)
==1159420== by 0x53289B: ExecScanExtended (execScan.h:179)
==1159420== by 0x532A07: ExecScan (execScan.c:59)
==1159420== by 0x5608F1: ExecIndexScan (nodeIndexscan.c:540)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x5485DF: ExecProcNode (executor.h:327)
==1159420== Address 0x1235e508 is 16 bytes before a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:datumSerialize
fun:_bt_parallel_serialize_arrays
fun:_bt_parallel_primscan_schedule
fun:_bt_advance_array_keys
fun:_bt_checkkeys
fun:_bt_readpage
fun:_bt_readfirstpage
fun:_bt_endpoint
fun:_bt_first
fun:btgettuple
fun:index_getnext_tid
fun:index_getnext_slot
fun:IndexNext
fun:ExecScanFetch
fun:ExecScanExtended
fun:ExecScan
fun:ExecIndexScan
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
}
==1159420== Invalid read of size 4
==1159420== at 0x2AB982: _bt_parallel_restore_arrays (nbtree.c:786)
==1159420== by 0x2ABD09: _bt_parallel_seize (nbtree.c:942)
==1159420== by 0x2AEBDF: _bt_first (nbtsearch.c:920)
==1159420== by 0x2AA8BA: btgettuple (nbtree.c:249)
==1159420== by 0x28F0AB: index_getnext_tid (indexam.c:615)
==1159420== by 0x28F2C5: index_getnext_slot (indexam.c:707)
==1159420== by 0x55FDF7: IndexNext (nodeIndexscan.c:135)
==1159420== by 0x532834: ExecScanFetch (execScan.h:135)
==1159420== by 0x53289B: ExecScanExtended (execScan.h:179)
==1159420== by 0x532A07: ExecScan (execScan.c:59)
==1159420== by 0x5608F1: ExecIndexScan (nodeIndexscan.c:540)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x5485DF: ExecProcNode (executor.h:327)
==1159420== by 0x548D83: ExecAppend (nodeAppend.c:368)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x54F8FD: ExecProcNode (executor.h:327)
==1159420== by 0x54FFF2: gather_getnext (nodeGather.c:295)
==1159420== by 0x54FE86: ExecGather (nodeGather.c:230)
==1159420== Address 0x1235e500 is 24 bytes before a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:_bt_parallel_restore_arrays
fun:_bt_parallel_seize
fun:_bt_first
fun:btgettuple
fun:index_getnext_tid
fun:index_getnext_slot
fun:IndexNext
fun:ExecScanFetch
fun:ExecScanExtended
fun:ExecScan
fun:ExecIndexScan
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:ExecAppend
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:gather_getnext
fun:ExecGather
}
==1159420== Invalid read of size 4
==1159420== at 0x8A323A: datumRestore (datum.c:565)
==1159420== by 0x2AB9E4: _bt_parallel_restore_arrays (nbtree.c:797)
==1159420== by 0x2ABD09: _bt_parallel_seize (nbtree.c:942)
==1159420== by 0x2AEBDF: _bt_first (nbtsearch.c:920)
==1159420== by 0x2AA8BA: btgettuple (nbtree.c:249)
==1159420== by 0x28F0AB: index_getnext_tid (indexam.c:615)
==1159420== by 0x28F2C5: index_getnext_slot (indexam.c:707)
==1159420== by 0x55FDF7: IndexNext (nodeIndexscan.c:135)
==1159420== by 0x532834: ExecScanFetch (execScan.h:135)
==1159420== by 0x53289B: ExecScanExtended (execScan.h:179)
==1159420== by 0x532A07: ExecScan (execScan.c:59)
==1159420== by 0x5608F1: ExecIndexScan (nodeIndexscan.c:540)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x5485DF: ExecProcNode (executor.h:327)
==1159420== by 0x548D83: ExecAppend (nodeAppend.c:368)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x54F8FD: ExecProcNode (executor.h:327)
==1159420== by 0x54FFF2: gather_getnext (nodeGather.c:295)
==1159420== Address 0x1235e504 is 20 bytes before a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:datumRestore
fun:_bt_parallel_restore_arrays
fun:_bt_parallel_seize
fun:_bt_first
fun:btgettuple
fun:index_getnext_tid
fun:index_getnext_slot
fun:IndexNext
fun:ExecScanFetch
fun:ExecScanExtended
fun:ExecScan
fun:ExecIndexScan
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:ExecAppend
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:gather_getnext
}
==1159420== Invalid read of size 8
==1159420== at 0x8A3280: datumRestore (datum.c:583)
==1159420== by 0x2AB9E4: _bt_parallel_restore_arrays (nbtree.c:797)
==1159420== by 0x2ABD09: _bt_parallel_seize (nbtree.c:942)
==1159420== by 0x2AEBDF: _bt_first (nbtsearch.c:920)
==1159420== by 0x2AA8BA: btgettuple (nbtree.c:249)
==1159420== by 0x28F0AB: index_getnext_tid (indexam.c:615)
==1159420== by 0x28F2C5: index_getnext_slot (indexam.c:707)
==1159420== by 0x55FDF7: IndexNext (nodeIndexscan.c:135)
==1159420== by 0x532834: ExecScanFetch (execScan.h:135)
==1159420== by 0x53289B: ExecScanExtended (execScan.h:179)
==1159420== by 0x532A07: ExecScan (execScan.c:59)
==1159420== by 0x5608F1: ExecIndexScan (nodeIndexscan.c:540)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x5485DF: ExecProcNode (executor.h:327)
==1159420== by 0x548D83: ExecAppend (nodeAppend.c:368)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x54F8FD: ExecProcNode (executor.h:327)
==1159420== by 0x54FFF2: gather_getnext (nodeGather.c:295)
==1159420== Address 0x1235e508 is 16 bytes before a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:datumRestore
fun:_bt_parallel_restore_arrays
fun:_bt_parallel_seize
fun:_bt_first
fun:btgettuple
fun:index_getnext_tid
fun:index_getnext_slot
fun:IndexNext
fun:ExecScanFetch
fun:ExecScanExtended
fun:ExecScan
fun:ExecIndexScan
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:ExecAppend
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:gather_getnext
}
==1159420== Invalid write of size 4
==1159420== at 0x2AB798: _bt_parallel_serialize_arrays (nbtree.c:739)
==1159420== by 0x2AC0C6: _bt_parallel_primscan_schedule (nbtree.c:1106)
==1159420== by 0x2A4F6E: _bt_readpage (nbtreadpage.c:218)
==1159420== by 0x2B062B: _bt_readnextpage (nbtsearch.c:1915)
==1159420== by 0x2B0131: _bt_steppage (nbtsearch.c:1723)
==1159420== by 0x2B02C9: _bt_readfirstpage (nbtsearch.c:1797)
==1159420== by 0x2AFB8C: _bt_first (nbtsearch.c:1564)
==1159420== by 0x2AA8BA: btgettuple (nbtree.c:249)
==1159420== by 0x28F0AB: index_getnext_tid (indexam.c:615)
==1159420== by 0x28F2C5: index_getnext_slot (indexam.c:707)
==1159420== by 0x55FDF7: IndexNext (nodeIndexscan.c:135)
==1159420== by 0x532834: ExecScanFetch (execScan.h:135)
==1159420== by 0x53289B: ExecScanExtended (execScan.h:179)
==1159420== by 0x532A07: ExecScan (execScan.c:59)
==1159420== by 0x5608F1: ExecIndexScan (nodeIndexscan.c:540)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x5485DF: ExecProcNode (executor.h:327)
==1159420== by 0x548D83: ExecAppend (nodeAppend.c:368)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== Address 0x1235e500 is 24 bytes before a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:_bt_parallel_serialize_arrays
fun:_bt_parallel_primscan_schedule
fun:_bt_readpage
fun:_bt_readnextpage
fun:_bt_steppage
fun:_bt_readfirstpage
fun:_bt_first
fun:btgettuple
fun:index_getnext_tid
fun:index_getnext_slot
fun:IndexNext
fun:ExecScanFetch
fun:ExecScanExtended
fun:ExecScan
fun:ExecIndexScan
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:ExecAppend
fun:ExecProcNodeInstr
}
==1159420== Invalid write of size 4
==1159420== at 0x8A311D: datumSerialize (datum.c:516)
==1159420== by 0x2AB818: _bt_parallel_serialize_arrays (nbtree.c:749)
==1159420== by 0x2AC0C6: _bt_parallel_primscan_schedule (nbtree.c:1106)
==1159420== by 0x2A4F6E: _bt_readpage (nbtreadpage.c:218)
==1159420== by 0x2B062B: _bt_readnextpage (nbtsearch.c:1915)
==1159420== by 0x2B0131: _bt_steppage (nbtsearch.c:1723)
==1159420== by 0x2B02C9: _bt_readfirstpage (nbtsearch.c:1797)
==1159420== by 0x2AFB8C: _bt_first (nbtsearch.c:1564)
==1159420== by 0x2AA8BA: btgettuple (nbtree.c:249)
==1159420== by 0x28F0AB: index_getnext_tid (indexam.c:615)
==1159420== by 0x28F2C5: index_getnext_slot (indexam.c:707)
==1159420== by 0x55FDF7: IndexNext (nodeIndexscan.c:135)
==1159420== by 0x532834: ExecScanFetch (execScan.h:135)
==1159420== by 0x53289B: ExecScanExtended (execScan.h:179)
==1159420== by 0x532A07: ExecScan (execScan.c:59)
==1159420== by 0x5608F1: ExecIndexScan (nodeIndexscan.c:540)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x5485DF: ExecProcNode (executor.h:327)
==1159420== by 0x548D83: ExecAppend (nodeAppend.c:368)
==1159420== Address 0x1235e504 is 20 bytes before a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:datumSerialize
fun:_bt_parallel_serialize_arrays
fun:_bt_parallel_primscan_schedule
fun:_bt_readpage
fun:_bt_readnextpage
fun:_bt_steppage
fun:_bt_readfirstpage
fun:_bt_first
fun:btgettuple
fun:index_getnext_tid
fun:index_getnext_slot
fun:IndexNext
fun:ExecScanFetch
fun:ExecScanExtended
fun:ExecScan
fun:ExecIndexScan
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:ExecAppend
}
==1159420== Invalid write of size 8
==1159420== at 0x8A3151: datumSerialize (datum.c:524)
==1159420== by 0x2AB818: _bt_parallel_serialize_arrays (nbtree.c:749)
==1159420== by 0x2AC0C6: _bt_parallel_primscan_schedule (nbtree.c:1106)
==1159420== by 0x2A4F6E: _bt_readpage (nbtreadpage.c:218)
==1159420== by 0x2B062B: _bt_readnextpage (nbtsearch.c:1915)
==1159420== by 0x2B0131: _bt_steppage (nbtsearch.c:1723)
==1159420== by 0x2B02C9: _bt_readfirstpage (nbtsearch.c:1797)
==1159420== by 0x2AFB8C: _bt_first (nbtsearch.c:1564)
==1159420== by 0x2AA8BA: btgettuple (nbtree.c:249)
==1159420== by 0x28F0AB: index_getnext_tid (indexam.c:615)
==1159420== by 0x28F2C5: index_getnext_slot (indexam.c:707)
==1159420== by 0x55FDF7: IndexNext (nodeIndexscan.c:135)
==1159420== by 0x532834: ExecScanFetch (execScan.h:135)
==1159420== by 0x53289B: ExecScanExtended (execScan.h:179)
==1159420== by 0x532A07: ExecScan (execScan.c:59)
==1159420== by 0x5608F1: ExecIndexScan (nodeIndexscan.c:540)
==1159420== by 0x53E507: ExecProcNodeInstr (instrument.c:187)
==1159420== by 0x52D7C2: ExecProcNodeFirst (execProcnode.c:469)
==1159420== by 0x5485DF: ExecProcNode (executor.h:327)
==1159420== by 0x548D83: ExecAppend (nodeAppend.c:368)
==1159420== Address 0x1235e508 is 16 bytes before a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:datumSerialize
fun:_bt_parallel_serialize_arrays
fun:_bt_parallel_primscan_schedule
fun:_bt_readpage
fun:_bt_readnextpage
fun:_bt_steppage
fun:_bt_readfirstpage
fun:_bt_first
fun:btgettuple
fun:index_getnext_tid
fun:index_getnext_slot
fun:IndexNext
fun:ExecScanFetch
fun:ExecScanExtended
fun:ExecScan
fun:ExecIndexScan
fun:ExecProcNodeInstr
fun:ExecProcNodeFirst
fun:ExecProcNode
fun:ExecAppend
}
==1159420== Invalid read of size 8
==1159420== at 0x4852684: memmove (vg_replace_strmem.c:1414)
==1159420== by 0x54C675: ExecBitmapIndexScanRetrieveInstrumentation (nodeBitmapIndexscan.c:447)
==1159420== by 0x527685: ExecParallelRetrieveInstrumentation (execParallel.c:1143)
==1159420== by 0x5EBAB7: planstate_tree_walker_impl (nodeFuncs.c:4861)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5EBE07: planstate_walk_members (nodeFuncs.c:4953)
==1159420== by 0x5EBB53: planstate_tree_walker_impl (nodeFuncs.c:4876)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5279AE: ExecParallelCleanup (execParallel.c:1278)
==1159420== by 0x550361: ExecShutdownGather (nodeGather.c:426)
==1159420== by 0x52DD0A: ExecShutdownNode_walker (execProcnode.c:784)
==1159420== by 0x52DC59: ExecShutdownNode (execProcnode.c:755)
==1159420== by 0x5228D3: ExecutePlan (execMain.c:1794)
==1159420== by 0x51FE84: standard_ExecutorRun (execMain.c:377)
==1159420== by 0x51FCE6: ExecutorRun (execMain.c:314)
==1159420== by 0x4435D6: ExplainOnePlan (explain.c:587)
==1159420== by 0x442F9E: standard_ExplainOneQuery (explain.c:378)
==1159420== by 0x442CF5: ExplainOneQuery (explain.c:315)
==1159420== by 0x442973: ExplainQuery (explain.c:228)
==1159420== by 0x837AE3: standard_ProcessUtility (utility.c:871)
==1159420== Address 0x1235e560 is 72 bytes inside a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:memmove
fun:ExecBitmapIndexScanRetrieveInstrumentation
fun:ExecParallelRetrieveInstrumentation
fun:planstate_tree_walker_impl
fun:ExecParallelRetrieveInstrumentation
fun:planstate_walk_members
fun:planstate_tree_walker_impl
fun:ExecParallelRetrieveInstrumentation
fun:ExecParallelCleanup
fun:ExecShutdownGather
fun:ExecShutdownNode_walker
fun:ExecShutdownNode
fun:ExecutePlan
fun:standard_ExecutorRun
fun:ExecutorRun
fun:ExplainOnePlan
fun:standard_ExplainOneQuery
fun:ExplainOneQuery
fun:ExplainQuery
fun:standard_ProcessUtility
}
==1159420== Invalid read of size 8
==1159420== at 0x485268F: memmove (vg_replace_strmem.c:1414)
==1159420== by 0x54C675: ExecBitmapIndexScanRetrieveInstrumentation (nodeBitmapIndexscan.c:447)
==1159420== by 0x527685: ExecParallelRetrieveInstrumentation (execParallel.c:1143)
==1159420== by 0x5EBAB7: planstate_tree_walker_impl (nodeFuncs.c:4861)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5EBE07: planstate_walk_members (nodeFuncs.c:4953)
==1159420== by 0x5EBB53: planstate_tree_walker_impl (nodeFuncs.c:4876)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5279AE: ExecParallelCleanup (execParallel.c:1278)
==1159420== by 0x550361: ExecShutdownGather (nodeGather.c:426)
==1159420== by 0x52DD0A: ExecShutdownNode_walker (execProcnode.c:784)
==1159420== by 0x52DC59: ExecShutdownNode (execProcnode.c:755)
==1159420== by 0x5228D3: ExecutePlan (execMain.c:1794)
==1159420== by 0x51FE84: standard_ExecutorRun (execMain.c:377)
==1159420== by 0x51FCE6: ExecutorRun (execMain.c:314)
==1159420== by 0x4435D6: ExplainOnePlan (explain.c:587)
==1159420== by 0x442F9E: standard_ExplainOneQuery (explain.c:378)
==1159420== by 0x442CF5: ExplainOneQuery (explain.c:315)
==1159420== by 0x442973: ExplainQuery (explain.c:228)
==1159420== by 0x837AE3: standard_ProcessUtility (utility.c:871)
==1159420== Address 0x1235e568 is 80 bytes inside a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:memmove
fun:ExecBitmapIndexScanRetrieveInstrumentation
fun:ExecParallelRetrieveInstrumentation
fun:planstate_tree_walker_impl
fun:ExecParallelRetrieveInstrumentation
fun:planstate_walk_members
fun:planstate_tree_walker_impl
fun:ExecParallelRetrieveInstrumentation
fun:ExecParallelCleanup
fun:ExecShutdownGather
fun:ExecShutdownNode_walker
fun:ExecShutdownNode
fun:ExecutePlan
fun:standard_ExecutorRun
fun:ExecutorRun
fun:ExplainOnePlan
fun:standard_ExplainOneQuery
fun:ExplainOneQuery
fun:ExplainQuery
fun:standard_ProcessUtility
}
==1159420== Invalid read of size 8
==1159420== at 0x4852697: memmove (vg_replace_strmem.c:1414)
==1159420== by 0x54C675: ExecBitmapIndexScanRetrieveInstrumentation (nodeBitmapIndexscan.c:447)
==1159420== by 0x527685: ExecParallelRetrieveInstrumentation (execParallel.c:1143)
==1159420== by 0x5EBAB7: planstate_tree_walker_impl (nodeFuncs.c:4861)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5EBE07: planstate_walk_members (nodeFuncs.c:4953)
==1159420== by 0x5EBB53: planstate_tree_walker_impl (nodeFuncs.c:4876)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5279AE: ExecParallelCleanup (execParallel.c:1278)
==1159420== by 0x550361: ExecShutdownGather (nodeGather.c:426)
==1159420== by 0x52DD0A: ExecShutdownNode_walker (execProcnode.c:784)
==1159420== by 0x52DC59: ExecShutdownNode (execProcnode.c:755)
==1159420== by 0x5228D3: ExecutePlan (execMain.c:1794)
==1159420== by 0x51FE84: standard_ExecutorRun (execMain.c:377)
==1159420== by 0x51FCE6: ExecutorRun (execMain.c:314)
==1159420== by 0x4435D6: ExplainOnePlan (explain.c:587)
==1159420== by 0x442F9E: standard_ExplainOneQuery (explain.c:378)
==1159420== by 0x442CF5: ExplainOneQuery (explain.c:315)
==1159420== by 0x442973: ExplainQuery (explain.c:228)
==1159420== by 0x837AE3: standard_ProcessUtility (utility.c:871)
==1159420== Address 0x1235e570 is 88 bytes inside a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:memmove
fun:ExecBitmapIndexScanRetrieveInstrumentation
fun:ExecParallelRetrieveInstrumentation
fun:planstate_tree_walker_impl
fun:ExecParallelRetrieveInstrumentation
fun:planstate_walk_members
fun:planstate_tree_walker_impl
fun:ExecParallelRetrieveInstrumentation
fun:ExecParallelCleanup
fun:ExecShutdownGather
fun:ExecShutdownNode_walker
fun:ExecShutdownNode
fun:ExecutePlan
fun:standard_ExecutorRun
fun:ExecutorRun
fun:ExplainOnePlan
fun:standard_ExplainOneQuery
fun:ExplainOneQuery
fun:ExplainQuery
fun:standard_ProcessUtility
}
==1159420== Invalid read of size 8
==1159420== at 0x485269F: memmove (vg_replace_strmem.c:1414)
==1159420== by 0x54C675: ExecBitmapIndexScanRetrieveInstrumentation (nodeBitmapIndexscan.c:447)
==1159420== by 0x527685: ExecParallelRetrieveInstrumentation (execParallel.c:1143)
==1159420== by 0x5EBAB7: planstate_tree_walker_impl (nodeFuncs.c:4861)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5EBE07: planstate_walk_members (nodeFuncs.c:4953)
==1159420== by 0x5EBB53: planstate_tree_walker_impl (nodeFuncs.c:4876)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5279AE: ExecParallelCleanup (execParallel.c:1278)
==1159420== by 0x550361: ExecShutdownGather (nodeGather.c:426)
==1159420== by 0x52DD0A: ExecShutdownNode_walker (execProcnode.c:784)
==1159420== by 0x52DC59: ExecShutdownNode (execProcnode.c:755)
==1159420== by 0x5228D3: ExecutePlan (execMain.c:1794)
==1159420== by 0x51FE84: standard_ExecutorRun (execMain.c:377)
==1159420== by 0x51FCE6: ExecutorRun (execMain.c:314)
==1159420== by 0x4435D6: ExplainOnePlan (explain.c:587)
==1159420== by 0x442F9E: standard_ExplainOneQuery (explain.c:378)
==1159420== by 0x442CF5: ExplainOneQuery (explain.c:315)
==1159420== by 0x442973: ExplainQuery (explain.c:228)
==1159420== by 0x837AE3: standard_ProcessUtility (utility.c:871)
==1159420== Address 0x1235e578 is 96 bytes inside a block of size 219 free'd
==1159420== at 0xA60847: AllocSetReset (aset.c:618)
==1159420== by 0xA71058: MemoryContextResetOnly (mcxt.c:439)
==1159420== by 0xA6093C: AllocSetDelete (aset.c:661)
==1159420== by 0xA712E0: MemoryContextDeleteOnly (mcxt.c:546)
==1159420== by 0xA711A4: MemoryContextDelete (mcxt.c:500)
==1159420== by 0x415BCC: do_analyze_rel (analyze.c:869)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420== Block was alloc'd at
==1159420== at 0xA72DB2: palloc (mcxt.c:1411)
==1159420== by 0x20940A: heap_copytuple (heaptuple.c:693)
==1159420== by 0x535102: tts_buffer_heap_copy_heap_tuple (execTuples.c:927)
==1159420== by 0x413DDB: ExecCopySlotHeapTuple (tuptable.h:507)
==1159420== by 0x4168D9: acquire_sample_rows (analyze.c:1332)
==1159420== by 0x41505F: do_analyze_rel (analyze.c:546)
==1159420== by 0x41457E: analyze_rel (analyze.c:276)
==1159420== by 0x4F8372: vacuum (vacuum.c:651)
==1159420== by 0x4F7E99: ExecVacuum (vacuum.c:465)
==1159420== by 0x837AA7: standard_ProcessUtility (utility.c:863)
==1159420== by 0x8371A0: ProcessUtility (utility.c:528)
==1159420== by 0x8359B9: PortalRunUtility (pquery.c:1149)
==1159420== by 0x835C2F: PortalRunMulti (pquery.c:1307)
==1159420== by 0x83511E: PortalRun (pquery.c:784)
==1159420== by 0x82DAB8: exec_simple_query (postgres.c:1290)
==1159420== by 0x8331A1: PostgresMain (postgres.c:4856)
==1159420== by 0x828F23: BackendMain (backend_startup.c:124)
==1159420== by 0x71EB2A: postmaster_child_launch (launch_backend.c:268)
==1159420== by 0x725241: BackendStartup (postmaster.c:3627)
==1159420== by 0x722923: ServerLoop (postmaster.c:1728)
==1159420==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:memmove
fun:ExecBitmapIndexScanRetrieveInstrumentation
fun:ExecParallelRetrieveInstrumentation
fun:planstate_tree_walker_impl
fun:ExecParallelRetrieveInstrumentation
fun:planstate_walk_members
fun:planstate_tree_walker_impl
fun:ExecParallelRetrieveInstrumentation
fun:ExecParallelCleanup
fun:ExecShutdownGather
fun:ExecShutdownNode_walker
fun:ExecShutdownNode
fun:ExecutePlan
fun:standard_ExecutorRun
fun:ExecutorRun
fun:ExplainOnePlan
fun:standard_ExplainOneQuery
fun:ExplainOneQuery
fun:ExplainQuery
fun:standard_ProcessUtility
}
==1159420==
==1159420== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==1159420== Access not within mapped region at address 0x124BC000
==1159420== at 0x4852684: memmove (vg_replace_strmem.c:1414)
==1159420== by 0x54C675: ExecBitmapIndexScanRetrieveInstrumentation (nodeBitmapIndexscan.c:447)
==1159420== by 0x527685: ExecParallelRetrieveInstrumentation (execParallel.c:1143)
==1159420== by 0x5EBAB7: planstate_tree_walker_impl (nodeFuncs.c:4861)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5EBE07: planstate_walk_members (nodeFuncs.c:4953)
==1159420== by 0x5EBB53: planstate_tree_walker_impl (nodeFuncs.c:4876)
==1159420== by 0x527712: ExecParallelRetrieveInstrumentation (execParallel.c:1173)
==1159420== by 0x5279AE: ExecParallelCleanup (execParallel.c:1278)
==1159420== by 0x550361: ExecShutdownGather (nodeGather.c:426)
==1159420== by 0x52DD0A: ExecShutdownNode_walker (execProcnode.c:784)
==1159420== by 0x52DC59: ExecShutdownNode (execProcnode.c:755)
==1159420== by 0x5228D3: ExecutePlan (execMain.c:1794)
==1159420== by 0x51FE84: standard_ExecutorRun (execMain.c:377)
==1159420== by 0x51FCE6: ExecutorRun (execMain.c:314)
==1159420== by 0x4435D6: ExplainOnePlan (explain.c:587)
==1159420== by 0x442F9E: standard_ExplainOneQuery (explain.c:378)
==1159420== by 0x442CF5: ExplainOneQuery (explain.c:315)
==1159420== by 0x442973: ExplainQuery (explain.c:228)
==1159420== by 0x837AE3: standard_ProcessUtility (utility.c:871)
==1159420== If you believe this happened as a result of a stack
==1159420== overflow in your program's main thread (unlikely but
==1159420== possible), you can try to increase the size of the
==1159420== main thread stack using the --main-stacksize= flag.
==1159420== The main thread stack size used in this run was 8388608.