sbester@box2:~/big/mysql/5.1/mysql-advanced-gpl-5.1.47-linux-x86_64-glibc23> valgrind --tool=memcheck --read-var-info=yes --track-origins=yes --leak-check=full --db-attach=no --num-callers=50 -v --show-reachable=yes ./bin/mysqld --no-defaults --basedir=. --datadir=./data --skip-name-resolve --log-warnings=2 --skip-grant-tables --skip-name-resolve ==8580== Memcheck, a memory error detector ==8580== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==8580== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==8580== Command: ./bin/mysqld --no-defaults --basedir=. --datadir=./data --skip-name-resolve --log-warnings=2 --skip-grant-tables --skip-name-resolve ==8580== --8580-- Valgrind options: --8580-- --tool=memcheck --8580-- --read-var-info=yes --8580-- --track-origins=yes --8580-- --leak-check=full --8580-- --db-attach=no --8580-- --num-callers=50 --8580-- -v --8580-- --show-reachable=yes --8580-- Contents of /proc/version: --8580-- 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 --8580-- Arch and hwcaps: AMD64, amd64-sse3 --8580-- Page sizes: currently 4096, max supported 4096 --8580-- Valgrind library directory: /usr/local/lib/valgrind --8580-- Reading syms from /home/sbester/big/mysql/5.1/mysql-advanced-gpl-5.1.47-linux-x86_64-glibc23/bin/mysqld (0x400000) --8580-- warning: addVar: unknown size (backup) --8580-- warning: addVar: unknown size (backup) --8580-- warning: addVar: unknown size (qinfo) --8580-- warning: addVar: unknown size (qinfo) --8580-- warning: addVar: unknown size (file_parser_dummy_hook) --8580-- warning: addVar: unknown size (eq_creator) --8580-- warning: addVar: unknown size (ne_creator) --8580-- warning: addVar: unknown size (gt_creator) --8580-- warning: addVar: unknown size (lt_creator) --8580-- warning: addVar: unknown size (ge_creator) --8580-- Reading syms from /lib64/ld-2.5.so (0x4000000) --8580-- Reading syms from /usr/local/lib/valgrind/memcheck-amd64-linux (0x38000000) --8580-- object doesn't have a dynamic symbol table --8580-- Reading suppressions file: /usr/local/lib/valgrind/default.supp --8580-- REDIR: 0x40144d0 (strlen) redirected to 0x3803e657 (vgPlain_amd64_linux_REDIR_FOR_strlen) --8580-- Reading syms from /usr/local/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a1e000) --8580-- Reading syms from /usr/local/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c20000) ==8580== WARNING: new redirection conflicts with existing -- ignoring it --8580-- new: 0x040144d0 (strlen ) R-> 0x04c23f00 strlen --8580-- REDIR: 0x4013fe0 (index) redirected to 0x4c23d70 (index) --8580-- REDIR: 0x4014190 (strcmp) redirected to 0x4c23fd0 (strcmp) --8580-- Reading syms from /lib64/libpthread-2.5.so (0x4e28000) --8580-- Reading syms from /lib64/libdl-2.5.so (0x5043000) --8580-- Reading syms from /lib64/libcrypt-2.5.so (0x5247000) --8580-- Reading syms from /lib64/libnsl-2.5.so (0x5480000) --8580-- Reading syms from /lib64/libm-2.5.so (0x5697000) --8580-- Reading syms from /lib64/libc-2.5.so (0x58ed000) --8580-- REDIR: 0x59621d0 (memset) redirected to 0x4c24170 (memset) --8580-- REDIR: 0x59637c0 (memcpy) redirected to 0x4c25100 (memcpy) --8580-- REDIR: 0x59613f0 (rindex) redirected to 0x4c23c20 (rindex) --8580-- REDIR: 0x59610f0 (strnlen) redirected to 0x4c23e90 (strnlen) --8580-- REDIR: 0x5962040 (memmove) redirected to 0x4c241c0 (memmove) --8580-- REDIR: 0x5960d50 (strlen) redirected to 0x4c23ec0 (strlen) --8580-- REDIR: 0x595cd70 (calloc) redirected to 0x4c221d2 (calloc) --8580-- REDIR: 0x595d300 (malloc) redirected to 0x4c22eda (malloc) --8580-- Reading syms from /lib64/libgcc_s.so.1 (0x6830000) --8580-- object doesn't have a symbol table --8580-- REDIR: 0x5961ad0 (memchr) redirected to 0x4c24050 (memchr) --8580-- REDIR: 0x595aec0 (free) redirected to 0x4c22aea (free) --8580-- REDIR: 0x5961280 (strncmp) redirected to 0x4c23f20 (strncmp) --8580-- REDIR: 0x5962fe0 (stpcpy) redirected to 0x4c24c20 (stpcpy) --8580-- REDIR: 0x5960330 (strcpy) redirected to 0x4c25380 (strcpy) --8580-- REDIR: 0x595ffd0 (strcmp) redirected to 0x4c23f90 (strcmp) --8580-- REDIR: 0xffffffffff600400 (???) redirected to 0x3803e64d (vgPlain_amd64_linux_REDIR_FOR_vtime) --8580-- REDIR: 0x595fe20 (index) redirected to 0x4c23cb0 (index) --8580-- REDIR: 0x5964450 (rawmemchr) redirected to 0x4c24250 (rawmemchr) --8580-- REDIR: 0x59611e0 (strncat) redirected to 0x4c23da0 (strncat) --8580-- REDIR: 0x5962430 (mempcpy) redirected to 0x4c249a0 (mempcpy) --8580-- REDIR: 0x595d790 (realloc) redirected to 0x4c22f8b (realloc) 100606 0:51:10 [Note] Plugin 'FEDERATED' is disabled. --8580-- REDIR: 0xffffffffff600000 (???) redirected to 0x3803e643 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) 100606 0:51:14 InnoDB: Started; log sequence number 0 44233 --8580-- memcheck GC: 1024 nodes, 1024 survivors (100.0%) --8580-- memcheck GC: increase table size to 2048 --8580-- REDIR: 0x5964580 (strchrnul) redirected to 0x4c24220 (strchrnul) --8580-- Reading syms from /lib64/libnss_files-2.5.so (0xdbd6000) 100606 0:51:16 [Note] ./bin/mysqld: ready for connections. Version: '5.1.47-enterprise-gpl-advanced' socket: '/tmp/mysql.sock' port: 3306 MySQL Enterprise Server - Advanced Edition (GPL) ==8580== Thread 11: ==8580== Conditional jump or move depends on uninitialised value(s) ==8580== at 0x4C23EA6: strnlen (mc_replace_strmem.c:259) ==8580== by 0x8D79B0: my_vsnprintf (my_vsnprintf.c:100) ==8580== by 0x8C70D7: my_snprintf_8bit (ctype-simple.c:296) ==8580== by 0x6B2ACC: make_truncated_value_warning(THD*, MYSQL_ERROR::enum_warning_level, char const*, unsigned int, enum_mysql_timestamp_type, char const*) (time.cc:760) ==8580== by 0x6B2C97: str_to_time_with_warn(char const*, unsigned int, st_mysql_time*) (time.cc:293) ==8580== by 0x5B82CD: Field::get_time(st_mysql_time*) (field.cc:1748) ==8580== by 0x52979B: Item_field::get_time(st_mysql_time*) (item.cc:2091) ==8580== by 0x58381A: Item_func_second::val_int() (item_func.h:146) ==8580== by 0x53081B: Item::get_date(st_mysql_time*, unsigned int) (item.cc:930) ==8580== by 0x585A70: Item_func_weekday::val_int() (item_func.h:142) ==8580== by 0x52024B: get_partition_id_list(partition_info*, unsigned int*, long long*) (sql_partition.cc:2300) ==8580== by 0x51CA56: get_part_id_charset_func_part(partition_info*, unsigned int*, long long*) (sql_partition.cc:2635) ==8580== by 0x6DF47C: ha_partition::write_row(unsigned char*) (ha_partition.cc:3059) ==8580== by 0x6D5BE6: handler::ha_write_row(unsigned char*) (handler.cc:4654) ==8580== by 0x66151C: write_record(THD*, st_table*, st_copy_info*) (sql_insert.cc:1606) ==8580== by 0x6659FC: mysql_insert(THD*, TABLE_LIST*, List&, List >&, List&, List&, enum_duplicates, bool) (sql_insert.cc:835) ==8580== by 0x5F3D0C: mysql_execute_command(THD*) (sql_parse.cc:3198) ==8580== by 0x5F89AD: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5986) ==8580== by 0x5F9845: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1233) ==8580== by 0x5FA195: do_command(THD*) (sql_parse.cc:874) ==8580== by 0x5ECAD5: handle_one_connection (sql_connect.cc:1134) ==8580== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==8580== by 0x59AE4CC: clone (in /lib64/libc-2.5.so) ==8580== Uninitialised value was created by a heap allocation ==8580== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==8580== by 0x89DB91: my_malloc (my_malloc.c:34) ==8580== by 0x89E400: alloc_root (my_alloc.c:201) ==8580== by 0x6DEA9F: partition_create_handler(handlerton*, st_table_share*, st_mem_root*) (sql_list.h:39) ==8580== by 0x6D4257: get_new_handler(st_table_share*, st_mem_root*, handlerton*) (handler.cc:248) ==8580== by 0x63365D: open_table_from_share(THD*, st_table_share*, char const*, unsigned int, unsigned int, unsigned int, st_table*, bool) (table.cc:1696) ==8580== by 0x62D7F7: open_unireg_entry(THD*, st_table*, TABLE_LIST*, char const*, char*, unsigned int, st_mem_root*, unsigned int) (sql_base.cc:3926) ==8580== by 0x62E63E: open_table(THD*, TABLE_LIST*, st_mem_root*, bool*, unsigned int) (sql_base.cc:2923) ==8580== by 0x62F4C6: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int) (sql_base.cc:4599) ==8580== by 0x62F6CF: open_and_lock_tables_derived(THD*, TABLE_LIST*, bool) (sql_base.cc:5017) ==8580== by 0x664B14: mysql_insert(THD*, TABLE_LIST*, List&, List >&, List&, List&, enum_duplicates, bool) (mysql_priv.h:1564) ==8580== by 0x5F3D0C: mysql_execute_command(THD*) (sql_parse.cc:3198) ==8580== by 0x5F89AD: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5986) ==8580== by 0x5F9845: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1233) ==8580== by 0x5FA195: do_command(THD*) (sql_parse.cc:874) ==8580== by 0x5ECAD5: handle_one_connection (sql_connect.cc:1134) ==8580== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==8580== by 0x59AE4CC: clone (in /lib64/libc-2.5.so) ==8580== 100606 0:51:29 [Note] ./bin/mysqld: Normal shutdown 100606 0:51:31 InnoDB: Starting shutdown... 100606 0:51:36 InnoDB: Shutdown completed; log sequence number 0 44233 100606 0:51:37 [Note] ./bin/mysqld: Shutdown complete --8580-- Discarding syms at 0xdbd81c0-0xdbddf48 in /lib64/libnss_files-2.5.so due to munmap() ==8580== ==8580== HEAP SUMMARY: ==8580== in use at exit: 4,272 bytes in 15 blocks ==8580== total heap usage: 32,216 allocs, 32,201 frees, 52,469,868 bytes allocated ==8580== ==8580== Searching for pointers to 15 not-freed blocks ==8580== Checked 76,579,168 bytes ==8580== ==8580== Thread 1: ==8580== 21 bytes in 1 blocks are still reachable in loss record 1 of 13 ==8580== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==8580== by 0x40081B3: _dl_map_object (in /lib64/ld-2.5.so) ==8580== by 0x4010E8C: dl_open_worker (in /lib64/ld-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x401099A: _dl_open (in /lib64/ld-2.5.so) ==8580== by 0x59DFA7F: do_dlopen (in /lib64/libc-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x59DFB34: dlerror_run (in /lib64/libc-2.5.so) ==8580== by 0x59DFC06: __libc_dlopen_mode (in /lib64/libc-2.5.so) ==8580== by 0x4E3681B: pthread_cancel_init (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3692F: _Unwind_ForcedUnwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3478F: __pthread_unwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E2F424: pthread_exit (in /lib64/libpthread-2.5.so) ==8580== by 0x8B8FFA: nptl_pthread_exit_hack_handler (my_thr_init.c:63) ==8580== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==8580== by 0x59AE4CC: clone (in /lib64/libc-2.5.so) ==8580== ==8580== 21 bytes in 1 blocks are still reachable in loss record 2 of 13 ==8580== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==8580== by 0x400A27E: _dl_new_object (in /lib64/ld-2.5.so) ==8580== by 0x4005FA4: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==8580== by 0x4007D0B: _dl_map_object (in /lib64/ld-2.5.so) ==8580== by 0x4010E8C: dl_open_worker (in /lib64/ld-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x401099A: _dl_open (in /lib64/ld-2.5.so) ==8580== by 0x59DFA7F: do_dlopen (in /lib64/libc-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x59DFB34: dlerror_run (in /lib64/libc-2.5.so) ==8580== by 0x59DFC06: __libc_dlopen_mode (in /lib64/libc-2.5.so) ==8580== by 0x4E3681B: pthread_cancel_init (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3692F: _Unwind_ForcedUnwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3478F: __pthread_unwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E2F424: pthread_exit (in /lib64/libpthread-2.5.so) ==8580== by 0x8B8FFA: nptl_pthread_exit_hack_handler (my_thr_init.c:63) ==8580== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==8580== by 0x59AE4CC: clone (in /lib64/libc-2.5.so) ==8580== ==8580== 56 bytes in 1 blocks are still reachable in loss record 3 of 13 ==8580== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==8580== by 0x400BC1C: _dl_map_object_deps (in /lib64/ld-2.5.so) ==8580== by 0x4010EEC: dl_open_worker (in /lib64/ld-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x401099A: _dl_open (in /lib64/ld-2.5.so) ==8580== by 0x59DFA7F: do_dlopen (in /lib64/libc-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x59DFB34: dlerror_run (in /lib64/libc-2.5.so) ==8580== by 0x59DFC06: __libc_dlopen_mode (in /lib64/libc-2.5.so) ==8580== by 0x4E3681B: pthread_cancel_init (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3692F: _Unwind_ForcedUnwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3478F: __pthread_unwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E2F424: pthread_exit (in /lib64/libpthread-2.5.so) ==8580== by 0x8B8FFA: nptl_pthread_exit_hack_handler (my_thr_init.c:63) ==8580== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==8580== by 0x59AE4CC: clone (in /lib64/libc-2.5.so) ==8580== ==8580== 264 bytes in 1 blocks are still reachable in loss record 4 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x400EAE2: _dl_check_map_versions (in /lib64/ld-2.5.so) ==8580== by 0x4011158: dl_open_worker (in /lib64/ld-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x401099A: _dl_open (in /lib64/ld-2.5.so) ==8580== by 0x59DFA7F: do_dlopen (in /lib64/libc-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x59DFB34: dlerror_run (in /lib64/libc-2.5.so) ==8580== by 0x59DFC06: __libc_dlopen_mode (in /lib64/libc-2.5.so) ==8580== by 0x4E3681B: pthread_cancel_init (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3692F: _Unwind_ForcedUnwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3478F: __pthread_unwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E2F424: pthread_exit (in /lib64/libpthread-2.5.so) ==8580== by 0x8B8FFA: nptl_pthread_exit_hack_handler (my_thr_init.c:63) ==8580== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==8580== by 0x59AE4CC: clone (in /lib64/libc-2.5.so) ==8580== ==8580== 272 bytes in 1 blocks are possibly lost in loss record 5 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x4010159: allocate_dtv (in /lib64/ld-2.5.so) ==8580== by 0x401021D: _dl_allocate_tls (in /lib64/ld-2.5.so) ==8580== by 0x4E2E8C3: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==8580== by 0x8B8FD2: my_thread_global_init (my_thr_init.c:115) ==8580== by 0x8992EB: my_init (my_init.c:81) ==8580== by 0x5E74B3: main (mysqld.cc:4283) ==8580== ==8580== 272 bytes in 1 blocks are possibly lost in loss record 6 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x4010159: allocate_dtv (in /lib64/ld-2.5.so) ==8580== by 0x401021D: _dl_allocate_tls (in /lib64/ld-2.5.so) ==8580== by 0x4E2E8C3: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==8580== by 0x7EBEDB: os_thread_create (os0thread.c:172) ==8580== by 0x7DDE08: recv_recovery_from_checkpoint_finish (log0recv.c:2915) ==8580== by 0x8204E1: innobase_start_or_create_for_mysql (srv0start.c:1557) ==8580== by 0x77CAC3: innobase_init(void*) (ha_innodb.cc:1971) ==8580== by 0x6D35D0: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==8580== by 0x759B2D: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==8580== by 0x75C744: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==8580== by 0x5E3114: init_server_components() (mysqld.cc:3950) ==8580== by 0x5E7650: main (mysqld.cc:4421) ==8580== ==8580== 272 bytes in 1 blocks are possibly lost in loss record 7 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x4010159: allocate_dtv (in /lib64/ld-2.5.so) ==8580== by 0x401021D: _dl_allocate_tls (in /lib64/ld-2.5.so) ==8580== by 0x4E2E8C3: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==8580== by 0x7EBEDB: os_thread_create (os0thread.c:172) ==8580== by 0x820582: innobase_start_or_create_for_mysql (srv0start.c:1602) ==8580== by 0x77CAC3: innobase_init(void*) (ha_innodb.cc:1971) ==8580== by 0x6D35D0: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==8580== by 0x759B2D: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==8580== by 0x75C744: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==8580== by 0x5E3114: init_server_components() (mysqld.cc:3950) ==8580== by 0x5E7650: main (mysqld.cc:4421) ==8580== ==8580== 272 bytes in 1 blocks are possibly lost in loss record 8 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x4010159: allocate_dtv (in /lib64/ld-2.5.so) ==8580== by 0x401021D: _dl_allocate_tls (in /lib64/ld-2.5.so) ==8580== by 0x4E2E8C3: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==8580== by 0x7EBEDB: os_thread_create (os0thread.c:172) ==8580== by 0x820593: innobase_start_or_create_for_mysql (srv0start.c:1606) ==8580== by 0x77CAC3: innobase_init(void*) (ha_innodb.cc:1971) ==8580== by 0x6D35D0: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==8580== by 0x759B2D: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==8580== by 0x75C744: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==8580== by 0x5E3114: init_server_components() (mysqld.cc:3950) ==8580== by 0x5E7650: main (mysqld.cc:4421) ==8580== ==8580== 272 bytes in 1 blocks are possibly lost in loss record 9 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x4010159: allocate_dtv (in /lib64/ld-2.5.so) ==8580== by 0x401021D: _dl_allocate_tls (in /lib64/ld-2.5.so) ==8580== by 0x4E2E8C3: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==8580== by 0x7EBEDB: os_thread_create (os0thread.c:172) ==8580== by 0x8205A4: innobase_start_or_create_for_mysql (srv0start.c:1610) ==8580== by 0x77CAC3: innobase_init(void*) (ha_innodb.cc:1971) ==8580== by 0x6D35D0: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==8580== by 0x759B2D: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==8580== by 0x75C744: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==8580== by 0x5E3114: init_server_components() (mysqld.cc:3950) ==8580== by 0x5E7650: main (mysqld.cc:4421) ==8580== ==8580== 272 bytes in 1 blocks are possibly lost in loss record 10 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x4010159: allocate_dtv (in /lib64/ld-2.5.so) ==8580== by 0x401021D: _dl_allocate_tls (in /lib64/ld-2.5.so) ==8580== by 0x4E2E8C3: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==8580== by 0x7EBEDB: os_thread_create (os0thread.c:172) ==8580== by 0x8205E8: innobase_start_or_create_for_mysql (srv0start.c:1631) ==8580== by 0x77CAC3: innobase_init(void*) (ha_innodb.cc:1971) ==8580== by 0x6D35D0: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==8580== by 0x759B2D: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==8580== by 0x75C744: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==8580== by 0x5E3114: init_server_components() (mysqld.cc:3950) ==8580== by 0x5E7650: main (mysqld.cc:4421) ==8580== ==8580== 272 bytes in 1 blocks are possibly lost in loss record 11 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x4010159: allocate_dtv (in /lib64/ld-2.5.so) ==8580== by 0x401021D: _dl_allocate_tls (in /lib64/ld-2.5.so) ==8580== by 0x4E2E8C3: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==8580== by 0x5E777F: main (mysqld.cc:2692) ==8580== ==8580== 816 bytes in 3 blocks are possibly lost in loss record 12 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x4010159: allocate_dtv (in /lib64/ld-2.5.so) ==8580== by 0x401021D: _dl_allocate_tls (in /lib64/ld-2.5.so) ==8580== by 0x4E2E8C3: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==8580== by 0x7EBEDB: os_thread_create (os0thread.c:172) ==8580== by 0x81F61B: innobase_start_or_create_for_mysql (srv0start.c:1302) ==8580== by 0x77CAC3: innobase_init(void*) (ha_innodb.cc:1971) ==8580== by 0x6D35D0: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==8580== by 0x759B2D: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019) ==8580== by 0x75C744: plugin_init(int*, char**, int) (sql_plugin.cc:1246) ==8580== by 0x5E3114: init_server_components() (mysqld.cc:3950) ==8580== by 0x5E7650: main (mysqld.cc:4421) ==8580== ==8580== 1,190 bytes in 1 blocks are still reachable in loss record 13 of 13 ==8580== at 0x4C22280: calloc (vg_replace_malloc.c:418) ==8580== by 0x4009FF4: _dl_new_object (in /lib64/ld-2.5.so) ==8580== by 0x4005FA4: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==8580== by 0x4007D0B: _dl_map_object (in /lib64/ld-2.5.so) ==8580== by 0x4010E8C: dl_open_worker (in /lib64/ld-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x401099A: _dl_open (in /lib64/ld-2.5.so) ==8580== by 0x59DFA7F: do_dlopen (in /lib64/libc-2.5.so) ==8580== by 0x400D0C5: _dl_catch_error (in /lib64/ld-2.5.so) ==8580== by 0x59DFB34: dlerror_run (in /lib64/libc-2.5.so) ==8580== by 0x59DFC06: __libc_dlopen_mode (in /lib64/libc-2.5.so) ==8580== by 0x4E3681B: pthread_cancel_init (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3692F: _Unwind_ForcedUnwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E3478F: __pthread_unwind (in /lib64/libpthread-2.5.so) ==8580== by 0x4E2F424: pthread_exit (in /lib64/libpthread-2.5.so) ==8580== by 0x8B8FFA: nptl_pthread_exit_hack_handler (my_thr_init.c:63) ==8580== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==8580== by 0x59AE4CC: clone (in /lib64/libc-2.5.so) ==8580== ==8580== LEAK SUMMARY: ==8580== definitely lost: 0 bytes in 0 blocks ==8580== indirectly lost: 0 bytes in 0 blocks ==8580== possibly lost: 2,720 bytes in 10 blocks ==8580== still reachable: 1,552 bytes in 5 blocks ==8580== suppressed: 0 bytes in 0 blocks ==8580== ==8580== ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 2 from 2) ==8580== ==8580== 3 errors in context 1 of 9: ==8580== Thread 11: ==8580== Conditional jump or move depends on uninitialised value(s) ==8580== at 0x4C23EA6: strnlen (mc_replace_strmem.c:259) ==8580== by 0x8D79B0: my_vsnprintf (my_vsnprintf.c:100) ==8580== by 0x8C70D7: my_snprintf_8bit (ctype-simple.c:296) ==8580== by 0x6B2ACC: make_truncated_value_warning(THD*, MYSQL_ERROR::enum_warning_level, char const*, unsigned int, enum_mysql_timestamp_type, char const*) (time.cc:760) ==8580== by 0x6B2C97: str_to_time_with_warn(char const*, unsigned int, st_mysql_time*) (time.cc:293) ==8580== by 0x5B82CD: Field::get_time(st_mysql_time*) (field.cc:1748) ==8580== by 0x52979B: Item_field::get_time(st_mysql_time*) (item.cc:2091) ==8580== by 0x58381A: Item_func_second::val_int() (item_func.h:146) ==8580== by 0x53081B: Item::get_date(st_mysql_time*, unsigned int) (item.cc:930) ==8580== by 0x585A70: Item_func_weekday::val_int() (item_func.h:142) ==8580== by 0x52024B: get_partition_id_list(partition_info*, unsigned int*, long long*) (sql_partition.cc:2300) ==8580== by 0x51CA56: get_part_id_charset_func_part(partition_info*, unsigned int*, long long*) (sql_partition.cc:2635) ==8580== by 0x6DF47C: ha_partition::write_row(unsigned char*) (ha_partition.cc:3059) ==8580== by 0x6D5BE6: handler::ha_write_row(unsigned char*) (handler.cc:4654) ==8580== by 0x66151C: write_record(THD*, st_table*, st_copy_info*) (sql_insert.cc:1606) ==8580== by 0x6659FC: mysql_insert(THD*, TABLE_LIST*, List&, List >&, List&, List&, enum_duplicates, bool) (sql_insert.cc:835) ==8580== by 0x5F3D0C: mysql_execute_command(THD*) (sql_parse.cc:3198) ==8580== by 0x5F89AD: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5986) ==8580== by 0x5F9845: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1233) ==8580== by 0x5FA195: do_command(THD*) (sql_parse.cc:874) ==8580== by 0x5ECAD5: handle_one_connection (sql_connect.cc:1134) ==8580== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==8580== by 0x59AE4CC: clone (in /lib64/libc-2.5.so) ==8580== Uninitialised value was created by a heap allocation ==8580== at 0x4C22F5C: malloc (vg_replace_malloc.c:195) ==8580== by 0x89DB91: my_malloc (my_malloc.c:34) ==8580== by 0x89E400: alloc_root (my_alloc.c:201) ==8580== by 0x6DEA9F: partition_create_handler(handlerton*, st_table_share*, st_mem_root*) (sql_list.h:39) ==8580== by 0x6D4257: get_new_handler(st_table_share*, st_mem_root*, handlerton*) (handler.cc:248) ==8580== by 0x63365D: open_table_from_share(THD*, st_table_share*, char const*, unsigned int, unsigned int, unsigned int, st_table*, bool) (table.cc:1696) ==8580== by 0x62D7F7: open_unireg_entry(THD*, st_table*, TABLE_LIST*, char const*, char*, unsigned int, st_mem_root*, unsigned int) (sql_base.cc:3926) ==8580== by 0x62E63E: open_table(THD*, TABLE_LIST*, st_mem_root*, bool*, unsigned int) (sql_base.cc:2923) ==8580== by 0x62F4C6: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int) (sql_base.cc:4599) ==8580== by 0x62F6CF: open_and_lock_tables_derived(THD*, TABLE_LIST*, bool) (sql_base.cc:5017) ==8580== by 0x664B14: mysql_insert(THD*, TABLE_LIST*, List&, List >&, List&, List&, enum_duplicates, bool) (mysql_priv.h:1564) ==8580== by 0x5F3D0C: mysql_execute_command(THD*) (sql_parse.cc:3198) ==8580== by 0x5F89AD: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5986) ==8580== by 0x5F9845: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1233) ==8580== by 0x5FA195: do_command(THD*) (sql_parse.cc:874) ==8580== by 0x5ECAD5: handle_one_connection (sql_connect.cc:1134) ==8580== by 0x4E2E09D: start_thread (in /lib64/libpthread-2.5.so) ==8580== by 0x59AE4CC: clone (in /lib64/libc-2.5.so) ==8580== --8580-- --8580-- used_suppression: 2 dl-hack3 ==8580== ==8580== ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 2 from 2) sbester@box2:~/big/mysql/5.1/mysql-advanced-gpl-5.1.47-linux-x86_64-glibc23>