Sorry for the delay... Wasn't able to do right away, and forgot about this for a bit.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fb2287fd700 (LWP 2715)]
0x00007fb396d37925 in raise () from /lib64/libc.so.6
(gdb) thread apply all bt
Thread 27 (Thread 0x7fb394bff700 (LWP 2698)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 26 (Thread 0x7fb23bbfe700 (LWP 2699)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 25 (Thread 0x7fb23b1fd700 (LWP 2700)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 24 (Thread 0x7fb23a7fc700 (LWP 2701)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 23 (Thread 0x7fb239dfb700 (LWP 2702)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
--Type <return> to continue, or q <return> to quit--
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 22 (Thread 0x7fb2393fa700 (LWP 2703)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 21 (Thread 0x7fb2389f9700 (LWP 2704)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 20 (Thread 0x7fb237ff8700 (LWP 2705)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 19 (Thread 0x7fb2375f7700 (LWP 2706)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 18 (Thread 0x7fb236bf6700 (LWP 2707)):
--Type <return> to continue, or q <return> to quit--
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 17 (Thread 0x7fb2361f5700 (LWP 2708)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 16 (Thread 0x7fb2357f4700 (LWP 2709)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 15 (Thread 0x7fb234df3700 (LWP 2710)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 14 (Thread 0x7fb2343f2700 (LWP 2711)):
#0 0x000000000094bf74 in __io_getevents_0_4 ()
#1 0x0000000000922a74 in os_aio_linux_handle ()
#2 0x00000000008d5793 in fil_aio_wait ()
#3 0x0000000000844e68 in io_handler_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
--Type <return> to continue, or q <return> to quit--
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 13 (Thread 0x7fb2291fe700 (LWP 2714)):
#0 0x00007fb3984d298e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000092482b in os_event_wait_time_low ()
#2 0x0000000000841890 in srv_lock_timeout_thread ()
#3 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#4 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 12 (Thread 0x7fb2287fd700 (LWP 2715)):
#0 0x00007fb396d37925 in raise () from /lib64/libc.so.6
#1 0x00007fb396d39105 in abort () from /lib64/libc.so.6
#2 0x00000000008420e3 in srv_error_monitor_thread ()
#3 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#4 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 11 (Thread 0x7fb227dfc700 (LWP 2716)):
#0 0x00007fb3984d298e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000092482b in os_event_wait_time_low ()
#2 0x00000000008415a3 in srv_monitor_thread ()
#3 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#4 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 10 (Thread 0x7fb2273fb700 (LWP 2717)):
#0 0x00007fb3984d298e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000092482b in os_event_wait_time_low ()
#2 0x0000000000842163 in srv_LRU_dump_restore_thread ()
#3 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#4 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 9 (Thread 0x7fb2269fa700 (LWP 2718)):
#0 0x00007fb3984d25bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000924721 in os_event_wait_low ()
#2 0x000000000089b850 in buf_flush_wait_batch_end ()
#3 0x000000000084360c in srv_master_thread ()
#4 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
--Type <return> to continue, or q <return> to quit--
Thread 8 (Thread 0x7fb225ff9700 (LWP 2719)):
#0 0x00007fb3984d25bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000924721 in os_event_wait_low ()
#2 0x0000000000844aae in srv_purge_thread ()
#3 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#4 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 7 (Thread 0x7fb21d7ff700 (LWP 2720)):
#0 0x00007fb3984d298e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000099f5c7 in my_service_thread_sleep ()
#2 0x0000000000997de2 in ma_checkpoint_background ()
#3 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#4 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 6 (Thread 0x7fb21cdfe700 (LWP 2721)):
#0 0x00007fb3984d64b5 in sigwait () from /lib64/libpthread.so.0
#1 0x000000000051f76f in signal_hand ()
#2 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#3 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7fb21bfff700 (LWP 3123)):
#0 0x00007fb3984d575d in read () from /lib64/libpthread.so.0
#1 0x0000000000a9f558 in vio_read ()
#2 0x0000000000527b81 in my_real_read(st_net*, unsigned long*) ()
#3 0x0000000000528a49 in my_net_read ()
#4 0x00000000005a4012 in do_command(THD*) ()
#5 0x00000000006533cb in do_handle_one_connection(THD*) ()
#6 0x000000000065344c in handle_one_connection ()
#7 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#8 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7fb21bfb6700 (LWP 3125)):
#0 0x0000000000a7273c in my_pthread_fastmutex_lock ()
#1 0x000000000092469d in os_event_reset ()
#2 0x00000000008487ac in sync_array_reserve_cell ()
#3 0x000000000084a07e in mutex_spin_wait ()
--Type <return> to continue, or q <return> to quit--
#4 0x00000000008a37a3 in buf_LRU_free_from_common_LRU_list ()
#5 0x00000000008a532f in buf_LRU_get_free_block ()
#6 0x0000000000894133 in buf_page_create ()
#7 0x00000000008dabc8 in fsp_page_create ()
#8 0x00000000008de6b8 in fseg_alloc_free_page_low ()
#9 0x00000000008e155b in fseg_alloc_free_page_general ()
#10 0x000000000086e000 in btr_page_split_and_insert ()
#11 0x00000000008793d6 in btr_cur_pessimistic_insert ()
#12 0x000000000093d655 in row_ins_index_entry_low ()
#13 0x0000000000940f30 in row_ins_step ()
#14 0x0000000000825f00 in row_insert_for_mysql ()
#15 0x000000000080e830 in ha_innobase::write_row(unsigned char*) ()
#16 0x00000000006d4e88 in handler::ha_write_row(unsigned char*) ()
#17 0x0000000000a4444f in ha_partition::write_row(unsigned char*) ()
#18 0x00000000006d4e88 in handler::ha_write_row(unsigned char*) ()
#19 0x00000000005856a2 in write_record(THD*, TABLE*, st_copy_info*) ()
#20 0x0000000000585f83 in select_insert::send_data(List<Item>&) ()
#21 0x00000000005bc7b6 in end_send(JOIN*, st_join_table*, bool) ()
#22 0x00000000005bcb22 in evaluate_join_record(JOIN*, st_join_table*, int) ()
#23 0x00000000005bcdf9 in sub_select(JOIN*, st_join_table*, bool) ()
#24 0x00000000005d3acd in do_select(JOIN*, List<Item>, TABLE, Procedure*) ()
#25 0x00000000005e8ccc in JOIN::exec() ()
#26 0x00000000005e4095 in mysql_select(THD*, Item**, TABLE_LIST, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) ()
#27 0x00000000005eac83 in handle_select(THD*, LEX*, select_result*, unsigned long) ()
#28 0x00000000005a0e76 in mysql_execute_command(THD*) ()
#29 0x00000000005a1ab4 in mysql_parse ()
#30 0x00000000005a3f2e in dispatch_command(enum_server_command, THD*, char*, unsigned int) ()
#31 0x00000000006533cb in do_handle_one_connection(THD*) ()
#32 0x000000000065344c in handle_one_connection ()
#33 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#34 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7fb21bf6d700 (LWP 3126)):
#0 0x00007fb3984d25bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000924721 in os_event_wait_low ()
#2 0x0000000000848bae in sync_array_wait_event ()
--Type <return> to continue, or q <return> to quit--
#3 0x0000000000849900 in rw_lock_s_lock_spin ()
#4 0x000000000089aefe in buf_flush_try_neighbors ()
#5 0x000000000089b64b in buf_flush_flush_list_batch ()
#6 0x000000000089be5d in buf_flush_list ()
#7 0x000000000090d9de in log_check_margins ()
#8 0x000000000093d317 in row_ins_index_entry_low ()
#9 0x0000000000940e68 in row_ins_step ()
#10 0x0000000000825f00 in row_insert_for_mysql ()
#11 0x000000000080e830 in ha_innobase::write_row(unsigned char*) ()
#12 0x00000000006d4e88 in handler::ha_write_row(unsigned char*) ()
#13 0x0000000000a4444f in ha_partition::write_row(unsigned char*) ()
#14 0x00000000006d4e88 in handler::ha_write_row(unsigned char*) ()
#15 0x00000000005856a2 in write_record(THD*, TABLE*, st_copy_info*) ()
#16 0x0000000000585f83 in select_insert::send_data(List<Item>&) ()
#17 0x00000000005bc7b6 in end_send(JOIN*, st_join_table*, bool) ()
#18 0x00000000005bcb22 in evaluate_join_record(JOIN*, st_join_table*, int) ()
#19 0x00000000005bcdf9 in sub_select(JOIN*, st_join_table*, bool) ()
#20 0x00000000005d3acd in do_select(JOIN*, List<Item>, TABLE, Procedure*) ()
#21 0x00000000005e8ccc in JOIN::exec() ()
#22 0x00000000005e4095 in mysql_select(THD*, Item**, TABLE_LIST, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) ()
#23 0x00000000005eac83 in handle_select(THD*, LEX*, select_result*, unsigned long) ()
#24 0x00000000005a0e76 in mysql_execute_command(THD*) ()
#25 0x00000000005a1ab4 in mysql_parse ()
#26 0x00000000005a3f2e in dispatch_command(enum_server_command, THD*, char*, unsigned int) ()
#27 0x00000000006533cb in do_handle_one_connection(THD*) ()
#28 0x000000000065344c in handle_one_connection ()
#29 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#30 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7fb21bf24700 (LWP 3127)):
#0 0x00007fb3984d25bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000924721 in os_event_wait_low ()
#2 0x000000000089b850 in buf_flush_wait_batch_end ()
#3 0x000000000090de63 in log_check_margins ()
#4 0x000000000093d317 in row_ins_index_entry_low ()
#5 0x0000000000940e68 in row_ins_step ()
--Type <return> to continue, or q <return> to quit--
#6 0x0000000000825f00 in row_insert_for_mysql ()
#7 0x000000000080e830 in ha_innobase::write_row(unsigned char*) ()
#8 0x00000000006d4e88 in handler::ha_write_row(unsigned char*) ()
#9 0x0000000000a4444f in ha_partition::write_row(unsigned char*) ()
#10 0x00000000006d4e88 in handler::ha_write_row(unsigned char*) ()
#11 0x00000000005856a2 in write_record(THD*, TABLE*, st_copy_info*) ()
#12 0x0000000000585f83 in select_insert::send_data(List<Item>&) ()
#13 0x00000000005bc7b6 in end_send(JOIN*, st_join_table*, bool) ()
#14 0x00000000005bcb22 in evaluate_join_record(JOIN*, st_join_table*, int) ()
#15 0x00000000005bcdf9 in sub_select(JOIN*, st_join_table*, bool) ()
#16 0x00000000005d3acd in do_select(JOIN*, List<Item>, TABLE, Procedure*) ()
#17 0x00000000005e8ccc in JOIN::exec() ()
#18 0x00000000005e4095 in mysql_select(THD*, Item**, TABLE_LIST, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) ()
#19 0x00000000005eac83 in handle_select(THD*, LEX*, select_result*, unsigned long) ()
#20 0x00000000005a0e76 in mysql_execute_command(THD*) ()
#21 0x00000000005a1ab4 in mysql_parse ()
#22 0x00000000005a3f2e in dispatch_command(enum_server_command, THD*, char*, unsigned int) ()
#23 0x00000000006533cb in do_handle_one_connection(THD*) ()
#24 0x000000000065344c in handle_one_connection ()
#25 0x00007fb3984ce9d1 in start_thread () from /lib64/libpthread.so.0
#26 0x00007fb396dedb6d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fb3988f1840 (LWP 2696)):
#0 0x00007fb396de4343 in poll () from /lib64/libc.so.6
#1 0x0000000000523073 in handle_connections_sockets() ()
#2 0x0000000000526db2 in mysqld_main(int, char**) ()
#3 0x00007fb396d23d1d in __libc_start_main () from /lib64/libc.so.6
#4 0x000000000051d149 in _start ()
(gdb)
Hi,
About the stack, it does not look correct.
#2 0x000000000089829c in buf_flush_buffered_writes.part.7 ()
#3 0x000000000089add6 in buf_flush_try_neighbors ()
There is no function called buf_flush_buffered_writes.part.7 and buf_flush_buffered_writes is not called from buf_flush_try_neighbors. Could you try again and please send me output from following command from gdb/ddd:
thread apply all bt