*** glibc detected *** /usr/sbin/mysqld: malloc(): memory corruption: 0x00007f37cc06c980 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x75df5)[0x7f380441ddf5] /lib64/libc.so.6(+0x7877c)[0x7f380442077c] /lib64/libc.so.6(__libc_malloc+0x70)[0x7f3804422820] /usr/sbin/mysqld(my_malloc+0x32)[0x77c232] /usr/sbin/mysqld(init_dynamic_array2+0x50)[0x765f50] /usr/sbin/mysqld(_Z16lock_table_namesP3THDP10TABLE_LISTS2_mj+0x283)[0x546393] /usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0x8bd)[0x54d03d] /usr/sbin/mysqld(_Z20open_and_lock_tablesP3THDP10TABLE_LISTbjP19Prelocking_strategy+0x47)[0x54d527] /usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P24st_ha_create_informationP10TABLE_LISTP10Alter_infojP8st_orderb+0x1b6)[0x5d6cf6] /usr/sbin/mysqld(_ZN21Alter_table_statement7executeEP3THD+0x4b8)[0x765108] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x188f)[0x57c14f] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x150)[0x580e90] /usr/sbin/mysqld(_ZN15Query_log_event14do_apply_eventEPK14Relay_log_infoPKcj+0xd44)[0x703fb4] /usr/sbin/mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14Relay_log_info+0x11d)[0x5285ad] /usr/sbin/mysqld(handle_slave_sql+0xe45)[0x529af5] /lib64/libpthread.so.0(+0x7c5c)[0x7f380570ec5c] /lib64/libc.so.6(clone+0x6d)[0x7f3804481fcd] ======= Memory map: ======== 00400000-00cbb000 r-xp 00000000 09:03 28836044 /usr/sbin/mysqld 00ebb000-00ebe000 r--p 008bb000 09:03 28836044 /usr/sbin/mysqld 00ebe000-00f5b000 rw-p 008be000 09:03 28836044 /usr/sbin/mysqld 00f5b000-00f87000 rw-p 00000000 00:00 0 015d1000-03ade000 rw-p 00000000 00:00 0 [heap] 7f37c2ffe000-7f37c2fff000 ---p 00000000 00:00 0 7f37c2fff000-7f37c37ff000 rw-p 00000000 00:00 0 7f37c37ff000-7f37c3800000 ---p 00000000 00:00 0 7f37c3800000-7f37c4000000 rw-p 00000000 00:00 0 7f37c4000000-7f37c420c000 rw-p 00000000 00:00 0 7f37c420c000-7f37c8000000 ---p 00000000 00:00 0 7f37c8000000-7f37c8b85000 rw-p 00000000 00:00 0 7f37c8b85000-7f37cc000000 ---p 00000000 00:00 0 7f37cc000000-7f37cc9b7000 rw-p 00000000 00:00 0 7f37cc9b7000-7f37d0000000 ---p 00000000 00:00 0 7f37d03f4000-7f37d03f5000 ---p 00000000 00:00 0 7f37d03f5000-7f37d1019000 rw-p 00000000 00:00 0 7f37d1145000-7f37d1146000 ---p 00000000 00:00 0 7f37d1146000-7f37d1186000 rw-p 00000000 00:00 0 7f37d1186000-7f37d1187000 ---p 00000000 00:00 0 7f37d1187000-7f37d11c7000 rw-p 00000000 00:00 0 7f37d11c7000-7f37d11c8000 ---p 00000000 00:00 0 7f37d11c8000-7f37d1208000 rw-p 00000000 00:00 0 7f37d1208000-7f37d1209000 ---p 00000000 00:00 0 7f37d1209000-7f37d1249000 rw-p 00000000 00:00 0 7f37d1249000-7f37d124a000 ---p 00000000 00:00 0 7f37d124a000-7f37d128a000 rw-p 00000000 00:00 0 7f37d128a000-7f37d128b000 ---p 00000000 00:00 0 7f37d128b000-7f37d1a8b000 rw-p 00000000 00:00 0 7f37d1a8b000-7f37d1a8c000 ---p 00000000 00:00 0 7f37d1a8c000-7f37d228c000 rw-p 00000000 00:00 0 7f37d228c000-7f37d228d000 ---p 00000000 00:00 0 7f37d228d000-7f37d2a8d000 rw-p 00000000 00:00 0 7f37d2a8d000-7f37d2a8e000 ---p 00000000 00:00 0 7f37d2a8e000-7f37d328e000 rw-p 00000000 00:00 0 7f37d328e000-7f37d328f000 ---p 00000000 00:00 0 7f37d328f000-7f37d3a8f000 rw-p 00000000 00:00 0 7f37d3a8f000-7f37d3a90000 ---p 00000000 00:00 0 7f37d3a90000-7f37d4290000 rw-p 00000000 00:00 0 7f37d4290000-7f37d4291000 ---p 00000000 00:00 0 7f37d4291000-7f37d4a91000 rw-p 00000000 00:00 0 7f37d4a91000-7f37d4a92000 ---p 00000000 00:00 0 7f37d4a92000-7f37d5292000 rw-p 00000000 00:00 0 7f37d5292000-7f37d5293000 ---p 00000000 00:00 0 7f37d5293000-7f37d5a93000 rw-p 00000000 00:00 0 7f37d5a93000-7f37d5a94000 ---p 00000000 00:00 0 7f37d5a94000-7f3803159000 rw-p 00000000 00:00 0 7f3803159000-7f3803165000 r-xp 00000000 09:03 28972052 /lib64/libnss_files-2.13.so 7f3803165000-7f3803364000 ---p 0000c000 09:03 28972052 /lib64/libnss_files-2.13.so 7f3803364000-7f3803365000 r--p 0000b000 09:03 28972052 /lib64/libnss_files-2.13.so 7f3803365000-7f3803366000 rw-p 0000c000 09:03 28972052 /lib64/libnss_files-2.13.so 7f3803366000-7f3803370000 r-xp 00000000 09:03 28972067 /lib64/libnss_nis-2.13.so 7f3803370000-7f380356f000 ---p 0000a000 09:03 28972067 /lib64/libnss_nis-2.13.so 7f380356f000-7f3803570000 r--p 00009000 09:03 28972067 /lib64/libnss_nis-2.13.so 7f3803570000-7f3803571000 rw-p 0000a000 09:03 28972067 /lib64/libnss_nis-2.13.so 7f3803571000-7f3803586000 r-xp 00000000 09:03 28970437 /lib64/libnsl-2.13.so 7f3803586000-7f3803785000 ---p 00015000 09:03 28970437 /lib64/libnsl-2.13.so 7f3803785000-7f3803786000 r--p 00014000 09:03 28970437 /lib64/libnsl-2.13.so 7f3803786000-7f3803787000 rw-p 00015000 09:03 28970437 /lib64/libnsl-2.13.so 7f3803787000-7f3803789000 rw-p 00000000 00:00 0 7f3803789000-7f3803790000 r-xp 00000000 09:03 28971674 /lib64/libnss_compat-2.13.so 7f3803790000-7f380398f000 ---p 00007000 09:03 28971674 /lib64/libnss_compat-2.13.so 7f380398f000-7f3803990000 r--p 00006000 09:03 28971674 /lib64/libnss_compat-2.13.so 7f3803990000-7f3803991000 rw-p 00007000 09:03 28971674 /lib64/libnss_compat-2.13.so 7f3803991000-7f3803992000 ---p 00000000 00:00 0 7f3803992000-7f3804192000 rw-p 00000000 00:00 0 7f3804192000-7f38041a7000 r-xp 00000000 09:03 33816689 /lib64/libgcc_s.so.1 7f38041a7000-7f38043a6000 ---p 00015000 09:03 33816689 /lib64/libgcc_s.so.1 7f38043a6000-7f38043a7000 r--p 00014000 09:03 33816689 /lib64/libgcc_s.so.1 7f38043a7000-7f38043a8000 rw-p 00015000 09:03 33816689 /lib64/libgcc_s.so.1 7f38043a8000-7f3804529000 r-xp 00000000 09:03 28972021 /lib64/libc-2.13.so 7f3804529000-7f3804729000 ---p 00181000 09:03 28972021 /lib64/libc-2.13.so 7f3804729000-7f380472d000 r--p 00181000 09:03 28972021 /lib64/libc-2.13.so 7f380472d000-7f380472e000 rw-p 00185000 09:03 28972021 /lib64/libc-2.13.so 7f380472e000-7f3804733000 rw-p 00000000 00:00 0 7f3804733000-7f38047b4000 r-xp 00000000 09:03 28972031 /lib64/libm-2.13.so 7f38047b4000-7f38049b3000 ---p 00081000 09:03 28972031 /lib64/libm-2.13.so 7f38049b3000-7f38049b4000 r--p 00080000 09:03 28972031 /lib64/libm-2.13.so 7f38049b4000-7f38049b5000 rw-p 00081000 09:03 28972031 /lib64/libm-2.13.so 7f38049b5000-7f3804aa0000 r-xp 00000000 09:03 29122001 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 7f3804aa0000-7f3804c9f000 ---p 000eb000 09:03 29122001 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 7f3804c9f000-7f3804ca7000 r--p 000ea000 09:03 29122001 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 7f3804ca7000-7f3804ca9000 rw-p 000f2000 09:03 29122001 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 7f3804ca9000-7f3804cbe000 rw-p 00000000 00:00 0 7f3804cbe000-7f3804e48000 r-xp 00000000 09:03 28605986 /var/tmp/portage/dev-libs/openssl-1.0.0h/image/usr/lib64/libcrypto.so.1.0.0 (deleted) 7f3804e48000-7f3805048000 ---p 0018a000 09:03 28605986 /var/tmp/portage/dev-libs/openssl-1.0.0h/image/usr/lib64/libcrypto.so.1.0.0 (deleted) 7f3805048000-7f3805061000 r--p 0018a000 09:03 28605986 /var/tmp/portage/dev-libs/openssl-1.0.0h/image/usr/lib64/libcrypto.so.1.0.0 (deleted) 7f3805061000-7f380506b000 rw-p 001a3000 09:03 28605986 /var/tmp/portage/dev-libs/openssl-1.0.0h/image/usr/lib64/libcrypto.so.1.0.0 (deleted) 7f380506b000-7f380506f000 rw-p 00000000 00:00 0 7f380506f000-7f38050c5000 r-xp 00000000 09:03 28605989 /var/tmp/portage/dev-libs/openssl-1.0.0h/image/usr/lib64/libssl.so.1.0.0 (deleted) 7f38050c5000-7f38052c4000 ---p 00056000 09:03 28605989 /var/tmp/portage/dev-libs/openssl-1.0.0h/image/usr/lib64/libssl.so.1.0.0 (deleted) 7f38052c4000-7f38052c7000 r--p 00055000 09:03 28605989 /var/tmp/portage/dev-libs/openssl-1.0.0h/image/usr/lib64/libssl.so.1.0.0 (deleted) 7f38052c7000-7f38052cc000 rw-p 00058000 09:03 28605989 /var/tmp/portage/dev-libs/openssl-1.0.0h/image/usr/lib64/libssl.so.1.0.0 (deleted) 7f38052cc000-7f38052ce000 r-xp 00000000 09:03 28972059 /lib64/libdl-2.13.so 7f38052ce000-7f38054ce000 ---p 00002000 09:03 28972059 /lib64/libdl-2.13.so 7f38054ce000-7f38054cf000 r--p 00002000 09:03 28972059 /lib64/libdl-2.13.so 7f38054cf000-7f38054d0000 rw-p 00003000 09:03 28972059 /lib64/libdl-2.13.so 7f38054d0000-7f38054d8000 r-xp 00000000 09:03 28972048 /lib64/libcrypt-2.13.so 7f38054d8000-7f38056d7000 ---p 00008000 09:03 28972048 /lib64/libcrypt-2.13.so 7f38056d7000-7f38056d8000 r--p 00007000 09:03 28972048 /lib64/libcrypt-2.13.so 7f38056d8000-7f38056d9000 rw-p 00008000 09:03 28972048 /lib64/libcrypt-2.13.so 7f38056d9000-7f3805707000 rw-p 00000000 00:00 0 7f3805707000-7f380571f000 r-xp 00000000 09:03 28971525 /lib64/libpthread-2.13.so 7f380571f000-7f380591e000 ---p 00018000 09:03 28971525 /lib64/libpthread-2.13.so 7f380591e000-7f380591f000 r--p 00017000 09:03 28971525 /lib64/libpthread-2.13.so 7f380591f000-7f3805920000 rw-p 00018000 09:03 28971525 /lib64/libpthread-2.13.so 7f3805920000-7f3805924000 rw-p 00000000 00:00 0 7f3805924000-7f380592c000 r-xp 00000000 09:03 28972066 /lib64/librt-2.13.so 7f380592c000-7f3805b2b000 ---p 00008000 09:03 28972066 /lib64/librt-2.13.so 7f3805b2b000-7f3805b2c000 r--p 00007000 09:03 28972066 /lib64/librt-2.13.so 7f3805b2c000-7f3805b2d000 rw-p 00008000 09:03 28972066 /lib64/librt-2.13.so 7f3805b2d000-7f3805b43000 r-xp 00000000 09:03 28575314 /lib64/libz.so.1.2.5 7f3805b43000-7f3805d43000 ---p 00016000 09:03 28575314 /lib64/libz.so.1.2.5 7f3805d43000-7f3805d44000 r--p 00016000 09:03 28575314 /lib64/libz.so.1.2.5 7f3805d44000-7f3805d45000 rw-p 00017000 09:03 28575314 /lib64/libz.so.1.2.5 7f3805d45000-7f3805d64000 r-xp 00000000 09:03 28972039 /lib64/ld-2.13.so 7f3805d87000-7f3805f56000 rw-p 00000000 00:00 0 7f3805f62000-7f3805f64000 rw-p 00000000 00:00 0 7f3805f64000-7f3805f65000 r--p 0001f000 09:03 28972039 /lib64/ld-2.13.so 7f3805f65000-7f3805f66000 rw-p 00020000 09:03 28972039 /lib64/ld-2.13.so 7f3805f66000-7f3805f67000 rw-p 00000000 00:00 0 7fff59cf5000-7fff59d16000 rw-p 00000000 00:00 0 [stack] 7fff59dff000-7fff59e00000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] 10:26:37 UTC - 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=134217728 read_buffer_size=262144 max_used_connections=2 max_threads=151 thread_count=0 connection_count=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 248758 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x27f07d0 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 = 7f37d1206e88 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x78026e] /usr/sbin/mysqld(handle_fatal_signal+0x40a)[0x66e6ca] /lib64/libpthread.so.0(+0x102e0)[0x7f38057172e0] /lib64/libc.so.6(gsignal+0x35)[0x7f38043dda55] /lib64/libc.so.6(abort+0x185)[0x7f38043ded55] /lib64/libc.so.6(+0x70972)[0x7f3804418972] /lib64/libc.so.6(+0x75df5)[0x7f380441ddf5] /lib64/libc.so.6(+0x7877c)[0x7f380442077c] /lib64/libc.so.6(__libc_malloc+0x70)[0x7f3804422820] /usr/sbin/mysqld(my_malloc+0x32)[0x77c232] /usr/sbin/mysqld(init_dynamic_array2+0x50)[0x765f50] /usr/sbin/mysqld(_Z16lock_table_namesP3THDP10TABLE_LISTS2_mj+0x283)[0x546393] /usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0x8bd)[0x54d03d] /usr/sbin/mysqld(_Z20open_and_lock_tablesP3THDP10TABLE_LISTbjP19Prelocking_strategy+0x47)[0x54d527] /usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P24st_ha_create_informationP10TABLE_LISTP10Alter_infojP8st_orderb+0x1b6)[0x5d6cf6] /usr/sbin/mysqld(_ZN21Alter_table_statement7executeEP3THD+0x4b8)[0x765108] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x188f)[0x57c14f] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x150)[0x580e90] /usr/sbin/mysqld(_ZN15Query_log_event14do_apply_eventEPK14Relay_log_infoPKcj+0xd44)[0x703fb4] /usr/sbin/mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14Relay_log_info+0x11d)[0x5285ad] /usr/sbin/mysqld(handle_slave_sql+0xe45)[0x529af5] /lib64/libpthread.so.0(+0x7c5c)[0x7f380570ec5c] /lib64/libc.so.6(clone+0x6d)[0x7f3804481fcd] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7f37cc06c8c7): is an invalid pointer Connection ID (thread ID): 2 Status: 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