[sbester@box1 5.1]$ valgrind --tool=memcheck --leak-check=full --db-attach=no -v --show-reachable=yes ./sql/mysqld --no-defaults --basedir=./ --datadir=/home/sbester/mysql/5.1/mysql-5.1.38-linux-i686/data --language=./sql/share/english/ --skip-grant-tables --skip-name-resolve --server-id=2 --port=3310 --socket=sock.sock ==1547== Memcheck, a memory error detector. ==1547== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==1547== Using LibVEX rev 1658, a library for dynamic binary translation. ==1547== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==1547== Using valgrind-3.2.1, a dynamic binary instrumentation framework. ==1547== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==1547== --1547-- Command line --1547-- ./sql/mysqld --1547-- --no-defaults --1547-- --basedir=./ --1547-- --datadir=/home/sbester/mysql/5.1/mysql-5.1.38-linux-i686/data --1547-- --language=./sql/share/english/ --1547-- --skip-grant-tables --1547-- --skip-name-resolve --1547-- --server-id=2 --1547-- --port=3310 --1547-- --socket=sock.sock --1547-- Startup, with flags: --1547-- --tool=memcheck --1547-- --leak-check=full --1547-- --db-attach=no --1547-- -v --1547-- --show-reachable=yes --1547-- Contents of /proc/version: --1547-- Linux version 2.6.18-1.2798.fc6xen (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 15:11:19 EDT 2006 --1547-- Arch and hwcaps: X86, x86-sse1-sse2 --1547-- Valgrind library directory: /usr/lib/valgrind --1547-- Reading syms from /lib/ld-2.5.so (0x2C3000) --1547-- Reading syms from /home/sbester/build/bzr/5.1/sql/mysqld (0x8048000) --1547-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000) --1547-- object doesn't have a dynamic symbol table --1547-- Reading suppressions file: /usr/lib/valgrind/default.supp --1547-- REDIR: 0x2D80F0 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index) --1547-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000) --1547-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000) ==1547== WARNING: new redirection conflicts with existing -- ignoring it --1547-- new: 0x002D80F0 (index ) R-> 0x040060C0 index --1547-- REDIR: 0x2D8290 (strlen) redirected to 0x4006290 (strlen) --1547-- Reading syms from /lib/libpthread-2.5.so (0x484000) --1547-- Reading syms from /usr/lib/libz.so.1.2.3 (0x12A000) --1547-- object doesn't have a symbol table --1547-- Reading syms from /lib/libdl-2.5.so (0xDD5000) --1547-- Reading syms from /lib/libcrypt-2.5.so (0x50D8000) --1547-- Reading syms from /lib/libnsl-2.5.so (0x2E0000) --1547-- Reading syms from /lib/libm-2.5.so (0x401A000) --1547-- Reading syms from /lib/libc-2.5.so (0x309000) --1547-- REDIR: 0x3764E0 (memset) redirected to 0x4006580 (memset) --1547-- REDIR: 0x3769D0 (memcpy) redirected to 0x4006C60 (memcpy) --1547-- REDIR: 0x375640 (rindex) redirected to 0x4005FA0 (rindex) --1547-- REDIR: 0x375350 (strnlen) redirected to 0x4006240 (strnlen) --1547-- REDIR: 0x376470 (memmove) redirected to 0x40065B0 (memmove) --1547-- REDIR: 0x3709B0 (calloc) redirected to 0x40046A8 (calloc) --1547-- REDIR: 0x370CB0 (malloc) redirected to 0x400537B (malloc) --1547-- Reading syms from /lib/libgcc_s-4.1.1-20061011.so.1 (0x4ECE000) --1547-- object doesn't have a symbol table --1547-- REDIR: 0x3752A0 (strlen) redirected to 0x4006270 (strlen) --1547-- REDIR: 0x375490 (strncmp) redirected to 0x40062D0 (strncmp) --1547-- REDIR: 0x3766D0 (stpcpy) redirected to 0x4006910 (stpcpy) --1547-- REDIR: 0x3724C0 (free) redirected to 0x4004F95 (free) --1547-- REDIR: 0x374DB0 (strcpy) redirected to 0x40069F0 (strcpy) --1547-- REDIR: 0x374D40 (strcmp) redirected to 0x4006340 (strcmp) --1547-- REDIR: 0x374BD0 (index) redirected to 0x4006090 (index) --1547-- REDIR: 0x377280 (rawmemchr) redirected to 0x4006640 (rawmemchr) --1547-- REDIR: 0x374A20 (strcat) redirected to 0x4006660 (strcat) 090707 21:45:28 [Note] Plugin 'FEDERATED' is disabled. InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 090707 21:45:33 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... 090707 21:45:37 InnoDB: Started; log sequence number 0 1917792137 090707 21:45:41 [Note] ./sql/mysqld: ready for connections. Version: '5.1.39-debug' socket: 'sock.sock' port: 3310 Source distribution --1547-- memcheck GC: 1024 nodes, 1024 survivors (100.0%) --1547-- memcheck GC: increase table size to 2048 ==1547== Thread 10: ==1547== Invalid read of size 4 ==1547== at 0x8443D62: mysql_client_binlog_statement(THD*) (sql_binlog.cc:198) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== by 0x8271D2E: do_command(THD*) (sql_parse.cc:854) ==1547== by 0x825E499: handle_one_connection (sql_connect.cc:1127) ==1547== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==1547== by 0x3D606D: clone (in /lib/libc-2.5.so) ==1547== Address 0x7F4A927 is 2 bytes after a block of size 133 alloc'd ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x858B95A: _mymalloc (safemalloc.c:137) ==1547== by 0x84439F4: mysql_client_binlog_statement(THD*) (sql_binlog.cc:75) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== by 0x8271D2E: do_command(THD*) (sql_parse.cc:854) ==1547== by 0x825E499: handle_one_connection (sql_connect.cc:1127) ==1547== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==1547== by 0x3D606D: clone (in /lib/libc-2.5.so) ==1547== ==1547== Conditional jump or move depends on uninitialised value(s) ==1547== at 0x85B7F0F: longlong10_to_str (in /home/sbester/build/bzr/5.1/sql/mysqld) ==1547== ==1547== Conditional jump or move depends on uninitialised value(s) ==1547== at 0x85B7F22: longlong10_to_str (in /home/sbester/build/bzr/5.1/sql/mysqld) ==1547== ==1547== Conditional jump or move depends on uninitialised value(s) ==1547== at 0x85B7F29: longlong10_to_str (in /home/sbester/build/bzr/5.1/sql/mysqld) --1547-- REDIR: 0x375590 (strncpy) redirected to 0x4006DE0 (strncpy) ==1547== ==1547== Invalid read of size 1 ==1547== at 0x821C28C: Field_varstring::unpack(unsigned char*, unsigned char const*, unsigned, bool) (field.cc:7347) ==1547== by 0x8358CE6: unpack_row(Relay_log_info const*, st_table*, unsigned, unsigned char const*, st_bitmap const*, unsigned char const**, unsigned long*) (rpl_record.cc:242) ==1547== by 0x8358367: Rows_log_event::unpack_current_row(Relay_log_info const*) (log_event.h:3549) ==1547== by 0x8344ADA: Rows_log_event::find_row(Relay_log_info const*) (log_event.cc:8746) ==1547== by 0x83453A1: Update_rows_log_event::do_exec_row(Relay_log_info const*) (log_event.cc:9182) ==1547== by 0x834F963: Rows_log_event::do_apply_event(Relay_log_info const*) (log_event.cc:7380) ==1547== by 0x83F2636: Log_event::apply_event(Relay_log_info const*) (log_event.h:1059) ==1547== by 0x83EC214: apply_event_and_update_pos(Log_event*, THD*, Relay_log_info*, bool) (slave.cc:2164) ==1547== by 0x8443DAE: mysql_client_binlog_statement(THD*) (sql_binlog.cc:212) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== Address 0x7FCC9B8 is 0 bytes after a block of size 392 alloc'd ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x858B95A: _mymalloc (safemalloc.c:137) ==1547== by 0x83483EE: Rows_log_event::Rows_log_event(char const*, unsigned, Log_event_type, Format_description_log_event const*) (log_event.cc:7048) ==1547== by 0x83484C3: Update_rows_log_event::Update_rows_log_event(char const*, unsigned, Format_description_log_event const*) (log_event.cc:9142) ==1547== by 0x8354F2A: Log_event::read_log_event(char const*, unsigned, char const**, Format_description_log_event const*) (log_event.cc:1278) ==1547== by 0x8443C8F: mysql_client_binlog_statement(THD*) (sql_binlog.cc:174) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== by 0x8271D2E: do_command(THD*) (sql_parse.cc:854) ==1547== by 0x825E499: handle_one_connection (sql_connect.cc:1127) ==1547== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==1547== ==1547== Invalid read of size 4 ==1547== at 0x8358CBC: unpack_row(Relay_log_info const*, st_table*, unsigned, unsigned char const*, st_bitmap const*, unsigned char const**, unsigned long*) (rpl_record.cc:242) ==1547== by 0x8358367: Rows_log_event::unpack_current_row(Relay_log_info const*) (log_event.h:3549) ==1547== by 0x8344ADA: Rows_log_event::find_row(Relay_log_info const*) (log_event.cc:8746) ==1547== by 0x83453A1: Update_rows_log_event::do_exec_row(Relay_log_info const*) (log_event.cc:9182) ==1547== by 0x834F963: Rows_log_event::do_apply_event(Relay_log_info const*) (log_event.cc:7380) ==1547== by 0x83F2636: Log_event::apply_event(Relay_log_info const*) (log_event.h:1059) ==1547== by 0x83EC214: apply_event_and_update_pos(Log_event*, THD*, Relay_log_info*, bool) (slave.cc:2164) ==1547== by 0x8443DAE: mysql_client_binlog_statement(THD*) (sql_binlog.cc:212) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== by 0x8271D2E: do_command(THD*) (sql_parse.cc:854) ==1547== Address 0xEC is not stack'd, malloc'd or (recently) free'd 090707 21:46:01 - mysqld got signal 11 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=8384512 read_buffer_size=131072 max_used_connections=1 max_threads=151 threads_connected=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 337727 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x65119c0 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0x4ea53b8 thread_stack 0x30000 ./sql/mysqld(my_print_stacktrace+0x26)[0x85a66e3] ./sql/mysqld(handle_segfault+0x2ac)[0x825567a] /lib/libpthread.so.0[0x491218] ./sql/mysqld(_ZN14Rows_log_event18unpack_current_rowEPK14Relay_log_info+0xbe)[0x8358368] ./sql/mysqld(_ZN14Rows_log_event8find_rowEPK14Relay_log_info+0xbb)[0x8344adb] ./sql/mysqld(_ZN21Update_rows_log_event11do_exec_rowEPK14Relay_log_info+0x48)[0x83453a2] ./sql/mysqld(_ZN14Rows_log_event14do_apply_eventEPK14Relay_log_info+0x7a8)[0x834f964] ./sql/mysqld(_ZN9Log_event11apply_eventEPK14Relay_log_info+0x1f)[0x83f2637] ./sql/mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14Relay_log_infob+0x2d3)[0x83ec215] ./sql/mysqld(_Z29mysql_client_binlog_statementP3THD+0x583)[0x8443daf] ./sql/mysqld(_Z21mysql_execute_commandP3THD+0x9452)[0x826ee64] ./sql/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x234)[0x826f500] ./sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xabf)[0x8270b43] ./sql/mysqld(_Z10do_commandP3THD+0x25d)[0x8271d2f] ./sql/mysqld(handle_one_connection+0x140)[0x825e49a] /lib/libpthread.so.0[0x4893db] /lib/libc.so.6(clone+0x5e)[0x3d606e] Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x7cf5a08 is an invalid pointer thd->thread_id=1 thd->killed=NOT_KILLED The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. ==1547== ==1547== ERROR SUMMARY: 95483 errors from 6 contexts (suppressed: 21 from 1) ==1547== ==1547== 1 errors in context 1 of 6: ==1547== Invalid read of size 4 ==1547== at 0x8358CBC: unpack_row(Relay_log_info const*, st_table*, unsigned, unsigned char const*, st_bitmap const*, unsigned char const**, unsigned long*) (rpl_record.cc:242) ==1547== by 0x8358367: Rows_log_event::unpack_current_row(Relay_log_info const*) (log_event.h:3549) ==1547== by 0x8344ADA: Rows_log_event::find_row(Relay_log_info const*) (log_event.cc:8746) ==1547== by 0x83453A1: Update_rows_log_event::do_exec_row(Relay_log_info const*) (log_event.cc:9182) ==1547== by 0x834F963: Rows_log_event::do_apply_event(Relay_log_info const*) (log_event.cc:7380) ==1547== by 0x83F2636: Log_event::apply_event(Relay_log_info const*) (log_event.h:1059) ==1547== by 0x83EC214: apply_event_and_update_pos(Log_event*, THD*, Relay_log_info*, bool) (slave.cc:2164) ==1547== by 0x8443DAE: mysql_client_binlog_statement(THD*) (sql_binlog.cc:212) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== by 0x8271D2E: do_command(THD*) (sql_parse.cc:854) ==1547== Address 0xEC is not stack'd, malloc'd or (recently) free'd ==1547== ==1547== 1 errors in context 2 of 6: ==1547== Invalid read of size 4 ==1547== at 0x8443D62: mysql_client_binlog_statement(THD*) (sql_binlog.cc:198) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== by 0x8271D2E: do_command(THD*) (sql_parse.cc:854) ==1547== by 0x825E499: handle_one_connection (sql_connect.cc:1127) ==1547== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==1547== by 0x3D606D: clone (in /lib/libc-2.5.so) ==1547== Address 0x7F4A927 is 2 bytes after a block of size 133 alloc'd ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x858B95A: _mymalloc (safemalloc.c:137) ==1547== by 0x84439F4: mysql_client_binlog_statement(THD*) (sql_binlog.cc:75) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== by 0x8271D2E: do_command(THD*) (sql_parse.cc:854) ==1547== by 0x825E499: handle_one_connection (sql_connect.cc:1127) ==1547== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) ==1547== by 0x3D606D: clone (in /lib/libc-2.5.so) ==1547== ==1547== 12 errors in context 3 of 6: ==1547== Conditional jump or move depends on uninitialised value(s) ==1547== at 0x85B7F29: longlong10_to_str (in /home/sbester/build/bzr/5.1/sql/mysqld) ==1547== ==1547== 12 errors in context 4 of 6: ==1547== Conditional jump or move depends on uninitialised value(s) ==1547== at 0x85B7F22: longlong10_to_str (in /home/sbester/build/bzr/5.1/sql/mysqld) ==1547== ==1547== 12 errors in context 5 of 6: ==1547== Conditional jump or move depends on uninitialised value(s) ==1547== at 0x85B7F0F: longlong10_to_str (in /home/sbester/build/bzr/5.1/sql/mysqld) ==1547== ==1547== 95445 errors in context 6 of 6: ==1547== Invalid read of size 1 ==1547== at 0x821C28C: Field_varstring::unpack(unsigned char*, unsigned char const*, unsigned, bool) (field.cc:7347) ==1547== by 0x8358CE6: unpack_row(Relay_log_info const*, st_table*, unsigned, unsigned char const*, st_bitmap const*, unsigned char const**, unsigned long*) (rpl_record.cc:242) ==1547== by 0x8358367: Rows_log_event::unpack_current_row(Relay_log_info const*) (log_event.h:3549) ==1547== by 0x8344ADA: Rows_log_event::find_row(Relay_log_info const*) (log_event.cc:8746) ==1547== by 0x83453A1: Update_rows_log_event::do_exec_row(Relay_log_info const*) (log_event.cc:9182) ==1547== by 0x834F963: Rows_log_event::do_apply_event(Relay_log_info const*) (log_event.cc:7380) ==1547== by 0x83F2636: Log_event::apply_event(Relay_log_info const*) (log_event.h:1059) ==1547== by 0x83EC214: apply_event_and_update_pos(Log_event*, THD*, Relay_log_info*, bool) (slave.cc:2164) ==1547== by 0x8443DAE: mysql_client_binlog_statement(THD*) (sql_binlog.cc:212) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== Address 0x7FCC9B8 is 0 bytes after a block of size 392 alloc'd ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x858B95A: _mymalloc (safemalloc.c:137) ==1547== by 0x83483EE: Rows_log_event::Rows_log_event(char const*, unsigned, Log_event_type, Format_description_log_event const*) (log_event.cc:7048) ==1547== by 0x83484C3: Update_rows_log_event::Update_rows_log_event(char const*, unsigned, Format_description_log_event const*) (log_event.cc:9142) ==1547== by 0x8354F2A: Log_event::read_log_event(char const*, unsigned, char const**, Format_description_log_event const*) (log_event.cc:1278) ==1547== by 0x8443C8F: mysql_client_binlog_statement(THD*) (sql_binlog.cc:174) ==1547== by 0x826EE63: mysql_execute_command(THD*) (sql_parse.cc:4845) ==1547== by 0x826F4FF: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5931) ==1547== by 0x8270B42: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1213) ==1547== by 0x8271D2E: do_command(THD*) (sql_parse.cc:854) ==1547== by 0x825E499: handle_one_connection (sql_connect.cc:1127) ==1547== by 0x4893DA: start_thread (in /lib/libpthread-2.5.so) --1547-- --1547-- supp: 21 Fedora-Core-6-hack3-ld25 ==1547== ==1547== IN SUMMARY: 95483 errors from 6 contexts (suppressed: 21 from 1) ==1547== ==1547== malloc/free: in use at exit: 27,617,079 bytes in 32,028 blocks. ==1547== malloc/free: 32,498 allocs, 470 frees, 31,625,484 bytes allocated. ==1547== ==1547== searching for pointers to 32,028 not-freed blocks. ==1547== checked 103,830,776 bytes. ==1547== ==1547== Thread 1: ==1547== ==1547== 19 bytes in 1 blocks are still reachable in loss record 1 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x2CD7E4: _dl_new_object (in /lib/ld-2.5.so) ==1547== by 0x2C90E0: _dl_map_object_from_fd (in /lib/ld-2.5.so) ==1547== by 0x2CB403: _dl_map_object (in /lib/ld-2.5.so) ==1547== by 0x2D4668: dl_open_worker (in /lib/ld-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x2D4191: _dl_open (in /lib/ld-2.5.so) ==1547== by 0x40B3A1: do_dlopen (in /lib/libc-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x40B554: __libc_dlopen_mode (in /lib/libc-2.5.so) ==1547== by 0x491A46: pthread_cancel_init (in /lib/libpthread-2.5.so) ==1547== by 0x491B70: _Unwind_ForcedUnwind (in /lib/libpthread-2.5.so) ==1547== ==1547== ==1547== 19 bytes in 1 blocks are still reachable in loss record 2 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x2CB953: _dl_map_object (in /lib/ld-2.5.so) ==1547== by 0x2D4668: dl_open_worker (in /lib/ld-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x2D4191: _dl_open (in /lib/ld-2.5.so) ==1547== by 0x40B3A1: do_dlopen (in /lib/libc-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x40B554: __libc_dlopen_mode (in /lib/libc-2.5.so) ==1547== by 0x491A46: pthread_cancel_init (in /lib/libpthread-2.5.so) ==1547== by 0x491B70: _Unwind_ForcedUnwind (in /lib/libpthread-2.5.so) ==1547== by 0x48F640: __pthread_unwind (in /lib/libpthread-2.5.so) ==1547== by 0x48A31F: pthread_exit (in /lib/libpthread-2.5.so) ==1547== ==1547== ==1547== 28 bytes in 1 blocks are still reachable in loss record 3 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x2CFA38: _dl_map_object_deps (in /lib/ld-2.5.so) ==1547== by 0x2D46C4: dl_open_worker (in /lib/ld-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x2D4191: _dl_open (in /lib/ld-2.5.so) ==1547== by 0x40B3A1: do_dlopen (in /lib/libc-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x40B554: __libc_dlopen_mode (in /lib/libc-2.5.so) ==1547== by 0x491A46: pthread_cancel_init (in /lib/libpthread-2.5.so) ==1547== by 0x491B70: _Unwind_ForcedUnwind (in /lib/libpthread-2.5.so) ==1547== by 0x48F640: __pthread_unwind (in /lib/libpthread-2.5.so) ==1547== by 0x48A31F: pthread_exit (in /lib/libpthread-2.5.so) ==1547== ==1547== ==1547== 156 bytes in 3 blocks are still reachable in loss record 4 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x85AF64C: DbugMalloc (dbug.c:2016) ==1547== by 0x85AD0C2: code_state (dbug.c:345) ==1547== by 0x85AE40F: _db_enter_ (dbug.c:967) ==1547== by 0x857BA9E: my_init (my_init.c:100) ==1547== by 0x8258E05: main (mysqld.cc:4234) ==1547== ==1547== ==1547== 224 bytes in 1 blocks are still reachable in loss record 5 of 15 ==1547== at 0x400473F: calloc (vg_replace_malloc.c:279) ==1547== by 0x2D2353: _dl_check_map_versions (in /lib/ld-2.5.so) ==1547== by 0x2D4980: dl_open_worker (in /lib/ld-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x2D4191: _dl_open (in /lib/ld-2.5.so) ==1547== by 0x40B3A1: do_dlopen (in /lib/libc-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x40B554: __libc_dlopen_mode (in /lib/libc-2.5.so) ==1547== by 0x491A46: pthread_cancel_init (in /lib/libpthread-2.5.so) ==1547== by 0x491B70: _Unwind_ForcedUnwind (in /lib/libpthread-2.5.so) ==1547== by 0x48F640: __pthread_unwind (in /lib/libpthread-2.5.so) ==1547== by 0x48A31F: pthread_exit (in /lib/libpthread-2.5.so) ==1547== ==1547== ==1547== 516 bytes in 3 blocks are still reachable in loss record 6 of 15 ==1547== at 0x400473F: calloc (vg_replace_malloc.c:279) ==1547== by 0x85AB592: my_thread_init (my_thr_init.c:270) ==1547== by 0x85AB306: my_thread_global_init (my_thr_init.c:161) ==1547== by 0x857BA45: my_init (my_init.c:81) ==1547== by 0x8258E05: main (mysqld.cc:4234) ==1547== ==1547== ==1547== 614 bytes in 1 blocks are still reachable in loss record 7 of 15 ==1547== at 0x400473F: calloc (vg_replace_malloc.c:279) ==1547== by 0x2CD57A: _dl_new_object (in /lib/ld-2.5.so) ==1547== by 0x2C90E0: _dl_map_object_from_fd (in /lib/ld-2.5.so) ==1547== by 0x2CB403: _dl_map_object (in /lib/ld-2.5.so) ==1547== by 0x2D4668: dl_open_worker (in /lib/ld-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x2D4191: _dl_open (in /lib/ld-2.5.so) ==1547== by 0x40B3A1: do_dlopen (in /lib/libc-2.5.so) ==1547== by 0x2D0C05: _dl_catch_error (in /lib/ld-2.5.so) ==1547== by 0x40B554: __libc_dlopen_mode (in /lib/libc-2.5.so) ==1547== by 0x491A46: pthread_cancel_init (in /lib/libpthread-2.5.so) ==1547== by 0x491B70: _Unwind_ForcedUnwind (in /lib/libpthread-2.5.so) ==1547== ==1547== ==1547== 979 bytes in 12 blocks are still reachable in loss record 8 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x85B7B64: my_regex_init (reginit.c:51) ==1547== by 0x825739C: init_common_variables(char const*, int, char**, char const**) (mysqld.cc:3352) ==1547== by 0x8258E50: main (mysqld.cc:4274) ==1547== ==1547== ==1547== 1,360 bytes in 10 blocks are possibly lost in loss record 9 of 15 ==1547== at 0x400473F: calloc (vg_replace_malloc.c:279) ==1547== by 0x2D3AA9: _dl_allocate_tls (in /lib/ld-2.5.so) ==1547== by 0x489AC8: pthread_create@@GLIBC_2.1 (in /lib/libpthread-2.5.so) ==1547== by 0x85AB145: my_thread_global_init (my_thr_init.c:113) ==1547== by 0x857BA45: my_init (my_init.c:81) ==1547== by 0x8258E05: main (mysqld.cc:4234) ==1547== ==1547== ==1547== 1,760 bytes in 5 blocks are still reachable in loss record 10 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x35E356: fdopen@@GLIBC_2.1 (in /lib/libc-2.5.so) ==1547== by 0x84C067A: os_file_create_tmpfile (os0file.c:547) ==1547== by 0x84EB01E: innobase_start_or_create_for_mysql (srv0start.c:1221) ==1547== by 0x847173E: innobase_init(void*) (ha_innodb.cc:1887) ==1547== by 0x838C7E2: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==1547== by 0x8441EE0: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1014) ==1547== by 0x844351D: plugin_init(int*, char**, int) (sql_plugin.cc:1238) ==1547== by 0x825821D: init_server_components() (mysqld.cc:3901) ==1547== by 0x8259049: main (mysqld.cc:4372) ==1547== ==1547== ==1547== 6,951 bytes in 4 blocks are possibly lost in loss record 11 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x858B95A: _mymalloc (safemalloc.c:137) ==1547== by 0x858B19D: alloc_root (my_alloc.c:201) ==1547== by 0x858B834: memdup_root (my_alloc.c:417) ==1547== by 0x8230310: Field::clone(st_mem_root*, st_table*) (field.cc:1816) ==1547== by 0x82C32DD: open_table_from_share(THD*, st_table_share*, char const*, unsigned, unsigned, unsigned, st_table*, bool) (table.cc:1729) ==1547== by 0x82B7381: open_unireg_entry(THD*, st_table*, TABLE_LIST*, char const*, char*, unsigned, st_mem_root*, unsigned) (sql_base.cc:3904) ==1547== by 0x82B9D06: open_table(THD*, TABLE_LIST*, st_mem_root*, bool*, unsigned) (sql_base.cc:2907) ==1547== by 0x82BAC2C: open_tables(THD*, TABLE_LIST**, unsigned*, unsigned) (sql_base.cc:4572) ==1547== by 0x82BB448: open_and_lock_tables_derived(THD*, TABLE_LIST*, bool) (sql_base.cc:4978) ==1547== by 0x8272CCD: simple_open_n_lock_tables(THD*, TABLE_LIST*) (mysql_priv.h:1557) ==1547== by 0x834F4AA: Rows_log_event::do_apply_event(Relay_log_info const*) (log_event.cc:7239) ==1547== ==1547== ==1547== 23,597 bytes in 9 blocks are still reachable in loss record 12 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x858CB77: operator new(unsigned) (my_new.cc:27) ==1547== by 0x8326C22: LOGGER::init_base() (log.cc:896) ==1547== by 0x8258E34: main (mysqld.cc:4248) ==1547== ==1547== ==1547== 36,540 bytes in 9 blocks are still reachable in loss record 13 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x858A9E5: my_once_alloc (my_once.c:61) ==1547== by 0x859FA26: init_state_maps (charset.c:62) ==1547== by 0x85A07C1: init_available_charsets (charset.c:435) ==1547== by 0x85A0CD4: get_charset_by_csname (charset.c:588) ==1547== by 0x82573E0: init_common_variables(char const*, int, char**, char const**) (mysqld.cc:3365) ==1547== by 0x8258E50: main (mysqld.cc:4274) ==1547== ==1547== ==1547== 8,905,366 bytes in 226 blocks are still reachable in loss record 14 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x858B95A: _mymalloc (safemalloc.c:137) ==1547== by 0x827AC19: create_key_cache(char const*, unsigned) (set_var.cc:4059) ==1547== by 0x827D737: get_or_create_key_cache(char const*, unsigned) (set_var.cc:4093) ==1547== by 0x8252BCE: mysql_init_variables() (mysqld.cc:7655) ==1547== by 0x8256E51: init_common_variables(char const*, int, char**, char const**) (mysqld.cc:3189) ==1547== by 0x8258E50: main (mysqld.cc:4274) ==1547== ==1547== ==1547== 18,638,950 bytes in 31,742 blocks are still reachable in loss record 15 of 15 ==1547== at 0x4005400: malloc (vg_replace_malloc.c:149) ==1547== by 0x84FD72A: ut_malloc_low (ut0mem.c:82) ==1547== by 0x84FD8C5: ut_malloc (ut0mem.c:189) ==1547== by 0x84E9A4B: srv_parse_data_file_paths_and_sizes (srv0start.c:256) ==1547== by 0x8471405: innobase_init(void*) (ha_innodb.cc:1761) ==1547== by 0x838C7E2: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435) ==1547== by 0x8441EE0: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1014) ==1547== by 0x844351D: plugin_init(int*, char**, int) (sql_plugin.cc:1238) ==1547== by 0x825821D: init_server_components() (mysqld.cc:3901) ==1547== by 0x8259049: main (mysqld.cc:4372) ==1547== ==1547== LEAK SUMMARY: ==1547== definitely lost: 0 bytes in 0 blocks. ==1547== possibly lost: 8,311 bytes in 14 blocks. ==1547== still reachable: 27,608,768 bytes in 32,014 blocks. ==1547== suppressed: 0 bytes in 0 blocks. --1547-- memcheck: sanity checks: 350 cheap, 15 expensive --1547-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --1547-- memcheck: auxmaps: 0 searches, 0 comparisons --1547-- memcheck: SMs: n_issued = 367 (5872k, 5M) --1547-- memcheck: SMs: n_deissued = 11 (176k, 0M) --1547-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --1547-- memcheck: SMs: max_undefined = 192 (3072k, 3M) --1547-- memcheck: SMs: max_defined = 1456 (23296k, 22M) --1547-- memcheck: SMs: max_non_DSM = 356 (5696k, 5M) --1547-- memcheck: max sec V bit nodes: 1686 (85k, 0M) --1547-- memcheck: set_sec_vbits8 calls: 9873 (new: 1686, updates: 8187) --1547-- memcheck: max shadow mem size: 6085k, 5M --1547-- translate: fast SP updates identified: 49,779 ( 82.5%) --1547-- translate: generic_known SP updates identified: 6,382 ( 10.5%) --1547-- translate: generic_unknown SP updates identified: 4,161 ( 6.8%) --1547-- tt/tc: 91,077 tt lookups requiring 126,791 probes --1547-- tt/tc: 91,077 fast-cache updates, 3 flushes --1547-- transtab: new 29,646 (927,968 -> 13,487,177; ratio 145:10) [0 scs] --1547-- transtab: dumped 0 (0 -> ??) --1547-- transtab: discarded 8 (189 -> ??) --1547-- scheduler: 33,700,596 jumps (bb entries). --1547-- scheduler: 350/96,807 major/minor sched events. --1547-- sanity: 351 cheap, 15 expensive checks. --1547-- exectx: 30,011 lists, 736 contexts (avg 0 per list) --1547-- exectx: 128,472 searches, 127,743 full compares (994 per 1000) --1547-- exectx: 34,620 cmp2, 95,642 cmp4, 0 cmpAll