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

Galera uses uninitialized memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5
    • Fix Version/s: 10.4.8
    • Component/s: Galera
    • Labels:
      None
    • Environment:
      BUILD/compile-pentium64-valgrind-max

      Description

      mtr --valgrind wsrep_info.plugin

      ==6651== Thread 8:
      ==6651== Invalid read of size 4
      ==6651== at 0xE69820: Wsrep_thd_args::thread_type() (wsrep_mysqld.h:426)
      ==6651== by 0xE68AA0: start_wsrep_THD(void*) (wsrep_mysqld.cc:2709)
      ==6651== by 0xE41174: pfs_spawn_thread (pfs.cc:1862)
      ==6651== by 0x4E42568: start_thread (in /lib64/libpthread-2.26.so)
      ==6651== by 0x6ECBA2E: clone (in /lib64/libc-2.26.so)
      ==6651== Address 0xe5baae0 is 16 bytes inside a block of size 24 free'd
      ==6651== at 0x4C2F938: operator delete(void*) (vg_replace_malloc.c:586)
      ==6651== by 0xE68A1F: start_wsrep_THD(void*) (wsrep_mysqld.cc:2703)
      ==6651== by 0xE41174: pfs_spawn_thread (pfs.cc:1862)
      ==6651== by 0x4E42568: start_thread (in /lib64/libpthread-2.26.so)
      ==6651== by 0x6ECBA2E: clone (in /lib64/libc-2.26.so)
      ==6651== Block was alloc'd at
      ==6651== at 0x4C2E91A: operator new(unsigned long) (vg_replace_malloc.c:344)
      ==6651== by 0xE782AF: wsrep_create_appliers(long) (wsrep_thd.cc:142)
      ==6651== by 0xE613BE: wsrep_init_startup(bool) (wsrep_mysqld.cc:829)
      ==6651== by 0x75F2E8: init_server_components() (mysqld.cc:4975)
      ==6651== by 0x760713: mysqld_main(int, char**) (mysqld.cc:5567)
      ==6651== by 0x755216: main (main.cc:25)
      ==6842== Thread 8:
      ==6842== Invalid read of size 4
      ==6842== at 0xE69820: Wsrep_thd_args::thread_type() (wsrep_mysqld.h:426)
      ==6842== by 0xE68AA0: start_wsrep_THD(void*) (wsrep_mysqld.cc:2709)
      ==6842== by 0xE41174: pfs_spawn_thread (pfs.cc:1862)
      ==6842== by 0x4E42568: start_thread (in /lib64/libpthread-2.26.so)
      ==6842== by 0x6ECBA2E: clone (in /lib64/libc-2.26.so)
      ==6842== Address 0xea9e820 is 16 bytes inside a block of size 24 free'd
      ==6842== at 0x4C2F938: operator delete(void*) (vg_replace_malloc.c:586)
      ==6842== by 0xE68A1F: start_wsrep_THD(void*) (wsrep_mysqld.cc:2703)
      ==6842== by 0xE41174: pfs_spawn_thread (pfs.cc:1862)
      ==6842== by 0x4E42568: start_thread (in /lib64/libpthread-2.26.so)
      ==6842== by 0x6ECBA2E: clone (in /lib64/libc-2.26.so)
      ==6842== Block was alloc'd at
      ==6842== at 0x4C2E91A: operator new(unsigned long) (vg_replace_malloc.c:344)
      ==6842== by 0xE782AF: wsrep_create_appliers(long) (wsrep_thd.cc:142)
      ==6842== by 0xE613BE: wsrep_init_startup(bool) (wsrep_mysqld.cc:829)
      ==6842== by 0x75F2E8: init_server_components() (mysqld.cc:4975)
      ==6842== by 0x760713: mysqld_main(int, char**) (mysqld.cc:5567)
      ==6842== by 0x755216: main (main.cc:25)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jplindst Jan Lindström
              Reporter:
              monty Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

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