CURRENT_TEST: alias ==10545== Memcheck, a memory error detector. ==10545== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==10545== Using LibVEX rev 1606, a library for dynamic binary translation. ==10545== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==10545== Using valgrind-3.2.0, a dynamic binary instrumentation framework. ==10545== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==10545== --10545-- Command line --10545-- /home/mysqldev/mysql-5.1-trig/sql/mysqld --10545-- --no-defaults --10545-- --console --10545-- --basedir=/home/mysqldev/mysql-5.1-trig/mysql-test --10545-- --character-sets-dir=/home/mysqldev/mysql-5.1-trig/sql/share/charsets --10545-- --core --10545-- --log-bin-trust-function-creators --10545-- --default-character-set=latin1 --10545-- --language=/home/mysqldev/mysql-5.1-trig/sql/share/english/ --10545-- --tmpdir=/home/mysqldev/mysql-5.1-trig/mysql-test/var/tmp --10545-- --skip-safemalloc --10545-- --skip-bdb --10545-- --log-bin=/home/mysqldev/mysql-5.1-trig/mysql-test/var/log/master-bin --10545-- --pid-file=/home/mysqldev/mysql-5.1-trig/mysql-test/var/run/master.pid --10545-- --port=9306 --10545-- --server-id=1 --10545-- --socket=/home/mysqldev/mysql-5.1-trig/mysql-test/var/tmp/master.sock --10545-- --innodb_data_file_path=ibdata1:10M:autoextend --10545-- --local-infile --10545-- --datadir=/home/mysqldev/mysql-5.1-trig/mysql-test/var/master-data --10545-- --skip-ndbcluster --10545-- --key_buffer_size=1M --10545-- --sort_buffer=256K --10545-- --max_heap_table_size=1M --10545-- --log-bin-trust-function-creators --10545-- --ssl-ca=/home/mysqldev/mysql-5.1-trig/mysql-test/std_data/cacert.pem --10545-- --ssl-cert=/home/mysqldev/mysql-5.1-trig/mysql-test/std_data/server-cert.pem --10545-- --ssl-key=/home/mysqldev/mysql-5.1-trig/mysql-test/std_data/server-key.pem --10545-- --rpl-recovery-rank=1 --10545-- --init-rpl-role=master --10545-- --exit-info=256 --10545-- --open-files-limit=1024 --10545-- --log=/home/mysqldev/mysql-5.1-trig/mysql-test/var/log/master.log --10545-- Startup, with flags: --10545-- --tool=memcheck --10545-- --alignment=8 --10545-- --leak-check=yes --10545-- --num-callers=16 --10545-- --suppressions=/home/mysqldev/mysql-5.1-trig/mysql-test/valgrind.supp --10545-- -v --10545-- --show-reachable=yes --10545-- Contents of /proc/version: --10545-- Linux version 2.6.15-gentoo-r7 (root@weblab) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #10 PREEMPT Wed Mar 29 15:48:01 MST 2006 --10545-- Arch and hwcaps: AMD64, amd64-sse2 --10545-- Valgrind library directory: /usr/lib64/valgrind --10545-- Reading syms from /home/mysqldev/mysql-5.1-trig/sql/mysqld (0x400000) --10545-- Reading syms from /lib64/ld-2.3.6.so (0x4000000) --10545-- Reading syms from /usr/lib64/valgrind/amd64-linux/memcheck (0x38000000) --10545-- object doesn't have a symbol table --10545-- object doesn't have a dynamic symbol table --10545-- Reading suppressions file: /home/mysqldev/mysql-5.1-trig/mysql-test/valgrind.supp --10545-- Reading suppressions file: /usr/lib64/valgrind/default.supp --10545-- Reading syms from /usr/lib64/valgrind/amd64-linux/vgpreload_core.so (0x4918000) --10545-- object doesn't have a symbol table --10545-- Reading syms from /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so (0x4A19000) --10545-- object doesn't have a symbol table --10545-- REDIR: 0x400F0B0 (index) redirected to 0x4A1C9D0 (index) --10545-- REDIR: 0x400F260 (strcmp) redirected to 0x4A1CEE0 (strcmp) --10545-- REDIR: 0x400F5A0 (strlen) redirected to 0x4A1CC40 (strlen) --10545-- Reading syms from /lib64/libz.so.1.2.3 (0x4B1F000) --10545-- object doesn't have a symbol table --10545-- Reading syms from /lib64/libdl-2.3.6.so (0x4C33000) --10545-- object doesn't have a symbol table --10545-- Reading syms from /lib64/tls/libpthread.so (0x4D36000) --10545-- Reading syms from /lib64/libcrypt-2.3.6.so (0x4E4B000) --10545-- object doesn't have a symbol table --10545-- Reading syms from /lib64/libnsl-2.3.6.so (0x4F7F000) --10545-- object doesn't have a symbol table --10545-- Reading syms from /lib64/tls/libm.so (0x5095000) --10545-- object doesn't have a symbol table --10545-- Reading syms from /lib64/tls/libc.so (0x51ED000) --10545-- object doesn't have a symbol table --10545-- REDIR: 0x525D200 (memset) redirected to 0x4A1D420 (memset) --10545-- REDIR: 0x525E460 (memcpy) redirected to 0x4A1CF70 (memcpy) --10545-- REDIR: 0x525C520 (rindex) redirected to 0x4A1C8D0 (rindex) --10545-- REDIR: 0x52575E0 (malloc) redirected to 0x4A1AA60 (malloc) --10545-- REDIR: 0x5255A00 (free) redirected to 0x4A1B880 (free) --10545-- REDIR: 0x52572B0 (calloc) redirected to 0x4A1C2D0 (calloc) --10545-- REDIR: 0x525BE60 (strlen) redirected to 0x4A1CC00 (strlen) --10545-- REDIR: 0x525C380 (strncmp) redirected to 0x4A1CE60 (strncmp) --10545-- REDIR: 0x525AD80 (strcat) redirected to 0x4A1C9F0 (strcat) --10545-- REDIR: 0x525F050 (rawmemchr) redirected to 0x4A1D4C0 (rawmemchr) --10545-- REDIR: 0x525B440 (strcpy) redirected to 0x4A1CC60 (strcpy) --10545-- REDIR: 0xFFFFFFFFFF600400 (???) redirected to 0x38027BDD (???) --10545-- REDIR: 0x525AF40 (index) redirected to 0x4A1C990 (index) 060630 16:24:50 [Warning] Could not increase number of max_open_files to more than 1014 (request: 1024) --10545-- REDIR: 0x525DC90 (stpcpy) redirected to 0x4A1D180 (stpcpy) --10545-- REDIR: 0x525D0A0 (memmove) redirected to 0x4A1D450 (memmove) --10545-- REDIR: 0x525CB90 (memchr) redirected to 0x4A1CF40 (memchr) --10545-- REDIR: 0xFFFFFFFFFF600000 (???) redirected to 0x38027BD3 (???) --10545-- REDIR: 0x5257C30 (realloc) redirected to 0x4A1C3B0 (realloc) InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 060630 16:24:54 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 060630 16:24:55 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 060630 16:24:55 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... --10545-- REDIR: 0x525B0F0 (strcmp) redirected to 0x4A1CEB0 (strcmp) ==10545== Conditional jump or move depends on uninitialised value(s) ==10545== at 0x8AADD7: trx_sys_create_doublewrite_buf (trx0sys.c:197) ==10545== by 0x8A1579: innobase_start_or_create_for_mysql (srv0start.c:1550) ==10545== by 0x6CBF02: innobase_init() (ha_innodb.cc:1588) ==10545== by 0x78523F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:528) ==10545== by 0x785717: plugin_init() (sql_plugin.cc:685) ==10545== by 0x5E9933: init_server_components() (mysqld.cc:3190) ==10545== by 0x5E9F61: main (mysqld.cc:3576) InnoDB: Doublewrite buffer not found: creating new ==10545== ==10545== Thread 5: ==10545== Syscall param pwrite64(buf) points to uninitialised byte(s) ==10545== at 0x4D41D3C: (within /lib64/tls/libpthread.so) ==10545== by 0x87F91B: os_file_pwrite (os0file.c:1975) ==10545== by 0x87FB06: os_file_write (os0file.c:2420) ==10545== by 0x880D43: os_aio_simulated_handle (os0file.c:3960) ==10545== by 0x8644C6: fil_aio_wait (fil0fil.c:4132) ==10545== by 0x8A0117: io_handler_thread (srv0start.c:431) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== by 0x52A5CA2: clone (in /lib64/tls/libc.so) ==10545== Address 0x7444000 is 1,832 bytes inside a block of size 753,696 alloc'd ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x8B15D8: ut_malloc_low (ut0mem.c:82) ==10545== by 0x8B1744: ut_malloc (ut0mem.c:178) ==10545== by 0x880BE5: os_aio_simulated_handle (os0file.c:3910) ==10545== by 0x8644C6: fil_aio_wait (fil0fil.c:4132) ==10545== by 0x8A0117: io_handler_thread (srv0start.c:431) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== by 0x52A5CA2: clone (in /lib64/tls/libc.so) InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 060630 16:24:58 InnoDB: Started; log sequence number 0 0 ==10545== ==10545== Thread 8: ==10545== Syscall param pwrite64(buf) points to uninitialised byte(s) ==10545== at 0x4D41D3C: (within /lib64/tls/libpthread.so) ==10545== by 0x87F91B: os_file_pwrite (os0file.c:1975) ==10545== by 0x87FB06: os_file_write (os0file.c:2420) ==10545== by 0x880694: os_aio (os0file.c:3382) ==10545== by 0x8643A8: fil_io (fil0fil.c:4021) ==10545== by 0x852B08: buf_flush_buffered_writes (buf0flu.c:294) ==10545== by 0x85376B: buf_flush_batch (buf0flu.c:912) ==10545== by 0x89FAAD: srv_master_thread (srv0srv.c:2458) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== by 0x52A5CA2: clone (in /lib64/tls/libc.so) ==10545== Address 0xAA28000 is 4,048 bytes inside a block of size 2,113,568 alloc'd ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x8B15D8: ut_malloc_low (ut0mem.c:82) ==10545== by 0x8B1744: ut_malloc (ut0mem.c:178) ==10545== by 0x8AAC78: trx_doublewrite_init (trx0sys.c:114) ==10545== by 0x8AADE0: trx_sys_create_doublewrite_buf (trx0sys.c:202) ==10545== by 0x8A1579: innobase_start_or_create_for_mysql (srv0start.c:1550) ==10545== by 0x6CBF02: innobase_init() (ha_innodb.cc:1588) ==10545== by 0x78523F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:528) ==10545== by 0x785717: plugin_init() (sql_plugin.cc:685) ==10545== by 0x5E9933: init_server_components() (mysqld.cc:3190) ==10545== by 0x5E9F61: main (mysqld.cc:3576) 060630 16:25:00 [Note] /home/mysqldev/mysql-5.1-trig/sql/mysqld: ready for connections. Version: '5.1.12-beta-debug-log' socket: '/home/mysqldev/mysql-5.1-trig/mysql-test/var/tmp/master.sock' port: 9306 Source distribution 060630 16:25:00 [Note] SCHEDULER: Manager thread booting 060630 16:25:00 [Note] SCHEDULER: Loaded 0 events 060630 16:25:00 [Note] SCHEDULER: Suspending operations ==10545== ==10545== Thread 12: ==10545== Syscall param pwrite64(buf) points to uninitialised byte(s) ==10545== at 0x4D41D3C: (within /lib64/tls/libpthread.so) ==10545== by 0x97FEF6: my_pwrite (my_pread.c:101) ==10545== by 0x8D337C: mi_nommap_pwrite (mi_dynrec.c:223) ==10545== by 0x8D47FF: _mi_write_part_record (mi_dynrec.c:722) ==10545== by 0x8D3672: write_dynamic_record (mi_dynrec.c:326) ==10545== by 0x8D34B9: _mi_write_blob_record (mi_dynrec.c:266) ==10545== by 0x8D7A12: mi_write (mi_write.c:147) ==10545== by 0x6BDEB0: ha_myisam::write_row(char*) (ha_myisam.cc:334) ==10545== by 0x6BB832: handler::ha_write_row(char*) (handler.cc:3403) ==10545== by 0x65D921: write_record(THD*, st_table*, st_copy_info*) (sql_insert.cc:1145) ==10545== by 0x65C682: mysql_insert(THD*, st_table_list*, List&, List >&, List&, List&, enum_duplicates, bool) (sql_insert.cc:519) ==10545== by 0x601F53: mysql_execute_command(THD*) (sql_parse.cc:3348) ==10545== by 0x607E39: mysql_parse(THD*, char*, unsigned) (sql_parse.cc:6072) ==10545== by 0x5FE9A6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1796) ==10545== by 0x5FE187: do_command(THD*) (sql_parse.cc:1582) ==10545== by 0x5FD3F3: handle_one_connection (sql_parse.cc:1222) ==10545== Address 0xB59D55B is 67 bytes inside a block of size 1,074 alloc'd ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x98754D: _mymalloc (safemalloc.c:138) ==10545== by 0x8D343C: _mi_write_blob_record (mi_dynrec.c:256) ==10545== by 0x8D7A12: mi_write (mi_write.c:147) ==10545== by 0x6BDEB0: ha_myisam::write_row(char*) (ha_myisam.cc:334) ==10545== by 0x6BB832: handler::ha_write_row(char*) (handler.cc:3403) ==10545== by 0x65D921: write_record(THD*, st_table*, st_copy_info*) (sql_insert.cc:1145) ==10545== by 0x65C682: mysql_insert(THD*, st_table_list*, List&, List >&, List&, List&, enum_duplicates, bool) (sql_insert.cc:519) ==10545== by 0x601F53: mysql_execute_command(THD*) (sql_parse.cc:3348) ==10545== by 0x607E39: mysql_parse(THD*, char*, unsigned) (sql_parse.cc:6072) ==10545== by 0x5FE9A6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1796) ==10545== by 0x5FE187: do_command(THD*) (sql_parse.cc:1582) ==10545== by 0x5FD3F3: handle_one_connection (sql_parse.cc:1222) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== by 0x52A5CA2: clone (in /lib64/tls/libc.so) ==10545== ==10545== Syscall param pwrite64(buf) points to uninitialised byte(s) ==10545== at 0x4D41D3C: (within /lib64/tls/libpthread.so) ==10545== by 0x97FEF6: my_pwrite (my_pread.c:101) ==10545== by 0x982E8C: flush_cached_blocks (mf_keycache.c:2280) ==10545== by 0x9831F0: flush_key_blocks_int (mf_keycache.c:2459) ==10545== by 0x983445: flush_key_blocks (mf_keycache.c:2555) ==10545== by 0x8CE9AC: mi_lock_database (mi_locking.c:64) ==10545== by 0x6C024E: ha_myisam::external_lock(THD*, int) (ha_myisam.cc:1400) ==10545== by 0x6BB6A9: handler::ha_external_lock(THD*, int) (handler.cc:3373) ==10545== by 0x5E2633: unlock_external(THD*, st_table**, unsigned) (lock.cc:641) ==10545== by 0x5E1C91: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:271) ==10545== by 0x65C8CE: mysql_insert(THD*, st_table_list*, List&, List >&, List&, List&, enum_duplicates, bool) (sql_insert.cc:599) ==10545== by 0x601F53: mysql_execute_command(THD*) (sql_parse.cc:3348) ==10545== by 0x607E39: mysql_parse(THD*, char*, unsigned) (sql_parse.cc:6072) ==10545== by 0x5FE9A6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1796) ==10545== by 0x5FE187: do_command(THD*) (sql_parse.cc:1582) ==10545== by 0x5FD3F3: handle_one_connection (sql_parse.cc:1222) ==10545== Address 0x97218F4 is 52 bytes inside a block of size 857,132 alloc'd ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x98754D: _mymalloc (safemalloc.c:138) ==10545== by 0x99855A: my_large_malloc (my_largepage.c:65) ==10545== by 0x980512: init_key_cache (mf_keycache.c:343) ==10545== by 0x6B9F82: ha_init_key_cache(char const*, st_key_cache*) (handler.cc:2509) ==10545== by 0x5F3830: process_key_caches(int (*)(char const*, st_key_cache*)) (set_var.cc:3824) ==10545== by 0x5E9C0E: init_server_components() (mysqld.cc:3302) ==10545== by 0x5E9F61: main (mysqld.cc:3576) --10545-- Reading syms from /lib64/libgcc_s.so.1 (0xB6D6000) --10545-- object doesn't have a symbol table 060630 16:25:06 [Note] Got signal 15 to shutdown mysqld 060630 16:25:06 [Note] /home/mysqldev/mysql-5.1-trig/sql/mysqld: Normal shutdown 060630 16:25:06 [Note] SCHEDULER: Killing manager thread 1 060630 16:25:06 [Note] SCHEDULER: Waiting the manager thread to reply 060630 16:25:06 [Note] SCHEDULER: Resuming operations 060630 16:25:06 [Note] SCHEDULER: Manager thread started with id 1 060630 16:25:06 [Note] SCHEDULER: Shutting down 060630 16:25:06 [Note] SCHEDULER: Waiting for worker threads to finish 060630 16:25:06 [Note] SCHEDULER: Emptying the queue 060630 16:25:06 [Note] SCHEDULER: Stopped 060630 16:25:07 InnoDB: Starting shutdown... 060630 16:25:10 InnoDB: Shutdown completed; log sequence number 0 46403 060630 16:25:10 [Note] /home/mysqldev/mysql-5.1-trig/sql/mysqld: Shutdown complete User time 14.52, System time 0.22 Maximum resident set size 0, Integral resident set size 0 Non-physical pagefaults 33648, Physical pagefaults 342, Swaps 0 Blocks in 0 out 0, Messages in 0 out 0, Signals 0 Voluntary context switches 655, Involuntary context switches 1278 Maximum memory usage: 1890796 bytes (1847k) ==10545== ==10545== ERROR SUMMARY: 113 errors from 5 contexts (suppressed: 5 from 1) ==10545== ==10545== 1 errors in context 1 of 5: ==10545== Thread 8: ==10545== Syscall param pwrite64(buf) points to uninitialised byte(s) ==10545== at 0x4D41D3C: (within /lib64/tls/libpthread.so) ==10545== by 0x87F91B: os_file_pwrite (os0file.c:1975) ==10545== by 0x87FB06: os_file_write (os0file.c:2420) ==10545== by 0x880694: os_aio (os0file.c:3382) ==10545== by 0x8643A8: fil_io (fil0fil.c:4021) ==10545== by 0x852B08: buf_flush_buffered_writes (buf0flu.c:294) ==10545== by 0x85376B: buf_flush_batch (buf0flu.c:912) ==10545== by 0x89FAAD: srv_master_thread (srv0srv.c:2458) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== by 0x52A5CA2: clone (in /lib64/tls/libc.so) ==10545== Address 0xAA28000 is 4,048 bytes inside a block of size 2,113,568 alloc'd ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x8B15D8: ut_malloc_low (ut0mem.c:82) ==10545== by 0x8B1744: ut_malloc (ut0mem.c:178) ==10545== by 0x8AAC78: trx_doublewrite_init (trx0sys.c:114) ==10545== by 0x8AADE0: trx_sys_create_doublewrite_buf (trx0sys.c:202) ==10545== by 0x8A1579: innobase_start_or_create_for_mysql (srv0start.c:1550) ==10545== by 0x6CBF02: innobase_init() (ha_innodb.cc:1588) ==10545== by 0x78523F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:528) ==10545== by 0x785717: plugin_init() (sql_plugin.cc:685) ==10545== by 0x5E9933: init_server_components() (mysqld.cc:3190) ==10545== by 0x5E9F61: main (mysqld.cc:3576) ==10545== ==10545== 1 errors in context 2 of 5: ==10545== Thread 1: ==10545== Conditional jump or move depends on uninitialised value(s) ==10545== at 0x8AADD7: trx_sys_create_doublewrite_buf (trx0sys.c:197) ==10545== by 0x8A1579: innobase_start_or_create_for_mysql (srv0start.c:1550) ==10545== by 0x6CBF02: innobase_init() (ha_innodb.cc:1588) ==10545== by 0x78523F: plugin_initialize(st_plugin_int*) (sql_plugin.cc:528) ==10545== by 0x785717: plugin_init() (sql_plugin.cc:685) ==10545== by 0x5E9933: init_server_components() (mysqld.cc:3190) ==10545== by 0x5E9F61: main (mysqld.cc:3576) ==10545== ==10545== 6 errors in context 3 of 5: ==10545== Thread 5: ==10545== Syscall param pwrite64(buf) points to uninitialised byte(s) ==10545== at 0x4D41D3C: (within /lib64/tls/libpthread.so) ==10545== by 0x87F91B: os_file_pwrite (os0file.c:1975) ==10545== by 0x87FB06: os_file_write (os0file.c:2420) ==10545== by 0x880D43: os_aio_simulated_handle (os0file.c:3960) ==10545== by 0x8644C6: fil_aio_wait (fil0fil.c:4132) ==10545== by 0x8A0117: io_handler_thread (srv0start.c:431) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== by 0x52A5CA2: clone (in /lib64/tls/libc.so) ==10545== Address 0x7444000 is 1,832 bytes inside a block of size 753,696 alloc'd ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x8B15D8: ut_malloc_low (ut0mem.c:82) ==10545== by 0x8B1744: ut_malloc (ut0mem.c:178) ==10545== by 0x880BE5: os_aio_simulated_handle (os0file.c:3910) ==10545== by 0x8644C6: fil_aio_wait (fil0fil.c:4132) ==10545== by 0x8A0117: io_handler_thread (srv0start.c:431) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== by 0x52A5CA2: clone (in /lib64/tls/libc.so) ==10545== ==10545== 7 errors in context 4 of 5: ==10545== Thread 12: ==10545== Syscall param pwrite64(buf) points to uninitialised byte(s) ==10545== at 0x4D41D3C: (within /lib64/tls/libpthread.so) ==10545== by 0x97FEF6: my_pwrite (my_pread.c:101) ==10545== by 0x8D337C: mi_nommap_pwrite (mi_dynrec.c:223) ==10545== by 0x8D47FF: _mi_write_part_record (mi_dynrec.c:722) ==10545== by 0x8D3672: write_dynamic_record (mi_dynrec.c:326) ==10545== by 0x8D34B9: _mi_write_blob_record (mi_dynrec.c:266) ==10545== by 0x8D7A12: mi_write (mi_write.c:147) ==10545== by 0x6BDEB0: ha_myisam::write_row(char*) (ha_myisam.cc:334) ==10545== by 0x6BB832: handler::ha_write_row(char*) (handler.cc:3403) ==10545== by 0x65D921: write_record(THD*, st_table*, st_copy_info*) (sql_insert.cc:1145) ==10545== by 0x65C682: mysql_insert(THD*, st_table_list*, List&, List >&, List&, List&, enum_duplicates, bool) (sql_insert.cc:519) ==10545== by 0x601F53: mysql_execute_command(THD*) (sql_parse.cc:3348) ==10545== by 0x607E39: mysql_parse(THD*, char*, unsigned) (sql_parse.cc:6072) ==10545== by 0x5FE9A6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1796) ==10545== by 0x5FE187: do_command(THD*) (sql_parse.cc:1582) ==10545== by 0x5FD3F3: handle_one_connection (sql_parse.cc:1222) ==10545== Address 0xB59D55B is 67 bytes inside a block of size 1,074 alloc'd ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x98754D: _mymalloc (safemalloc.c:138) ==10545== by 0x8D343C: _mi_write_blob_record (mi_dynrec.c:256) ==10545== by 0x8D7A12: mi_write (mi_write.c:147) ==10545== by 0x6BDEB0: ha_myisam::write_row(char*) (ha_myisam.cc:334) ==10545== by 0x6BB832: handler::ha_write_row(char*) (handler.cc:3403) ==10545== by 0x65D921: write_record(THD*, st_table*, st_copy_info*) (sql_insert.cc:1145) ==10545== by 0x65C682: mysql_insert(THD*, st_table_list*, List&, List >&, List&, List&, enum_duplicates, bool) (sql_insert.cc:519) ==10545== by 0x601F53: mysql_execute_command(THD*) (sql_parse.cc:3348) ==10545== by 0x607E39: mysql_parse(THD*, char*, unsigned) (sql_parse.cc:6072) ==10545== by 0x5FE9A6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1796) ==10545== by 0x5FE187: do_command(THD*) (sql_parse.cc:1582) ==10545== by 0x5FD3F3: handle_one_connection (sql_parse.cc:1222) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== by 0x52A5CA2: clone (in /lib64/tls/libc.so) ==10545== ==10545== 98 errors in context 5 of 5: ==10545== Syscall param pwrite64(buf) points to uninitialised byte(s) ==10545== at 0x4D41D3C: (within /lib64/tls/libpthread.so) ==10545== by 0x97FEF6: my_pwrite (my_pread.c:101) ==10545== by 0x982E8C: flush_cached_blocks (mf_keycache.c:2280) ==10545== by 0x9831F0: flush_key_blocks_int (mf_keycache.c:2459) ==10545== by 0x983445: flush_key_blocks (mf_keycache.c:2555) ==10545== by 0x8CE9AC: mi_lock_database (mi_locking.c:64) ==10545== by 0x6C024E: ha_myisam::external_lock(THD*, int) (ha_myisam.cc:1400) ==10545== by 0x6BB6A9: handler::ha_external_lock(THD*, int) (handler.cc:3373) ==10545== by 0x5E2633: unlock_external(THD*, st_table**, unsigned) (lock.cc:641) ==10545== by 0x5E1C91: mysql_unlock_tables(THD*, st_mysql_lock*) (lock.cc:271) ==10545== by 0x65C8CE: mysql_insert(THD*, st_table_list*, List&, List >&, List&, List&, enum_duplicates, bool) (sql_insert.cc:599) ==10545== by 0x601F53: mysql_execute_command(THD*) (sql_parse.cc:3348) ==10545== by 0x607E39: mysql_parse(THD*, char*, unsigned) (sql_parse.cc:6072) ==10545== by 0x5FE9A6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1796) ==10545== by 0x5FE187: do_command(THD*) (sql_parse.cc:1582) ==10545== by 0x5FD3F3: handle_one_connection (sql_parse.cc:1222) ==10545== Address 0x97218F4 is 52 bytes inside a block of size 857,132 alloc'd ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x98754D: _mymalloc (safemalloc.c:138) ==10545== by 0x99855A: my_large_malloc (my_largepage.c:65) ==10545== by 0x980512: init_key_cache (mf_keycache.c:343) ==10545== by 0x6B9F82: ha_init_key_cache(char const*, st_key_cache*) (handler.cc:2509) ==10545== by 0x5F3830: process_key_caches(int (*)(char const*, st_key_cache*)) (set_var.cc:3824) ==10545== by 0x5E9C0E: init_server_components() (mysqld.cc:3302) ==10545== by 0x5E9F61: main (mysqld.cc:3576) --10545-- --10545-- supp: 5 dl_relocate_object ==10545== ==10545== IN SUMMARY: 113 errors from 5 contexts (suppressed: 5 from 1) ==10545== ==10545== malloc/free: in use at exit: 3,420 bytes in 19 blocks. ==10545== malloc/free: 71,212 allocs, 71,193 frees, 42,930,020 bytes allocated. ==10545== ==10545== searching for pointers to 19 not-freed blocks. ==10545== checked 61,621,168 bytes. ==10545== ==10545== Thread 1: ==10545== ==10545== 19 bytes in 1 blocks are still reachable in loss record 1 of 8 ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x40063B3: _dl_map_object (in /lib64/ld-2.3.6.so) ==10545== by 0x52D48E3: (within /lib64/tls/libc.so) ==10545== by 0x400A4CF: _dl_catch_error (in /lib64/ld-2.3.6.so) ==10545== by 0x52D5159: _dl_open (in /lib64/tls/libc.so) ==10545== by 0x52D6587: (within /lib64/tls/libc.so) ==10545== by 0x400A4CF: _dl_catch_error (in /lib64/ld-2.3.6.so) ==10545== by 0x52D654A: (within /lib64/tls/libc.so) ==10545== by 0x52D6617: __libc_dlopen_mode (in /lib64/tls/libc.so) ==10545== by 0x4D429BB: pthread_cancel_init (in /lib64/tls/libpthread.so) ==10545== by 0x4D42B4D: _Unwind_ForcedUnwind (in /lib64/tls/libpthread.so) ==10545== by 0x4D40B9F: __pthread_unwind (in /lib64/tls/libpthread.so) ==10545== by 0x4D3CF04: pthread_exit (in /lib64/tls/libpthread.so) ==10545== by 0x5E7A4C: end_thread(THD*, bool) (mysqld.cc:1779) ==10545== by 0x5FD555: handle_one_connection (sql_parse.cc:1246) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== ==10545== ==10545== 56 bytes in 1 blocks are still reachable in loss record 3 of 8 ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x40094D9: _dl_map_object_deps (in /lib64/ld-2.3.6.so) ==10545== by 0x52D4942: (within /lib64/tls/libc.so) ==10545== by 0x400A4CF: _dl_catch_error (in /lib64/ld-2.3.6.so) ==10545== by 0x52D5159: _dl_open (in /lib64/tls/libc.so) ==10545== by 0x52D6587: (within /lib64/tls/libc.so) ==10545== by 0x400A4CF: _dl_catch_error (in /lib64/ld-2.3.6.so) ==10545== by 0x52D654A: (within /lib64/tls/libc.so) ==10545== by 0x52D6617: __libc_dlopen_mode (in /lib64/tls/libc.so) ==10545== by 0x4D429BB: pthread_cancel_init (in /lib64/tls/libpthread.so) ==10545== by 0x4D42B4D: _Unwind_ForcedUnwind (in /lib64/tls/libpthread.so) ==10545== by 0x4D40B9F: __pthread_unwind (in /lib64/tls/libpthread.so) ==10545== by 0x4D3CF04: pthread_exit (in /lib64/tls/libpthread.so) ==10545== by 0x5E7A4C: end_thread(THD*, bool) (mysqld.cc:1779) ==10545== by 0x5FD555: handle_one_connection (sql_parse.cc:1246) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== ==10545== ==10545== 88 bytes in 1 blocks are still reachable in loss record 4 of 8 ==10545== at 0x4A1AAC7: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x99FA02: DbugMalloc (dbug.c:1969) ==10545== by 0x99DCED: code_state (dbug.c:342) ==10545== by 0x99EC4F: _db_enter_ (dbug.c:938) ==10545== by 0x5E63A9: kill_server(void*) (mysqld.cc:1052) ==10545== by 0x5E65CA: kill_server_thread (mysqld.cc:1112) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== by 0x52A5CA2: clone (in /lib64/tls/libc.so) ==10545== ==10545== ==10545== 216 bytes in 1 blocks are still reachable in loss record 5 of 8 ==10545== at 0x4A1C33A: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==10545== by 0x400BC5C: _dl_check_map_versions (in /lib64/ld-2.3.6.so) ==10545== by 0x52D49B0: (within /lib64/tls/libc.so) ==10545== by 0x400A4CF: _dl_catch_error (in /lib64/ld-2.3.6.so) ==10545== by 0x52D5159: _dl_open (in /lib64/tls/libc.so) ==10545== by 0x52D6587: (within /lib64/tls/libc.so) ==10545== by 0x400A4CF: _dl_catch_error (in /lib64/ld-2.3.6.so) ==10545== by 0x52D654A: (within /lib64/tls/libc.so) ==10545== by 0x52D6617: __libc_dlopen_mode (in /lib64/tls/libc.so) ==10545== by 0x4D429BB: pthread_cancel_init (in /lib64/tls/libpthread.so) ==10545== by 0x4D42B4D: _Unwind_ForcedUnwind (in /lib64/tls/libpthread.so) ==10545== by 0x4D40B9F: __pthread_unwind (in /lib64/tls/libpthread.so) ==10545== by 0x4D3CF04: pthread_exit (in /lib64/tls/libpthread.so) ==10545== by 0x5E7A4C: end_thread(THD*, bool) (mysqld.cc:1779) ==10545== by 0x5FD555: handle_one_connection (sql_parse.cc:1246) ==10545== by 0x4D3C0F9: start_thread (in /lib64/tls/libpthread.so) ==10545== ==10545== LEAK SUMMARY: ==10545== definitely lost: 0 bytes in 0 blocks. ==10545== possibly lost: 0 bytes in 0 blocks. ==10545== still reachable: 379 bytes in 4 blocks. ==10545== suppressed: 3,041 bytes in 15 blocks. --10545-- memcheck: sanity checks: 557 cheap, 23 expensive --10545-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --10545-- memcheck: auxmaps: 0 searches, 0 comparisons --10545-- memcheck: SMs: n_issued = 632 (10112k, 9M) --10545-- memcheck: SMs: n_deissued = 274 (4384k, 4M) --10545-- memcheck: SMs: max_noaccess = 524287 (8388592k, 8191M) --10545-- memcheck: SMs: max_undefined = 147 (2352k, 2M) --10545-- memcheck: SMs: max_defined = 1221 (19536k, 19M) --10545-- memcheck: SMs: max_non_DSM = 543 (8688k, 8M) --10545-- memcheck: max sec V bit nodes: 657 (56k, 0M) --10545-- memcheck: set_sec_vbits8 calls: 830 (new: 657, updates: 173) --10545-- memcheck: max shadow mem size: 12888k, 12M --10545-- translate: fast SP updates identified: 35,310 ( 83.7%) --10545-- translate: generic_known SP updates identified: 6,710 ( 15.9%) --10545-- translate: generic_unknown SP updates identified: 160 ( 0.3%) --10545-- tt/tc: 74,300 tt lookups requiring 105,455 probes --10545-- tt/tc: 74,300 fast-cache updates, 5 flushes --10545-- transtab: new 29,990 (1,002,835 -> 15,740,828; ratio 156:10) [0 scs] --10545-- transtab: dumped 0 (0 -> ??) --10545-- transtab: discarded 12 (297 -> ??) --10545-- scheduler: 56,024,927 jumps (bb entries). --10545-- scheduler: 557/190,128 major/minor sched events. --10545-- sanity: 558 cheap, 23 expensive checks. --10545-- exectx: 30,011 lists, 1,508 contexts (avg 0 per list) --10545-- exectx: 142,523 searches, 159,044 full compares (1,115 per 1000) --10545-- exectx: 32 cmp2, 142 cmp4, 0 cmpAll