Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-2219

LP #1650450: SSL_COMP_get_compression_methods allocations suppressed not universally for Valgrind

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      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.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: