LP #1650450: SSL_COMP_get_compression_methods allocations suppressed not universally for Valgrind

Description

**Reported in Launchpad by Laurynas Biveinis last update 19-12-2016 13:16:47

E.g. on Ubuntu Yakkety:

innodb.percona_changed_page_bmp_debug w2 [ fail ]
...
==12577== 32 bytes in 1 blocks are still reachable in loss record 1 of 336
==12577== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12577== by 0x5B6CE77: CRYPTO_malloc (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==12577== by 0x5C23AFE: sk_new (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==12577== by 0x58E5439: ??? (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==12577== by 0x58E7538: SSL_COMP_get_compression_methods (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==12577== by 0x58ECCC2: SSL_library_init (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==12577== by 0xF7FB0F: ssl_start (viosslfactories.c:240)
==12577== by 0x63BA36: init_ssl() (mysqld.cc:4681)
==12577== by 0x63E231: mysqld_main(int, char**) (mysqld.cc:5940)
==12577== by 0x6314F5: main (main.cc:25)
==12577==
==12577== 32 bytes in 1 blocks are still reachable in loss record 2 of 336
==12577== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12577== by 0x5B6CE77: CRYPTO_malloc (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==12577== by 0x5C23B1C: sk_new (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==12577== by 0x58E5439: ??? (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==12577== by 0x58E7538: SSL_COMP_get_compression_methods (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==12577== by 0x58ECCC2: SSL_library_init (in /lib/x86_64-linux-gnu/libssl.so.1.0.0)
==12577== by 0xF7FB0F: ssl_start (viosslfactories.c:240)
==12577== by 0x63BA36: init_ssl() (mysqld.cc:4681)
==12577== by 0x63E231: mysqld_main(int, char**) (mysqld.cc:5940)
==12577== by 0x6314F5: main (main.cc:25)

There are existing suppressions for this, but they don't catch the '???'frame between sk_new and SSL_COMP_get_compression_methods.

Environment

None

Smart Checklist

Activity

Show:

lpjirasync January 22, 2018 at 8:45 PM

Done

Details

Assignee

Reporter

Priority

Smart Checklist

Created January 22, 2018 at 8:44 PM
Updated January 22, 2018 at 8:45 PM
Resolved January 22, 2018 at 8:45 PM

Flag notifications