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

[ 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: (view raw or flat)
Lists: pgsql-odbc
Bugs item #1000749, was opened at 2006-10-11 11:45
You can respond by visiting:

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:

pgsql-odbc by date

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

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