pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacobo Sánchez <jsanchez@denodo.com>
To: pgsql-odbc@postgresql.org
Subject: Informatica and SSL connections
Date: Mon, 13 Feb 2017 17:06:15 +0100
Message-ID: <f77f818e-f593-e9aa-89ea-eaa8ef7cb2ba@denodo.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hello all

Im facing an issue using the ODBC driver from Informatica which may be 
resumed in the following (im using 09.03.400):

https://kb.informatica.com/solution/23/Pages/52/320564.aspx

If someone does not want to open the URL the failing trace is as follows:

Crashing Thread is as follows:

    ntdll!RtlFreeHeap+132
    msvcrt!free+1c
    libeay32!CRYPTO_free+2e
    libeay32!ASN1_STRING_free+27
    libeay32!ASN1_primitive_free+ac
    libeay32!ASN1_template_free+128
    libeay32!ASN1_template_free+9b
    libeay32!ASN1_item_free+1e9
    libeay32!X509_free+1a
    libpq!PQinitSSL+105c
    libpq!PQinitSSL+1113
    libpq!PQencryptPassword+7cf
    libpq!PQfinish+12
    psqlodbc35w!ConfigDriver+1b7e
    psqlodbc35w!Ordinal93+4162
    psqlodbc35w!Ordinal93+3285
    psqlodbc35w!SQLDisconnect+5f
    odbc32!SQLDisconnect+2ae
    pmodbc!TODBCDb::Disconnect+7f
    pmodlnt!TDatabase::Disconnect+3c
    pmrelrdr!relReader::fetch+54be
    pmservnt!readerSource::operator=+307f
    pmservnt!DTMMain+219e8
    pmservnt!Writer::Writer+632b
    pmservnt!SSeqGenHandler::operator=+2897
    pmservnt!isForeignKey+6dd
    pmcef!SThread::init+293
    kernel32!BaseThreadInitThunk+d
    ntdll!RtlUserThreadStart+1d


ODBC Trace is as follows:

    _dss_000PQZ0I0 19d8-256c ENTER SQLFreeStmt
    HSTMT 0x0000000005C2D030
    UWORD 1 <SQL_DROP>

    s_dss_000PQZ0I0 19d8-256c EXIT SQLFreeStmt with return code 0
    (SQL_SUCCESS)
    HSTMT 0x0000000005C2D030
    UWORD 1 <SQL_DROP>

    s_dss_000PQZ0I0 19d8-256c ENTER SQLTransact
    HENV 0x0000000000000000
    HDBC 0x0000000005C25560
    UWORD 0 <SQL_COMMIT>

    s_dss_000PQZ0I0 19d8-256c EXIT SQLTransact with return code 0
    (SQL_SUCCESS)
    HENV 0x0000000000000000
    HDBC 0x0000000005C25560
    UWORD 0 <SQL_COMMIT>

    s_dss_000PQZ0I0 19d8-256c ENTER SQLDisconnect
    HDBC 0x0000000005C25560​

I am searching for the root of the issue in order to prevent it from 
happening but i am not really sure if the problem comes from libpq or 
the driver itself. As far as i understand this is a segmentation fault 
by trying to free a malloc that has been already freed, however im not 
sure if the problem comes from PQfinish of the driver calling it when it 
shouldn't.

Anyone can point me to where the issue comes from?

Regards, Jacobo

view thread (8+ messages)  latest in thread

Message-ID: <f77f818e-f593-e9aa-89ea-eaa8ef7cb2ba@denodo.com>
Permalink:  ../f77f818e-f593-e9aa-89ea-eaa8ef7cb2ba@denodo.com/
Also on:    postgresql.org/message-id/f77f818e-f593-e9aa-89ea-eaa8ef7cb2ba@denodo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: jsanchez@denodo.com
  Subject: Re: Informatica and SSL connections
  In-Reply-To: <f77f818e-f593-e9aa-89ea-eaa8ef7cb2ba@denodo.com>
  References: <f77f818e-f593-e9aa-89ea-eaa8ef7cb2ba@denodo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox