Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WHvzc-0003sO-TE for pgsql-odbc@arkaria.postgresql.org; Mon, 24 Feb 2014 13:54:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WHvzc-00054f-8O for pgsql-odbc@arkaria.postgresql.org; Mon, 24 Feb 2014 13:54:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WHvzb-00054X-FI for pgsql-odbc@postgresql.org; Mon, 24 Feb 2014 13:54:47 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WHvzW-0000Du-Hq for pgsql-odbc@postgresql.org; Mon, 24 Feb 2014 13:54:45 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 01648287C3; Mon, 24 Feb 2014 05:54:38 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id EF513402AF; Mon, 24 Feb 2014 05:54:37 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id AFE0AC004D; Mon, 24 Feb 2014 05:54:36 -0800 (PST) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Mon, 24 Feb 2014 05:54:35 -0800 (PST) Message-ID: <530B4F1A.7080807@vmware.com> Date: Mon, 24 Feb 2014 15:54:34 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Christoph Berg , pgsql-odbc@postgresql.org, Hiroshi Inoue Subject: Re: 09.03.0200 test failures References: <006a01cf28e4$7c425450$74c6fcf0$@de> <003201cf2ccb$c5d6ddd0$51849970$@de> <5303960F.3050706@vmware.com> <003b01cf2ce1$2e33bc80$8a9b3580$@de> <5303C2EA.7060109@vmware.com> <5303F655.8000200@tpf.co.jp> <5304ADB1.6090306@vmware.com> <20140224115931.GD12457@msgid.df7cb.de> <20140224120806.GE12457@msgid.df7cb.de> In-Reply-To: <20140224120806.GE12457@msgid.df7cb.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 02/24/2014 02:08 PM, Christoph Berg wrote: > Re: To Heikki Linnakangas 2014-02-24 <20140224115931.GD12457@msgid.df7cb.de> >> Re: Heikki Linnakangas 2014-02-19 <5304ADB1.6090306@vmware.com> >>> diff --git a/test/expected/lfconversion.out b/test/expected/lfconversion.out >>> new file mode 100644 >>> index 0000000..ca4776c >>> --- /dev/null >>> +++ b/test/expected/lfconversion.out >> >> Hi Heikki, >> >> I'm afraid you forgot to update Makefile.am to include that file so it >> didn't make it into the 09.03.0200 tarball, rendering the testsuite >> unusable. > > After importing the two files into the 09.03.0200 tarball, I'm getting > regression test failures: The culprit was this commit: > commit 2f4f8eabf6ce685c38d69da3e98132b77d38d188 > Author: Hiroshi Inoue > Date: Sat Feb 22 12:49:02 2014 +0900 > > It's safe to lock SC_set_prepared() itself. > > diff --git a/statement.c b/statement.c > index 603a77a..a7dad74 100644 > --- a/statement.c > +++ b/statement.c > @@ -683,6 +683,7 @@ SC_set_prepared(StatementClass *stmt, int prepared) > { > ConnectionClass *conn = SC_get_conn(stmt); > > + ENTER_CONN_CS(conn); > if (conn && CONN_CONNECTED == conn->status) > { > if (CC_is_in_error_trans(conn)) The ENTER_CONN_CS is misplaced; it's before the NULL check on the next line, so when conn==NULL, it segfaults. I pushed a quick fix for that. We should wrap a new release quickly. The 09.03.0200 release was quite broken :-(. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc