X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DECC35E48E1 for ; Tue, 7 Sep 2004 21:15:43 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39205-01 for ; Tue, 7 Sep 2004 20:15:40 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id C065C5E4811 for ; Tue, 7 Sep 2004 21:15:37 +0100 (BST) Received: from jedi.behrens.de (p508CD4CA.dip0.t-ipconnect.de [80.140.212.202]) by Mail2.KONTENT.De (Postfix) with ESMTP id 7D41D388027 for ; Tue, 7 Sep 2004 22:15:38 +0200 (CEST) Received: from anakin (anakin.behrens.de [192.168.150.17]) by jedi.behrens.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with SMTP id i87KFPt02468 for ; Tue, 7 Sep 2004 22:15:27 +0200 Message-Id: <200409072015.i87KFPt02468@jedi.behrens.de> From: "Lothar Behrens" To: pgsql-odbc@postgresql.org Date: Tue, 7 Sep 2004 22:15:24 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Subject: ODBC SQLSetPos Delete problem X-mailer: Pegasus Mail for Win32 (v3.01b) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/10 X-Sequence-Number: 4385 Hi, some weeks I have asked about a possible bug in pSQLODBC driver. Now I have downloaded the driver source to get a debug version of the driver. The problem occurs at the following code line (973) in statement.c: Code area: mylog("type =3D %d and valuepointer here is %p\n", type, value); if (self->manual_result) { value =3D QR_get_value_manual(res, self->currTuple, lf); mylog("manual_result\n"); } else if (SC_is_fetchcursor(self)) value =3D QR_get_value_backend(res, lf); else { int curt =3D GIdx2ResultIdx(self->currTuple, self, res); value =3D QR_get_value_backend_row(res, curt, lf); } mylog("value =3D '%s'\n", (value =3D=3D NULL) ? "" : value); // CRASH The pointer value is 0xdddddddd As for the log messages now I see , that I have forgotten a reload after the deletion and the driver may not save this state to avoid such a crash. I do not know where the pointer comes from, but see this as a hint: Could this be used for buffer overruns ? Hope to hear from you :-) Lothar ---- My home: www.lollisoft.de ----------------------------- Lothar Behrens | Independent: lothar.behrens@gmx.de Rosmarinstr 3 | My public project: 40235 D=FCsseldorf | http://sourceforge.net/projects/lbdmf | -> Need comments, please visit :-)