From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
---|---|
To: | Alexander Voytsekhovskyy <young(dot)inbox(at)gmail(dot)com> |
Cc: | Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG in 10.1 - dsa_area could not attach to a segment that has been freed |
Date: | 2017-11-29 21:18:48 |
Message-ID: | CAEepm=1V-ZjAAyG-xj6s7ESXFhzLsRBpyX=BLz-w2DS=ObNu4A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Thu, Nov 30, 2017 at 9:34 AM, Alexander Voytsekhovskyy
<young(dot)inbox(at)gmail(dot)com> wrote:
> Thanks for helping, here is one more try
>
> #0 get_segment_by_index (area=area(at)entry=0x556026700be8, index=1) at
> /build/postgresql-10-qAeTPy/postgresql-10-10.1/build/../src/backend/utils/mmgr/dsa.c:1736
> #1 0x00005560252c2b90 in dsa_get_address (area=area(at)entry=0x556026700be8,
> dp=dp(at)entry=1099511685280) at
> /build/postgresql-10-qAeTPy/postgresql-10-10.1/build/../src/backend/utils/mmgr/dsa.c:945
> #2 0x00005560250a2c2b in tbm_attach_shared_iterate
> (dsa=dsa(at)entry=0x556026700be8, dp=1099511685280) at
> /build/postgresql-10-qAeTPy/postgresql-10-10.1/build/../src/backend/nodes/tidbitmap.c:1503
> #3 0x0000556025066c7b in BitmapHeapNext (node=node(at)entry=0x556026460710) at
> /build/postgresql-10-qAeTPy/postgresql-10-10.1/build/../src/backend/executor/nodeBitmapHeapscan.c:176
Thank you for the report and the back trace. I think this might be a
manifestation of the problem I just described[1] on -hackers.
Depending on the shape of a multi-Gather query plan and therefore the
order of control flow, you might finish up using the DSA area that
belongs to a different Gather node and then find that it goes away too
soon. Investigating.
--
Thomas Munro
http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | 陈欣 | 2017-11-30 14:24:04 | Fwd: Error about save extracted data |
Previous Message | Alexander Voytsekhovskyy | 2017-11-29 20:34:30 | Re: BUG in 10.1 - dsa_area could not attach to a segment that has been freed |