Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alBXq-0001co-Bq for pgsql-odbc@arkaria.postgresql.org; Wed, 30 Mar 2016 08:32:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1alBXp-00015o-16 for pgsql-odbc@arkaria.postgresql.org; Wed, 30 Mar 2016 08:32:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1alBXo-00015i-Pv for pgsql-odbc@postgresql.org; Wed, 30 Mar 2016 08:32:04 +0000 Received: from mail2.asahi-net.or.jp ([202.224.39.198]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alBXi-00023f-Os for pgsql-odbc@postgresql.org; Wed, 30 Mar 2016 08:32:03 +0000 Received: from [192.168.1.3] (h216161.dynamic.ppp.asahi-net.or.jp [61.114.216.161]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id B7AF462EA; Wed, 30 Mar 2016 17:31:49 +0900 (JST) Subject: Re: Some bug fixes and improvements To: "Tsunakawa, Takayuki" References: <0A3221C70F24FB45833433255569204D1F53B952@G01JPEXMBYT05> Cc: "pgsql-odbc@postgresql.org" From: "Inoue, Hiroshi" Message-ID: <56FB8EF6.3010301@dream.email.ne.jp> Date: Wed, 30 Mar 2016 17:31:50 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <0A3221C70F24FB45833433255569204D1F53B952@G01JPEXMBYT05> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) 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 2016/03/29 11:17, Tsunakawa, Takayuki wrote: > Hello, Inoue-san and all, > > While I'm learning the psqlODBC source code and investigating the cause of the scroll cursor crash problem I reported in January, I found some bugs and useless code fragments. Please find the attached patches to remove them. I hope these will be included in the next release. ありがとうございます。 ineffective_code.patchとwin_build.patchを除いてpushしました。 ineffective_code.patchは関しては、なぜCC_on_abort_partialが抜けてしまっ たのか調べる必要がありま す。 これはsavepoint単位のrollback時に必要な処 理をするものです。 win_build.patchに関しては、使用を勧めてはいないnmake関連のバグを修正する というのは矛盾を感じるというか何というか。 > > However, I've not been able to find the cause of the crash. The code of psqlODBC is pretty complex, particularly around handling cursors, isn't it? とりあえず、 crashについて基本的なことを確認させてください。   declare/fetchモードですか?   以前のメールにあったトレースの中で    psqlodbc35w.dll!SQLFetchScroll(void * StatementHandle=0x007f3b30, short FetchOrientation=5, long FetchOffset=27326472)   の引数(FetchOrientation=SQL_FETCH_ABSOLUTEとFetchOffset)は正しいと 考えてよろしいので しょうか? -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc