Skip site navigation (1) Skip section navigation (2)

[ psqlodbc-Bugs-1010739 ] Crash in psqlodbc35w.dll v8.4.1 when getting data of type "TEXT" from PSQL Server v8.3.6

From: <noreply(at)pgfoundry(dot)org>
To: noreply(at)pgfoundry(dot)org
Subject: [ psqlodbc-Bugs-1010739 ] Crash in psqlodbc35w.dll v8.4.1 when getting data of type &amp;amp;quot;TEXT&amp;amp;quot; from PSQL Server v8.3.6
Date: 2010-01-05 07:09:37
Message-ID: 20100105070937.C72F510731AD@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-odbc
Bugs item #1010739, was opened at 2009-12-16 07:56
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010739&group_id=1000125

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Gerhard Lutz (gelutz)
Assigned to: Nobody (None)
>Summary: Crash in psqlodbc35w.dll v8.4.1 when getting data of type &amp;amp;quot;TEXT&amp;amp;quot; from PSQL Server v8.3.6

Initial Comment:
Hello,
in my application the PostgreSQL ODBC driver v8.4.1 sometimes crashed when
accessing a PostgreSQL v8.3.6 server.
I want to read out data from a column of type "TEXT". I use a simple SQL
query "SELECT prg FROM testdata WHERE id=1234".
Inside the following C call

rcode = ::SQLGetData(m_hStmt, nCol, SQL_C_CHAR, m_szString, nBufSize, &sdODataLength);

the psqlodbc35w.dll crashes (probably depending on the column data).
I've added a Mini Dump of this crash.

Do you already know something about this problem?
Best regards, Gerhard

----------------------------------------------------------------------

>Comment By: Gerhard Lutz (gelutz)
Date: 2010-01-05 08:09

Message:
This crash is fixed in psqlodbc v8.4.2.
Thanks!

----------------------------------------------------------------------

Comment By: Gerhard Lutz (gelutz)
Date: 2009-12-16 13:21

Message:
Unfortunately, I have no mylog of the crash. The crash 
happened on a customers computer and I was not able to 
reproduce this on my own computer.
With the Mini Dump, can you localize the command in your 
source code that crashed?

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2009-12-16 13:03

Message:
Could you attach the mylog output of the crash ?

----------------------------------------------------------------------

Comment By: Gerhard Lutz (gelutz)
Date: 2009-12-16 10:18

Message:
Operating system is Windows XP.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010739&group_id=1000125

pgsql-odbc by date

Next:From: Laurent ChouinardDate: 2010-01-11 23:34:25
Subject: C# w/ ODBC, 2.1 million list select gives empty DataSet
Previous:From: Peter GeogheganDate: 2010-01-04 09:33:41
Subject: Re: Postgres (EUC - JP encoded ) with Unicode MFC Application

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group