Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-37562

show plugins with soname + cursor protocol - RockDB - MSAN use-of-uninitialized-value

    XMLWordPrintable

Details

    Description

      10.11

      CURRENT_TEST: plugins.show_all_plugins + --cursor-protocol
      mysqltest: At line 30: query 'show plugins soname where library = '$HA_EXAMPLE_SO'' failed: <Unknown> (2013): Lost connection to server during query
       
      The result from queries just before the failure was:
      < snip >
      Opened_plugin_libraries	1
      show plugins soname 'ha_example.so';
      Name	Status	Type	Library	License
      EXAMPLE	NOT INSTALLED	STORAGE ENGINE	ha_example.so	GPL
      UNUSABLE	NOT INSTALLED	DAEMON	ha_example.so	GPL
      show status like '%libraries%';
      Variable_name	Value
      Opened_plugin_libraries	2
      show plugins soname like '%example%';
      Name	Status	Type	Library	License
      EXAMPLE	NOT INSTALLED	STORAGE ENGINE	ha_example.so	GPL
      UNUSABLE	NOT INSTALLED	DAEMON	ha_example.so	GPL
      daemon_example	NOT INSTALLED	DAEMON	libdaemon_example.so	GPL
      example_key_management	NOT INSTALLED	ENCRYPTION	example_key_management.so	GPL
      three_attempts	NOT INSTALLED	AUTHENTICATION	dialog_examples.so	GPL
      two_questions	NOT INSTALLED	AUTHENTICATION	dialog_examples.so	GPL
      show status like '%libraries%';
      Variable_name	Value
      Opened_plugin_libraries	7
      show plugins soname where library = 'ha_example.so';
       
      More results from queries before failure can be found in /build/mysql-test/var/2/log/show_all_plugins.log
       
       
      Server [mysqld.1 - pid: 168401, winpid: 168401, exit: 256] failed during test run
      Server log from this test:
      ----------SERVER LOG START-----------
      ==168403==WARNING: MemorySanitizer: use-of-uninitialized-value
          #0 0x7fa5028cc37b in rocksdb::ThreadLocalPtr::StaticMeta::StaticMeta()::A::~A() /source/storage/rocksdb/rocksdb/util/thread_local.cc:335:11
          #1 0x5625db315adb in MSanCxaAtExitWrapper(void*) (/build/sql/mariadbd+0x7f5adb) (BuildId: 95dd86fd864dbf36c350626486138589cbe8a174)
          #2 0x7fa50d48dff6 in __cxa_finalize (/lib/x86_64-linux-gnu/libc.so.6+0x3dff6) (BuildId: 79005c16293efa45b441fed45f4f29b138557e9e)
       
        Uninitialized value was created by a heap allocation
          #0 0x5625db314ca2 in malloc (/build/sql/mariadbd+0x7f4ca2) (BuildId: 95dd86fd864dbf36c350626486138589cbe8a174)
          #1 0x7fa50e371dfd  (/lib64/ld-linux-x86-64.so.2+0x10dfd) (BuildId: 3cbc62ba7dc05b522c3e7be640288b1197a92ae3)
       
      SUMMARY: MemorySanitizer: use-of-uninitialized-value /source/storage/rocksdb/rocksdb/util/thread_local.cc:335:11 in rocksdb::ThreadLocalPtr::StaticMeta::StaticMeta()::A::~A()
      Exiting
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.