Received: from localhost (pluto.hub.org [200.46.204.4]) by postgresql.org (Postfix) with ESMTP id BB0E69F9806 for ; Sun, 19 Nov 2006 07:16:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.4]) (amavisd-new, port 10024) with ESMTP id 13291-03 for ; Sun, 19 Nov 2006 07:15:57 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 6941D9F9425 for ; Sun, 19 Nov 2006 07:16:01 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id F08FC30E06; Sun, 19 Nov 2006 12:15:58 +0100 (MET) From: "lothar.behrens@lollisoft.de" X-Newsgroups: pgsql.interfaces.odbc Subject: SQLFreeStmt(hstmt, SQL_DROP); Failure ? Date: 19 Nov 2006 03:15:52 -0800 Organization: http://groups.google.com Lines: 67 Message-ID: <1163934952.018838.204190@e3g2000cwe.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Complaints-To: groups-abuse@google.com User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/312.8 (KHTML, like Gecko) Safari/312.6,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: e3g2000cwe.googlegroups.com; posting-host=84.161.65.218; posting-account=ZEv0oQwAAAARGOrW-5pO2M_10hQ_J_Pj To: pgsql-odbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50 X-Spam-Level: X-Archive-Number: 200611/57 X-Sequence-Number: 8439 Hi, I have a repeatable failure in my application. The code normally works and I could not determine the differences between my manual login and automatic login procedure. The problem occures when I have activated automatic login of the user on application startup. This has nothing to do with driver login or database login to PostgreSQL. The point where the crash happens is very late and there have been made many SQL requests using the driver. I have stepped trough short before the line of the crash and the program state seems to be ok. Afterwards, the this pointer of my class is overwritten. (first parameter on the function where SQLFreeStmt is used) Tried to give you more details with a trace failed while trying to setup the odbc.ini Debug/Trace flag. I use psqlodbc-07.03.0200 (./configure --with-unixodbc --enable-debug=yes) Did someone knows, why the trace isn't activated ? Thanks, Lothar My computer: Mac OS X 10.3.9 My ODBC installation: lothars-Computer:~ lothar$ odbcinst -j unixODBC 2.2.11 DRIVERS............: /usr/local/etc/odbcinst.ini SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini USER DATA SOURCES..: /Users/lothar/.odbc.ini lothars-Computer:~ lothar$ My ~/.odbc.ini file: [ODBC Data Sources] myodbc = MySQL ODBC 3.51 Driver brokers = PostgreSQL trainres = PostgreSQL sqlledger = PostgreSQL Musik = PostgreSQL snort = PostgreSQL lbDMFMySQL = MySQL ODBC 3.51 Driver lbDMF = PostgreSQL [lbDMF] Driver = /usr/local/lib/psqlodbc.so Description = Configuration for DMF Servername = *.*.*.* Username = dba Password = ******** Database = lbdmf Port = 5432 Protocol = 6.4 BoolsAsChar = 0 ShowSystemTables = 1 TrueIsMinus1 = 1 Trace = 1 TraceFile = /Users/lothar/lbDMF.log Debug = 1 DebugFile = /Users/lothar/lbDMF.debug.log