SSL_COMP_get_compression_methods allocations suppressed not universally for Valgrind

Bug #1650450 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
Invalid
Undecided
Unassigned
5.6
Fix Released
Low
Laurynas Biveinis
5.7
Invalid
Low
Unassigned

Bug Description

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.

tags: added: ci upstream valgrind
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2219

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.