*** glibc detected *** /usr/sbin/mysqld: malloc(): memory corruption: 0x00002aaad00141d0 *** ======= Backtrace: ========= /lib/libc.so.6[0x2ac3258b5aad] /lib/libc.so.6[0x2ac3258b7d36] /lib/libc.so.6(__libc_malloc+0x7d)[0x2ac3258b933d] /usr/sbin/mysqld(my_malloc+0x32)[0x7a4432] /usr/sbin/mysqld(init_alloc_root+0x5d)[0x7a4fed] /usr/sbin/mysqld(_Z14init_sql_allocP11st_mem_rootjj+0x9)[0x52e979] /usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjj+0x34)[0x59c114] /usr/sbin/mysqld(_Z20open_and_lock_tablesP3THDP10TABLE_LIST+0x59)[0x59c5f9] /usr/sbin/mysqld(_Z12mysql_insertP3THDP10TABLE_LISTR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb+0xd0)[0x5c7c30] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1c72)[0x5788b2] /usr/sbin/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x19a)[0x57c10a] /usr/sbin/mysqld(_ZN15Query_log_event10exec_eventEP17st_relay_log_infoPKcj+0x329)[0x5e6589] /usr/sbin/mysqld(handle_slave_sql+0x58f)[0x6486cf] /lib/libpthread.so.0[0x2ac324c5b047] /lib/libc.so.6(clone+0x6d)[0x2ac32590928d] ======= Memory map: ======== 00400000-009da000 r-xp 00000000 08:03 1654654 /usr/sbin/mysqld 00bd9000-00bda000 r--p 005d9000 08:03 1654654 /usr/sbin/mysqld 00bda000-00c45000 rw-p 005da000 08:03 1654654 /usr/sbin/mysqld 00c45000-01a62000 rw-p 00c45000 00:00 0 [heap] 40000000-40001000 ---p 40000000 00:00 0 40001000-40801000 rw-p 40001000 00:00 0 40801000-40802000 ---p 40801000 00:00 0 40802000-41002000 rw-p 40802000 00:00 0 41002000-41003000 ---p 41002000 00:00 0 41003000-41803000 rw-p 41003000 00:00 0 41803000-41804000 ---p 41803000 00:00 0 41804000-42004000 rw-p 41804000 00:00 0 42004000-42005000 ---p 42004000 00:00 0 42005000-42025000 rw-p 42005000 00:00 0 42025000-42026000 ---p 42025000 00:00 0 42026000-42046000 rw-p 42026000 00:00 0 42046000-42047000 ---p 42046000 00:00 0 42047000-42067000 rw-p 42047000 00:00 0 42067000-42068000 ---p 42067000 00:00 0 42068000-42088000 rw-p 42068000 00:00 0 42088000-42089000 ---p 42088000 00:00 0 42089000-420a9000 rw-p 42089000 00:00 0 420a9000-420aa000 ---p 420a9000 00:00 0 420aa000-420ca000 rw-p 420aa000 00:00 0 420ca000-420cb000 ---p 420ca000 00:00 0 420cb000-420eb000 rw-p 420cb000 00:00 0 420eb000-420ec000 ---p 420eb000 00:00 0 420ec000-4210c000 rw-p 420ec000 00:00 0 4210c000-4210d000 ---p 4210c000 00:00 0 4210d000-4212d000 rw-p 4210d000 00:00 0 4212d000-4212e000 ---p 4212d000 00:00 0 4212e000-4214e000 rw-p 4212e000 00:00 0 4214e000-4214f000 ---p 4214e000 00:00 0 4214f000-4216f000 rw-p 4214f000 00:00 0 2aaaaaaab000-2aaaaaaac000 rw-p 2aaaaaaab000 00:00 0 2aaaaaab5000-2aaaaaabc000 r-xp 00000000 08:03 1523105 /lib64/libnss_compat-2.6.1.so 2aaaaaabc000-2aaaaacbb000 ---p 00007000 08:03 1523105 /lib64/libnss_compat-2.6.1.so 2aaaaacbb000-2aaaaacbc000 r--p 00006000 08:03 1523105 /lib64/libnss_compat-2.6.1.so 2aaaaacbc000-2aaaaacbd000 rw-p 00007000 08:03 1523105 /lib64/libnss_compat-2.6.1.so 2aaaaacc3000-2aaaaaccc000 r-xp 00000000 08:03 1523103 /lib64/libnss_nis-2.6.1.so 2aaaaaccc000-2aaaaaecc000 ---p 00009000 08:03 1523103 /lib64/libnss_nis-2.6.1.so 2aaaaaecc000-2aaaaaecd000 r--p 00009000 08:03 1523103 /lib64/libnss_nis-2.6.1.so 2aaaaaecd000-2aaaaaece000 rw-p 0000a000 08:03 1523103 /lib64/libnss_nis-2.6.1.so 2aaaaaece000-2aaaaaed8000 r-xp 00000000 08:03 1522987 /lib64/libnss_files-2.6.1.so 2aaaaaed8000-2aaaab0d7000 ---p 0000a000 08:03 1522987 /lib64/libnss_files-2.6.1.so 2aaaab0d7000-2aaaab0d8000 r--p 00009000 08:03 1522987 /lib64/libnss_files-2.6.1.so 2aaaab0d8000-2aaaab0d9000 rw-p 0000a000 08:03 1522987 /lib64/libnss_files-2.6.1.so 2aaaab0d9000-2aaacfd85000 rw-p 2aaaab0d9000 00:00 0 2aaacfd85000-2aaacfd89000 r-xp 00000000 08:03 1522985 /lib64/libnss_dns-2.6.1.so 2aaacfd89000-2aaacff88000 ---p 00004000 08:03 1522985 /lib64/libnss_dns-2.6.1.so 2aaacff88000-2aaacff89000 r--p 00003000 08:03 1522985 /lib64/libnss_dns-2.6.1.so 2aaacff89000-2aaacff8a000 rw-p 00004000 08:03 1522985 /lib64/libnss_dns-2.6.1.so 2aaad0000000-2aaad182c000 rw-p 2aaad0000000 00:00 0 2aaad182c000-2aaad4000000 ---p 2aaad182c000 00:00 0 2aaad4000000-2aaad4010000 r-xp 00000000 08:03 1522973 /lib64/libresolv-2.6.1.so 2aaad4010000-2aaad4210000 ---p 00010000 08:03 1522973 /lib64/libresolv-2.6.1.so 2aaad4210000-2aaad4211000 r--p 00010000 08:03 1522973 /lib64/libresolv-2.6.1.so 2aaad4211000-2aaad4212000 rw-p 00011000 08:03 1522973 /lib64/libresolv-2.6.1.so 2aaad4212000-2aaad4214000 rw-p 2aaad4212000 00:00 0 2ac324150000-2ac32416b000 r-xp 00000000 08:03 1523124 /lib64/ld-2.6.1.so 2ac32416b000-2ac32416c000 rw-p 2ac32416b000 00:00 0 2ac324172000-2ac324173000 rw-p 2ac324172000 00:00 0 2ac32436a000-2ac32436b000 r--p 0001a000 08:03 1523124 /lib64/ld-2.6.1.so 2ac32436b000-2ac32436c000 rw-p 0001b000 08:03 1523124 /lib64/ld-2.6.1.so 2ac32436c000-2ac324374000 r-xp 00000000 08:03 1522989 /lib64/librt-2.6.1.so 2ac324374000-2ac324573000 ---p 00008000 08:03 1522989 /lib64/librt-2.6.1.so 2ac324573000-2ac324574000 r--p 00007000 08:03 1522989 /lib64/librt-2.6.1.so 2ac324574000-2ac324575000 rw-p 00008000 08:03 1522989 /lib64/librt-2.6.1.so 2ac324575000-2ac324589000 r-xp 00000000 08:03 935234 /lib64/libz.so.1.2.3 2ac324589000-2ac324688000 ---p 00014000 08:03 935234 /lib64/libz.so.1.2.3 2ac324688000-2ac324689000 rw-p 00013000 08:03 935234 /lib64/libz.so.1.2.3 2ac324689000-2ac32468b000 r-xp 00000000 08:03 1522728 /lib64/libdl-2.6.1.so 2ac32468b000-2ac32488b000 ---p 00002000 08:03 1522728 /lib64/libdl-2.6.1.so 2ac32488b000-2ac32488c000 r--p 00002000 08:03 1522728 /lib64/libdl-2.6.1.so 2ac32488c000-2ac32488d000 rw-p 00003000 08:03 1522728 /lib64/libdl-2.6.1.so 2ac32488d000-2ac32488e000 rw-p 2ac32488d000 00:00 0 2ac32488e000-2ac3248d2000 r-xp 00000000 08:03 1211858 /usr/lib64/libssl.so.0.9.8 2ac3248d2000-2ac3249d2000 ---p 00044000 08:03 1211858 /usr/lib64/libssl.so.0.9.8 2ac3249d2000-2ac3249d9000 rw-p 00044000 08:03 1211858 /usr/lib64/libssl.so.0.9.8 2ac3249d9000-2ac324b2e000 r-xp 00000000 08:03 1211853 /usr/lib64/libcrypto.so.0.9.8 2ac324b2e000-2ac324c2e000 ---p 00155000 08:03 1211853 /usr/lib64/libcrypto.so.0.9.8 2ac324c2e000-2ac324c51000 rw-p 00155000 08:03 1211853 /usr/lib64/libcrypto.so.0.9.8 2ac324c51000-2ac324c55000 rw-p 2ac324c51000 00:00 0 2ac324c55000-2ac324c6a000 r-xp 00000000 08:03 1522977 /lib64/libpthread-2.6.1.so 2ac324c6a000-2ac324e6a000 ---p 00015000 08:03 1522977 /lib64/libpthread-2.6.1.so 2ac324e6a000-2ac324e6b000 r--p 00015000 08:03 1522977 /lib64/libpthread-2.6.1.so 2ac324e6b000-2ac324e6c000 rw-p 00016000 08:03 1522977 /lib64/libpthread-2.6.1.so 2ac324e6c000-2ac324e71000 rw-p 2ac324e6c000 00:00 0 2ac324e71000-2ac324e76000 r-xp 00000000 08:03 1522775 /lib64/libcrypt-2.6.1.so 2ac324e76000-2ac325075000 ---p 00005000 08:03 1522775 /lib64/libcrypt-2.6.1.so 2ac325075000-2ac325076000 r--p 00004000 08:03 1522775 /lib64/libcrypt-2.6.1.so 2ac325076000-2ac325077000 rw-p 00005000 08:03 1522775 /lib64/libcrypt-2.6.1.so 2ac325077000-2ac3250a5000 rw-p 2ac325077000 00:00 0 2ac3250a5000-2ac3250b9000 r-xp 00000000 08:03 1523042 /lib64/libnsl-2.6.1.so 2ac3250b9000-2ac3252b8000 ---p 00014000 08:03 1523042 /lib64/libnsl-2.6.1.so 2ac3252b8000-2ac3252b9000 r--p 00013000 08:03 1523042 /lib64/libnsl-2.6.1.so 2ac3252b9000-2ac3252ba000 rw-p 00014000 08:03 1523042 /lib64/libnsl-2.6.1.so 2ac3252ba000-2ac3252bc000 rw-p 2ac3252ba000 00:00 0 2ac3252bc000-2ac32539f000 r-xp 00000000 08:03 1247199 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 2ac32539f000-2ac32549f000 ---p 000e3000 08:03 1247199 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 2ac32549f000-2ac3254a5000 r--p 000e3000 08:03 1247199 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 2ac3254a5000-2ac3254a8000 rw-p 000e9000 08:03 1247199 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 2ac3254a8000-2ac3254bb000 rw-p 2ac3254a8000 00:00 0 2ac3254bb000-2ac32553b000 r-xp 00000000 08:03 1522706 /lib64/libm-2.6.1.so 2ac32553b000-2ac32573a000 ---p 00080000 08:03 1522706 /lib64/libm-2.6.1.so 2ac32573a000-2ac32573b000 r--p 0007f000 08:03 1522706 /lib64/libm-2.6.1.so 2ac32573b000-2ac32573c000 rw-p 00080000 08:03 1522706 /lib64/libm-2.6.1.so 2ac32573c000-2ac325748000 r-xp 00000000 08:03 1165546 /lib64/libgcc_s.so.1 2ac325748000-2ac325848000 ---p 0000c000 08:03 1165546 /lib64/libgcc_s.so.1 2ac325848000-2ac325849000 rw-p 0000c000 08:03 1165546 /lib64/libgcc_s.so.1 2ac325849000-2ac32597f000 r-xp 00000000 08:03 1523118 /lib64/libc-2.6.1.so 2ac32597f000-2ac325b7e000 ---p 00136000 08:03 1523118 /lib64/libc-2.6.1.so 2ac325b7e000-2ac325b82000 r--p 00135000 08:03 1523118 /lib64/libc-2.6.1.so 2ac325b82000-2ac325b83000 rw-p 00139000 08:03 1523118 /lib64/libc-2.6.1.so 2ac325b83000-2ac325b8a000 rw-p 2ac325b83000 00:00 0 7fff86944000-7fff8695a000 rw-p 7fff86944000 00:00 0 [stack] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] 081006 15:35:20 - mysqld got signal 6 ; 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=536870912 read_buffer_size=8388608 max_used_connections=5 max_connections=1000 threads_connected=4 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 74252288 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd=0x121a1d0 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... Cannot determine thread, fp=0x4216e0e8, backtrace may not be correct. Stack range sanity check OK, backtrace follows: (nil) New value of fp=0x121a1d0 failed sanity check, terminating stack trace! Please read http://dev.mysql.com/doc/mysql/en/using-stack-trace.html and follow instructions on how to resolve the stack trace. Resolved stack trace is much more helpful in diagnosing the problem, so please do resolve it Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x2aaad00140cd is invalid pointer thd->thread_id=1773 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. Number of processes running now: 0