(gdb) thread apply all bt Thread 16 (Thread 1084229984 (LWP 12600)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ed13b in Synchronize::sleep (this=0x2a959c71e0) at Synchronize.cpp:123 #2 0x00000000008f8a47 in Cache::ioThread (this=0x2a957edfe8) at Cache.cpp:941 #3 0x000000000084bb83 in Thread::thread (this=0x2a959c71e0) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 15 (Thread 1094719840 (LWP 12601)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ed13b in Synchronize::sleep (this=0x2a959c7320) at Synchronize.cpp:123 #2 0x00000000008f8a47 in Cache::ioThread (this=0x2a957edfe8) at Cache.cpp:941 #3 0x000000000084bb83 in Thread::thread (this=0x2a959c7320) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 14 (Thread 1105209696 (LWP 12602)): #0 0x000000360d308b9f in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ecff6 in Synchronize::sleep (this=0x2a959d0770, milliseconds=Variable "milliseconds" is not available. ) at Synchronize.cpp:181 #2 0x000000000086e466 in Database::ticker (database=Variable "database" is not available. ) at Database.cpp:1872 #3 0x000000000084bb83 in Thread::thread (this=0x2a959d0770) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 13 (Thread 1115699552 (LWP 12603)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ed13b in Synchronize::sleep (this=0x2a959d08b0) at Synchronize.cpp:123 #2 0x00000000008a824c in PageWriter::writer (this=0x2a95870358) at PageWriter.cpp:171 #3 0x000000000084bb83 in Thread::thread (this=0x2a959d08b0) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 12 (Thread 1126189408 (LWP 12604)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ed13b in Synchronize::sleep (this=0x2a959d0e58) at Synchronize.cpp:123 #2 0x00000000008fe2a6 in Gopher::gopherThread (this=0x2a959c7cb8) at Gopher.cpp:58 #3 0x000000000084bb83 in Thread::thread (this=0x2a959d0e58) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 11 (Thread 1136679264 (LWP 12605)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ed13b in Synchronize::sleep (this=0x2a959d0f98) at Synchronize.cpp:123 ---Type to continue, or q to quit--- #2 0x00000000008fe2a6 in Gopher::gopherThread (this=0x2a959c7c80) at Gopher.cpp:58 #3 0x000000000084bb83 in Thread::thread (this=0x2a959d0f98) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 10 (Thread 1147169120 (LWP 12606)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ed13b in Synchronize::sleep (this=0x2a959d10d8) at Synchronize.cpp:123 #2 0x00000000008fe2a6 in Gopher::gopherThread (this=0x2a959c7c48) at Gopher.cpp:58 #3 0x000000000084bb83 in Thread::thread (this=0x2a959d10d8) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 9 (Thread 1157658976 (LWP 12607)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ed13b in Synchronize::sleep (this=0x2a959d1218) at Synchronize.cpp:123 #2 0x00000000008fe2a6 in Gopher::gopherThread (this=0x2a959c7c10) at Gopher.cpp:58 #3 0x000000000084bb83 in Thread::thread (this=0x2a959d1218) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 8 (Thread 1168148832 (LWP 12608)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ed13b in Synchronize::sleep (this=0x2a959d1358) at Synchronize.cpp:123 #2 0x00000000008fe2a6 in Gopher::gopherThread (this=0x2a959c7bd8) at Gopher.cpp:58 #3 0x000000000084bb83 in Thread::thread (this=0x2a959d1358) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 7 (Thread 1178638688 (LWP 12609)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ed13b in Synchronize::sleep (this=0x2a959d2260) at Synchronize.cpp:123 #2 0x00000000008ca3b4 in Scheduler::schedule (this=0x2a959cf960) at Scheduler.cpp:152 #3 0x000000000084bb83 in Thread::thread (this=0x2a959d2260) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 6 (Thread 1189128544 (LWP 12610)): #0 0x000000360d308b9f in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x00000000008ecff6 in Synchronize::sleep (this=0x2a959d9b70, milliseconds=Variable "milliseconds" is not available. ) at Synchronize.cpp:181 #2 0x00000000008ca371 in Scheduler::schedule (this=0x2a959cfa40) at Scheduler.cpp:150 #3 0x000000000084bb83 in Thread::thread (this=0x2a959d9b70) at Thread.cpp:167 #4 0x000000000084bd49 in Thread::thread (parameter=Variable "parameter" is not available. ) at Thread.cpp:146 #5 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 ---Type to continue, or q to quit--- #6 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #7 0x0000000000000000 in ?? () Thread 5 (Thread 1199618400 (LWP 12611)): #0 0x000000360d3089aa in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/tls/libpthread.so.0 #1 0x0000000000a3746b in _ma_bitmap_flush_all (share=0x1a932b0) at ma_bitmap.c:380 #2 0x0000000000a61f76 in really_execute_checkpoint () at ma_checkpoint.c:1048 #3 0x0000000000a626d4 in ma_checkpoint_background (arg=Variable "arg" is not available. ) at ma_checkpoint.c:132 #4 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #5 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #6 0x0000000000000000 in ?? () Thread 4 (Thread 1199884640 (LWP 12612)): #0 0x000000360d30c1bb in do_sigwait () from /lib64/tls/libpthread.so.0 #1 0x000000360d30c26d in sigwait () from /lib64/tls/libpthread.so.0 #2 0x000000000064482b in signal_hand (arg=Variable "arg" is not available. ) at mysqld.cc:2865 #3 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #4 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #5 0x0000000000000000 in ?? () Thread 3 (Thread 1200150880 (LWP 12615)): #0 0x000000360d30adfb in __lll_mutex_lock_wait () from /lib64/tls/libpthread.so.0 #1 0x0000000000000001 in ?? () #2 0x000000000000000b in ?? () #3 0x000000360d307c07 in pthread_mutex_lock () from /lib64/tls/libpthread.so.0 #4 0x000000050b096a5f in ?? () #5 0x000000050b096a90 in ?? () #6 0x0000000000000003 in ?? () #7 0x000000002bbdb603 in ?? () #8 0x0000000000a095c8 in pagecache_unlock_by_link (pagecache=0x1a938c0, block=0x1a932b0, lock=27878134, pin=27266682, first_REDO_LSN_for_page=2982707200, lsn=35, was_changed=1 '\001') at ma_pagecache.c:2988 #9 0x0000000001a938c0 in ?? () #10 0x00000000b1c88000 in ?? () #11 0x0000000000a21718 in _ma_set_share_data_file_length (share=0x360ca314c2, new_length=11086660) at ma_state.c:550 #12 0x0000000000a3151a in write_block_record (info=0x1a95ca0, old_record=0x0, record=0x1a930d8 "ÿ\003", row=0x1a95cf8, bitmap_blocks=0x1a95cf8, head_block_is_read=0 '\0', row_pos=0x4788afa0, undo_lsn=1, old_record_checksum=0) at ma_blockrec.c:3018 #13 0x0000000000a3273b in _ma_write_init_block_record (info=0x1a95ca0, record=0x1a930d8 "ÿ\003") at ma_blockrec.c:3396 #14 0x0000000000a3cdae in maria_write (info=0x1a95ca0, record=0x1a930d8 "ÿ\003") at ma_write.c:151 #15 0x00000000007363af in handler::ha_write_row (this=0x1a92ee8, buf=0x1a930d8 "ÿ\003") at handler.cc:5258 #16 0x00000000006c4e6d in write_record (thd=0x1a234b0, table=0x1a92620, info=0x1a8dac8) at sql_insert.cc:1575 #17 0x00000000006c57a4 in select_insert::send_data (this=0x1a8da90, values=Variable "values" is not available. ) at sql_insert.cc:3120 #18 0x000000000069b4a1 in end_send (join=0x1aa8a98, join_tab=Variable "join_tab" is not available. ) at sql_select.cc:14725 #19 0x00000000006adb5c in evaluate_join_record (join=0x1aa8a98, join_tab=0x1aaa5f0, error=Variable "error" is not available. ) at sql_select.cc:13956 #20 0x00000000006add47 in sub_select (join=0x1aa8a98, join_tab=0x1aaa5f0, end_of_records=Variable "end_of_records" is not available. ) at sql_select.cc:13733 #21 0x00000000006ae22d in do_select (join=0x1aa8a98, fields=0x1aaa4b0, table=0x0, procedure=0x0) at sql_select.cc:13453 #22 0x00000000006c0e7d in JOIN::exec (this=0x1aa8a98) at sql_select.cc:2827 #23 0x00000000006bccfe in mysql_select (thd=0x1a234b0, rref_pointer_array=0x1a25598, tables=Variable "tables" is not available. ) at sql_select.cc:3017 #24 0x00000000006c276c in handle_select (thd=0x1a234b0, lex=0x1a24eb0, result=0x1a8da90, setup_tables_done_option=1073741824) at sql_select.cc:300 #25 0x00000000006593d5 in mysql_execute_command (thd=0x1a234b0) at sql_parse.cc:3160 #26 0x0000000000659e5f in mysql_parse (thd=0x1a234b0, inBuf=0x1a8ca88 "insert into t1 select * from t1", length=31, found_semicolon=0x4788d150) at sql_parse.cc:5932 #27 0x000000000065a9de in dispatch_command (command=COM_QUERY, thd=0x1a234b0, packet=0x1a7d481 "insert into t1 select * from t1", packet_length=Variable "packet_length" is not available. ) at sql_parse.cc:1134 #28 0x000000000064dee2 in handle_one_connection (arg=Variable "arg" is not available. ) at sql_connect.cc:1153 ---Type to continue, or q to quit--- #29 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #30 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #31 0x0000000000000000 in ?? () Thread 2 (Thread 1200417120 (LWP 18946)): #0 0x000000360d30adfb in __lll_mutex_lock_wait () from /lib64/tls/libpthread.so.0 #1 0x0000000000000001 in ?? () #2 0x000000000000000b in ?? () #3 0x000000360d307c07 in pthread_mutex_lock () from /lib64/tls/libpthread.so.0 #4 0x000000360cc30620 in __malloc_initialize_hook () from /lib64/tls/libc.so.6 #5 0x0000000000000080 in ?? () #6 0x7c4da3be01ac4a00 in ?? () #7 0x0000000000a92b44 in my_pthread_fastmutex_lock (mp=0x1) at thr_mutex.c:481 #8 0x0000000000a217cc in _ma_setup_live_state (info=0x360ca6ac52) at ma_state.c:80 #9 0x0000000000a0e99d in ha_maria::external_lock (this=0x1aabc98, thd=0x1ac4a90, lock_type=0) at ha_maria.cc:2197 #10 0x000000000073264a in handler::ha_external_lock (this=0x1aabc98, thd=Variable "thd" is not available. ) at handler.cc:5220 #11 0x000000000063dd0b in mysql_lock_tables (thd=0x1ac4a90, tables=Variable "tables" is not available. ) at lock.cc:389 #12 0x0000000000687ad2 in lock_tables (thd=0x1ac4a90, tables=0x0, count=Variable "count" is not available. ) at sql_base.cc:4416 #13 0x000000000068e415 in open_and_lock_tables_derived (thd=0x1ac4a90, tables=0x1abe230, derived=true, flags=0) at sql_base.cc:4121 #14 0x0000000000651227 in execute_sqlcom_select (thd=0x1ac4a90, all_tables=0x1abe230) at mysql_priv.h:1616 #15 0x0000000000657c09 in mysql_execute_command (thd=0x1ac4a90) at sql_parse.cc:2167 #16 0x0000000000659e5f in mysql_parse (thd=0x1ac4a90, inBuf=0x1abdd68 "select count(*) from t1", length=23, found_semicolon=0x478ce150) at sql_parse.cc:5932 #17 0x000000000065a9de in dispatch_command (command=COM_QUERY, thd=0x1ac4a90, packet=0x1ab5d31 "select count(*) from t1", packet_length=Variable "packet_length" is not available. ) at sql_parse.cc:1134 #18 0x000000000064dee2 in handle_one_connection (arg=Variable "arg" is not available. ) at sql_connect.cc:1153 #19 0x000000360d30610a in start_thread () from /lib64/tls/libpthread.so.0 #20 0x000000360cac6003 in clone () from /lib64/tls/libc.so.6 #21 0x0000000000000000 in ?? () Thread 1 (Thread 182895254496 (LWP 12598)): #0 0x000000360cabf0a6 in __select_nocancel () from /lib64/tls/libc.so.6 #1 0x0000000000648f0f in handle_connections_sockets (arg=Variable "arg" is not available. ) at mysqld.cc:5095 #2 0x0000000000649ae8 in main (argc=Variable "argc" is not available. ) at mysqld.cc:4603