BUG #5242: ODBC driver v8.4.1 crashed

Started by Gerhard Lutzover 16 years ago13 messagesbugs
Jump to latest
#1Gerhard Lutz
gerhard.lutz@mbtech-group.com

The following bug has been logged online:

Bug reference: 5242
Logged by: Gerhard Lutz
Email address: gerhard.lutz@mbtech-group.com
PostgreSQL version: 8.4.1
Operating system: Windows XP
Description: ODBC driver v8.4.1 crashed
Details:

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 got Mini Dumps of these crashes. Just tell me if you need them.

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

#2Robert Haas
robertmhaas@gmail.com
In reply to: Gerhard Lutz (#1)
Re: BUG #5242: ODBC driver v8.4.1 crashed

On Mon, Dec 14, 2009 at 2:57 AM, Gerhard Lutz
<gerhard.lutz@mbtech-group.com> wrote:

The following bug has been logged online:

Bug reference:      5242
Logged by:          Gerhard Lutz
Email address:      gerhard.lutz@mbtech-group.com
PostgreSQL version: 8.4.1
Operating system:   Windows XP
Description:        ODBC driver v8.4.1 crashed
Details:

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 got Mini Dumps of these crashes. Just tell me if you need them.

Do you already know something about this problem?

Since there has been no response here, I would try reposting this
problem report on pgsql-odbc. This list is technically for PostgreSQL
bugs proper, and it seems that the pgsql-odbc folks don't follow it
closely.

And to the list: can we PLEASE, PRETTY PLEASE add a note about this on
the bug submission page? I asked for this before and Tom concurred,
but I'm not aware that anything has been done about it. What do I
have to do to make this happen?

...Robert

#3Magnus Hagander
magnus@hagander.net
In reply to: Robert Haas (#2)
Re: BUG #5242: ODBC driver v8.4.1 crashed

On Tue, Dec 15, 2009 at 18:21, Robert Haas <robertmhaas@gmail.com> wrote:

On Mon, Dec 14, 2009 at 2:57 AM, Gerhard Lutz
<gerhard.lutz@mbtech-group.com> wrote:

The following bug has been logged online:

Bug reference:      5242
Logged by:          Gerhard Lutz
Email address:      gerhard.lutz@mbtech-group.com
PostgreSQL version: 8.4.1
Operating system:   Windows XP
Description:        ODBC driver v8.4.1 crashed
Details:

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 got Mini Dumps of these crashes. Just tell me if you need them.

Do you already know something about this problem?

Since there has been no response here, I would try reposting this
problem report on pgsql-odbc.  This list is technically for PostgreSQL
bugs proper, and it seems that the pgsql-odbc folks don't follow it
closely.

And to the list: can we PLEASE, PRETTY PLEASE add a note about this on
the bug submission page?  I asked for this before and Tom concurred,
but I'm not aware that anything has been done about it.  What do I
have to do to make this happen?

Suggest the exact text? ;)

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

#4Robert Haas
robertmhaas@gmail.com
In reply to: Magnus Hagander (#3)
Re: BUG #5242: ODBC driver v8.4.1 crashed

On Tue, Dec 15, 2009 at 12:22 PM, Magnus Hagander <magnus@hagander.net> wrote:

And to the list: can we PLEASE, PRETTY PLEASE add a note about this on
the bug submission page?  I asked for this before and Tom concurred,
but I'm not aware that anything has been done about it.  What do I
have to do to make this happen?

Suggest the exact text? ;)

*scratches head* Maybe something like this?

For bugs in supporting products, such as psql-odbc, pgsql-jdbc, or
pgadmin, please do not use this bug reporting form. Instead, post
your question to the appropriate <a href='/community/lists'>mailing
list</a>.

...Robert

#5Stefan Kaltenbrunner
stefan@kaltenbrunner.cc
In reply to: Robert Haas (#4)
Re: BUG #5242: ODBC driver v8.4.1 crashed

Robert Haas wrote:

On Tue, Dec 15, 2009 at 12:22 PM, Magnus Hagander <magnus@hagander.net> wrote:

And to the list: can we PLEASE, PRETTY PLEASE add a note about this on
the bug submission page? I asked for this before and Tom concurred,
but I'm not aware that anything has been done about it. What do I
have to do to make this happen?

Suggest the exact text? ;)

*scratches head* Maybe something like this?

For bugs in supporting products, such as psql-odbc, pgsql-jdbc, or
pgadmin, please do not use this bug reporting form. Instead, post
your question to the appropriate <a href='/community/lists'>mailing
list</a>

hmm - not sure that is too clear especially because I don't think ther
is only JDBC/ODBC or pgadmin (nor do I think you names match up with how
they are really called). what about doing it the other way round like:

"This bug report form can be used for reporting bugs and problems with
the PostgreSQL database, for problems with database connectors,
graphical administration tools or other external projects please report
to them directly. Alternatively you can look at the available <a
href='/community/lists'>mailing lists</a> and see if there is a more
apropriate list available."

Stefan

#6Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Stefan Kaltenbrunner (#5)
Re: BUG #5242: ODBC driver v8.4.1 crashed

Stefan Kaltenbrunner escribi�:

hmm - not sure that is too clear especially because I don't think
ther is only JDBC/ODBC or pgadmin (nor do I think you names match up
with how they are really called). what about doing it the other way
round like:

"This bug report form can be used for reporting bugs and problems
with the PostgreSQL database, for problems with database connectors,
graphical administration tools or other external projects please
report to them directly. Alternatively you can look at the available
<a href='/community/lists'>mailing lists</a> and see if there is a
more apropriate list available."

I think it's a good idea to mention some specific more problematic names
like the three listed.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

#7Stefan Kaltenbrunner
stefan@kaltenbrunner.cc
In reply to: Alvaro Herrera (#6)
Re: BUG #5242: ODBC driver v8.4.1 crashed

Alvaro Herrera wrote:

Stefan Kaltenbrunner escribi�:

hmm - not sure that is too clear especially because I don't think
ther is only JDBC/ODBC or pgadmin (nor do I think you names match up
with how they are really called). what about doing it the other way
round like:

"This bug report form can be used for reporting bugs and problems
with the PostgreSQL database, for problems with database connectors,
graphical administration tools or other external projects please
report to them directly. Alternatively you can look at the available
<a href='/community/lists'>mailing lists</a> and see if there is a
more apropriate list available."

I think it's a good idea to mention some specific more problematic names
like the three listed.

yeah maybe - but afaik the products are not named "psql-odbc" or
"pgsql-jdbc" - those are more or less list names and likely not of much
more use than not listening them at all :).
Plus a lot of the surounding projects (like pgadmin, slony or most
pgfoundry projects) have their own bug/issue reporting/tracking
infrastructure.
I'm all open for better wordings - any other takers? :)

Stefan

#8David Fetter
david@fetter.org
In reply to: Stefan Kaltenbrunner (#7)
Re: BUG #5242: ODBC driver v8.4.1 crashed

On Tue, Dec 15, 2009 at 08:34:14PM +0100, Stefan Kaltenbrunner wrote:

Alvaro Herrera wrote:

Stefan Kaltenbrunner escribi�:

hmm - not sure that is too clear especially because I don't think
ther is only JDBC/ODBC or pgadmin (nor do I think you names match up
with how they are really called). what about doing it the other way
round like:

"This bug report form can be used for reporting bugs and problems
with the PostgreSQL database, for problems with database connectors,
graphical administration tools or other external projects please
report to them directly. Alternatively you can look at the available
<a href='/community/lists'>mailing lists</a> and see if there is a
more apropriate list available."

I think it's a good idea to mention some specific more problematic names
like the three listed.

yeah maybe - but afaik the products are not named "psql-odbc" or
"pgsql-jdbc" - those are more or less list names and likely not of
much more use than not listening them at all :).
Plus a lot of the surounding projects (like pgadmin, slony or most
pgfoundry projects) have their own bug/issue reporting/tracking
infrastructure.
I'm all open for better wordings - any other takers? :)

This bug report form can be used for reporting bugs and problems with
the PostgreSQL database, for problems with database connectors like
JDBC and ODBC, graphical administration tools like pgAdmin and
phpPgAdmin, or other external projects like Slony, Bucardo, etc.,
please report to them directly. In cases where you have a problem
with things outside the PostgreSQL database itself, check the
available <a href="/community/lists">mailing lists</a> and see if
there is a more appropriate list available.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

#9Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Stefan Kaltenbrunner (#7)
Re: BUG #5242: ODBC driver v8.4.1 crashed

Stefan Kaltenbrunner escribi�:

Alvaro Herrera wrote:

I think it's a good idea to mention some specific more problematic names
like the three listed.

yeah maybe - but afaik the products are not named "psql-odbc" or
"pgsql-jdbc" - those are more or less list names and likely not of
much more use than not listening them at all :).

