Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdbBT-0001aj-At for pgsql-odbc@arkaria.postgresql.org; Tue, 14 Feb 2017 11:22:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cdbBR-0002Z9-JR for pgsql-odbc@arkaria.postgresql.org; Tue, 14 Feb 2017 11:22:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cdbBP-0002Yr-QC for pgsql-odbc@postgresql.org; Tue, 14 Feb 2017 11:22:08 +0000 Received: from mail3.asahi-net.or.jp ([202.224.39.205]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdbBH-00067j-M4 for pgsql-odbc@postgresql.org; Tue, 14 Feb 2017 11:22:05 +0000 Received: from [192.168.1.5] (aa025108.dynamic.ppp.asahi-net.or.jp [110.5.25.108]) (Authenticated sender: GQ9H-INUE) by mail3.asahi-net.or.jp (Postfix) with ESMTPA id EDFCE4010A; Tue, 14 Feb 2017 20:21:55 +0900 (JST) Subject: Re: Informatica and SSL connections To: =?UTF-8?Q?Jacobo_S=c3=a1nchez?= References: <56d70599-a90f-3af3-3d1b-82f8ffb75c1c@dream.email.ne.jp> Cc: pgsql-odbc@postgresql.org From: "Inoue, Hiroshi" Message-ID: <89e84f06-3141-e93b-098b-71ef182e25ae@dream.email.ne.jp> Date: Tue, 14 Feb 2017 20:21:57 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------8CDF2721220646615E7B05FC" X-Pg-Spam-Score: -1.9 (-) 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. --------------8CDF2721220646615E7B05FC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, On 2017/02/14 17:34, Jacobo Sánchez wrote: > > 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? After 09.05.0100 the driver uses libpq fully, whereas the driver used libpq partially before. regards, Hiroshi Inoue > 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 >>> >> > --------------8CDF2721220646615E7B05FC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi,

On 2017/02/14 17:34, Jacobo Sánchez wrote:

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?

After 09.05.0100 the driver uses libpq fully, whereas the driver used libpq partially before.

regards,
Hiroshi Inoue

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




--------------8CDF2721220646615E7B05FC--