[MDEV-5184] Valgrind warnings (Conditional jump or move depends on uninitialised value) on slave with slave-parallel-threads > 0 Created: 2013-10-24  Updated: 2013-10-25  Resolved: 2013-10-25

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

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-4506 MWL#184: Parallel replication of grou... Closed

 Description   

==11897== Thread 30:
==11897== Conditional jump or move depends on uninitialised value(s)
==11897==    at 0x4C2C0BF: __GI_strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11897==    by 0x7945DC: rpl_parallel::do_event(rpl_group_info*, Log_event*) (rpl_parallel.cc:660)
==11897==    by 0x58FBF0: exec_relay_log_event(THD*, Relay_log_info*, rpl_group_info*) (slave.cc:3347)
==11897==    by 0x5928CC: handle_slave_sql (slave.cc:4328)
==11897==    by 0x9A9B43: pfs_spawn_thread (pfs.cc:1015)
==11897==    by 0x545AE99: start_thread (pthread_create.c:308)
==11897==    by 0x619CCBC: clone (clone.S:112)

revision-id: knielsen@knielsen-hq.org-20131024065348-t37zcjiw9mdta4kd
revno: 3683
branch-nick: 10.0-knielsen

It's enough to run a dummy MTR test with -mysqld=-slave-parallel-threads=1 --valgrind-mysqld
(not necessarily 1 thread, can be more):

--source include/master-slave.inc
--source include/have_binlog_format_row.inc
 
select 1;



 Comments   
Comment by Kristian Nielsen [ 2013-10-25 ]

Thanks! It should be fixed now in revision 3685.

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