Agreed. Plus I'd use uppercase, otherwise people is just going to
ignore it visually. So

"This bug report form can be used for reporting bugs and problems with
the PostgreSQL database, for problems with database connectors such as
ODBC and JDBC, graphical administration tools such as pgAdmin or other
external projects <b>do not report them here</b>; please report to those
projects directly. Alternatively you can look at the available <a
href='/community/lists'>mailing lists</a> and see if there is a more
apropriate list available."

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

#10David Fetter
david@fetter.org
In reply to: Alvaro Herrera (#9)
Re: BUG #5242: ODBC driver v8.4.1 crashed

On Tue, Dec 15, 2009 at 04:42:06PM -0300, Alvaro Herrera wrote:

Stefan Kaltenbrunner escribi�:

Alvaro Herrera wrote:

I think it's a good idea to mention some specific more problematic names
like the three listed.

yeah maybe - but afaik the products are not named "psql-odbc" or
"pgsql-jdbc" - those are more or less list names and likely not of
much more use than not listening them at all :).

Agreed. Plus I'd use uppercase, otherwise people is just going to
ignore it visually. So

"This bug report form can be used for reporting bugs and problems with
the PostgreSQL database, for problems with database connectors such as
ODBC and JDBC, graphical administration tools such as pgAdmin or other
external projects <b>do not report them here</b>; please report to those
projects directly. Alternatively you can look at the available <a
href='/community/lists'>mailing lists</a> and see if there is a more
apropriate list available."

