[ psqlodbc-Bugs-1000749 ] Crashes when using SSL with 8.02.0002 and .0100

From: <noreply(at)pgfoundry(dot)org>
To: noreply(at)pgfoundry(dot)org
Subject: [ psqlodbc-Bugs-1000749 ] Crashes when using SSL with 8.02.0002 and .0100
Date: 2006-10-11 08:45:44
Message-ID: 20061011084544.DCC6F86CF3A@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Bugs item #1000749, was opened at 2006-10-11 11: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: Nobody (None)
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)

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

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

Browse pgsql-odbc by date

  From Date Subject
Next Message Ezequias Rodrigues da Rocha 2006-10-11 11:52:22 What the best odbc version for...
Previous Message Arnaud Lesauvage 2006-10-11 08:43:46 Access2000 & sequence as primary key in view : #DELETED