Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqLw3-00031M-K7 for pgsql-odbc@arkaria.postgresql.org; Fri, 18 Dec 2020 20:01:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kqLw0-0001aL-PE for pgsql-odbc@arkaria.postgresql.org; Fri, 18 Dec 2020 20:01:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqLog-0007dt-Nu for pgsql-odbc@lists.postgresql.org; Fri, 18 Dec 2020 19:53:31 +0000 Received: from mx.prosoftsystems.ru ([212.23.72.204]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1kqLod-0004NS-ES for pgsql-odbc@postgresql.org; Fri, 18 Dec 2020 19:53:29 +0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_d825bbded66e40439f53e60ee0686bc9prosoftsystemsru_" DKIM-Signature: v=1; a=rsa-sha256; d=prosoftsystems.ru; s=ps; c=relaxed/relaxed; t=1608321204; h=from:to:date:message-id:subject; bh=NJbEfQjs4EX2eqNF4s3lQyUOFyS3yQj0wWlIodaIhHI=; b=mL1nLqPA64e+55Zdbq7EJ7Aa5rLdS32Q6ofW5UTZ61Xw9/uBRbJ8Cqn3F/z7QciA+AJrolN/pfl vjxhpRenOEGU0oOI8ywDT0IjClEK42F+jzZeByhjRD711YzWvDITBnTwJq/UfCRRIQXhgCYIkAu/p hoj+W6WBDUWmJFNcJEt+JhrCrD1tzhxlGaRjMNGQMXodADC5ShxFc50TndrBGG8jwLOst8ClEi5yD YFqeLnsveI9VhUW1aAS4TanEHJ5UXV4C1BiPg+B4SJX/9gPpYApCCCiZzcbKUJQPWBfUym2ofX+0i EtSMzImxfRAtcsmnqOEsEx3KSak85xK33hEg== Received: from ECHO-3.prosoft.ural.ru (172.25.100.229) by mx.prosoftsystems.ru (172.25.245.33) with Microsoft SMTP Server (TLS) id 15.1.396.30; Sat, 19 Dec 2020 00:53:24 +0500 Received: from echo-2.prosoft.ural.ru (172.21.245.22) by ECHO-3.prosoft.ural.ru (172.25.100.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.595.3; Sat, 19 Dec 2020 00:53:25 +0500 Received: from echo-2.prosoft.ural.ru ([::1]) by echo-2.prosoft.ural.ru ([fe80::2cda:c04e:9fcf:d349%17]) with mapi id 15.02.0595.003; Sat, 19 Dec 2020 00:53:25 +0500 From: =?koi8-r?B?8MXS28nOIODSycog8MXU0s/Xyd4=?= To: "pgsql-odbc@postgresql.org" Subject: windows AppVerifier reports memory leak after strdup (psqlodbc35w.dll ver 13.00) Thread-Topic: windows AppVerifier reports memory leak after strdup (psqlodbc35w.dll ver 13.00) Thread-Index: AdbVd3G5CUF/gqoqQb+wdJq2TtE5pQ== Date: Fri, 18 Dec 2020 19:53:25 +0000 Message-ID: Accept-Language: ru-RU, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.1.89] MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_d825bbded66e40439f53e60ee0686bc9prosoftsystemsru_ Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable H! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D VERIFIER STOP 00000900: pid 0x21C4: A heap allocation was leaked. D2A7EFF0 : Address of the leaked allocation. Run !heap -p -= a
to get additional information about the allocation. FE6C76DC : Address to the allocation stack trace. Run dps <= address> to view the allocation stack. D2DB2FDA : Address of the owner dll name. Run du
= to read the dll name. 50BE0000 : Base of the owner dll. Run .reload = =3D
to reload the owner dll. Use 'lm' to get more information abo= ut the loaded and unloaded modules. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This verifier stop is continuable. After debugging it use `go' to continue. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (21c4.1d24): Break instruction exception - code 80000003 (first chance) eax=3Deee04fc0 ebx=3D00000000 ecx=3D000001a1 edx=3D0b66e9e1 esi=3D56b62dc0 = edi=3Dd2a7eff0 eip=3D57783ae8 esp=3D0b66ebcc ebp=3D0b66ede0 iopl=3D0 nv up ei pl n= z na po nc cs=3D0023 ss=3D002b ds=3D002b es=3D002b fs=3D0053 gs=3D002b = efl=3D00200202 vrfcore!VerifierStopMessageEx+0x5b8: 57783ae8 cc int 3 0:013> !heap -p -a D2A7EFF0 address d2a7eff0 found in _DPH_HEAP_ROOT @ fe2a1000 in busy allocation ( DPH_HEAP_BLOCK: UserAddr UserSize= - VirtAddr VirtSize) ed190618: d2a7eff0 b= - d2a7e000 2000 *** WARNING: Unable to verify checksum for C:\Windows\assembly\NativeImages= _v4.0.30319_32\System\e9647e8e96a98be0146911f80f7a4c22\System.ni.dll ? System_ni+896174 576bab70 verifier!AVrfDebugPageHeapAllocate+0x00000240 77aa909b ntdll!RtlDebugAllocateHeap+0x00000039 779fbbad ntdll!RtlpAllocateHeap+0x000000ed 779fb0cf ntdll!RtlpAllocateHeapInternal+0x0000022f 779fae8e ntdll!RtlAllocateHeap+0x0000003e 5778aa2f vrfcore!VfCoreRtlAllocateHeap+0x0000001f 56b5256c vfbasics!AVrfpRtlAllocateHeap+0x000000dc 7558a9f6 ucrtbase!_malloc_base+0x00000026 755a9235 ucrtbase!_mbsdup+0x00000025 56b53ec9 vfbasics!AVrfp_ucrt__strdup+0x00000039 *** WARNING: Unable to verify checksum for C:\Program Files (x86)\psqlODBC\= 1300\bin\psqlodbc35w.dll 50be3299 psqlodbc35w!CI_read_fields_from_pgres+0x000001f9 [c:\mingw\git= \psqlodbc-13.00.0000\columninfo.c @ 108] 50c36aea psqlodbc35w!ParseAndDescribeWithLibpq+0x0000055a [c:\mingw\git= \psqlodbc-13.00.0000\statement.c @ 2990] 50bedaba psqlodbc35w!prepareParameters+0x0000011a [c:\mingw\git\psqlodb= c-13.00.0000\convert.c @ 2899] 50c256bf psqlodbc35w!SC_describe_ok+0x0000011f [c:\mingw\git\psqlodbc-1= 3.00.0000\results.c @ 95] 50c25a36 psqlodbc35w!PGAPI_NumResultCols+0x00000146 [c:\mingw\git\psqlo= dbc-13.00.0000\results.c @ 188] 6f794ba8 ODBC32!SQLNumResultCols+0x00000198 500acb87 msdasql!CColInfo::ComputeColInfo+0x00000057 500ae3b6 msdasql!CImpIColumnsInfo::ComputeColInfo+0x00000246 500add43 msdasql!CImpIColumnsInfo::GetColumnInfo+0x00000113 5019d21f msadce!updCreateBaseTable+0x0000004f 5019d9d8 msadce!updLoadFromTableDef+0x000000b8 5019edd0 msadce!updSQLStringProps+0x00000160 5019f335 msadce!updSQLParseProps+0x00000095 5019b342 msadce!DBUpdates::duBuildUpdateProperties+0x00000232 501591e7 msadce!CFetchBindingOLEDB::fbGetUpdateProps+0x00000167 5018eb08 msadce!CFoxRowset::rsInitFetch+0x00000108 50171fe1 msadce!CMultipleResults::mrInitFetch+0x00000071 50171b63 msadce!CMultipleResults::GetResult+0x00000173 50da77f3 msado15!CConnection::Execute+0x00000223 50dcc968 msado15!_ExecuteAsync+0x000001eb 50dc4c0f msado15!ExecuteAsync+0x0000004f 50dc499f msado15!CQuery::Execute+0x00000f4b --_000_d825bbded66e40439f53e60ee0686bc9prosoftsystemsru_ Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable

H!

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D

VERIFIER STOP 00000900: pid 0x2= 1C4: A heap allocation was leaked.

 

     &= nbsp;          D2A7EFF0 : Addr= ess of the leaked allocation. Run !heap -p -a <address> to get additi= onal information about the allocation.

     &= nbsp;          FE6C76DC : Addr= ess to the allocation stack trace. Run dps <address> to view the allo= cation stack.

     &= nbsp;          D2DB2FDA : Addr= ess of the owner dll name. Run du <address> to read the dll name.

     &= nbsp;          50BE0000 : Base= of the owner dll. Run .reload <dll_name> =3D <address> to relo= ad the owner dll. Use 'lm' to get more information about the loaded and unl= oaded modules.

 

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D

This verifier stop is continuab= le.

After debugging it use `go' to = continue.

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D

 

(21c4.1d24): Break instruction = exception - code 80000003 (first chance)

eax=3Deee04fc0 ebx=3D00000000 e= cx=3D000001a1 edx=3D0b66e9e1 esi=3D56b62dc0 edi=3Dd2a7eff0

eip=3D57783ae8 esp=3D0b66ebcc e= bp=3D0b66ede0 iopl=3D0         nv u= p ei pl nz na po nc

cs=3D0023  ss=3D002b = ds=3D002b  es=3D002b  fs=3D0053  gs=3D002b   = ;          efl=3D00200202=

vrfcore!VerifierStopMessageEx&#= 43;0x5b8:

57783ae8 cc   &n= bsp;          int  &= nbsp;  3

0:013> !heap -p -a D2A7EFF0 =

    address= d2a7eff0 found in

    _DPH_HEAP_RO= OT @ fe2a1000

    in busy allo= cation (  DPH_HEAP_BLOCK:       &nb= sp; UserAddr         UserSize -&nbs= p;        VirtAddr   &nbs= p;     VirtSize)

     &= nbsp;           &nbs= p;            &= nbsp; ed190618:         d2a7eff0&nb= sp;            =    b -         d2a7e000&n= bsp;            2000=

*** WARNING: Unable to verify c= hecksum for C:\Windows\assembly\NativeImages_v4.0.30319_32\System\e9647e8e9= 6a98be0146911f80f7a4c22\System.ni.dll

     &= nbsp;    ? System_ni+896174

    576bab70 ver= ifier!AVrfDebugPageHeapAllocate+0x00000240

    77aa909b ntd= ll!RtlDebugAllocateHeap+0x00000039

    779fbbad ntd= ll!RtlpAllocateHeap+0x000000ed

    779fb0cf ntd= ll!RtlpAllocateHeapInternal+0x0000022f

    779fae8e ntd= ll!RtlAllocateHeap+0x0000003e

    5778aa2f vrf= core!VfCoreRtlAllocateHeap+0x0000001f

    56b5256c vfb= asics!AVrfpRtlAllocateHeap+0x000000dc

    7558a9f6 ucr= tbase!_malloc_base+0x00000026

    755a9235 ucr= tbase!_mbsdup+0x00000025

    56b53ec9 vfb= asics!AVrfp_ucrt__strdup+0x00000039

*** WARNING: Unable to verify c= hecksum for C:\Program Files (x86)\psqlODBC\1300\bin\psqlodbc35w.dll

    50be3299 psq= lodbc35w!CI_read_fields_from_pgres+0x000001f9 [c:\mingw\git\psqlodbc-13= .00.0000\columninfo.c @ 108]

    50c36aea psq= lodbc35w!ParseAndDescribeWithLibpq+0x0000055a [c:\mingw\git\psqlodbc-13= .00.0000\statement.c @ 2990]

    50bedaba psq= lodbc35w!prepareParameters+0x0000011a [c:\mingw\git\psqlodbc-13.00.0000= \convert.c @ 2899]

    50c256bf psq= lodbc35w!SC_describe_ok+0x0000011f [c:\mingw\git\psqlodbc-13.00.0000\re= sults.c @ 95]

    50c25a36 psq= lodbc35w!PGAPI_NumResultCols+0x00000146 [c:\mingw\git\psqlodbc-13.00.00= 00\results.c @ 188]

    6f794ba8 ODB= C32!SQLNumResultCols+0x00000198

    500acb87 msd= asql!CColInfo::ComputeColInfo+0x00000057

    500ae3b6 msd= asql!CImpIColumnsInfo::ComputeColInfo+0x00000246

    500add43 msd= asql!CImpIColumnsInfo::GetColumnInfo+0x00000113

    5019d21f msa= dce!updCreateBaseTable+0x0000004f

    5019d9d8 msa= dce!updLoadFromTableDef+0x000000b8

    5019edd0 msa= dce!updSQLStringProps+0x00000160

    5019f335 msa= dce!updSQLParseProps+0x00000095

    5019b342 msa= dce!DBUpdates::duBuildUpdateProperties+0x00000232

    501591e7 msa= dce!CFetchBindingOLEDB::fbGetUpdateProps+0x00000167

    5018eb08 msa= dce!CFoxRowset::rsInitFetch+0x00000108

    50171fe1 msa= dce!CMultipleResults::mrInitFetch+0x00000071

    50171b63 msa= dce!CMultipleResults::GetResult+0x00000173

    50da77f3 msa= do15!CConnection::Execute+0x00000223

    50dcc968 msa= do15!_ExecuteAsync+0x000001eb

    50dc4c0f msa= do15!ExecuteAsync+0x0000004f

    50dc499f msa= do15!CQuery::Execute+0x00000f4b

--_000_d825bbded66e40439f53e60ee0686bc9prosoftsystemsru_--