pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Першин Юрий Петрович <pershin@prosoftsystems.ru>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: windows AppVerifier reports memory leak after strdup (psqlodbc35w.dll ver 13.00)
Date: Fri, 18 Dec 2020 19:53:25 +0000
Message-ID: <d825bbded66e40439f53e60ee0686bc9@prosoftsystems.ru> (raw)

H!

=======================================
VERIFIER STOP 00000900: pid 0x21C4: A heap allocation was leaked.

                D2A7EFF0 : Address of the leaked allocation. Run !heap -p -a <address> 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 <address> to read the dll name.
                50BE0000 : Base of the owner dll. Run .reload <dll_name> = <address> to reload the owner dll. Use 'lm' to get more information about the loaded and unloaded modules.


=======================================
This verifier stop is continuable.
After debugging it use `go' to continue.

=======================================

(21c4.1d24): Break instruction exception - code 80000003 (first chance)
eax=eee04fc0 ebx=00000000 ecx=000001a1 edx=0b66e9e1 esi=56b62dc0 edi=d2a7eff0
eip=57783ae8 esp=0b66ebcc ebp=0b66ede0 iopl=0         nv up ei pl nz na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00200202
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\psqlodbc-13.00.0000\convert.c @ 2899]
    50c256bf psqlodbc35w!SC_describe_ok+0x0000011f [c:\mingw\git\psqlodbc-13.00.0000\results.c @ 95]
    50c25a36 psqlodbc35w!PGAPI_NumResultCols+0x00000146 [c:\mingw\git\psqlodbc-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

view thread (3+ messages)  latest in thread

Message-ID: <d825bbded66e40439f53e60ee0686bc9@prosoftsystems.ru>
Permalink:  ../d825bbded66e40439f53e60ee0686bc9@prosoftsystems.ru/
Also on:    postgresql.org/message-id/d825bbded66e40439f53e60ee0686bc9@prosoftsystems.ru

 · 

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: pershin@prosoftsystems.ru
  Subject: Re: windows AppVerifier reports memory leak after strdup (psqlodbc35w.dll ver 13.00)
  In-Reply-To: <d825bbded66e40439f53e60ee0686bc9@prosoftsystems.ru>
  References: <d825bbded66e40439f53e60ee0686bc9@prosoftsystems.ru>

* 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