Hi,
I have just removed the old locking "stuff" from my Windows 7 tests programs, and now they leak again. :'( If someone have time to look at this issue, here under is the call stack : Detected memory leaks! Dumping objects -> {3750} normal block at 0x002F34B8, 24 bytes long. Data: < 4/ > F0 34 2F 00 FF FF FF FF 00 00 00 00 00 00 00 00 {3744} normal block at 0x002F3168, 24 bytes long. Data: < . > 00 04 2E 00 FF FF FF FF 00 00 00 00 00 00 00 00 Object dump complete. WARNING: Visual Leak Detector detected memory leaks! ---------- Block 3744 at 0x002F3168: 24 bytes ---------- Leak Hash: 0x95C9B33F, Count: 1, Total 24 bytes Call Stack (TID 6060): ntdll.dll!RtlAllocateHeap() f:\dd\vctools\crt\crtw32\misc\dbgmalloc.c (56): TestsCrypto-11.exe!malloc() + 0x15 bytes e:\openssl-1.1.git\crypto\mem.c (140): TestsCrypto-11.exe!CRYPTO_malloc() + 0x9 bytes e:\openssl-1.1.git\crypto\mem.c (148): TestsCrypto-11.exe!CRYPTO_zalloc() + 0x11 bytes e:\openssl-1.1.git\crypto\threads_win.c (57): TestsCrypto-11.exe!CRYPTO_THREAD_lock_new() + 0xE bytes e:\openssl-1.1.git\crypto\ex_data.c (143): TestsCrypto-11.exe!do_ex_data_init() + 0x5 bytes e:\openssl-1.1.git\crypto\threads_win.c (117): TestsCrypto-11.exe!CRYPTO_THREAD_run_once() e:\openssl-1.1.git\crypto\ex_data.c (160): TestsCrypto-11.exe!get_and_lock() + 0xF bytes e:\openssl-1.1.git\crypto\ex_data.c (295): TestsCrypto-11.exe!CRYPTO_new_ex_data() + 0x9 bytes e:\openssl-1.1.git\crypto\bio\bio_lib.c (96): TestsCrypto-11.exe!BIO_set() + 0x12 bytes e:\openssl-1.1.git\crypto\bio\bio_lib.c (73): TestsCrypto-11.exe!BIO_new() + 0xD bytes e:\openssl-1.1.git\crypto\bio\bss_file.c (181): TestsCrypto-11.exe!BIO_new_file() + 0xB bytes p:\mes programmes\shared\ocrypto-11\pkcs12.cpp (29): TestsCrypto-11.exe!OCrypto::PKCS12Load() + 0xE bytes p:\mes programmes\tests\_testsshared\testscrypto-11\testscrypto.cpp (392): TestsCrypto-11.exe!main() + 0x17 bytes f:\dd\vctools\crt\crtw32\startup\crt0.c (165): TestsCrypto-11.exe!mainCRTStartup() ---------- Block 3750 at 0x002F34B8: 24 bytes ---------- Leak Hash: 0x6A94EEB4, Count: 1, Total 24 bytes Call Stack (TID 6060): ntdll.dll!RtlAllocateHeap() f:\dd\vctools\crt\crtw32\misc\dbgmalloc.c (56): TestsCrypto-11.exe!malloc() + 0x15 bytes e:\openssl-1.1.git\crypto\mem.c (140): TestsCrypto-11.exe!CRYPTO_malloc() + 0x9 bytes e:\openssl-1.1.git\crypto\mem.c (148): TestsCrypto-11.exe!CRYPTO_zalloc() + 0x11 bytes e:\openssl-1.1.git\crypto\threads_win.c (57): TestsCrypto-11.exe!CRYPTO_THREAD_lock_new() + 0xE bytes e:\openssl-1.1.git\crypto\err\err.c (393): TestsCrypto-11.exe!do_err_strings_init() + 0x5 bytes e:\openssl-1.1.git\crypto\threads_win.c (117): TestsCrypto-11.exe!CRYPTO_THREAD_run_once() e:\openssl-1.1.git\crypto\err\err.c (400): TestsCrypto-11.exe!ERR_load_ERR_strings() + 0xF bytes e:\openssl-1.1.git\crypto\err\err_all.c (114): TestsCrypto-11.exe!err_load_crypto_strings_intern() e:\openssl-1.1.git\crypto\init.c (151): TestsCrypto-11.exe!ossl_init_load_crypto_strings() e:\openssl-1.1.git\crypto\threads_win.c (117): TestsCrypto-11.exe!CRYPTO_THREAD_run_once() e:\openssl-1.1.git\crypto\init.c (514): TestsCrypto-11.exe!OPENSSL_init_crypto() + 0x29 bytes e:\openssl-1.1.git\crypto\err\err.c (779): TestsCrypto-11.exe!ERR_get_state() + 0xB bytes e:\openssl-1.1.git\crypto\err\err.c (502): TestsCrypto-11.exe!ERR_clear_error() + 0x5 bytes e:\openssl-1.1.git\crypto\asn1\a_d2i_fp.c (163): TestsCrypto-11.exe!asn1_d2i_read_bio() e:\openssl-1.1.git\crypto\asn1\a_d2i_fp.c (112): TestsCrypto-11.exe!ASN1_item_d2i_bio() + 0xD bytes e:\openssl-1.1.git\crypto\pkcs12\p12_utl.c (122): TestsCrypto-11.exe!d2i_PKCS12_bio() + 0x13 bytes p:\mes programmes\shared\ocrypto-11\pkcs12.cpp (31): TestsCrypto-11.exe!OCrypto::PKCS12Load() + 0xB bytes p:\mes programmes\tests\_testsshared\testscrypto-11\testscrypto.cpp (392): TestsCrypto-11.exe!main() + 0x17 bytes f:\dd\vctools\crt\crtw32\startup\crt0.c (165): TestsCrypto-11.exe!mainCRTStartup() Michel.
-- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev