080806 12:23:41 [Note] ./bin/mysqld: ready for connections. Version: '5.1.26-rc-log' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL) ==24662== Thread 10: ==24662== Invalid read of size 1 ==24662== at 0x8207121: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6069) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== by 0x82E4ABD: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned*, bool, sp_instr*) (sp_head.cc:2721) ==24662== by 0x82E4C32: sp_instr_stmt::execute(THD*, unsigned*) (sp_head.cc:2835) ==24662== by 0x82E2184: sp_head::execute(THD*) (sp_head.cc:1245) ==24662== Address 0x63EC861 is 737 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x8207143: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6075) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== by 0x82E4ABD: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned*, bool, sp_instr*) (sp_head.cc:2721) ==24662== by 0x82E4C32: sp_instr_stmt::execute(THD*, unsigned*) (sp_head.cc:2835) ==24662== by 0x82E2184: sp_head::execute(THD*) (sp_head.cc:1245) ==24662== Address 0x79D8648 is 0 bytes inside a block of size 3 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x820D415: closefrm(st_table*, bool) (table.cc:1960) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== by 0x81C6C55: lock_table_names(THD*, TABLE_LIST*) (lock.cc:1137) ==24662== by 0x82ED99F: mysql_create_or_drop_trigger(THD*, TABLE_LIST*, bool) (sql_trigger.cc:458) ==24662== by 0x81D99CA: mysql_execute_command(THD*) (sql_parse.cc:4396) ==24662== by 0x81DB910: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5645) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x8206D9A: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5869) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== by 0x82E4ABD: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned*, bool, sp_instr*) (sp_head.cc:2721) ==24662== by 0x82E4C32: sp_instr_stmt::execute(THD*, unsigned*) (sp_head.cc:2835) ==24662== Address 0x79D8648 is 0 bytes inside a block of size 3 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x820D415: closefrm(st_table*, bool) (table.cc:1960) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== by 0x81C6C55: lock_table_names(THD*, TABLE_LIST*) (lock.cc:1137) ==24662== by 0x82ED99F: mysql_create_or_drop_trigger(THD*, TABLE_LIST*, bool) (sql_trigger.cc:458) ==24662== by 0x81D99CA: mysql_execute_command(THD*) (sql_parse.cc:4396) ==24662== by 0x81DB910: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5645) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x400634B: strcmp (mc_replace_strmem.c:341) ==24662== by 0x8206FED: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5890) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== by 0x82E4ABD: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned*, bool, sp_instr*) (sp_head.cc:2721) ==24662== Address 0x79D8648 is 0 bytes inside a block of size 3 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x820D415: closefrm(st_table*, bool) (table.cc:1960) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== by 0x81C6C55: lock_table_names(THD*, TABLE_LIST*) (lock.cc:1137) ==24662== by 0x82ED99F: mysql_create_or_drop_trigger(THD*, TABLE_LIST*, bool) (sql_trigger.cc:458) ==24662== by 0x81D99CA: mysql_execute_command(THD*) (sql_parse.cc:4396) ==24662== by 0x81DB910: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5645) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x400636A: strcmp (mc_replace_strmem.c:341) ==24662== by 0x8206FED: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5890) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== by 0x82E4ABD: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned*, bool, sp_instr*) (sp_head.cc:2721) ==24662== Address 0x79D8649 is 1 bytes inside a block of size 3 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x820D415: closefrm(st_table*, bool) (table.cc:1960) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== by 0x81C6C55: lock_table_names(THD*, TABLE_LIST*) (lock.cc:1137) ==24662== by 0x82ED99F: mysql_create_or_drop_trigger(THD*, TABLE_LIST*, bool) (sql_trigger.cc:458) ==24662== by 0x81D99CA: mysql_execute_command(THD*) (sql_parse.cc:4396) ==24662== by 0x81DB910: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5645) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x8207007: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5890) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== by 0x82E4ABD: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned*, bool, sp_instr*) (sp_head.cc:2721) ==24662== by 0x82E4C32: sp_instr_stmt::execute(THD*, unsigned*) (sp_head.cc:2835) ==24662== Address 0x63EC7D0 is 592 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x400634E: strcmp (mc_replace_strmem.c:341) ==24662== by 0x820702D: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5890) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== by 0x82E4ABD: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned*, bool, sp_instr*) (sp_head.cc:2721) ==24662== Address 0x63EC7D0 is 592 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x400636E: strcmp (mc_replace_strmem.c:341) ==24662== by 0x820702D: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5890) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== by 0x82E4ABD: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned*, bool, sp_instr*) (sp_head.cc:2721) ==24662== Address 0x63EC7D1 is 593 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x84309CE: my_strcasecmp_utf8 (ctype-utf8.c:2478) ==24662== by 0x8206CEC: find_field_in_table(THD*, st_table*, char const*, unsigned, bool, unsigned*) (sql_base.cc:5768) ==24662== by 0x8206F8F: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5896) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== Address 0x63EC861 is 737 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x84309EF: my_strcasecmp_utf8 (ctype-utf8.c:2529) ==24662== by 0x8206CEC: find_field_in_table(THD*, st_table*, char const*, unsigned, bool, unsigned*) (sql_base.cc:5768) ==24662== by 0x8206F8F: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5896) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== Address 0x63EC861 is 737 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x8430A17: my_strcasecmp_utf8 (ctype-utf8.c:2549) ==24662== by 0x8206CEC: find_field_in_table(THD*, st_table*, char const*, unsigned, bool, unsigned*) (sql_base.cc:5768) ==24662== by 0x8206F8F: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5896) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== Address 0x63EC862 is 738 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x8430A30: my_strcasecmp_utf8 (ctype-utf8.c:2550) ==24662== by 0x8206CEC: find_field_in_table(THD*, st_table*, char const*, unsigned, bool, unsigned*) (sql_base.cc:5768) ==24662== by 0x8206F8F: find_field_in_table_ref(THD*, TABLE_LIST*, char const*, unsigned, char const*, char const*, char const*, Item**, bool, bool, unsigned*, bool, TABLE_LIST**) (sql_base.cc:5896) ==24662== by 0x82072FF: find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool) (sql_base.cc:6152) ==24662== by 0x81454F3: Item_field::fix_fields(THD*, Item**) (item.cc:3979) ==24662== by 0x8207DB2: setup_fields(THD*, Item**, List&, enum_mark_columns, List*, bool) (sql_list.h:419) ==24662== by 0x8213AD4: JOIN::prepare(Item***, TABLE_LIST*, unsigned, Item*, unsigned, st_order*, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*) (sql_select.cc:655) ==24662== by 0x82181B7: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2338) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== Address 0x63EC863 is 739 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x81C456B: Protocol::send_fields(List*, unsigned) (protocol.cc:772) ==24662== by 0x81BD7F6: select_send::send_fields(List&, unsigned) (sql_class.cc:1484) ==24662== by 0x8221756: return_zero_rows(JOIN*, select_result*, TABLE_LIST*, List&, bool, unsigned long long, char const*, Item*) (sql_select.cc:7029) ==24662== by 0x8216773: JOIN::exec() (sql_select.h:515) ==24662== by 0x821801A: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2360) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== by 0x82E4ABD: sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned*, bool, sp_instr*) (sp_head.cc:2721) ==24662== by 0x82E4C32: sp_instr_stmt::execute(THD*, unsigned*) (sp_head.cc:2835) ==24662== by 0x82E2184: sp_head::execute(THD*) (sp_head.cc:1245) ==24662== Address 0x63EC861 is 737 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054) ==24662== ==24662== Invalid read of size 1 ==24662== at 0x842FF70: my_utf8_uni (ctype-utf8.c:1954) ==24662== by 0x81C8886: copy_and_convert(char*, unsigned, charset_info_st*, char const*, unsigned, charset_info_st*, unsigned*) (sql_string.cc:804) ==24662== by 0x81C7EB6: String::copy(char const*, unsigned, charset_info_st*, charset_info_st*, unsigned*) (sql_string.cc:347) ==24662== by 0x81C45D7: Protocol::send_fields(List*, unsigned) (protocol.cc:762) ==24662== by 0x81BD7F6: select_send::send_fields(List&, unsigned) (sql_class.cc:1484) ==24662== by 0x8221756: return_zero_rows(JOIN*, select_result*, TABLE_LIST*, List&, bool, unsigned long long, char const*, Item*) (sql_select.cc:7029) ==24662== by 0x8216773: JOIN::exec() (sql_select.h:515) ==24662== by 0x821801A: mysql_select(THD*, Item***, TABLE_LIST*, unsigned, List&, Item*, unsigned, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2360) ==24662== by 0x8213755: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:257) ==24662== by 0x81DE6E4: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4765) ==24662== by 0x81DA4AA: mysql_execute_command(THD*) (sql_parse.cc:2073) ==24662== by 0x82E4D65: sp_instr_stmt::exec_core(THD*, unsigned*) (sp_head.cc:2892) ==24662== Address 0x63EC861 is 737 bytes inside a block of size 996 free'd ==24662== at 0x400501A: free (vg_replace_malloc.c:233) ==24662== by 0x840DF4D: my_no_flags_free (my_malloc.c:59) ==24662== by 0x840E6C0: free_root (my_alloc.c:349) ==24662== by 0x820C8D5: free_table_share(st_table_share*) (table.cc:431) ==24662== by 0x8209C26: table_def_free_entry(st_table_share*) (sql_base.cc:271) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x820D475: closefrm(st_table*, bool) (table.cc:1981) ==24662== by 0x82026F6: intern_close_table(st_table*) (sql_base.cc:771) ==24662== by 0x8209C7B: free_cache_entry(st_table*) (sql_base.cc:793) ==24662== by 0x84138D1: hash_delete (hash.c:530) ==24662== by 0x82093CB: remove_table_from_cache(THD*, char const*, char const*, unsigned) (sql_base.cc:8316) ==24662== by 0x81C6B5E: lock_table_name(THD*, TABLE_LIST*, bool) (lock.cc:1054)