[ psqlodbc-Bugs-1000749 ] Crashes when using SSL with 8.02.0002 and .0100
am 13.10.2006 17:15:08 von noreplyBugs item #1000749, was opened at 2006-10-11 08:45
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=10007 49&group_id=1000125
Category: None
Group: None
>Status: Closed
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-13 15:15
Message:
This change would be committed to the next
version.
------------------------------------------------------------ ----------
Comment By: Lasse Haataja (lhaataja)
Date: 2006-10-12 07:01
Message:
No crashes with that new DLL.
------------------------------------------------------------ ----------
Comment By: Hiroshi Inoue (hinoue)
Date: 2006-10-12 02:15
Message:
Oops I forgot to attach the dll.
------------------------------------------------------------ ----------
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=10007 49&group_id=1000125
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org