Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id DF7879FA4CF for ; Fri, 13 Oct 2006 12:15:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 70519-02 for ; Fri, 13 Oct 2006 15:15:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id C56F69F9EF3 for ; Fri, 13 Oct 2006 12:15:13 -0300 (ADT) Received: from localhost (wm.hub.org [200.46.204.128]) by pgfoundry.org (Postfix) with ESMTP id 3D05386D291; Fri, 13 Oct 2006 15:15:13 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 68562-04; Fri, 13 Oct 2006 15:15:08 +0000 (UTC) Received: by pgfoundry.org (Postfix, from userid 80) id 19D8586D28D; Fri, 13 Oct 2006 15:15:08 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000749 ] Crashes when using SSL with 8.02.0002 and .0100 Content-type: text/plain; charset=UTF-8 Message-Id: <20061013151508.19D8586D28D@pgfoundry.org> Date: Fri, 13 Oct 2006 15:15:08 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.961 tagged_above=0 required=5 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200610/42 X-Sequence-Number: 8305 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: 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=1000749&group_id=1000125