Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdeAs-0005kl-8E for pgsql-odbc@arkaria.postgresql.org; Tue, 14 Feb 2017 14:33:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cdeAr-0001jJ-Rj for pgsql-odbc@arkaria.postgresql.org; Tue, 14 Feb 2017 14:33:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cdYZC-0000di-Jf for pgsql-odbc@postgresql.org; Tue, 14 Feb 2017 08:34:30 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cdYZ7-0008J5-3x for pgsql-odbc@postgresql.org; Tue, 14 Feb 2017 08:34:29 +0000 Received: by mail-wm0-x22d.google.com with SMTP id c85so11646938wmi.1 for ; Tue, 14 Feb 2017 00:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denodo-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=6u6g2+CchE5T5BcjKuNpdQz5orMf7vQeAGlQuQRadFw=; b=cQoVbCrXX/nixFW8YKaoumoeBtsrLaEIoYKjSvr+/edphR7kjIFQ6MfnbIjnCKZNJY 4ikRVlK7Do2EYFyWWz9GgHhcpUeH5NKJrumn4lMgmJj2ZJZ6NQmCZdopnwAdzHZUDGJa spjx+QdM7J6yKJkohQ0fg8sm8+YcWXdi0v9lf92tBq5PE5xofgqEOyOzb7EhhShBc7er rB7vwWmpqXpCZQB7lkXN+h5uYLFRvptMWHDTMO4bly/YqTBLfL084+Mj7fm9pln+TdOV fahldiVX4lj4xkNti+7sqymPXHGCKYFNSk64LKfCnS2zBkhSZvd/Q3LBS4K3+jBaadE9 NiSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=6u6g2+CchE5T5BcjKuNpdQz5orMf7vQeAGlQuQRadFw=; b=j/6O0WQHnc0bHehSgcMOCQffUktzLNQ4scOC1bPYZF68T5jmz1iwR3nbIxJw8+0Hal Fwi52Kp8ybBLJK4sWxoWnWYh67gVmSP1hBVhx+IajjWhNWz7W5iXeKUDXu1uCvQnDKfW Ba1G3CwngCXPHsG0kMo/P3faexqwF9WrUjq+xE71AdmCAX5ipVio18US5ANTSskObv11 U45s2tTWP7TVZxq/xBo6wxiXXwx8n86JUNnLIxy1kIA9o0d7lBS9HfnYn2aakve1xIk1 sPsZwBclJdsNebVOt5QhfrvgSO+Cn1iE4riZEi2/OWw4HZpx5NCHi4b2zyEXI8eQSJAN x0zg== X-Gm-Message-State: AMke39mMW9UfXbxesW7d6pJrhlfKSC4Rluaj5E+qGie3bN6eAjHg78jA+Us8mj4EWvy318zLuHaJG6ZMVeX6of3tDS0CZzTtu00XGpIUB7EetmdF2gZ9RdQOkXTCpEwxUMkuZEz7PAohyYxMIILxe/oYK2NYMeiKbq7nFgJayDqg74+/dNulwXpheg== X-Received: by 10.28.100.70 with SMTP id y67mr1945691wmb.45.1487061263619; Tue, 14 Feb 2017 00:34:23 -0800 (PST) Received: from [192.168.18.81] (8.151.117.91.dynamic.reverse-mundo-r.com. [91.117.151.8]) by smtp.gmail.com with ESMTPSA id d1sm1890811wrb.62.2017.02.14.00.34.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Feb 2017 00:34:22 -0800 (PST) Subject: Re: Informatica and SSL connections To: "Inoue, Hiroshi" References: <56d70599-a90f-3af3-3d1b-82f8ffb75c1c@dream.email.ne.jp> Cc: pgsql-odbc@postgresql.org From: =?UTF-8?Q?Jacobo_S=c3=a1nchez?= Message-ID: Date: Tue, 14 Feb 2017 08:34:21 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <56d70599-a90f-3af3-3d1b-82f8ffb75c1c@dream.email.ne.jp> Content-Type: multipart/alternative; boundary="------------CA740237BE78F417418E6408" X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org This is a multi-part message in MIME format. --------------CA740237BE78F417418E6408 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello Im currently looking for a test environment under my control in order to check this or any other solution. Is there any specific change that may lead to think that this could be already fixed in 09.06.100? That may give me a chance to speed up things by asking for testing it in a real environment. Thanks for your response, I will notify the results with 09.06.100 when tested. Regards Jacobo El 14/02/17 a las 03:26, Inoue, Hiroshi escribió: > Hi Jacobo, > > On 2017/02/14 1:06, Jacobo Sánchez wrote: >> >> Hello all >> >> >> Im facing an issue using the ODBC driver from Informatica which may >> be resumed in the following (im using 09.03.400): > > Could you try the latest version 09.06.0100? > > regards, > Hiroshi Inoue > >> 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 >> >> s_dss_000PQZ0I0 19d8-256c EXIT SQLFreeStmt with return code 0 >> (SQL_SUCCESS) >> HSTMT 0x0000000005C2D030 >> UWORD 1 >> >> s_dss_000PQZ0I0 19d8-256c ENTER SQLTransact >> HENV 0x0000000000000000 >> HDBC 0x0000000005C25560 >> UWORD 0 >> >> s_dss_000PQZ0I0 19d8-256c EXIT SQLTransact with return code 0 >> (SQL_SUCCESS) >> HENV 0x0000000000000000 >> HDBC 0x0000000005C25560 >> UWORD 0 >> >> 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 >> >> > --------------CA740237BE78F417418E6408 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hello

    Im currently looking for a test environment under my control in order to check this or any other solution. Is there any specific change that may lead to think that this could be already fixed in 09.06.100? That may give me a chance to speed up things by asking for testing it in a real environment.

    Thanks for your response, I will notify the results with 09.06.100 when tested.


Regards

Jacobo


El 14/02/17 a las 03:26, Inoue, Hiroshi escribió:
Hi Jacobo,

On 2017/02/14 1:06, Jacobo Sánchez wrote:

Hello all


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

Could you try the latest version 09.06.0100?

regards,
Hiroshi Inoue

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




--------------CA740237BE78F417418E6408--