Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCQrp-0006Vx-AZ for pgsql-bugs@postgresql.org; Fri, 14 Sep 2012 08:03:13 +0000 Received: from globepointer.com ([213.157.92.217]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCQrn-0001p8-KL for pgsql-bugs@postgresql.org; Fri, 14 Sep 2012 08:03:12 +0000 Received: from Markos-MacBook-Pro.local (c-d795e255.055-1-64736c14.cust.bredbandsbolaget.se [85.226.149.215]) (Authenticated sender: pgmail) by globepointer.com (Postfix) with ESMTP id 3C3A6BB25; Fri, 14 Sep 2012 11:03:10 +0300 (EEST) Message-ID: <5052E4C0.2060004@joh.to> Date: Fri, 14 Sep 2012 10:03:12 +0200 From: Marko Tiikkaja User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: BUG #7516: PL/Perl crash References: <1194.1346688396@sss.pgh.pa.us> <5047BA9C.2040405@joh.to> <16153.1347226320@sss.pgh.pa.us> <17785.1347230278@sss.pgh.pa.us> <504F8034.20802@joh.to> <4011.1347407415@sss.pgh.pa.us> <50506B94.5040003@joh.to> <17684.1347558484@sss.pgh.pa.us> <505229E8.9070507@joh.to> <21173.1347568661@sss.pgh.pa.us> <22390.1347572522@sss.pgh.pa.us> <22854.1347573532@sss.pgh.pa.us> In-Reply-To: <22854.1347573532@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/133 X-Sequence-Number: 34128 On 9/13/12 11:58 PM, Tom Lane wrote: > I wrote: >> A probably less costly solution than marking current_call_data volatile >> is just to make it not-static. > > And on still further investigation, the patch I just applied to HEAD > seems to make it go away too. Bizarre as can be. If that holds up for > you, I think back-patching that change is less ugly than making the > variable non-static. It does, indeed. I can't reproduce the bug on my end with that patch applied. Regards, Marko Tiikkaja