[MDEV-10735] Valgrind warnings around Galera SST Created: 2016-09-04  Updated: 2016-09-21  Resolved: 2016-09-21

Status: Closed
Project: MariaDB Server
Component/s: wsrep
Affects Version/s: None
Fix Version/s: 10.1.18

Type: Bug Priority: Major
Reporter: Nirbhay Choubey (Inactive) Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 10.1.18

 Description   

$ perl mtr galera.galera_insert_multi --valgrind
...
galera.galera_insert_multi 'innodb_plugin' [ fail ]  Found warnings/errors in server log file!
        Test ended at 2016-09-04 14:32:59
line
==2082== Thread 8:
==2082== Conditional jump or move depends on uninitialised value(s)
==2082==    at 0x4C2E0F8: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2082==    by 0x78C132: sst_scan_uuid_seqno(char const*, wsrep_uuid*, long*) (wsrep_sst.cc:342)
==2082==    by 0x78C979: sst_joiner_thread(void*) (wsrep_sst.cc:485)
==2082==    by 0x5F09183: start_thread (pthread_create.c:312)
==2082==    by 0x682337C: clone (clone.S:111)
==2082== Conditional jump or move depends on uninitialised value(s)
==2082==    at 0x4C31A06: rawmemchr (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2082==    by 0x67A5FC1: _IO_str_init_static_internal (strops.c:44)
==2082==    by 0x6787476: __isoc99_vsscanf (isoc99_vsscanf.c:41)
==2082==    by 0x6787416: __isoc99_sscanf (isoc99_sscanf.c:31)
==2082==    by 0xF074F9: wsrep_uuid_scan (wsrep_uuid.c:50)
==2082==    by 0x78C14E: sst_scan_uuid_seqno(char const*, wsrep_uuid*, long*) (wsrep_sst.cc:342)
==2082==    by 0x78C979: sst_joiner_thread(void*) (wsrep_sst.cc:485)
==2082==    by 0x5F09183: start_thread (pthread_create.c:312)
==2082==    by 0x682337C: clone (clone.S:111)
==2082== Conditional jump or move depends on uninitialised value(s)
==2082==    at 0x4C2E0F8: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2082==    by 0x78C17B: sst_scan_uuid_seqno(char const*, wsrep_uuid*, long*) (wsrep_sst.cc:344)
==2082==    by 0x78C979: sst_joiner_thread(void*) (wsrep_sst.cc:485)
==2082==    by 0x5F09183: start_thread (pthread_create.c:312)
==2082==    by 0x682337C: clone (clone.S:111)


Generated at Thu Feb 08 07:44:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.