Description:
If run easy test which only includes InnoDB valgrind reports nwarnings following. Trace is for next-mr, in 5.1 it looks a bit different.
==14543== Conditional jump or move depends on uninitialised value(s)
==14543== at 0x85707D: rw_lock_set_writer_id_and_recursion_flag (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x857B11: rw_lock_x_lock_low (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x857BF7: rw_lock_x_lock_func (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8D257C: mtr_x_lock_func (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8AA514: fsp_header_init (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x855772: innobase_start_or_create_for_mysql (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x826189: innobase_init(void*) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x6DD8F9: ha_initialize_handlerton(st_plugin_int*) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x5A8588: plugin_initialize(st_plugin_int*) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x5A8E30: plugin_init(int*, char**, int) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x51D49C: init_server_components() (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x51DF11: mysqld_main(int, char**) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x518283: main (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== Conditional jump or move depends on uninitialised value(s)
==14543== at 0x85707D: rw_lock_set_writer_id_and_recursion_flag (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x857B11: rw_lock_x_lock_low (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x857BF7: rw_lock_x_lock_func (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8C8341: log_group_checkpoint (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8C848C: log_groups_write_checkpoint_info (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8C8604: log_checkpoint (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8C60A9: log_fsp_current_free_limit_set_and_checkpoint (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8AB1FC: fsp_fill_free_list (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8AA7BD: fsp_header_init (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x855772: innobase_start_or_create_for_mysql (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x826189: innobase_init(void*) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x6DD8F9: ha_initialize_handlerton(st_plugin_int*) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x5A8588: plugin_initialize(st_plugin_int*) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x5A8E30: plugin_init(int*, char**, int) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x51D49C: init_server_components() (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x51DF11: mysqld_main(int, char**) (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== Conditional jump or move depends on uninitialised value(s)
==14543== at 0x85707D: rw_lock_set_writer_id_and_recursion_flag (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x857B11: rw_lock_x_lock_low (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x857BF7: rw_lock_x_lock_func (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x87EAF6: btr_search_check_free_space_in_heap (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x881421: btr_search_update_hash_on_insert (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x877484: btr_cur_optimistic_insert (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8EE614: row_ins_index_entry_low (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8EE8B9: row_ins_index_entry (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8EEAFC: row_ins_index_entry_step (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8EED45: row_ins (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8EEF46: row_ins_step (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8E8FFD: que_thr_step (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8E929B: que_run_threads_low (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8E93AE: que_run_threads (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x8E95A3: que_eval_sql (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x894ADD: dict_create_or_check_foreign_constraint_tables (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== Thread 10:
==14543== Conditional jump or move depends on uninitialised value(s)
==14543== at 0x85707D: rw_lock_set_writer_id_and_recursion_flag (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x857B11: rw_lock_x_lock_low (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x857BF7: rw_lock_x_lock_func (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x85C7B8: trx_purge (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x853618: srv_master_thread (in /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld)
==14543== by 0x3429E061B4: start_thread (in /lib64/libpthread-2.5.so)
==14543== by 0x34292CD39C: clone (in /lib64/libc-2.5.so)
^ Found warnings in /users/ssmirnova/blade12/src/mysql-next-mr/mysql-test/var/log/mysqld.1.err
ok
How to repeat:
$cat t/bug50632.test
--source include/have_innodb.inc
#--source include/have_partition.inc
--disable_query_log
--enable_query_log
select 1;