<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi, <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have just removed the old locking “stuff” from my Windows 7 tests programs, and now they leak again.<o:p></o:p></p><p class=MsoNormal>:'(<o:p></o:p></p><p class=MsoNormal>If someone have time to look at this issue, here under is the call stack :<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Detected memory leaks!<o:p></o:p></p><p class=MsoNormal>Dumping objects -><o:p></o:p></p><p class=MsoNormal>{3750} normal block at 0x002F34B8, 24 bytes long.<o:p></o:p></p><p class=MsoNormal> Data: < 4/             > F0 34 2F 00 FF FF FF FF 00 00 00 00 00 00 00 00 <o:p></o:p></p><p class=MsoNormal>{3744} normal block at 0x002F3168, 24 bytes long.<o:p></o:p></p><p class=MsoNormal> Data: <  .             > 00 04 2E 00 FF FF FF FF 00 00 00 00 00 00 00 00 <o:p></o:p></p><p class=MsoNormal>Object dump complete.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>WARNING: Visual Leak Detector detected memory leaks!<o:p></o:p></p><p class=MsoNormal>---------- Block 3744 at 0x002F3168: 24 bytes ----------<o:p></o:p></p><p class=MsoNormal>  Leak Hash: 0x95C9B33F, Count: 1, Total 24 bytes<o:p></o:p></p><p class=MsoNormal>  Call Stack (TID 6060):<o:p></o:p></p><p class=MsoNormal>    ntdll.dll!RtlAllocateHeap()<o:p></o:p></p><p class=MsoNormal>    f:\dd\vctools\crt\crtw32\misc\dbgmalloc.c (56): TestsCrypto-11.exe!malloc() + 0x15 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\mem.c (140): TestsCrypto-11.exe!CRYPTO_malloc() + 0x9 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\mem.c (148): TestsCrypto-11.exe!CRYPTO_zalloc() + 0x11 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\threads_win.c (57): TestsCrypto-11.exe!CRYPTO_THREAD_lock_new() + 0xE bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\ex_data.c (143): TestsCrypto-11.exe!do_ex_data_init() + 0x5 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\threads_win.c (117): TestsCrypto-11.exe!CRYPTO_THREAD_run_once()<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\ex_data.c (160): TestsCrypto-11.exe!get_and_lock() + 0xF bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\ex_data.c (295): TestsCrypto-11.exe!CRYPTO_new_ex_data() + 0x9 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\bio\bio_lib.c (96): TestsCrypto-11.exe!BIO_set() + 0x12 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\bio\bio_lib.c (73): TestsCrypto-11.exe!BIO_new() + 0xD bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\bio\bss_file.c (181): TestsCrypto-11.exe!BIO_new_file() + 0xB bytes<o:p></o:p></p><p class=MsoNormal>    p:\mes programmes\shared\ocrypto-11\pkcs12.cpp (29): TestsCrypto-11.exe!OCrypto::PKCS12Load() + 0xE bytes<o:p></o:p></p><p class=MsoNormal>    p:\mes programmes\tests\_testsshared\testscrypto-11\testscrypto.cpp (392): TestsCrypto-11.exe!main() + 0x17 bytes<o:p></o:p></p><p class=MsoNormal>    f:\dd\vctools\crt\crtw32\startup\crt0.c (165): TestsCrypto-11.exe!mainCRTStartup()<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>---------- Block 3750 at 0x002F34B8: 24 bytes ----------<o:p></o:p></p><p class=MsoNormal>  Leak Hash: 0x6A94EEB4, Count: 1, Total 24 bytes<o:p></o:p></p><p class=MsoNormal>  Call Stack (TID 6060):<o:p></o:p></p><p class=MsoNormal>    ntdll.dll!RtlAllocateHeap()<o:p></o:p></p><p class=MsoNormal>    f:\dd\vctools\crt\crtw32\misc\dbgmalloc.c (56): TestsCrypto-11.exe!malloc() + 0x15 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\mem.c (140): TestsCrypto-11.exe!CRYPTO_malloc() + 0x9 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\mem.c (148): TestsCrypto-11.exe!CRYPTO_zalloc() + 0x11 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\threads_win.c (57): TestsCrypto-11.exe!CRYPTO_THREAD_lock_new() + 0xE bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\err\err.c (393): TestsCrypto-11.exe!do_err_strings_init() + 0x5 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\threads_win.c (117): TestsCrypto-11.exe!CRYPTO_THREAD_run_once()<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\err\err.c (400): TestsCrypto-11.exe!ERR_load_ERR_strings() + 0xF bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\err\err_all.c (114): TestsCrypto-11.exe!err_load_crypto_strings_intern()<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\init.c (151): TestsCrypto-11.exe!ossl_init_load_crypto_strings()<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\threads_win.c (117): TestsCrypto-11.exe!CRYPTO_THREAD_run_once()<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\init.c (514): TestsCrypto-11.exe!OPENSSL_init_crypto() + 0x29 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\err\err.c (779): TestsCrypto-11.exe!ERR_get_state() + 0xB bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\err\err.c (502): TestsCrypto-11.exe!ERR_clear_error() + 0x5 bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\asn1\a_d2i_fp.c (163): TestsCrypto-11.exe!asn1_d2i_read_bio()<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\asn1\a_d2i_fp.c (112): TestsCrypto-11.exe!ASN1_item_d2i_bio() + 0xD bytes<o:p></o:p></p><p class=MsoNormal>    e:\openssl-1.1.git\crypto\pkcs12\p12_utl.c (122): TestsCrypto-11.exe!d2i_PKCS12_bio() + 0x13 bytes<o:p></o:p></p><p class=MsoNormal>    p:\mes programmes\shared\ocrypto-11\pkcs12.cpp (31): TestsCrypto-11.exe!OCrypto::PKCS12Load() + 0xB bytes<o:p></o:p></p><p class=MsoNormal>    p:\mes programmes\tests\_testsshared\testscrypto-11\testscrypto.cpp (392): TestsCrypto-11.exe!main() + 0x17 bytes<o:p></o:p></p><p class=MsoNormal>    f:\dd\vctools\crt\crtw32\startup\crt0.c (165): TestsCrypto-11.exe!mainCRTStartup()<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Michel.<o:p></o:p></p></div></body></html>