CURRENT_TEST: main.bug47412 ==12325== Memcheck, a memory error detector. ==12325== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. ==12325== Using LibVEX rev 1884, a library for dynamic binary translation. ==12325== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==12325== Using valgrind-3.4.1, a dynamic binary instrumentation framework. ==12325== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==12325== For more details, rerun with: -v ==12325== 090917 19:30:08 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead. 090917 19:30:08 [Warning] The syntax '--log_slow_queries' is deprecated and will be removed in MySQL 7.0. Please use '--slow_query_log'/'--slow_query_log_file' instead. 090917 19:30:08 [Note] Plugin 'FEDERATED' is disabled. 090917 19:30:08 [Note] Plugin 'InnoDB' is disabled. 090917 19:30:08 [Note] Plugin 'ndbcluster' is disabled. 090917 19:30:10 [Note] Event Scheduler: Loaded 0 events 090917 19:30:10 [Note] /users/ssmirnova/blade12/src/mysql-next-mr/sql/mysqld: ready for connections. Version: '5.4.3-beta-debug-log' socket: '/users/ssmirnova/blade12/src/mysql-next-mr/mysql-test/var/tmp/mysqld.1.sock' port: 13000 Source distribution ==12325== Thread 3: ==12325== Syscall param pwrite64(buf) points to uninitialised byte(s) ==12325== at 0x3429E0D708: (within /lib64/libpthread-2.5.so) ==12325== by 0xAF524D: my_pwrite (my_pread.c:144) ==12325== by 0xAFAF6A: flush_cached_blocks (mf_keycache.c:3520) ==12325== by 0xAFB604: flush_key_blocks_int (mf_keycache.c:3814) ==12325== by 0xAFBB66: flush_key_blocks (mf_keycache.c:4071) ==12325== by 0x9F5153: mi_lock_database (mi_locking.c:65) ==12325== by 0x9E2C15: ha_myisam::external_lock(THD*, int) (ha_myisam.cc:1907) ==12325== by 0x7CFEE4: handler::ha_external_lock(THD*, int) (handler.cc:4638) ==12325== by 0x66FC62: unlock_external(THD*, st_table**, unsigned int) (lock.cc:786) ==12325== by 0x66EC49: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:391) ==12325== by 0x6D45C0: close_thread_tables(THD*) (sql_base.cc:1337) ==12325== by 0x688009: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1617) ==12325== by 0x685EBF: do_command(THD*) (sql_parse.cc:866) ==12325== by 0x6841D8: handle_one_connection (sql_connect.cc:1131) ==12325== by 0x3429E061B4: start_thread (in /lib64/libpthread-2.5.so) ==12325== by 0x34292CD39C: clone (in /lib64/libc-2.5.so) ==12325== Address 0x4c50e74 is 2,100 bytes inside a block of size 857,132 alloc'd ==12325== at 0x4A075EE: malloc (vg_replace_malloc.c:207) ==12325== by 0xB02BCC: _mymalloc (safemalloc.c:137) ==12325== by 0xB1DA21: my_large_malloc (my_largepage.c:64) ==12325== by 0xAF5A10: init_key_cache (mf_keycache.c:435) ==12325== by 0x7CDC39: ha_init_key_cache (handler.cc:3719) ==12325== by 0x6A099F: process_key_caches(int (*)(char const*, st_key_cache*)) (set_var.cc:4115) ==12325== by 0x679BFA: init_server_components() (mysqld.cc:3972) ==12325== by 0x67A74A: main (mysqld.cc:4450) ==12325== ==12325== Conditional jump or move depends on uninitialised value(s) ==12325== at 0xB32CEA: my_longlong10_to_str_8bit (ctype-simple.c:894) ==12325== by 0x6481AD: Field_varstring::store(long long, bool) (field.cc:7109) ==12325== by 0x5A3D8D: Item::save_in_field(Field*, bool) (item.cc:5151) ==12325== by 0x6E39F0: fill_record(THD*, List&, List&, bool) (sql_base.cc:8123) ==12325== by 0x6E3B24: fill_record_n_invoke_before_triggers(THD*, List&, List&, bool, Table_triggers_list*, trg_event_type) (sql_base.cc:8168) ==12325== by 0x74107D: mysql_update(THD*, TABLE_LIST*, List&, List&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) (sql_update.cc:590) ==12325== by 0x68BB04: mysql_execute_command(THD*) (sql_parse.cc:3068) ==12325== by 0x86C2D1: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2912) ==12325== by 0x86BC8F: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2735) ==12325== by 0x86C085: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2849) ==12325== by 0x8680F4: sp_head::execute(THD*) (sp_head.cc:1253) ==12325== by 0x869384: sp_head::execute_function(THD*, Item**, unsigned int, Field*) (sp_head.cc:1772) ==12325== by 0x5D8C28: Item_func_sp::execute_impl(THD*) (item_func.cc:6001) ==12325== by 0x5D89B1: Item_func_sp::execute() (item_func.cc:5930) ==12325== by 0x5DB96D: Item_func_sp::val_int() (item_func.h:1643) ==12325== by 0x5A3D15: Item::save_in_field(Field*, bool) (item.cc:5147) ==12325== ==12325== Conditional jump or move depends on uninitialised value(s) ==12325== at 0xB32D25: my_longlong10_to_str_8bit (ctype-simple.c:907) ==12325== by 0x6481AD: Field_varstring::store(long long, bool) (field.cc:7109) ==12325== by 0x5A3D8D: Item::save_in_field(Field*, bool) (item.cc:5151) ==12325== by 0x6E39F0: fill_record(THD*, List&, List&, bool) (sql_base.cc:8123) ==12325== by 0x6E3B24: fill_record_n_invoke_before_triggers(THD*, List&, List&, bool, Table_triggers_list*, trg_event_type) (sql_base.cc:8168) ==12325== by 0x74107D: mysql_update(THD*, TABLE_LIST*, List&, List&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) (sql_update.cc:590) ==12325== by 0x68BB04: mysql_execute_command(THD*) (sql_parse.cc:3068) ==12325== by 0x86C2D1: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2912) ==12325== by 0x86BC8F: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2735) ==12325== by 0x86C085: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2849) ==12325== by 0x8680F4: sp_head::execute(THD*) (sp_head.cc:1253) ==12325== by 0x869384: sp_head::execute_function(THD*, Item**, unsigned int, Field*) (sp_head.cc:1772) ==12325== by 0x5D8C28: Item_func_sp::execute_impl(THD*) (item_func.cc:6001) ==12325== by 0x5D89B1: Item_func_sp::execute() (item_func.cc:5930) ==12325== by 0x5DB96D: Item_func_sp::val_int() (item_func.h:1643) ==12325== by 0x5A3D15: Item::save_in_field(Field*, bool) (item.cc:5147) ==12325== ==12325== Conditional jump or move depends on uninitialised value(s) ==12325== at 0xB32DA2: my_longlong10_to_str_8bit (ctype-simple.c:914) ==12325== by 0x6481AD: Field_varstring::store(long long, bool) (field.cc:7109) ==12325== by 0x5A3D8D: Item::save_in_field(Field*, bool) (item.cc:5151) ==12325== by 0x6E39F0: fill_record(THD*, List&, List&, bool) (sql_base.cc:8123) ==12325== by 0x6E3B24: fill_record_n_invoke_before_triggers(THD*, List&, List&, bool, Table_triggers_list*, trg_event_type) (sql_base.cc:8168) ==12325== by 0x74107D: mysql_update(THD*, TABLE_LIST*, List&, List&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) (sql_update.cc:590) ==12325== by 0x68BB04: mysql_execute_command(THD*) (sql_parse.cc:3068) ==12325== by 0x86C2D1: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2912) ==12325== by 0x86BC8F: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2735) ==12325== by 0x86C085: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2849) ==12325== by 0x8680F4: sp_head::execute(THD*) (sp_head.cc:1253) ==12325== by 0x869384: sp_head::execute_function(THD*, Item**, unsigned int, Field*) (sp_head.cc:1772) ==12325== by 0x5D8C28: Item_func_sp::execute_impl(THD*) (item_func.cc:6001) ==12325== by 0x5D89B1: Item_func_sp::execute() (item_func.cc:5930) ==12325== by 0x5DB96D: Item_func_sp::val_int() (item_func.h:1643) ==12325== by 0x5A3D15: Item::save_in_field(Field*, bool) (item.cc:5147) ==12325== ==12325== Conditional jump or move depends on uninitialised value(s) ==12325== at 0xB32E09: my_longlong10_to_str_8bit (ctype-simple.c:923) ==12325== by 0x6481AD: Field_varstring::store(long long, bool) (field.cc:7109) ==12325== by 0x5A3D8D: Item::save_in_field(Field*, bool) (item.cc:5151) ==12325== by 0x6E39F0: fill_record(THD*, List&, List&, bool) (sql_base.cc:8123) ==12325== by 0x6E3B24: fill_record_n_invoke_before_triggers(THD*, List&, List&, bool, Table_triggers_list*, trg_event_type) (sql_base.cc:8168) ==12325== by 0x74107D: mysql_update(THD*, TABLE_LIST*, List&, List&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) (sql_update.cc:590) ==12325== by 0x68BB04: mysql_execute_command(THD*) (sql_parse.cc:3068) ==12325== by 0x86C2D1: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2912) ==12325== by 0x86BC8F: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2735) ==12325== by 0x86C085: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2849) ==12325== by 0x8680F4: sp_head::execute(THD*) (sp_head.cc:1253) ==12325== by 0x869384: sp_head::execute_function(THD*, Item**, unsigned int, Field*) (sp_head.cc:1772) ==12325== by 0x5D8C28: Item_func_sp::execute_impl(THD*) (item_func.cc:6001) ==12325== by 0x5D89B1: Item_func_sp::execute() (item_func.cc:5930) ==12325== by 0x5DB96D: Item_func_sp::val_int() (item_func.h:1643) ==12325== by 0x5A3D15: Item::save_in_field(Field*, bool) (item.cc:5147) ==12325== ==12325== Use of uninitialised value of size 8 ==12325== at 0xB333D2: my_scan_8bit (ctype-simple.c:1115) ==12325== by 0x63741A: test_if_important_data(charset_info_st*, char const*, char const*) (field.cc:994) ==12325== by 0x6461A7: Field_longstr::report_if_important_data(char const*, char const*, bool) (field.cc:6400) ==12325== by 0x648148: Field_varstring::store(char const*, unsigned int, charset_info_st*) (field.cc:7096) ==12325== by 0x6481CE: Field_varstring::store(long long, bool) (field.cc:7110) ==12325== by 0x5A3D8D: Item::save_in_field(Field*, bool) (item.cc:5151) ==12325== by 0x6E39F0: fill_record(THD*, List&, List&, bool) (sql_base.cc:8123) ==12325== by 0x6E3B24: fill_record_n_invoke_before_triggers(THD*, List&, List&, bool, Table_triggers_list*, trg_event_type) (sql_base.cc:8168) ==12325== by 0x74107D: mysql_update(THD*, TABLE_LIST*, List&, List&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) (sql_update.cc:590) ==12325== by 0x68BB04: mysql_execute_command(THD*) (sql_parse.cc:3068) ==12325== by 0x86C2D1: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2912) ==12325== by 0x86BC8F: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2735) ==12325== by 0x86C085: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2849) ==12325== by 0x8680F4: sp_head::execute(THD*) (sp_head.cc:1253) ==12325== by 0x869384: sp_head::execute_function(THD*, Item**, unsigned int, Field*) (sp_head.cc:1772) ==12325== by 0x5D8C28: Item_func_sp::execute_impl(THD*) (item_func.cc:6001) ==12325== ==12325== Conditional jump or move depends on uninitialised value(s) ==12325== at 0x4A08947: bcmp (mc_replace_strmem.c:442) ==12325== by 0x649699: Field_varstring::cmp_binary(unsigned char const*, unsigned char const*, unsigned int) (field.cc:7548) ==12325== by 0x653103: Field::cmp_binary_offset(unsigned int) (field.h:229) ==12325== by 0x73F5F8: compare_record(st_table*) (sql_update.cc:42) ==12325== by 0x7410A0: mysql_update(THD*, TABLE_LIST*, List&, List&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) (sql_update.cc:597) ==12325== by 0x68BB04: mysql_execute_command(THD*) (sql_parse.cc:3068) ==12325== by 0x86C2D1: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2912) ==12325== by 0x86BC8F: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2735) ==12325== by 0x86C085: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2849) ==12325== by 0x8680F4: sp_head::execute(THD*) (sp_head.cc:1253) ==12325== by 0x869384: sp_head::execute_function(THD*, Item**, unsigned int, Field*) (sp_head.cc:1772) ==12325== by 0x5D8C28: Item_func_sp::execute_impl(THD*) (item_func.cc:6001) ==12325== by 0x5D89B1: Item_func_sp::execute() (item_func.cc:5930) ==12325== by 0x5DB96D: Item_func_sp::val_int() (item_func.h:1643) ==12325== by 0x5A3D15: Item::save_in_field(Field*, bool) (item.cc:5147) ==12325== by 0x86533F: sp_eval_expr(THD*, Field*, Item**) (sp_head.cc:368) ==12325== ==12325== Conditional jump or move depends on uninitialised value(s) ==12325== at 0x73F5FB: compare_record(st_table*) (sql_update.cc:42) ==12325== by 0x7410A0: mysql_update(THD*, TABLE_LIST*, List&, List&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) (sql_update.cc:597) ==12325== by 0x68BB04: mysql_execute_command(THD*) (sql_parse.cc:3068) ==12325== by 0x86C2D1: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2912) ==12325== by 0x86BC8F: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2735) ==12325== by 0x86C085: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2849) ==12325== by 0x8680F4: sp_head::execute(THD*) (sp_head.cc:1253) ==12325== by 0x869384: sp_head::execute_function(THD*, Item**, unsigned int, Field*) (sp_head.cc:1772) ==12325== by 0x5D8C28: Item_func_sp::execute_impl(THD*) (item_func.cc:6001) ==12325== by 0x5D89B1: Item_func_sp::execute() (item_func.cc:5930) ==12325== by 0x5DB96D: Item_func_sp::val_int() (item_func.h:1643) ==12325== by 0x5A3D15: Item::save_in_field(Field*, bool) (item.cc:5147) ==12325== by 0x86533F: sp_eval_expr(THD*, Field*, Item**) (sp_head.cc:368) ==12325== by 0x872969: sp_rcontext::set_variable(THD*, Field*, Item**) (sp_rcontext.cc:421) ==12325== by 0x872913: sp_rcontext::set_variable(THD*, unsigned int, Item**) (sp_rcontext.cc:408) ==12325== by 0x869BB2: sp_head::execute_procedure(THD*, List*) (sp_head.cc:1938) ==12325== ==12325== Syscall param pwrite64(buf) points to uninitialised byte(s) ==12325== at 0x3429E0D708: (within /lib64/libpthread-2.5.so) ==12325== by 0xAF524D: my_pwrite (my_pread.c:144) ==12325== by 0x9FC2DF: mi_nommap_pwrite (mi_dynrec.c:230) ==12325== by 0x9FE7E3: _mi_write_part_record (mi_dynrec.c:752) ==12325== by 0x9FF0F2: update_dynamic_record (mi_dynrec.c:925) ==12325== by 0x9FC391: _mi_update_dynamic_record (mi_dynrec.c:243) ==12325== by 0xA028FD: mi_update (mi_update.c:154) ==12325== by 0x9E1F24: ha_myisam::update_row(unsigned char const*, unsigned char*) (ha_myisam.cc:1645) ==12325== by 0x7D02B5: handler::ha_update_row(unsigned char const*, unsigned char*) (handler.cc:4720) ==12325== by 0x741176: mysql_update(THD*, TABLE_LIST*, List&, List&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) (sql_update.cc:649) ==12325== by 0x68BB04: mysql_execute_command(THD*) (sql_parse.cc:3068) ==12325== by 0x86C2D1: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2912) ==12325== by 0x86BC8F: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2735) ==12325== by 0x86C085: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2849) ==12325== by 0x8680F4: sp_head::execute(THD*) (sp_head.cc:1253) ==12325== by 0x869384: sp_head::execute_function(THD*, Item**, unsigned int, Field*) (sp_head.cc:1772) ==12325== Address 0x4f06a1e is 78 bytes inside a block of size 196 alloc'd ==12325== at 0x4A075EE: malloc (vg_replace_malloc.c:207) ==12325== by 0xB02BCC: _mymalloc (safemalloc.c:137) ==12325== by 0xB02FC7: _myrealloc (safemalloc.c:219) ==12325== by 0x9E62A3: mi_alloc_rec_buff (mi_open.c:728) ==12325== by 0x9E5E40: mi_open (mi_open.c:643) ==12325== by 0x9DEF6D: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:691) ==12325== by 0x7CA83D: handler::ha_open(st_table*, char const*, int, int) (handler.cc:2090) ==12325== by 0x6EC20A: open_table_from_share(THD*, st_table_share*, char const*, unsigned int, unsigned int, unsigned int, st_table*, bool) (table.cc:1882) ==12325== by 0x6DA41F: open_unireg_entry(THD*, st_table*, TABLE_LIST*, char const*, char*, unsigned int, st_mem_root*, unsigned int) (sql_base.cc:3907) ==12325== by 0x6D7F0C: open_table(THD*, TABLE_LIST*, st_mem_root*, bool*, unsigned int) (sql_base.cc:2910) ==12325== by 0x6DB7B6: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int) (sql_base.cc:4570) ==12325== by 0x73FB85: mysql_update(THD*, TABLE_LIST*, List&, List&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) (sql_update.cc:213) ==12325== by 0x68BB04: mysql_execute_command(THD*) (sql_parse.cc:3068) ==12325== by 0x86C2D1: sp_instr_stmt::exec_core(THD*, unsigned int*) (sp_head.cc:2912) ==12325== by 0x86BC8F: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) (sp_head.cc:2735) ==12325== by 0x86C085: sp_instr_stmt::execute(THD*, unsigned int*) (sp_head.cc:2849)