sbester@box2:~/build/bzr/mysql-next-mr-bugfixing> valgrind --tool=memcheck --read-var-info=yes --track-origins=yes --leak-check=full --db-attach=no --num-callers=50 -v --show-reachable=yes ./sql/mysqld --no-defaults --basedir=. --datadir=/home/sbester/mysql/5.1/mysql-advanced-gpl-5.1.44-linux-x86_64-glibc23/data --language=./sql/share/english --skip-name-resolve --log-warnings=2 --performance-schema=0 ==30880== Memcheck, a memory error detector ==30880== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==30880== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==30880== Command: ./sql/mysqld --no-defaults --basedir=. --datadir=/home/sbester/mysql/5.1/mysql-advanced-gpl-5.1.44-linux-x86_64-glibc23/data --language=./sql/share/english --skip-name-resolve --log-warnings=2 --performance-schema=0 ==30880== --30880-- Valgrind options: --30880-- --tool=memcheck --30880-- --read-var-info=yes --30880-- --track-origins=yes --30880-- --leak-check=full --30880-- --db-attach=no --30880-- --num-callers=50 --30880-- -v --30880-- --show-reachable=yes --30880-- Contents of /proc/version: --30880-- Linux version 2.6.18.2-34-default (geeko@buildhost) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 --30880-- Arch and hwcaps: AMD64, amd64-sse3 --30880-- Page sizes: currently 4096, max supported 4096 --30880-- Valgrind library directory: /usr/local/lib/valgrind --30880-- Reading syms from /home/sbester/build/bzr/mysql-next-mr-bugfixing/sql/mysqld (0x400000) --30880-- warning: addVar: unknown size (prelocking_strategy) --30880-- warning: addVar: unknown size (backup) --30880-- warning: addVar: unknown size (backup) --30880-- warning: addVar: unknown size (qinfo) --30880-- warning: addVar: unknown size (prelocking_strategy) --30880-- warning: addVar: unknown size (lock_tables_prelocking_strategy) --30880-- warning: addVar: unknown size (original_arena) --30880-- warning: addVar: unknown size (ev) --30880-- warning: addVar: unknown size (lock_tables_prelocking_strategy) --30880-- warning: addVar: unknown size (field_iterator) --30880-- Reading syms from /lib64/ld-2.5.so (0x4000000) --30880-- Reading syms from /usr/local/lib/valgrind/memcheck-amd64-linux (0x38000000) --30880-- object doesn't have a dynamic symbol table --30880-- Reading suppressions file: /usr/local/lib/valgrind/default.supp --30880-- REDIR: 0x40144d0 (strlen) redirected to 0x3803e657 (vgPlain_amd64_linux_REDIR_FOR_strlen) --30880-- Reading syms from /usr/local/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a1e000) --30880-- Reading syms from /usr/local/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c20000) ==30880== WARNING: new redirection conflicts with existing -- ignoring it --30880-- new: 0x040144d0 (strlen ) R-> 0x04c23f00 strlen --30880-- REDIR: 0x4013fe0 (index) redirected to 0x4c23d70 (index) --30880-- REDIR: 0x4014190 (strcmp) redirected to 0x4c23fd0 (strcmp) --30880-- Reading syms from /lib64/libpthread-2.5.so (0x4e28000) --30880-- Reading syms from /lib64/libz.so.1.2.3 (0x5043000) --30880-- object doesn't have a symbol table --30880-- Reading syms from /lib64/libdl-2.5.so (0x5258000) --30880-- Reading syms from /lib64/libcrypt-2.5.so (0x545c000) --30880-- Reading syms from /lib64/libnsl-2.5.so (0x5695000) --30880-- Reading syms from /lib64/libm-2.5.so (0x58ac000) --30880-- Reading syms from /lib64/libc-2.5.so (0x5b02000) --30880-- REDIR: 0x5b771d0 (memset) redirected to 0x4c24170 (memset) --30880-- REDIR: 0x5b787c0 (memcpy) redirected to 0x4c25100 (memcpy) --30880-- REDIR: 0x5b763f0 (rindex) redirected to 0x4c23c20 (rindex) --30880-- REDIR: 0x5b760f0 (strnlen) redirected to 0x4c23e90 (strnlen) --30880-- REDIR: 0x5b77040 (memmove) redirected to 0x4c241c0 (memmove) --30880-- REDIR: 0x5b71d70 (calloc) redirected to 0x4c221d2 (calloc) --30880-- REDIR: 0x5b75d50 (strlen) redirected to 0x4c23ec0 (strlen) --30880-- REDIR: 0x5b76280 (strncmp) redirected to 0x4c23f20 (strncmp) --30880-- REDIR: 0x5b77fe0 (stpcpy) redirected to 0x4c24c20 (stpcpy) --30880-- REDIR: 0x5b72300 (malloc) redirected to 0x4c22eda (malloc) --30880-- Reading syms from /lib64/libgcc_s.so.1 (0x6a45000) --30880-- object doesn't have a symbol table --30880-- REDIR: 0x5b74fd0 (strcmp) redirected to 0x4c23f90 (strcmp) --30880-- REDIR: 0x5b6fec0 (free) redirected to 0x4c22aea (free) --30880-- REDIR: 0x5b75330 (strcpy) redirected to 0x4c25380 (strcpy) --30880-- REDIR: 0xffffffffff600400 (???) redirected to 0x3803e64d (vgPlain_amd64_linux_REDIR_FOR_vtime) --30880-- REDIR: 0x5b74e20 (index) redirected to 0x4c23cb0 (index) --30880-- REDIR: 0x5b79450 (rawmemchr) redirected to 0x4c24250 (rawmemchr) --30880-- REDIR: 0x5b77430 (mempcpy) redirected to 0x4c249a0 (mempcpy) --30880-- REDIR: 0x5b74c60 (strcat) redirected to 0x4c246d0 (strcat) 100109 11:01:54 [ERROR] An old style --language value with language specific part detected: /home/sbester/build/bzr/mysql-next-mr-bugfixing/sql/share/english/ 100109 11:01:54 [ERROR] Use --lc-messages-dir without language specific part instead. 100109 11:01:55 [Note] Buffered information: Performance schema disabled (reason: start parameters). 100109 11:01:55 [Note] Plugin 'FEDERATED' is disabled. --30880-- REDIR: 0xffffffffff600000 (???) redirected to 0x3803e643 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) InnoDB: The InnoDB memory heap is disabled InnoDB: Mutexes and rw_locks use GCC atomic builtins --30880-- memcheck GC: 1024 nodes, 1024 survivors (100.0%) --30880-- memcheck GC: increase table size to 2048 --30880-- memcheck GC: 2048 nodes, 2048 survivors (100.0%) --30880-- memcheck GC: increase table size to 4096 --30880-- memcheck GC: 4096 nodes, 4096 survivors (100.0%) --30880-- memcheck GC: increase table size to 8192 --30880-- memcheck GC: 8192 nodes, 8192 survivors (100.0%) --30880-- memcheck GC: increase table size to 16384 --30880-- memcheck GC: 16384 nodes, 16384 survivors (100.0%) --30880-- memcheck GC: increase table size to 32768 100109 11:02:15 InnoDB: highest supported file format is Barracuda. ==30880== Conditional jump or move depends on uninitialised value(s) ==30880== at 0x90C093: rw_lock_set_writer_id_and_recursion_flag (sync0rw.ic:283) ==30880== by 0x90CA90: rw_lock_x_lock_low (sync0rw.c:559) ==30880== by 0x90CB68: rw_lock_x_lock_func (sync0rw.c:618) ==30880== by 0x8C46D3: log_group_checkpoint (log0log.c:1844) ==30880== by 0x8C480A: log_groups_write_checkpoint_info (log0log.c:1954) ==30880== by 0x8C605A: recv_synchronize_groups (log0recv.c:584) ==30880== by 0x8C9052: recv_recovery_from_checkpoint_start_func (log0recv.c:3158) ==30880== by 0x90A81D: innobase_start_or_create_for_mysql (srv0start.c:1560) ==30880== by 0x8A8A64: innobase_init(void*) (ha_innodb.cc:2248) ==30880== by 0x7A1825: ha_initialize_handlerton(st_plugin_int*) (handler.cc:463) ==30880== by 0x86B3CF: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1043) ==30880== by 0x86C947: plugin_init(int*, char**, int) (sql_plugin.cc:1329) ==30880== by 0x64B68E: init_server_components() (mysqld.cc:4102) ==30880== by 0x64C268: mysqld_main(int, char**) (mysqld.cc:4703) ==30880== by 0x641C7E: main (main.cc:24) ==30880== Uninitialised value was created by a heap allocation ==30880== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30880== by 0x8CC035: mem_area_alloc (mem0pool.c:369) ==30880== by 0x8CB256: mem_heap_create_block (mem0mem.c:333) ==30880== by 0x8CA5AF: mem_heap_create_func (mem0mem.ic:443) ==30880== by 0x8CA70E: mem_alloc_func (mem0mem.ic:529) ==30880== by 0x8C2F14: log_init (log0log.c:774) ==30880== by 0x90A4A7: innobase_start_or_create_for_mysql (srv0start.c:1321) ==30880== by 0x8A8A64: innobase_init(void*) (ha_innodb.cc:2248) ==30880== by 0x7A1825: ha_initialize_handlerton(st_plugin_int*) (handler.cc:463) ==30880== by 0x86B3CF: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1043) ==30880== by 0x86C947: plugin_init(int*, char**, int) (sql_plugin.cc:1329) ==30880== by 0x64B68E: init_server_components() (mysqld.cc:4102) ==30880== by 0x64C268: mysqld_main(int, char**) (mysqld.cc:4703) ==30880== by 0x641C7E: main (main.cc:24) ==30880== ==30880== Conditional jump or move depends on uninitialised value(s) ==30880== at 0x90C093: rw_lock_set_writer_id_and_recursion_flag (sync0rw.ic:283) ==30880== by 0x90CA90: rw_lock_x_lock_low (sync0rw.c:559) ==30880== by 0x90CB68: rw_lock_x_lock_func (sync0rw.c:618) ==30880== by 0x8CE27E: mtr_x_lock_func (mtr0mtr.ic:268) ==30880== by 0x8B837B: ibuf_init_at_db_start (ibuf0ibuf.c:475) ==30880== by 0x944A5F: dict_boot (dict0boot.c:421) ==30880== by 0x90A83C: innobase_start_or_create_for_mysql (srv0start.c:1575) ==30880== by 0x8A8A64: innobase_init(void*) (ha_innodb.cc:2248) ==30880== by 0x7A1825: ha_initialize_handlerton(st_plugin_int*) (handler.cc:463) ==30880== by 0x86B3CF: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1043) ==30880== by 0x86C947: plugin_init(int*, char**, int) (sql_plugin.cc:1329) ==30880== by 0x64B68E: init_server_components() (mysqld.cc:4102) ==30880== by 0x64C268: mysqld_main(int, char**) (mysqld.cc:4703) ==30880== by 0x641C7E: main (main.cc:24) ==30880== Uninitialised value was created by a heap allocation ==30880== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30880== by 0x8CC035: mem_area_alloc (mem0pool.c:369) ==30880== by 0x8CB256: mem_heap_create_block (mem0mem.c:333) ==30880== by 0x8CA5AF: mem_heap_create_func (mem0mem.ic:443) ==30880== by 0x8CA70E: mem_alloc_func (mem0mem.ic:529) ==30880== by 0x955366: fil_space_create (fil0fil.c:1183) ==30880== by 0x909EE1: open_or_create_data_files (srv0start.c:986) ==30880== by 0x90A5DD: innobase_start_or_create_for_mysql (srv0start.c:1377) ==30880== by 0x8A8A64: innobase_init(void*) (ha_innodb.cc:2248) ==30880== by 0x7A1825: ha_initialize_handlerton(st_plugin_int*) (handler.cc:463) ==30880== by 0x86B3CF: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1043) ==30880== by 0x86C947: plugin_init(int*, char**, int) (sql_plugin.cc:1329) ==30880== by 0x64B68E: init_server_components() (mysqld.cc:4102) ==30880== by 0x64C268: mysqld_main(int, char**) (mysqld.cc:4703) ==30880== by 0x641C7E: main (main.cc:24) ==30880== 100109 11:02:33 InnoDB Plugin 1.0.6 started; log sequence number 1574720 --30880-- REDIR: 0x5b76ad0 (memchr) redirected to 0x4c24050 (memchr) --30880-- REDIR: 0x5b79580 (strchrnul) redirected to 0x4c24220 (strchrnul) --30880-- Reading syms from /lib64/libnss_files-2.5.so (0x18bd7000) ==30880== Thread 14: ==30880== Conditional jump or move depends on uninitialised value(s) ==30880== at 0x90C093: rw_lock_set_writer_id_and_recursion_flag (sync0rw.ic:283) ==30880== by 0x90CA90: rw_lock_x_lock_low (sync0rw.c:559) ==30880== by 0x90CB68: rw_lock_x_lock_func (sync0rw.c:618) ==30880== by 0x911428: trx_purge (trx0purge.c:1107) ==30880== by 0x908493: srv_master_thread (srv0srv.c:2598) ==30880== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30880== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30880== Uninitialised value was created by a heap allocation ==30880== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30880== by 0x8CC035: mem_area_alloc (mem0pool.c:369) ==30880== by 0x8CB256: mem_heap_create_block (mem0mem.c:333) ==30880== by 0x8CA5AF: mem_heap_create_func (mem0mem.ic:443) ==30880== by 0x8CA70E: mem_alloc_func (mem0mem.ic:529) ==30880== by 0x90FAAC: trx_purge_sys_create (trx0purge.c:220) ==30880== by 0x918188: trx_sys_init_at_db_start (trx0sys.c:1017) ==30880== by 0x90A841: innobase_start_or_create_for_mysql (srv0start.c:1576) ==30880== by 0x8A8A64: innobase_init(void*) (ha_innodb.cc:2248) ==30880== by 0x7A1825: ha_initialize_handlerton(st_plugin_int*) (handler.cc:463) ==30880== by 0x86B3CF: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1043) ==30880== by 0x86C947: plugin_init(int*, char**, int) (sql_plugin.cc:1329) ==30880== by 0x64B68E: init_server_components() (mysqld.cc:4102) ==30880== by 0x64C268: mysqld_main(int, char**) (mysqld.cc:4703) ==30880== by 0x641C7E: main (main.cc:24) ==30880== 100109 11:02:37 [Warning] 'user' entry 'root@box2' ignored in --skip-name-resolve mode. 100109 11:02:37 [Warning] 'user' entry '@box2' ignored in --skip-name-resolve mode. 100109 11:02:40 [Note] Event Scheduler: Loaded 0 events 100109 11:02:40 [Note] ./sql/mysqld: ready for connections. Version: '5.6.99-m4-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution ==30880== Thread 16: ==30880== Syscall param pwrite64(buf) points to uninitialised byte(s) ==30880== at 0x4E35A78: ??? (in /lib64/libpthread-2.5.so) ==30880== by 0x9F0F0B: my_pwrite (my_pread.c:162) ==30880== by 0xA1E838: flush_cached_blocks (mf_keycache.c:3572) ==30880== by 0xA1EE2F: flush_key_blocks_int (mf_keycache.c:3863) ==30880== by 0xA1F2FA: flush_key_blocks (mf_keycache.c:4120) ==30880== by 0x991165: mi_lock_database (mi_locking.c:64) ==30880== by 0x978240: ha_myisam::external_lock(THD*, int) (ha_myisam.cc:1797) ==30880== by 0x79C1B6: handler::ha_external_lock(THD*, int) (handler.cc:4613) ==30880== by 0x63CBE3: unlock_external(THD*, TABLE**, unsigned int) (lock.cc:756) ==30880== by 0x63CF1C: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:381) ==30880== by 0x6B3BE0: close_thread_tables(THD*) (sql_base.cc:1509) ==30880== by 0x663603: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1387) ==30880== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30880== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30880== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30880== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30880== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30880== Address 0x6c5307a is 58 bytes inside a block of size 6,858,796 alloc'd ==30880== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30880== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30880== by 0xA1736F: my_large_malloc (my_largepage.c:64) ==30880== by 0xA18FD6: init_key_cache (mf_keycache.c:438) ==30880== by 0x79E854: ha_init_key_cache (handler.cc:3684) ==30880== by 0x664FA5: process_key_caches(int (*)(char const*, st_key_cache*)) (keycaches.cc:155) ==30880== by 0x64B604: init_server_components() (mysqld.cc:4096) ==30880== by 0x64C268: mysqld_main(int, char**) (mysqld.cc:4703) ==30880== by 0x641C7E: main (main.cc:24) ==30880== Uninitialised value was created by a heap allocation ==30880== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30880== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30880== by 0x9F763A: my_multi_malloc (mulalloc.c:50) ==30880== by 0x98023B: mi_open (mi_open.c:582) ==30880== by 0x97D8AA: ha_myisam::open(char const*, int, unsigned int) (ha_myisam.cc:703) ==30880== by 0x7A0835: handler::ha_open(TABLE*, char const*, int, int) (handler.cc:2093) ==30880== by 0x6C2538: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:1916) ==30880== by 0x6B62B1: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*, unsigned int) (sql_base.cc:2884) ==30880== by 0x6B6FB2: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:4217) ==30880== by 0x6B7743: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4617) ==30880== by 0x6B7C56: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5187) ==30880== by 0x664DB6: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (mysql_priv.h:1587) ==30880== by 0x7023EC: mysql_insert(THD*, TABLE_LIST*, List&, List >&, List&, List&, enum_duplicates, bool) (sql_insert.cc:649) ==30880== by 0x65C120: mysql_execute_command(THD*) (sql_parse.cc:3110) ==30880== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30880== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30880== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30880== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30880== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30880== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30880== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30880== ==30880== Source and destination overlap in memcpy(0x10862ab8, 0x10862ab8, 72) ==30880== at 0x4C2516B: memcpy (mc_replace_strmem.c:482) ==30880== by 0x6E50E4: update_ref_and_keys(THD*, st_dynamic_array*, st_join_table*, unsigned int, Item*, COND_EQUAL*, unsigned long long, st_select_lex*, st_sargable_param**) (sql_select.cc:3991) ==30880== by 0x6E9CE7: make_join_statistics(JOIN*, TABLE_LIST*, Item*, st_dynamic_array*) (sql_select.cc:2737) ==30880== by 0x6ED543: JOIN::optimize() (sql_select.cc:1015) ==30880== by 0x6F17D4: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2492) ==30880== by 0x6F1D54: mysql_explain_union(THD*, st_select_lex_unit*, select_result*) (sql_select.cc:16909) ==30880== by 0x658A08: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4681) ==30880== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30880== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30880== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30880== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30880== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30880== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30880== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30880== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30880== ==30880== Conditional jump or move depends on uninitialised value(s) ==30880== at 0x567F90: Item_field::val_str(String*) (item.cc:2075) ==30880== by 0x5B2063: Arg_comparator::compare_e_string() (item_cmpfunc.cc:1326) ==30880== by 0x58EC2F: Arg_comparator::compare() (item_cmpfunc.h:84) ==30880== by 0x5AC94B: Arg_comparator::compare_e_row() (item_cmpfunc.cc:1626) ==30880== by 0x58EC2F: Arg_comparator::compare() (item_cmpfunc.h:84) ==30880== by 0x5B077C: Item_func_equal::val_int() (item_cmpfunc.cc:1875) ==30880== by 0x568A1B: Item::val_bool() (item.cc:184) ==30880== by 0x5AF3D4: Item_cond_and::val_int() (item_cmpfunc.cc:4389) ==30880== by 0x6DEF00: make_join_select(JOIN*, SQL_SELECT*, Item*) (sql_select.cc:6302) ==30880== by 0x6EDE18: JOIN::optimize() (sql_select.cc:1122) ==30880== by 0x6F17D4: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2492) ==30880== by 0x6F1D54: mysql_explain_union(THD*, st_select_lex_unit*, select_result*) (sql_select.cc:16909) ==30880== by 0x658A08: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4681) ==30880== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30880== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30880== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30880== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30880== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30880== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30880== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30880== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30880== Uninitialised value was created by a heap allocation ==30880== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30880== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30880== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30880== by 0x550814: Sql_alloc::operator new(unsigned long, st_mem_root*) (sql_list.h:45) ==30880== by 0x977DED: myisam_create_handler(handlerton*, TABLE_SHARE*, st_mem_root*) (ha_myisam.cc:127) ==30880== by 0x7A341B: get_new_handler(TABLE_SHARE*, st_mem_root*, handlerton*) (handler.cc:253) ==30880== by 0x6C1B83: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:1705) ==30880== by 0x6B62B1: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*, unsigned int) (sql_base.cc:2884) ==30880== by 0x6B6FB2: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:4217) ==30880== by 0x6B7743: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4617) ==30880== by 0x6B7C56: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5187) ==30880== by 0x664DB6: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (mysql_priv.h:1587) ==30880== by 0x658946: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4668) ==30880== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30880== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30880== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30880== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30880== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30880== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30880== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30880== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30880== ==30880== Conditional jump or move depends on uninitialised value(s) ==30880== at 0x60AA27: Field_blob::val_str(String*, String*) (field.cc:7529) ==30880== by 0x567FE2: Item_field::val_str(String*) (item.cc:2078) ==30880== by 0x5B2063: Arg_comparator::compare_e_string() (item_cmpfunc.cc:1326) ==30880== by 0x58EC2F: Arg_comparator::compare() (item_cmpfunc.h:84) ==30880== by 0x5AC94B: Arg_comparator::compare_e_row() (item_cmpfunc.cc:1626) ==30880== by 0x58EC2F: Arg_comparator::compare() (item_cmpfunc.h:84) ==30880== by 0x5B077C: Item_func_equal::val_int() (item_cmpfunc.cc:1875) ==30880== by 0x568A1B: Item::val_bool() (item.cc:184) ==30880== by 0x5AF3D4: Item_cond_and::val_int() (item_cmpfunc.cc:4389) ==30880== by 0x6DEF00: make_join_select(JOIN*, SQL_SELECT*, Item*) (sql_select.cc:6302) ==30880== by 0x6EDE18: JOIN::optimize() (sql_select.cc:1122) ==30880== by 0x6F17D4: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:2492) ==30880== by 0x6F1D54: mysql_explain_union(THD*, st_select_lex_unit*, select_result*) (sql_select.cc:16909) ==30880== by 0x658A08: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4681) ==30880== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30880== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30880== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30880== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30880== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30880== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30880== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30880== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30880== Uninitialised value was created by a heap allocation ==30880== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==30880== by 0x9F8690: _mymalloc (safemalloc.c:137) ==30880== by 0x9F7C5C: alloc_root (my_alloc.c:201) ==30880== by 0x550814: Sql_alloc::operator new(unsigned long, st_mem_root*) (sql_list.h:45) ==30880== by 0x977DED: myisam_create_handler(handlerton*, TABLE_SHARE*, st_mem_root*) (ha_myisam.cc:127) ==30880== by 0x7A341B: get_new_handler(TABLE_SHARE*, st_mem_root*, handlerton*) (handler.cc:253) ==30880== by 0x6C1B83: open_table_from_share(THD*, TABLE_SHARE*, char const*, unsigned int, unsigned int, unsigned int, TABLE*, bool) (table.cc:1705) ==30880== by 0x6B62B1: open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*, unsigned int) (sql_base.cc:2884) ==30880== by 0x6B6FB2: open_and_process_table(THD*, LEX*, TABLE_LIST*, unsigned int*, unsigned int, Prelocking_strategy*, bool, Open_table_context*, st_mem_root*) (sql_base.cc:4217) ==30880== by 0x6B7743: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:4617) ==30880== by 0x6B7C56: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5187) ==30880== by 0x664DB6: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) (mysql_priv.h:1587) ==30880== by 0x658946: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:4668) ==30880== by 0x659C5B: mysql_execute_command(THD*) (sql_parse.cc:2191) ==30880== by 0x6610B6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5735) ==30880== by 0x6624FD: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1024) ==30880== by 0x663970: do_command(THD*) (sql_parse.cc:710) ==30880== by 0x651D08: do_handle_one_connection(THD*) (sql_connect.cc:1174) ==30880== by 0x651DCE: handle_one_connection (sql_connect.cc:1113) ==30880== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==30880== by 0x5BC34CC: clone (in /lib64/libc-2.5.so) ==30880==