[ psqlodbc-Bugs-1000749 ] Crashes when using SSL with 8.02.0002 and .0100 - Mailing list pgsql-odbc

From
Subject [ psqlodbc-Bugs-1000749 ] Crashes when using SSL with 8.02.0002 and .0100
Date
Msg-id 20061012021421.DF5C286CFF6@pgfoundry.org
Whole thread Raw
List pgsql-odbc
Bugs item #1000749, was opened at 2006-10-11 08:45
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000749&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Lasse Haataja (lhaataja)
>Assigned to: Hiroshi Inoue (hinoue)
Summary: Crashes when using SSL with 8.02.0002 and .0100

Initial Comment:
I'm getting crashes when using SSL with psqlodbc 08.02.0002 and 08.02.0100.
Earlier versions of the drivers work fine in this regard (drivers in
08.00 and 08.01 series and 07.03.0260 tested).

The problem occurs when using two connections, say conn1 and conn2.
About 65 seconds after conn1 is cleaned up, statement execution
on conn2 crashes due to illegal memory read exception.

conn2 works fine until the time that mylog shows that some cleanup
was being performed (presumably due to conn1 having been closed and
some timeout elapsed); among others, noting that "ssldll unload success=1".

Crash details:
Unhandled exception at 0x014e161b in odbctest2.exe: 0xC0000005: Access violation reading location 0x016d4c58.
call stack (only single line visible in debugger): ssleay32.dll!014e161b()

Attached files:
mylog_3776.log     lines 2474 to 2495 show the cleanup and lines 2496 onward the failing execution on conn2
psqlodbc_3776.log  psqlodbc log of the same test run
odbctest2.log      output of the test executable
odbctest2.cpp      source code for the test executable (cl /EHsc /D_WIN32_WINNT=0x0400 odbctest2.cpp to compile)


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

>Comment By: Hiroshi Inoue (hinoue)
Date: 2006-10-12 02:14

Message:
Could you try the attached dll ?

regards,
Hiroshi Inoue

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

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

pgsql-odbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: LATIN1/9 conversion....
Next
From: Hiroshi Inoue
Date:
Subject: Re: Access2000 & sequence as primary key in view : #DELETED