This is better than what I sent :)

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

#11Robert Haas
robertmhaas@gmail.com
In reply to: Alvaro Herrera (#9)
Re: BUG #5242: ODBC driver v8.4.1 crashed

On Tue, Dec 15, 2009 at 2:42 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:

"This bug report form can be used for reporting bugs and problems with
the PostgreSQL database, for problems with database connectors such as
ODBC and JDBC, graphical administration tools such as pgAdmin or other
external projects <b>do not report them here</b>; please report to those
projects directly. Alternatively you can look at the available <a
href='/community/lists'>mailing lists</a> and see if there is a more
apropriate list available."

The comma splice here makes it look like the things you shouldn't use
the form for are in the same list as the things you should use it for.
How about:

This bug report form should only be used for reporting bugs and
problems with the PostgreSQL database. Problems with database
connectors such as ODBC and JDBC, graphical administration tools such
as pgAdmin or other external projects <b>should not be reported
here</b>; please report to those projects directly. For products
closely connected with PostgreSQL, there may be an appropriate <a
href='/community/lists'>mailing list</a> available.

...Robert

#12Stefan Kaltenbrunner
stefan@kaltenbrunner.cc
In reply to: Robert Haas (#11)
Re: BUG #5242: ODBC driver v8.4.1 crashed

Robert Haas wrote:

On Tue, Dec 15, 2009 at 2:42 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:

"This bug report form can be used for reporting bugs and problems with
the PostgreSQL database, for problems with database connectors such as
ODBC and JDBC, graphical administration tools such as pgAdmin or other
external projects <b>do not report them here</b>; please report to those
projects directly. Alternatively you can look at the available <a
href='/community/lists'>mailing lists</a> and see if there is a more
apropriate list available."

The comma splice here makes it look like the things you shouldn't use
the form for are in the same list as the things you should use it for.
How about:

This bug report form should only be used for reporting bugs and
problems with the PostgreSQL database. Problems with database
connectors such as ODBC and JDBC, graphical administration tools such
as pgAdmin or other external projects <b>should not be reported
here</b>; please report to those projects directly. For products
closely connected with PostgreSQL, there may be an appropriate <a
href='/community/lists'>mailing list</a> available.

updated the website with that wording - should be up on the next site
reload.

Stefan

#13Robert Haas
robertmhaas@gmail.com
In reply to: Stefan Kaltenbrunner (#12)
Re: BUG #5242: ODBC driver v8.4.1 crashed

On Wed, Dec 16, 2009 at 4:35 AM, Stefan Kaltenbrunner
<stefan@kaltenbrunner.cc> wrote:

updated the website with that wording - should be up on the next site
reload.

Thanks!

...Robert