Version: '5.5.22-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Source distribution *** glibc detected *** /usr/sbin/mysqld: malloc(): memory corruption: 0x0000000005954bd0 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x75df5)[0x7f6d6fda6df5] /lib64/libc.so.6(+0x7877c)[0x7f6d6fda977c] /lib64/libc.so.6(__libc_malloc+0x70)[0x7f6d6fdab820] /usr/sbin/mysqld(my_malloc+0x32)[0x77d7d2] /usr/sbin/mysqld(init_dynamic_array2+0x50)[0x7674f0] /usr/sbin/mysqld(_Z16lock_table_namesP3THDP10TABLE_LISTS2_mj+0x283)[0x547223] /usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0x8bd)[0x54df1d] /usr/sbin/mysqld(_Z20open_and_lock_tablesP3THDP10TABLE_LISTbjP19Prelocking_strategy+0x47)[0x54e407] /usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P24st_ha_create_informationP10TABLE_LISTP10Alter_infojP8st_orderb+0x1b6)[0x5d7c56] /usr/sbin/mysqld(_ZN21Alter_table_statement7executeEP3THD+0x4b8)[0x7666a8] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x188f)[0x57cfaf] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x188)[0x581d28] /usr/sbin/mysqld(_ZN15Query_log_event14do_apply_eventEPK14Relay_log_infoPKcj+0xd44)[0x7054b4] /usr/sbin/mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14Relay_log_info+0x11d)[0x528e8d] /usr/sbin/mysqld(handle_slave_sql+0xe63)[0x52a3f3] /lib64/libpthread.so.0(+0x7c5c)[0x7f6d71097c5c] /lib64/libc.so.6(clone+0x6d)[0x7f6d6fe0afcd] ======= Memory map: ======== 00400000-00cbe000 r-xp 00000000 09:03 31326225 /usr/sbin/mysqld 00ebd000-00ec0000 r--p 008bd000 09:03 31326225 /usr/sbin/mysqld 00ec0000-00f5e000 rw-p 008c0000 09:03 31326225 /usr/sbin/mysqld 00f5e000-00f8a000 rw-p 00000000 00:00 0 02143000-06989000 rw-p 00000000 00:00 0 [heap] 7f6d2c000000-7f6d2c192000 rw-p 00000000 00:00 0 7f6d2c192000-7f6d30000000 ---p 00000000 00:00 0 7f6d34000000-7f6d341bd000 rw-p 00000000 00:00 0 7f6d341bd000-7f6d38000000 ---p 00000000 00:00 0 7f6d3ad7b000-7f6d3ad7c000 ---p 00000000 00:00 0 7f6d3ad7c000-7f6d3b57c000 rw-p 00000000 00:00 0 7f6d3b57c000-7f6d3b57d000 ---p 00000000 00:00 0 7f6d3b57d000-7f6d3bd7d000 rw-p 00000000 00:00 0 7f6d3bd7d000-7f6d3bd7e000 ---p 00000000 00:00 0 7f6d3bd7e000-7f6d3c9a2000 rw-p 00000000 00:00 0 7f6d3cace000-7f6d3cacf000 ---p 00000000 00:00 0 7f6d3cacf000-7f6d3cb0f000 rw-p 00000000 00:00 0 7f6d3cb0f000-7f6d3cb10000 ---p 00000000 00:00 0 7f6d3cb10000-7f6d3cb50000 rw-p 00000000 00:00 0 7f6d3cb50000-7f6d3cb51000 ---p 00000000 00:00 0 7f6d3cb51000-7f6d3cb91000 rw-p 00000000 00:00 0 7f6d3cb91000-7f6d3cb92000 ---p 00000000 00:00 0 7f6d3cb92000-7f6d3cbd2000 rw-p 00000000 00:00 0 7f6d3cbd2000-7f6d3cbd3000 ---p 00000000 00:00 0 7f6d3cbd3000-7f6d3cc13000 rw-p 00000000 00:00 0 7f6d3cc13000-7f6d3cc14000 ---p 00000000 00:00 0 7f6d3cc14000-7f6d3d414000 rw-p 00000000 00:00 0 7f6d3d414000-7f6d3d415000 ---p 00000000 00:00 0 7f6d3d415000-7f6d3dc15000 rw-p 00000000 00:00 0 7f6d3dc15000-7f6d3dc16000 ---p 00000000 00:00 0 7f6d3dc16000-7f6d3e416000 rw-p 00000000 00:00 0 7f6d3e416000-7f6d3e417000 ---p 00000000 00:00 0 7f6d3e417000-7f6d3ec17000 rw-p 00000000 00:00 0 7f6d3ec17000-7f6d3ec18000 ---p 00000000 00:00 0 7f6d3ec18000-7f6d3f418000 rw-p 00000000 00:00 0 7f6d3f418000-7f6d3f419000 ---p 00000000 00:00 0 7f6d3f419000-7f6d3fc19000 rw-p 00000000 00:00 0 7f6d3fc19000-7f6d3fc1a000 ---p 00000000 00:00 0 7f6d3fc1a000-7f6d4041a000 rw-p 00000000 00:00 0 7f6d4041a000-7f6d4041b000 ---p 00000000 00:00 0 7f6d4041b000-7f6d40c1b000 rw-p 00000000 00:00 0 7f6d40c1b000-7f6d40c1c000 ---p 00000000 00:00 0 7f6d40c1c000-7f6d4141c000 rw-p 00000000 00:00 0 7f6d4141c000-7f6d4141d000 ---p 00000000 00:00 0 7f6d4141d000-7f6d6eae2000 rw-p 00000000 00:00 0 7f6d6eae2000-7f6d6eaee000 r-xp 00000000 09:03 28972052 /lib64/libnss_files-2.13.so 7f6d6eaee000-7f6d6eced000 ---p 0000c000 09:03 28972052 /lib64/libnss_files-2.13.so 7f6d6eced000-7f6d6ecee000 r--p 0000b000 09:03 28972052 /lib64/libnss_files-2.13.so 7f6d6ecee000-7f6d6ecef000 rw-p 0000c000 09:03 28972052 /lib64/libnss_files-2.13.so 7f6d6ecef000-7f6d6ecf9000 r-xp 00000000 09:03 28972067 /lib64/libnss_nis-2.13.so 7f6d6ecf9000-7f6d6eef8000 ---p 0000a000 09:03 28972067 /lib64/libnss_nis-2.13.so 7f6d6eef8000-7f6d6eef9000 r--p 00009000 09:03 28972067 /lib64/libnss_nis-2.13.so 7f6d6eef9000-7f6d6eefa000 rw-p 0000a000 09:03 28972067 /lib64/libnss_nis-2.13.so 7f6d6eefa000-7f6d6ef0f000 r-xp 00000000 09:03 28970437 /lib64/libnsl-2.13.so 7f6d6ef0f000-7f6d6f10e000 ---p 00015000 09:03 28970437 /lib64/libnsl-2.13.so 7f6d6f10e000-7f6d6f10f000 r--p 00014000 09:03 28970437 /lib64/libnsl-2.13.so 7f6d6f10f000-7f6d6f110000 rw-p 00015000 09:03 28970437 /lib64/libnsl-2.13.so 7f6d6f110000-7f6d6f112000 rw-p 00000000 00:00 0 7f6d6f112000-7f6d6f119000 r-xp 00000000 09:03 28971674 /lib64/libnss_compat-2.13.so 7f6d6f119000-7f6d6f318000 ---p 00007000 09:03 28971674 /lib64/libnss_compat-2.13.so 7f6d6f318000-7f6d6f319000 r--p 00006000 09:03 28971674 /lib64/libnss_compat-2.13.so 7f6d6f319000-7f6d6f31a000 rw-p 00007000 09:03 28971674 /lib64/libnss_compat-2.13.so 7f6d6f31a000-7f6d6f31b000 ---p 00000000 00:00 0 7f6d6f31b000-7f6d6fb1b000 rw-p 00000000 00:00 0 7f6d6fb1b000-7f6d6fb30000 r-xp 00000000 09:03 33816689 /lib64/libgcc_s.so.1 7f6d6fb30000-7f6d6fd2f000 ---p 00015000 09:03 33816689 /lib64/libgcc_s.so.1 7f6d6fd2f000-7f6d6fd30000 r--p 00014000 09:03 33816689 /lib64/libgcc_s.so.1 7f6d6fd30000-7f6d6fd31000 rw-p 00015000 09:03 33816689 /lib64/libgcc_s.so.1 7f6d6fd31000-7f6d6feb2000 r-xp 00000000 09:03 28972021 /lib64/libc-2.13.so 7f6d6feb2000-7f6d700b2000 ---p 00181000 09:03 28972021 /lib64/libc-2.13.so 7f6d700b2000-7f6d700b6000 r--p 00181000 09:03 28972021 /lib64/libc-2.13.so 7f6d700b6000-7f6d700b7000 rw-p 00185000 09:03 28972021 /lib64/libc-2.13.so 7f6d700b7000-7f6d700bc000 rw-p 00000000 00:00 0 7f6d700bc000-7f6d7013d000 r-xp 00000000 09:03 28972031 /lib64/libm-2.13.so 7f6d7013d000-7f6d7033c000 ---p 00081000 09:03 28972031 /lib64/libm-2.13.so 7f6d7033c000-7f6d7033d000 r--p 00080000 09:03 28972031 /lib64/libm-2.13.so 7f6d7033d000-7f6d7033e000 rw-p 00081000 09:03 28972031 /lib64/libm-2.13.so 7f6d7033e000-7f6d70429000 r-xp 00000000 09:03 29122001 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 7f6d70429000-7f6d70628000 ---p 000eb000 09:03 29122001 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 7f6d70628000-7f6d70630000 r--p 000ea000 09:03 29122001 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 7f6d70630000-7f6d70632000 rw-p 000f2000 09:03 29122001 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6.0.14 7f6d70632000-7f6d70647000 rw-p 00000000 00:00 0 7f6d70647000-7f6d707d1000 r-xp 00000000 09:03 30805781 /usr/lib64/libcrypto.so.1.0.0 7f6d707d1000-7f6d709d1000 ---p 0018a000 09:03 30805781 /usr/lib64/libcrypto.so.1.0.0 7f6d709d1000-7f6d709ea000 r--p 0018a000 09:03 30805781 /usr/lib64/libcrypto.so.1.0.0 7f6d709ea000-7f6d709f4000 rw-p 001a3000 09:03 30805781 /usr/lib64/libcrypto.so.1.0.0 7f6d709f4000-7f6d709f8000 rw-p 00000000 00:00 0 7f6d709f8000-7f6d70a4e000 r-xp 00000000 09:03 30805784 /usr/lib64/libssl.so.1.0.0 7f6d70a4e000-7f6d70c4d000 ---p 00056000 09:03 30805784 /usr/lib64/libssl.so.1.0.0 7f6d70c4d000-7f6d70c50000 r--p 00055000 09:03 30805784 /usr/lib64/libssl.so.1.0.0 7f6d70c50000-7f6d70c55000 rw-p 00058000 09:03 30805784 /usr/lib64/libssl.so.1.0.0 7f6d70c55000-7f6d70c57000 r-xp 00000000 09:03 28972059 /lib64/libdl-2.13.so 7f6d70c57000-7f6d70e57000 ---p 00002000 09:03 28972059 /lib64/libdl-2.13.so 7f6d70e57000-7f6d70e58000 r--p 00002000 09:03 28972059 /lib64/libdl-2.13.so 7f6d70e58000-7f6d70e59000 rw-p 00003000 09:03 28972059 /lib64/libdl-2.13.so 7f6d70e59000-7f6d70e61000 r-xp 00000000 09:03 28972048 /lib64/libcrypt-2.13.so 7f6d70e61000-7f6d71060000 ---p 00008000 09:03 28972048 /lib64/libcrypt-2.13.so 7f6d71060000-7f6d71061000 r--p 00007000 09:03 28972048 /lib64/libcrypt-2.13.so 7f6d71061000-7f6d71062000 rw-p 00008000 09:03 28972048 /lib64/libcrypt-2.13.so 7f6d71062000-7f6d71090000 rw-p 00000000 00:00 0 7f6d71090000-7f6d710a8000 r-xp 00000000 09:03 28971525 /lib64/libpthread-2.13.so 7f6d710a8000-7f6d712a7000 ---p 00018000 09:03 28971525 /lib64/libpthread-2.13.so 7f6d712a7000-7f6d712a8000 r--p 00017000 09:03 28971525 /lib64/libpthread-2.13.so 7f6d712a8000-7f6d712a9000 rw-p 00018000 09:03 28971525 /lib64/libpthread-2.13.so 7f6d712a9000-7f6d712ad000 rw-p 00000000 00:00 0 7f6d712ad000-7f6d712b5000 r-xp 00000000 09:03 28972066 /lib64/librt-2.13.so 7f6d712b5000-7f6d714b4000 ---p 00008000 09:03 28972066 /lib64/librt-2.13.so 7f6d714b4000-7f6d714b5000 r--p 00007000 09:03 28972066 /lib64/librt-2.13.so 7f6d714b5000-7f6d714b6000 rw-p 00008000 09:03 28972066 /lib64/librt-2.13.so 7f6d714b6000-7f6d714cc000 r-xp 00000000 09:03 28575314 /lib64/libz.so.1.2.5 7f6d714cc000-7f6d716cc000 ---p 00016000 09:03 28575314 /lib64/libz.so.1.2.5 7f6d716cc000-7f6d716cd000 r--p 00016000 09:03 28575314 /lib64/libz.so.1.2.5 7f6d716cd000-7f6d716ce000 rw-p 00017000 09:03 28575314 /lib64/libz.so.1.2.5 7f6d716ce000-7f6d716ed000 r-xp 00000000 09:03 28972039 /lib64/ld-2.13.so 7f6d71710000-7f6d718df000 rw-p 00000000 00:00 0 7f6d718eb000-7f6d718ed000 rw-p 00000000 00:00 0 7f6d718ed000-7f6d718ee000 r--p 0001f000 09:03 28972039 /lib64/ld-2.13.so 7f6d718ee000-7f6d718ef000 rw-p 00020000 09:03 28972039 /lib64/ld-2.13.so 7f6d718ef000-7f6d718f0000 rw-p 00000000 00:00 0 7fff5be68000-7fff5be89000 rw-p 00000000 00:00 0 [stack] 7fff5be8a000-7fff5be8b000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] 22:32:54 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: 0x3344c20 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 = 7f6d3cb8fe88 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x78180e] /usr/sbin/mysqld(handle_fatal_signal+0x40a)[0x66fb4a] /lib64/libpthread.so.0(+0x102e0)[0x7f6d710a02e0] /lib64/libc.so.6(gsignal+0x35)[0x7f6d6fd66a55] /lib64/libc.so.6(abort+0x185)[0x7f6d6fd67d55] /lib64/libc.so.6(+0x70972)[0x7f6d6fda1972] /lib64/libc.so.6(+0x75df5)[0x7f6d6fda6df5] /lib64/libc.so.6(+0x7877c)[0x7f6d6fda977c] /lib64/libc.so.6(__libc_malloc+0x70)[0x7f6d6fdab820] /usr/sbin/mysqld(my_malloc+0x32)[0x77d7d2] /usr/sbin/mysqld(init_dynamic_array2+0x50)[0x7674f0] /usr/sbin/mysqld(_Z16lock_table_namesP3THDP10TABLE_LISTS2_mj+0x283)[0x547223] /usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0x8bd)[0x54df1d] /usr/sbin/mysqld(_Z20open_and_lock_tablesP3THDP10TABLE_LISTbjP19Prelocking_strategy+0x47)[0x54e407] /usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P24st_ha_create_informationP10TABLE_LISTP10Alter_infojP8st_orderb+0x1b6)[0x5d7c56] /usr/sbin/mysqld(_ZN21Alter_table_statement7executeEP3THD+0x4b8)[0x7666a8] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x188f)[0x57cfaf] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x188)[0x581d28] /usr/sbin/mysqld(_ZN15Query_log_event14do_apply_eventEPK14Relay_log_infoPKcj+0xd44)[0x7054b4] /usr/sbin/mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14Relay_log_info+0x11d)[0x528e8d] /usr/sbin/mysqld(handle_slave_sql+0xe63)[0x52a3f3] /lib64/libpthread.so.0(+0x7c5c)[0x7f6d71097c5c] /lib64/libc.so.6(clone+0x6d)[0x7f6d6fe0afcd] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (5954b17): /*!40000 ALTER TABLE `temp_schoolcontactstudents` ENABLE KEYS */ 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.