Crashes 5.1 as well: --source include/have_innodb_plugin.inc --disable_warnings DROP TABLE IF EXISTS t1; --enable_warnings CREATE TABLE t1(id INT NOT NULL PRIMARY KEY, data TEXT) ENGINE=InnoDB; INSERT INTO t1 VALUES(1, ''); INSERT INTO t1 VALUES(2, ''); INSERT INTO t1 VALUES(3, ''); INSERT INTO t1 VALUES(4, ''); DELETE FROM t1 WHERE id = 4; SET innodb_fake_changes=1; --error ER_ERROR_DURING_COMMIT INSERT INTO t1 VALUES (4, LPAD('a', 12000, 'b')); SET innodb_fake_changes=0; DROP TABLE t1; 130711 14:48:49 InnoDB: Assertion failure in thread 140660380555008 in file btr/btr0cur.c line 4277 InnoDB: Failing assertion: rec_offs_any_extern(offsets) InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. 11:48:49 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. Please help us make Percona Server better by reporting any bugs at http://bugs.percona.com/ key_buffer_size=1048576 read_buffer_size=131072 max_used_connections=1 max_threads=151 thread_count=1 connection_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 60723 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x1f5def8 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 = 7fee0c044e78 thread_stack 0x40000 /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(my_print_stacktrace+0x38)[0xa888d7] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(handle_fatal_signal+0x3a9)[0x7ce305] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0)[0x7fee0f3b0bd0] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7fee0e6b7037] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7fee0e6ba698] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld[0x98f840] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld[0x930a3c] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld[0x931025] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld[0x931320] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld[0x9315ea] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld[0x9318bb] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld[0x938e3f] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld[0x8c28e7] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(_ZN7handler12ha_write_rowEPh+0xad)[0x7b875f] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(_Z12write_recordP3THDP8st_tableP12st_copy_info+0xb98)[0x70ef61] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(_Z12mysql_insertP3THDP10TABLE_LISTR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb+0xcfc)[0x70cd94] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(_Z21mysql_execute_commandP3THD+0x378c)[0x66b400] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(_Z11mysql_parseP3THDPcjPPKc+0x43d)[0x673f99] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xf7b)[0x665a67] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(_Z10do_commandP3THD+0x2d6)[0x6647f8] /home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld(handle_one_connection+0x158)[0x66291e] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7f8e)[0x7fee0f3a8f8e] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fee0e779e1d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7feddc004908): INSERT INTO t1 VALUES (4, LPAD('a', 12000, 'b')) Connection ID (thread ID): 2 Status: NOT_KILLED You may download the Percona Server operations manual by visiting http://www.percona.com/software/percona-server/. You may find information in the manual which will help you identify the cause of the crash. Writing a core file ----------SERVER LOG END------------- - saving '/home/laurynas/percona/src/percona-server/5.1/Percona-Server/mysql-test/var/log/main.percona_innodb_fake_changes_bug_1188168/' to '/home/laurynas/percona/src/percona-server/5.1/Percona-Server/mysql-test/var/log/main.percona_innodb_fake_changes_bug_1188168/' - found 'core' (0/5) Trying 'dbx' to get a backtrace Trying 'gdb' to get a backtrace Core generated by '/home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld' Output from gdb follows. The first stack trace is from the failing thread. The following stack traces are from all threads (so the failing one is duplicated). -------------------------- [New LWP 21297] [New LWP 21243] [New LWP 21251] [New LWP 21245] [New LWP 21246] [New LWP 21253] [New LWP 21247] [New LWP 21256] [New LWP 21257] [New LWP 21248] [New LWP 21262] [New LWP 21249] [New LWP 21261] [New LWP 21250] [New LWP 21260] [New LWP 21259] [New LWP 21258] [New LWP 21254] [New LWP 21252] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/laurynas/percona/src/percona-server/5.1/Percona-Server/sql/mysqld --defau'. Program terminated with signal 6, Aborted. #0 0x00007fee0f3adf2c in __pthread_kill (threadid=, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62 62 ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c: No such file or directory. #0 0x00007fee0f3adf2c in __pthread_kill (threadid=, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62 #1 0x0000000000a8895d in my_write_core (sig=6) at stacktrace.c:437 #2 0x00000000007ce4de in handle_fatal_signal (sig=6) at signal_handler.cc:249 #3 #4 0x00007fee0e6b7037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #5 0x00007fee0e6ba698 in __GI_abort () at abort.c:90 #6 0x000000000098f840 in btr_store_big_rec_extern_fields (index=0x7feddc037488, rec_block=0x7fedfffe6c30, rec=0x7fee07d280c7 "\200", offsets=0x7feddc01e378, big_rec_vec=0x7feddc01afa8, btr_mtr=0x7fee0c042540, op=BTR_STORE_INSERT_UPDATE) at btr/btr0cur.c:4277 #7 0x0000000000930a3c in row_ins_index_entry_low (mode=33, index=0x7feddc037488, entry=0x7feddc039e88, n_ext=0, thr=0x7feddc035c98) at row/row0ins.c:2160 #8 0x0000000000931025 in row_ins_index_entry (index=0x7feddc037488, entry=0x7feddc039e88, n_ext=0, foreign=1, thr=0x7feddc035c98) at row/row0ins.c:2316 #9 0x0000000000931320 in row_ins_index_entry_step (node=0x7feddc035a20, thr=0x7feddc035c98) at row/row0ins.c:2392 #10 0x00000000009315ea in row_ins (node=0x7feddc035a20, thr=0x7feddc035c98) at row/row0ins.c:2524 #11 0x00000000009318bb in row_ins_step (thr=0x7feddc035c98) at row/row0ins.c:2634 #12 0x0000000000938e3f in row_insert_for_mysql (mysql_rec=0x7feddc00b238 "\376\004", prebuilt=0x7feddc033468) at row/row0mysql.c:1167 #13 0x00000000008c28e7 in ha_innobase::write_row (this=0x7feddc00ade8, record=0x7feddc00b238 "\376\004") at handler/ha_innodb.cc:5573 #14 0x00000000007b875f in handler::ha_write_row (this=0x7feddc00ade8, buf=0x7feddc00b238 "\376\004") at handler.cc:4875 #15 0x000000000070ef61 in write_record (thd=0x1f5def8, table=0x7feddc039458, info=0x7fee0c042ef0) at sql_insert.cc:1661 #16 0x000000000070cd94 in mysql_insert (thd=0x1f5def8, table_list=0x7feddc004a20, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at sql_insert.cc:863 #17 0x000000000066b400 in mysql_execute_command (thd=0x1f5def8) at sql_parse.cc:3484 #18 0x0000000000673f99 in mysql_parse (thd=0x1f5def8, rawbuf=0x7feddc004908 "INSERT INTO t1 VALUES (4, LPAD('a', 12000, 'b'))", length=48, found_semicolon=0x7fee0c044298) at sql_parse.cc:6350 #19 0x0000000000665a67 in dispatch_command (command=COM_QUERY, thd=0x1f5def8, packet=0x1fb1209 "INSERT INTO t1 VALUES (4, LPAD('a', 12000, 'b'))", packet_length=48) at sql_parse.cc:1319 #20 0x00000000006647f8 in do_command (thd=0x1f5def8) at sql_parse.cc:908 #21 0x000000000066291e in handle_one_connection (arg=0x1f5def8) at sql_connect.cc:2099 #22 0x00007fee0f3a8f8e in start_thread (arg=0x7fee0c045700) at pthread_create.c:311 #23 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 19 (Thread 0x7fedfdb8b700 (LWP 21252)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a14418, mp=0x1a143a0, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a143a0, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=7, message1=0x7fedfdb8ae48, message2=0x7fedfdb8ae50, type=0x7fedfdb8ae58, space_id=0x7fedfdb8ae60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=7) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0438 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fedfdb8b700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 18 (Thread 0x7fedfcb89700 (LWP 21254)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a14598, mp=0x1a14520, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a14520, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=9, message1=0x7fedfcb88e48, message2=0x7fedfcb88e50, type=0x7fedfcb88e58, space_id=0x7fedfcb88e60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=9) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0448 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fedfcb89700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 17 (Thread 0x7fedf6ffd700 (LWP 21258)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x0000000000a94d8f in safe_cond_timedwait (cond=0x1800b28, mp=0x1800ab0, abstime=0x7fedf6ffce30, file=0xc7875d "os/os0sync.c", line=471) at thr_mutex.c:277 #2 0x000000000090959d in os_event_wait_time (event=0x1800ab0, wtime=5000000) at os/os0sync.c:470 #3 0x0000000000954b78 in srv_monitor_thread (arg=0x0) at srv/srv0srv.c:2326 #4 0x00007fee0f3a8f8e in start_thread (arg=0x7fedf6ffd700) at pthread_create.c:311 #5 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 16 (Thread 0x7fedf67fc700 (LWP 21259)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x0000000000a94d8f in safe_cond_timedwait (cond=0x1800b28, mp=0x1800ab0, abstime=0x7fedf67fbe50, file=0xc7875d "os/os0sync.c", line=471) at thr_mutex.c:277 #2 0x000000000090959d in os_event_wait_time (event=0x1800ab0, wtime=5000000) at os/os0sync.c:470 #3 0x0000000000955419 in srv_LRU_dump_restore_thread (arg=0x0) at srv/srv0srv.c:2718 #4 0x00007fee0f3a8f8e in start_thread (arg=0x7fedf67fc700) at pthread_create.c:311 #5 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 15 (Thread 0x7fedf5ffb700 (LWP 21260)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x0000000000a94d8f in safe_cond_timedwait (cond=0x1800b28, mp=0x1800ab0, abstime=0x7fedf5ffad20, file=0xc7875d "os/os0sync.c", line=471) at thr_mutex.c:277 #2 0x000000000090959d in os_event_wait_time (event=0x1800ab0, wtime=1000000) at os/os0sync.c:470 #3 0x0000000000955935 in srv_master_thread (arg=0x0) at srv/srv0srv.c:2967 #4 0x00007fee0f3a8f8e in start_thread (arg=0x7fedf5ffb700) at pthread_create.c:311 #5 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 14 (Thread 0x7fedfeb8d700 (LWP 21250)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a14298, mp=0x1a14220, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a14220, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=5, message1=0x7fedfeb8ce48, message2=0x7fedfeb8ce50, type=0x7fedfeb8ce58, space_id=0x7fedfeb8ce60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=5) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0428 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fedfeb8d700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 13 (Thread 0x7fedf57fa700 (LWP 21261)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x0000000000a94d8f in safe_cond_timedwait (cond=0x1800b28, mp=0x1800ab0, abstime=0x7fedf57f9e40, file=0xc7875d "os/os0sync.c", line=471) at thr_mutex.c:277 #2 0x000000000090959d in os_event_wait_time (event=0x1800ab0, wtime=10000000) at os/os0sync.c:470 #3 0x0000000000957456 in srv_purge_thread (arg=0x0) at srv/srv0srv.c:3677 #4 0x00007fee0f3a8f8e in start_thread (arg=0x7fedf57fa700) at pthread_create.c:311 #5 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 12 (Thread 0x7fedff38e700 (LWP 21249)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a141d8, mp=0x1a14160, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a14160, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=4, message1=0x7fedff38de48, message2=0x7fedff38de50, type=0x7fedff38de58, space_id=0x7fedff38de60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=4) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0420 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fedff38e700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 11 (Thread 0x7fee0c086700 (LWP 21262)): #0 do_sigwait (sig=0x7fee0c085df4, set=) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:64 #1 __sigwait (set=, sig=0x7fee0c085df4) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:99 #2 0x0000000000653744 in signal_hand (arg=0x0) at mysqld.cc:2717 #3 0x00007fee0f3a8f8e in start_thread (arg=0x7fee0c086700) at pthread_create.c:311 #4 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 10 (Thread 0x7fedffb8f700 (LWP 21248)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a14118, mp=0x1a140a0, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a140a0, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=3, message1=0x7fedffb8ee48, message2=0x7fedffb8ee50, type=0x7fedffb8ee58, space_id=0x7fedffb8ee60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=3) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0418 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fedffb8f700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 9 (Thread 0x7fedf77fe700 (LWP 21257)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x0000000000a94d8f in safe_cond_timedwait (cond=0x1800b28, mp=0x1800ab0, abstime=0x7fedf77fde10, file=0xc7875d "os/os0sync.c", line=471) at thr_mutex.c:277 #2 0x000000000090959d in os_event_wait_time (event=0x1800ab0, wtime=1000000) at os/os0sync.c:470 #3 0x000000000095539e in srv_error_monitor_thread (arg=0x0) at srv/srv0srv.c:2672 #4 0x00007fee0f3a8f8e in start_thread (arg=0x7fedf77fe700) at pthread_create.c:311 #5 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 8 (Thread 0x7fedf7fff700 (LWP 21256)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x0000000000a94d8f in safe_cond_timedwait (cond=0x1800b28, mp=0x1800ab0, abstime=0x7fedf7ffee30, file=0xc7875d "os/os0sync.c", line=471) at thr_mutex.c:277 #2 0x000000000090959d in os_event_wait_time (event=0x1800ab0, wtime=1000000) at os/os0sync.c:470 #3 0x0000000000954ede in srv_lock_timeout_thread (arg=0x0) at srv/srv0srv.c:2468 #4 0x00007fee0f3a8f8e in start_thread (arg=0x7fedf7fff700) at pthread_create.c:311 #5 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 7 (Thread 0x7fee0c887700 (LWP 21247)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a14058, mp=0x1a13fe0, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a13fe0, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=2, message1=0x7fee0c886e48, message2=0x7fee0c886e50, type=0x7fee0c886e58, space_id=0x7fee0c886e60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=2) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0410 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fee0c887700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 6 (Thread 0x7fedfd38a700 (LWP 21253)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a144d8, mp=0x1a14460, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a14460, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=8, message1=0x7fedfd389e48, message2=0x7fedfd389e50, type=0x7fedfd389e58, space_id=0x7fedfd389e60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=8) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0440 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fedfd38a700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 5 (Thread 0x7fee0d088700 (LWP 21246)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a13f98, mp=0x1a13f20, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a13f20, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=1, message1=0x7fee0d087e48, message2=0x7fee0d087e50, type=0x7fee0d087e58, space_id=0x7fee0d087e60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=1) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0408 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fee0d088700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 4 (Thread 0x7fee0e67f700 (LWP 21245)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a13ed8, mp=0x1a13e60, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a13e60, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=0, message1=0x7fee0e67ee48, message2=0x7fee0e67ee50, type=0x7fee0e67ee58, space_id=0x7fee0e67ee60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=0) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0400 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fee0e67f700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 3 (Thread 0x7fedfe38c700 (LWP 21251)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x0000000000a94bd5 in safe_cond_wait (cond=0x1a14358, mp=0x1a142e0, file=0xc7875d "os/os0sync.c", line=402) at thr_mutex.c:239 #2 0x000000000090947e in os_event_wait_low (event=0x1a142e0, reset_sig_count=0) at os/os0sync.c:402 #3 0x0000000000907ea7 in os_aio_simulated_handle (global_segment=6, message1=0x7fedfe38be48, message2=0x7fedfe38be50, type=0x7fedfe38be58, space_id=0x7fedfe38be60) at os/os0file.c:4421 #4 0x00000000009db2ca in fil_aio_wait (segment=6) at fil/fil0fil.c:5475 #5 0x0000000000957d4f in io_handler_thread (arg=0x10e0430 ) at srv/srv0start.c:476 #6 0x00007fee0f3a8f8e in start_thread (arg=0x7fedfe38c700) at pthread_create.c:311 #7 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 2 (Thread 0x7fee0f7b2740 (LWP 21243)): #0 0x00007fee0e76d3cd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00000000006572a4 in handle_connections_sockets (arg=0x0) at mysqld.cc:5197 #2 0x0000000000656723 in main (argc=7, argv=0x7fff732d6528) at mysqld.cc:4649 Thread 1 (Thread 0x7fee0c045700 (LWP 21297)): #0 0x00007fee0f3adf2c in __pthread_kill (threadid=, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62 #1 0x0000000000a8895d in my_write_core (sig=6) at stacktrace.c:437 #2 0x00000000007ce4de in handle_fatal_signal (sig=6) at signal_handler.cc:249 #3 #4 0x00007fee0e6b7037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #5 0x00007fee0e6ba698 in __GI_abort () at abort.c:90 #6 0x000000000098f840 in btr_store_big_rec_extern_fields (index=0x7feddc037488, rec_block=0x7fedfffe6c30, rec=0x7fee07d280c7 "\200", offsets=0x7feddc01e378, big_rec_vec=0x7feddc01afa8, btr_mtr=0x7fee0c042540, op=BTR_STORE_INSERT_UPDATE) at btr/btr0cur.c:4277 #7 0x0000000000930a3c in row_ins_index_entry_low (mode=33, index=0x7feddc037488, entry=0x7feddc039e88, n_ext=0, thr=0x7feddc035c98) at row/row0ins.c:2160 #8 0x0000000000931025 in row_ins_index_entry (index=0x7feddc037488, entry=0x7feddc039e88, n_ext=0, foreign=1, thr=0x7feddc035c98) at row/row0ins.c:2316 #9 0x0000000000931320 in row_ins_index_entry_step (node=0x7feddc035a20, thr=0x7feddc035c98) at row/row0ins.c:2392 #10 0x00000000009315ea in row_ins (node=0x7feddc035a20, thr=0x7feddc035c98) at row/row0ins.c:2524 #11 0x00000000009318bb in row_ins_step (thr=0x7feddc035c98) at row/row0ins.c:2634 #12 0x0000000000938e3f in row_insert_for_mysql (mysql_rec=0x7feddc00b238 "\376\004", prebuilt=0x7feddc033468) at row/row0mysql.c:1167 #13 0x00000000008c28e7 in ha_innobase::write_row (this=0x7feddc00ade8, record=0x7feddc00b238 "\376\004") at handler/ha_innodb.cc:5573 #14 0x00000000007b875f in handler::ha_write_row (this=0x7feddc00ade8, buf=0x7feddc00b238 "\376\004") at handler.cc:4875 #15 0x000000000070ef61 in write_record (thd=0x1f5def8, table=0x7feddc039458, info=0x7fee0c042ef0) at sql_insert.cc:1661 #16 0x000000000070cd94 in mysql_insert (thd=0x1f5def8, table_list=0x7feddc004a20, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at sql_insert.cc:863 #17 0x000000000066b400 in mysql_execute_command (thd=0x1f5def8) at sql_parse.cc:3484 #18 0x0000000000673f99 in mysql_parse (thd=0x1f5def8, rawbuf=0x7feddc004908 "INSERT INTO t1 VALUES (4, LPAD('a', 12000, 'b'))", length=48, found_semicolon=0x7fee0c044298) at sql_parse.cc:6350 #19 0x0000000000665a67 in dispatch_command (command=COM_QUERY, thd=0x1f5def8, packet=0x1fb1209 "INSERT INTO t1 VALUES (4, LPAD('a', 12000, 'b'))", packet_length=48) at sql_parse.cc:1319 #20 0x00000000006647f8 in do_command (thd=0x1f5def8) at sql_parse.cc:908 #21 0x000000000066291e in handle_one_connection (arg=0x1f5def8) at sql_connect.cc:2099 #22 0x00007fee0f3a8f8e in start_thread (arg=0x7fee0c045700) at pthread_create.c:311 #23 0x00007fee0e779e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113