Re: segmentation fault when cassert enabled
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Amit Kapila <amit.kapila16@gmail.com>, vignesh C <vignesh21@gmail.com>,
Petr Jelinek <petr.jelinek@2ndquadrant.com>
Cc: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>,
Tom Lane <tgl@sss.pgh.pa.us>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Peter Geoghegan <pg@bowt.ie>
Date: 2019-12-16T12:27:43Z
Lists: pgsql-hackers
On 2019-12-16 11:11, Amit Kapila wrote: > I agree that this is a timing issue. I also don't see a way to write > a reproducible test for this. However, I could reproduce it via > debugger consistently by following the below steps. I have updated a > few comments and commit messages in the attached patch. > > Peter E., Petr J or anyone else, do you have comments or objections on > this patch? If none, then I am planning to commit (and backpatch) > this patch in a few days time. The patch seems fine to me. Writing a test seems hard. Let's skip it. The commit message has a duplicate "building"/"built" in the first sentence. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Fix subscriber invalid memory access on DDL.
- d6eca4958d78 10.12 landed
- 046830164ee4 11.7 landed
- c74111d8bd68 12.2 landed
- 04c8a69c0ccc 13.0 landed
-
Fix memory allocation mistake
- a5b95016af91 10.11 landed
- d213f3114d99 11.6 landed
- 39a6210f9e0f 12.1 landed
- d40abd5fcfb2 13.0 landed