[New LWP 1918] [New LWP 1928] [New LWP 1926] [New LWP 1840] [New LWP 1920] [New LWP 1804] [New LWP 1818] [New LWP 1916] [New LWP 1802] [New LWP 1812] [New LWP 1861] [New LWP 1800] [New LWP 1803] [New LWP 1806] [New LWP 1914] [New LWP 1813] [New LWP 1898] [New LWP 1924] [New LWP 1810] [New LWP 1862] [New LWP 1805] [New LWP 1843] [New LWP 1922] [New LWP 1912] [New LWP 1841] [New LWP 1888] [New LWP 1820] [New LWP 1886] [New LWP 1819] [New LWP 1885] [New LWP 1816] [New LWP 1884] [New LWP 1814] [New LWP 1860] [New LWP 1859] [New LWP 1846] [New LWP 1845] [New LWP 1844] [New LWP 1842] [New LWP 1821] [New LWP 1817] [New LWP 1815] [New LWP 1811] [New LWP 1809] [New LWP 1808] [New LWP 1807] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/data/src/10.1-bug/sql/mysqld --defaults-file=/data/jira/supp12275/my2.cnf --ba'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f01747ff101 in __pthread_kill (threadid=, signo=11) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61 Thread 46 (Thread 0x7f00403fc700 (LWP 1807)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235150, segment=1, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=3, message1=0x7f00403fbe58, message2=0x7f00403fbe60, type=0x7f00403fbe68, space_id=0x7f00403fbe70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=3) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4ed8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f00403fc700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 45 (Thread 0x7f003fbfb700 (LWP 1808)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235150, segment=2, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=4, message1=0x7f003fbfae58, message2=0x7f003fbfae60, type=0x7f003fbfae68, space_id=0x7f003fbfae70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=4) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4ee0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003fbfb700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 44 (Thread 0x7f003f3fa700 (LWP 1809)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235150, segment=3, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=5, message1=0x7f003f3f9e58, message2=0x7f003f3f9e60, type=0x7f003f3f9e68, space_id=0x7f003f3f9e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=5) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4ee8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003f3fa700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 43 (Thread 0x7f003e3f8700 (LWP 1811)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235150, segment=5, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=7, message1=0x7f003e3f7e58, message2=0x7f003e3f7e60, type=0x7f003e3f7e68, space_id=0x7f003e3f7e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=7) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4ef8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003e3f8700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 42 (Thread 0x7f003c3f4700 (LWP 1815)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235240, segment=1, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=11, message1=0x7f003c3f3e58, message2=0x7f003c3f3e60, type=0x7f003c3f3e68, space_id=0x7f003c3f3e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=11) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f18 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003c3f4700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 41 (Thread 0x7f003b3f2700 (LWP 1817)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235240, segment=3, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=13, message1=0x7f003b3f1e58, message2=0x7f003b3f1e60, type=0x7f003b3f1e68, space_id=0x7f003b3f1e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=13) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f28 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003b3f2700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 40 (Thread 0x7f00393ee700 (LWP 1821)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235240, segment=7, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=17, message1=0x7f00393ede58, message2=0x7f00393ede60, type=0x7f00393ede68, space_id=0x7f00393ede70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=17) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f48 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f00393ee700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 39 (Thread 0x7f002e7fe700 (LWP 1842)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f01755ca917 in os_cond_wait_timed (cond=0x7f017235c278, fast_mutex=0x7f017235c240, abstime=0x7f002e7fde40) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f01755caf11 in os_event_wait_time_low (event=0x7f017235c240, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f017568cde1 in srv_monitor_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:2134 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f002e7fe700) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 38 (Thread 0x7f002d7fc700 (LWP 1844)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f01755ca9ff in os_cond_wait (cond=0x7f017235c198, fast_mutex=0x7f017235c160) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:196 #2 0x00007f01755cad32 in os_event_wait_low (event=0x7f017235c160, reset_sig_count=154) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:477 #3 0x00007f017568fa32 in srv_purge_coordinator_suspend (slot=0x7f017206d7c8, rseg_history_len=506) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3546 #4 0x00007f017568ff44 in srv_purge_coordinator_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3668 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f002d7fc700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 37 (Thread 0x7f002cffb700 (LWP 1845)): #0 0x00007f01729abae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f01755cb581 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007f017573db20 in page_cleaner_sleep_if_needed (next_loop_time=1474068991162) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2638 #3 0x00007f017573de00 in buf_flush_page_cleaner_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2762 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f002cffb700) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 36 (Thread 0x7f002c7fa700 (LWP 1846)): #0 0x00007f01729abae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f01755cb581 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007f017573db20 in page_cleaner_sleep_if_needed (next_loop_time=1474068990993) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2638 #3 0x00007f017573e3c2 in buf_flush_lru_manager_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/buf/buf0flu.cc:2912 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f002c7fa700) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 35 (Thread 0x7f002bff9700 (LWP 1859)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f01755ca9ff in os_cond_wait (cond=0x7f017235c2e8, fast_mutex=0x7f017235c2b0) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:196 #2 0x00007f01755cad32 in os_event_wait_low (event=0x7f017235c2b0, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:477 #3 0x00007f017573553a in buf_dump_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/buf/buf0dump.cc:703 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f002bff9700) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 34 (Thread 0x7f002b7f8700 (LWP 1860)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f01755ca917 in os_cond_wait_timed (cond=0x7f00eff805f8, fast_mutex=0x7f00eff805c0, abstime=0x7f002b7f7e90) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f01755caf11 in os_event_wait_time_low (event=0x7f00eff805c0, time_in_usec=10000000, reset_sig_count=6) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f017578e510 in dict_stats_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/dict/dict0stats_bg.cc:546 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f002b7f8700) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 33 (Thread 0x7f003cbf5700 (LWP 1814)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235240, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=10, message1=0x7f003cbf4e58, message2=0x7f003cbf4e60, type=0x7f003cbf4e68, space_id=0x7f003cbf4e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=10) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f10 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003cbf5700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 32 (Thread 0x7f017605fb00 (LWP 1884)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f01759965f8 in safe_cond_wait (cond=0x7f01763b50e0 , mp=0x7f01763b5030 , file=0x7f0175ae6680 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1165) at /data/src/10.1-bug/mysys/thr_mutex.c:493 #2 0x00007f0175407c4b in inline_mysql_cond_wait (that=0x7f01763b50e0 , mutex=0x7f01763b5030 , src_file=0x7f0175ae6b34 "/data/src/10.1-bug/sql/log.cc", src_line=9612) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007f017541ffe9 in binlog_background_thread (arg=0x0) at /data/src/10.1-bug/sql/log.cc:9612 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f017605fb00) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 31 (Thread 0x7f003bbf3700 (LWP 1816)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235240, segment=2, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=12, message1=0x7f003bbf2e58, message2=0x7f003bbf2e60, type=0x7f003bbf2e68, space_id=0x7f003bbf2e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=12) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f20 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003bbf3700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 30 (Thread 0x7f0176015b00 (LWP 1885)): #0 do_sigwait (set=, sig=0x7f0176015220) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:63 #1 0x00007f0174801693 in __sigwait (set=0x7f0176015250, sig=0x0) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:97 #2 0x00007f017503285f in signal_hand (arg=0x0) at /data/src/10.1-bug/sql/mysqld.cc:3465 #3 0x00007f01747fa0a4 in start_thread (arg=0x7f0176015b00) at pthread_create.c:309 #4 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 29 (Thread 0x7f003a3f0700 (LWP 1819)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235240, segment=5, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=15, message1=0x7f003a3efe58, message2=0x7f003a3efe60, type=0x7f003a3efe68, space_id=0x7f003a3efe70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=15) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f38 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003a3f0700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 28 (Thread 0x7f0175fcbb00 (LWP 1886)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f01759965f8 in safe_cond_wait (cond=0x7f01763860e0 , mp=0x7f0176389300 , file=0x7f01759fb780 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1165) at /data/src/10.1-bug/mysys/thr_mutex.c:493 #2 0x00007f0175054bc0 in inline_mysql_cond_wait (that=0x7f01763860e0 , mutex=0x7f0176389300 , src_file=0x7f01759fbf20 "/data/src/10.1-bug/sql/slave.cc", src_line=341) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007f01750558e3 in handle_slave_background (arg=0x0) at /data/src/10.1-bug/sql/slave.cc:341 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f0175fcbb00) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 27 (Thread 0x7f0039bef700 (LWP 1820)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235240, segment=6, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=16, message1=0x7f0039beee58, message2=0x7f0039beee60, type=0x7f0039beee68, space_id=0x7f0039beee70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=16) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f40 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f0039bef700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 26 (Thread 0x7f0175f81b00 (LWP 1888)): #0 0x00007f01729a9d3d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f01759ea28c in vio_io_wait (vio=0x7f0049333ef0, event=VIO_IO_EVENT_READ, timeout=28800000) at /data/src/10.1-bug/vio/viosocket.c:992 #2 0x00007f01759e8afa in vio_socket_io_wait (vio=0x7f0049333ef0, event=VIO_IO_EVENT_READ) at /data/src/10.1-bug/vio/viosocket.c:108 #3 0x00007f01759e8caf in vio_read (vio=0x7f0049333ef0, buf=0x7f0049343070 "\001", size=4) at /data/src/10.1-bug/vio/viosocket.c:184 #4 0x00007f0175040934 in my_real_read (net=0x7f004939d330, complen=0x7f0175f80d80, header=1 '\001') at /data/src/10.1-bug/sql/net_serv.cc:875 #5 0x00007f0175041036 in my_net_read_packet (net=0x7f004939d330, read_from_server=1 '\001') at /data/src/10.1-bug/sql/net_serv.cc:1138 #6 0x00007f01750f9524 in do_command (thd=0x7f004939d070) at /data/src/10.1-bug/sql/sql_parse.cc:985 #7 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f0049397070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #8 0x00007f017522f6dd in handle_one_connection (arg=0x7f0049397070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #9 0x00007f01747fa0a4 in start_thread (arg=0x7f0175f81b00) at pthread_create.c:309 #10 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 25 (Thread 0x7f002efff700 (LWP 1841)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f01755ca917 in os_cond_wait_timed (cond=0x7f017235c208, fast_mutex=0x7f017235c1d0, abstime=0x7f002effee10) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f01755caf11 in os_event_wait_time_low (event=0x7f017235c1d0, time_in_usec=1000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f017568d5bd in srv_error_monitor_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:2410 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f002efff700) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 24 (Thread 0x7f0174c2db00 (LWP 1912)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f01759965f8 in safe_cond_wait (cond=0x7f0176389e98 , mp=0x7f0176389ee0 , file=0x7f0175a0a280 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1165) at /data/src/10.1-bug/mysys/thr_mutex.c:493 #2 0x00007f01750a9ec9 in inline_mysql_cond_wait (that=0x7f0176389e98 , mutex=0x7f0176389ee0 , src_file=0x7f0175a0a378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=727) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007f01750aa995 in Query_cache::lock (this=0x7f0176389e40 , thd=0x7f00337a5070) at /data/src/10.1-bug/sql/sql_cache.cc:727 #4 0x00007f01750b12cc in Query_cache::invalidate_table (this=0x7f0176389e40 , thd=0x7f00337a5070, key=0x7f0038569d58 "test", key_length=8) at /data/src/10.1-bug/sql/sql_cache.cc:3250 #5 0x00007f01750b1272 in Query_cache::invalidate_table (this=0x7f0176389e40 , thd=0x7f00337a5070, table=0x7f002f97fe70) at /data/src/10.1-bug/sql/sql_cache.cc:3239 #6 0x00007f01750b11fe in Query_cache::invalidate_table (this=0x7f0176389e40 , thd=0x7f00337a5070, table_list=0x7f016d0571b8) at /data/src/10.1-bug/sql/sql_cache.cc:3224 #7 0x00007f01750aead3 in Query_cache::invalidate (this=0x7f0176389e40 , thd=0x7f00337a5070, tables_used=0x7f016d0571b8, using_transactions=0 '\000') at /data/src/10.1-bug/sql/sql_cache.cc:2213 #8 0x00007f01750dd2d2 in mysql_insert (thd=0x7f00337a5070, table_list=0x7f016d0571b8, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=true) at /data/src/10.1-bug/sql/sql_insert.cc:1039 #9 0x00007f01751014fb in mysql_execute_command (thd=0x7f00337a5070) at /data/src/10.1-bug/sql/sql_parse.cc:3897 #10 0x00007f017510c394 in mysql_parse (thd=0x7f00337a5070, rawbuf=0x7f016d057088 "INSERT IGNORE INTO `t4` ( `id`, `pad` ) VALUES ( NULL, 'e' )", length=60, parser_state=0x7f0174c2c630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #11 0x00007f01750fad9d in dispatch_command (command=COM_QUERY, thd=0x7f00337a5070, packet=0x7f00337e0071 "INSERT IGNORE INTO `t4` ( `id`, `pad` ) VALUES ( NULL, 'e' )", packet_length=60) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #12 0x00007f01750f9ad4 in do_command (thd=0x7f00337a5070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #13 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f00337a5070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #14 0x00007f017522f6dd in handle_one_connection (arg=0x7f00337a5070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #15 0x00007f01747fa0a4 in start_thread (arg=0x7f0174c2db00) at pthread_create.c:309 #16 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 23 (Thread 0x7f0174abbb00 (LWP 1922)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f0175996902 in safe_cond_timedwait (cond=0x7f0176389e98 , mp=0x7f0176389ee0 , abstime=0x7f0174ab9a50, file=0x7f0175a0a280 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1202) at /data/src/10.1-bug/mysys/thr_mutex.c:547 #2 0x00007f01750a9faf in inline_mysql_cond_timedwait (that=0x7f0176389e98 , mutex=0x7f0176389ee0 , abstime=0x7f0174ab9a50, src_file=0x7f0175a0a378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=651) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1202 #3 0x00007f01750aa6b1 in Query_cache::try_lock (this=0x7f0176389e40 , thd=0x7f0033749070, mode=Query_cache::TIMEOUT) at /data/src/10.1-bug/sql/sql_cache.cc:650 #4 0x00007f01750ad4b6 in Query_cache::send_result_to_client (this=0x7f0176389e40 , thd=0x7f0033749070, org_sql=0x7f0030090088 "SELECT SQL_CACHE `c` FROM `t2` WHERE `id` BETWEEN 11411 AND 62802 ORDER BY `c`", query_length=78) at /data/src/10.1-bug/sql/sql_cache.cc:1846 #5 0x00007f017510c1d1 in mysql_parse (thd=0x7f0033749070, rawbuf=0x7f0030090088 "SELECT SQL_CACHE `c` FROM `t2` WHERE `id` BETWEEN 11411 AND 62802 ORDER BY `c`", length=78, parser_state=0x7f0174aba630) at /data/src/10.1-bug/sql/sql_parse.cc:7266 #6 0x00007f01750fad9d in dispatch_command (command=COM_QUERY, thd=0x7f0033749070, packet=0x7f0038509071 "SELECT SQL_CACHE `c` FROM `t2` WHERE `id` BETWEEN 11411 AND 62802 ORDER BY `c`", packet_length=78) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #7 0x00007f01750f9ad4 in do_command (thd=0x7f0033749070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #8 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f0033749070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #9 0x00007f017522f6dd in handle_one_connection (arg=0x7f0033749070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #10 0x00007f01747fa0a4 in start_thread (arg=0x7f0174abbb00) at pthread_create.c:309 #11 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 22 (Thread 0x7f002dffd700 (LWP 1843)): #0 0x00007f01729abae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f01755cb581 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007f017568ef4a in srv_master_sleep () at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3186 #3 0x00007f017568f08d in srv_master_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/srv/srv0srv.cc:3236 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f002dffd700) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 21 (Thread 0x7f00413fe700 (LWP 1805)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f01722351a0, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=1, message1=0x7f00413fde58, message2=0x7f00413fde60, type=0x7f00413fde68, space_id=0x7f00413fde70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=1) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4ec8 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f00413fe700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 20 (Thread 0x7f002a7f6700 (LWP 1862)): #0 0x00007f01729abae3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f01755cb581 in os_thread_sleep (tm=1000000) at /data/src/10.1-bug/storage/xtradb/os/os0thread.cc:278 #2 0x00007f017571b9c9 in btr_defragment_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/btr/btr0defragment.cc:758 #3 0x00007f01747fa0a4 in start_thread (arg=0x7f002a7f6700) at pthread_create.c:309 #4 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 19 (Thread 0x7f003ebf9700 (LWP 1810)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235150, segment=4, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=6, message1=0x7f003ebf8e58, message2=0x7f003ebf8e60, type=0x7f003ebf8e68, space_id=0x7f003ebf8e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=6) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4ef0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003ebf9700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 18 (Thread 0x7f01728c8b00 (LWP 1924)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f0175996902 in safe_cond_timedwait (cond=0x7f0176389e98 , mp=0x7f0176389ee0 , abstime=0x7f01728c6a50, file=0x7f0175a0a280 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1202) at /data/src/10.1-bug/mysys/thr_mutex.c:547 #2 0x00007f01750a9faf in inline_mysql_cond_timedwait (that=0x7f0176389e98 , mutex=0x7f0176389ee0 , abstime=0x7f01728c6a50, src_file=0x7f0175a0a378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=651) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1202 #3 0x00007f01750aa6b1 in Query_cache::try_lock (this=0x7f0176389e40 , thd=0x7f003850e070, mode=Query_cache::TIMEOUT) at /data/src/10.1-bug/sql/sql_cache.cc:650 #4 0x00007f01750ad4b6 in Query_cache::send_result_to_client (this=0x7f0176389e40 , thd=0x7f003850e070, org_sql=0x7f002fc99088 "SELECT SQL_CACHE SUM(`k`) FROM `t1` WHERE `id` BETWEEN 35469 AND 21597", query_length=70) at /data/src/10.1-bug/sql/sql_cache.cc:1846 #5 0x00007f017510c1d1 in mysql_parse (thd=0x7f003850e070, rawbuf=0x7f002fc99088 "SELECT SQL_CACHE SUM(`k`) FROM `t1` WHERE `id` BETWEEN 35469 AND 21597", length=70, parser_state=0x7f01728c7630) at /data/src/10.1-bug/sql/sql_parse.cc:7266 #6 0x00007f01750fad9d in dispatch_command (command=COM_QUERY, thd=0x7f003850e070, packet=0x7f003369b071 "SELECT SQL_CACHE SUM(`k`) FROM `t1` WHERE `id` BETWEEN 35469 AND 21597", packet_length=70) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #7 0x00007f01750f9ad4 in do_command (thd=0x7f003850e070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #8 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f003850e070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #9 0x00007f017522f6dd in handle_one_connection (arg=0x7f003850e070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #10 0x00007f01747fa0a4 in start_thread (arg=0x7f01728c8b00) at pthread_create.c:309 #11 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 17 (Thread 0x7f0175f37b00 (LWP 1898)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f01759965f8 in safe_cond_wait (cond=0x7f0176389e98 , mp=0x7f0176389ee0 , file=0x7f0175a0a280 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1165) at /data/src/10.1-bug/mysys/thr_mutex.c:493 #2 0x00007f01750a9ec9 in inline_mysql_cond_wait (that=0x7f0176389e98 , mutex=0x7f0176389ee0 , src_file=0x7f0175a0a378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=727) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007f01750aa995 in Query_cache::lock (this=0x7f0176389e40 , thd=0x7f0037ef6070) at /data/src/10.1-bug/sql/sql_cache.cc:727 #4 0x00007f01750b12cc in Query_cache::invalidate_table (this=0x7f0176389e40 , thd=0x7f0037ef6070, key=0x7f0038569158 "test", key_length=8) at /data/src/10.1-bug/sql/sql_cache.cc:3250 #5 0x00007f01750b1272 in Query_cache::invalidate_table (this=0x7f0176389e40 , thd=0x7f0037ef6070, table=0x7f002f502e70) at /data/src/10.1-bug/sql/sql_cache.cc:3239 #6 0x00007f01750b11fe in Query_cache::invalidate_table (this=0x7f0176389e40 , thd=0x7f0037ef6070, table_list=0x7f0037ecd198) at /data/src/10.1-bug/sql/sql_cache.cc:3224 #7 0x00007f01750aead3 in Query_cache::invalidate (this=0x7f0176389e40 , thd=0x7f0037ef6070, tables_used=0x7f0037ecd198, using_transactions=0 '\000') at /data/src/10.1-bug/sql/sql_cache.cc:2213 #8 0x00007f01750dd2d2 in mysql_insert (thd=0x7f0037ef6070, table_list=0x7f0037ecd198, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=true) at /data/src/10.1-bug/sql/sql_insert.cc:1039 #9 0x00007f01751014fb in mysql_execute_command (thd=0x7f0037ef6070) at /data/src/10.1-bug/sql/sql_parse.cc:3897 #10 0x00007f017510c394 in mysql_parse (thd=0x7f0037ef6070, rawbuf=0x7f0037ecd088 "INSERT IGNORE INTO `t2` ( `k` ) VALUES ( 8215 )", length=47, parser_state=0x7f0175f36630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #11 0x00007f01750fad9d in dispatch_command (command=COM_QUERY, thd=0x7f0037ef6070, packet=0x7f00337c8071 "INSERT IGNORE INTO `t2` ( `k` ) VALUES ( 8215 )", packet_length=47) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #12 0x00007f01750f9ad4 in do_command (thd=0x7f0037ef6070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #13 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f01723e9070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #14 0x00007f017522f6dd in handle_one_connection (arg=0x7f01723e9070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #15 0x00007f01747fa0a4 in start_thread (arg=0x7f0175f37b00) at pthread_create.c:309 #16 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 16 (Thread 0x7f003d3f6700 (LWP 1813)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235150, segment=7, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=9, message1=0x7f003d3f5e58, message2=0x7f003d3f5e60, type=0x7f003d3f5e68, space_id=0x7f003d3f5e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=9) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f08 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003d3f6700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 15 (Thread 0x7f0174be3b00 (LWP 1914)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f01759965f8 in safe_cond_wait (cond=0x7f0176389e98 , mp=0x7f0176389ee0 , file=0x7f0175a0a280 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1165) at /data/src/10.1-bug/mysys/thr_mutex.c:493 #2 0x00007f01750a9ec9 in inline_mysql_cond_wait (that=0x7f0176389e98 , mutex=0x7f0176389ee0 , src_file=0x7f0175a0a378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=644) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1165 #3 0x00007f01750aa5fe in Query_cache::try_lock (this=0x7f0176389e40 , thd=0x7f0037eab070, mode=Query_cache::WAIT) at /data/src/10.1-bug/sql/sql_cache.cc:644 #4 0x00007f01689fd2a0 in qc_info_fill_table (thd=0x7f0037eab070, tables=0x7f015ec576b8, cond=0x0) at /data/src/10.1-bug/plugin/qc_info/qc_info.cc:123 #5 0x00007f017519ff5d in get_schema_tables_result (join=0x7f015ec59788, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.1-bug/sql/sql_show.cc:8152 #6 0x00007f0175140356 in JOIN::exec_inner (this=0x7f015ec59788) at /data/src/10.1-bug/sql/sql_select.cc:2657 #7 0x00007f017513f9fd in JOIN::exec (this=0x7f015ec59788) at /data/src/10.1-bug/sql/sql_select.cc:2505 #8 0x00007f0175142f6b in mysql_select (thd=0x7f0037eab070, rref_pointer_array=0x7f0037eaf430, tables=0x7f015ec576b8, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x7f015ec59768, unit=0x7f0037eaeab8, select_lex=0x7f0037eaf1b8) at /data/src/10.1-bug/sql/sql_select.cc:3438 #9 0x00007f0175138a5c in handle_select (thd=0x7f0037eab070, lex=0x7f0037eae9f0, result=0x7f015ec59768, setup_tables_done_option=0) at /data/src/10.1-bug/sql/sql_select.cc:384 #10 0x00007f0175108c3b in execute_sqlcom_select (thd=0x7f0037eab070, all_tables=0x7f015ec576b8) at /data/src/10.1-bug/sql/sql_parse.cc:5895 #11 0x00007f01750feb48 in mysql_execute_command (thd=0x7f0037eab070) at /data/src/10.1-bug/sql/sql_parse.cc:2961 #12 0x00007f017510c394 in mysql_parse (thd=0x7f0037eab070, rawbuf=0x7f015ec57088 "SELECT statement_schema, statement_text, result_blocks_count, result_blocks_size FROM INFORMATION_SCHEMA.QUERY_CACHE_INFO", length=121, parser_state=0x7f0174be2630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #13 0x00007f01750fad9d in dispatch_command (command=COM_QUERY, thd=0x7f0037eab070, packet=0x7f0037ee8071 "SELECT statement_schema, statement_text, result_blocks_count, result_blocks_size FROM INFORMATION_SCHEMA.QUERY_CACHE_INFO", packet_length=121) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #14 0x00007f01750f9ad4 in do_command (thd=0x7f0037eab070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #15 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f0037eab070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #16 0x00007f017522f6dd in handle_one_connection (arg=0x7f0037eab070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #17 0x00007f01747fa0a4 in start_thread (arg=0x7f0174be3b00) at pthread_create.c:309 #18 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 14 (Thread 0x7f0040bfd700 (LWP 1806)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235150, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=2, message1=0x7f0040bfce58, message2=0x7f0040bfce60, type=0x7f0040bfce68, space_id=0x7f0040bfce70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=2) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4ed0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f0040bfd700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 13 (Thread 0x7f015fbff700 (LWP 1803)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f0175996902 in safe_cond_timedwait (cond=0x7f0176bf8100 , mp=0x7f0176bf8040 , abstime=0x7f015fbfee10, file=0x7f0175bdee50 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1202) at /data/src/10.1-bug/mysys/thr_mutex.c:547 #2 0x00007f017585a689 in inline_mysql_cond_timedwait (that=0x7f0176bf8100 , mutex=0x7f0176bf8040 , abstime=0x7f015fbfee10, src_file=0x7f0175bdee88 "/data/src/10.1-bug/storage/maria/ma_servicethread.c", src_line=116) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1202 #3 0x00007f017585ab1f in my_service_thread_sleep (control=0x7f01761cf280 , sleep_time=30000000000) at /data/src/10.1-bug/storage/maria/ma_servicethread.c:115 #4 0x00007f017584f856 in ma_checkpoint_background (arg=0x1e) at /data/src/10.1-bug/storage/maria/ma_checkpoint.c:708 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f015fbff700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 12 (Thread 0x7f01760a9780 (LWP 1800)): #0 0x00007f01729a9d3d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f01750382af in handle_connections_sockets () at /data/src/10.1-bug/sql/mysqld.cc:6514 #2 0x00007f017503727b in mysqld_main (argc=101, argv=0x7f01720154c0) at /data/src/10.1-bug/sql/mysqld.cc:5939 #3 0x00007f017502c4f0 in main (argc=12, argv=0x7ffdbbea1128) at /data/src/10.1-bug/sql/main.cc:25 Thread 11 (Thread 0x7f002aff7700 (LWP 1861)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f01755ca917 in os_cond_wait_timed (cond=0x7f00eff80a58, fast_mutex=0x7f00eff80a20, abstime=0x7f002aff6de0) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f01755caf11 in os_event_wait_time_low (event=0x7f00eff80a20, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f01756d59fb in ib_wqueue_timedwait (wq=0x7f0172038f78, wait_in_usecs=5000000) at /data/src/10.1-bug/storage/xtradb/ut/ut0wqueue.cc:154 #4 0x00007f01757da869 in fts_optimize_thread (arg=0x7f0172038f78) at /data/src/10.1-bug/storage/xtradb/fts/fts0opt.cc:3064 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f002aff7700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 10 (Thread 0x7f003dbf7700 (LWP 1812)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235150, segment=6, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=8, message1=0x7f003dbf6e58, message2=0x7f003dbf6e60, type=0x7f003dbf6e68, space_id=0x7f003dbf6e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=8) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f00 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003dbf7700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 9 (Thread 0x7f016dfff700 (LWP 1802)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f0175996902 in safe_cond_timedwait (cond=0x7f0176c017c0 , mp=0x7f0176c01700 , abstime=0x7f016dffeec0, file=0x7f0175c00560 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1202) at /data/src/10.1-bug/mysys/thr_mutex.c:547 #2 0x00007f017599789f in inline_mysql_cond_timedwait (that=0x7f0176c017c0 , mutex=0x7f0176c01700 , abstime=0x7f016dffeec0, src_file=0x7f0175c00598 "/data/src/10.1-bug/mysys/thr_timer.c", src_line=292) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1202 #3 0x00007f0175998346 in timer_handler (arg=0x0) at /data/src/10.1-bug/mysys/thr_timer.c:292 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f016dfff700) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 8 (Thread 0x7f0174b99b00 (LWP 1916)): #0 my_tosort_unicode (uni_plane=0x7f01760e0200 , wc=0x7f0174b96a48, flags=993) at /data/src/10.1-bug/strings/ctype-utf8.c:4449 #1 0x00007f01759cffff in my_strnxfrm_unicode (cs=0x7f0176384f00 , dst=0x7f0037a176f2 '\245' ..., dstlen=120, nweights=11, src=0x7f0030d128bb ' ' , "vbkcewnd", ' ' ..., srclen=180, flags=192) at /data/src/10.1-bug/strings/ctype-utf8.c:4725 #2 0x00007f0175319d5d in Field_string::sort_string (this=0x7f0030c44e88, to=0x7f0037a17690 "", length=120) at /data/src/10.1-bug/sql/field.cc:7168 #3 0x00007f0175305fb2 in Field::make_sort_key (this=0x7f0030c44e88, buff=0x7f0037a17690 "", length=120) at /data/src/10.1-bug/sql/field.cc:1100 #4 0x00007f0175331b26 in make_sortkey (param=0x7f0174b96f00, to=0x7f0037a17690 "", ref_pos=0x7f0030c45110 "\020\354\336\060") at /data/src/10.1-bug/sql/filesort.cc:983 #5 0x00007f017533159d in find_all_keys (thd=0x7f0037fd9070, param=0x7f0174b96f00, select=0x0, fs_info=0x7f0174b96e90, buffpek_pointers=0x7f0174b97100, tempfile=0x7f0174b96f80, pq=0x0, found_rows=0x7f0174b97308) at /data/src/10.1-bug/sql/filesort.cc:840 #6 0x00007f017532fc67 in filesort (thd=0x7f0037fd9070, table=0x7f0030dbe088, sortorder=0x7f0030c8ee08, s_length=1, select=0x0, max_rows=18446744073709551615, sort_positions=false, examined_rows=0x7f0174b97300, found_rows=0x7f0174b97308, tracker=0x7f0030c8ee48) at /data/src/10.1-bug/sql/filesort.cc:301 #7 0x00007f017516f9b6 in create_sort_index (thd=0x7f0037fd9070, join=0x7f0030c8beb8, order=0x7f0030c8bd88, filesort_limit=18446744073709551615, select_limit=18446744073709551615, is_order_by=true) at /data/src/10.1-bug/sql/sql_select.cc:21468 #8 0x00007f017514253b in JOIN::exec_inner (this=0x7f0030c8beb8) at /data/src/10.1-bug/sql/sql_select.cc:3185 #9 0x00007f017513f9fd in JOIN::exec (this=0x7f0030c8beb8) at /data/src/10.1-bug/sql/sql_select.cc:2505 #10 0x00007f0175142f6b in mysql_select (thd=0x7f0037fd9070, rref_pointer_array=0x7f0037fdd430, tables=0x7f0030c8b300, wild_num=0, fields=..., conds=0x7f0030c8bb28, og_num=1, order=0x7f0030c8bd88, group=0x0, having=0x0, proc_param=0x0, select_options=2147748673, result=0x7f0030c8be98, unit=0x7f0037fdcab8, select_lex=0x7f0037fdd1b8) at /data/src/10.1-bug/sql/sql_select.cc:3438 #11 0x00007f0175138a5c in handle_select (thd=0x7f0037fd9070, lex=0x7f0037fdc9f0, result=0x7f0030c8be98, setup_tables_done_option=0) at /data/src/10.1-bug/sql/sql_select.cc:384 #12 0x00007f0175108c3b in execute_sqlcom_select (thd=0x7f0037fd9070, all_tables=0x7f0030c8b300) at /data/src/10.1-bug/sql/sql_parse.cc:5895 #13 0x00007f01750feb48 in mysql_execute_command (thd=0x7f0037fd9070) at /data/src/10.1-bug/sql/sql_parse.cc:2961 #14 0x00007f017510c394 in mysql_parse (thd=0x7f0037fd9070, rawbuf=0x7f0030c8b088 "SELECT SQL_CACHE DISTINCT `c` FROM `t5` WHERE `id` BETWEEN 34744 AND 59310 ORDER BY `pad`", length=89, parser_state=0x7f0174b98630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #15 0x00007f01750fad9d in dispatch_command (command=COM_QUERY, thd=0x7f0037fd9070, packet=0x7f004935b071 "SELECT SQL_CACHE DISTINCT `c` FROM `t5` WHERE `id` BETWEEN 34744 AND 59310 ORDER BY `pad`", packet_length=89) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #16 0x00007f01750f9ad4 in do_command (thd=0x7f0037fd9070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #17 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f0037fd9070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #18 0x00007f017522f6dd in handle_one_connection (arg=0x7f0037fd9070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #19 0x00007f01747fa0a4 in start_thread (arg=0x7f0174b99b00) at pthread_create.c:309 #20 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 7 (Thread 0x7f003abf1700 (LWP 1818)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f0172235240, segment=4, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=14, message1=0x7f003abf0e58, message2=0x7f003abf0e60, type=0x7f003abf0e68, space_id=0x7f003abf0e70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=14) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4f30 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f003abf1700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7f0041bff700 (LWP 1804)): #0 0x00007f01745f06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00007f01755c7cf5 in os_aio_linux_collect (array=0x7f01722351f0, segment=0, seg_size=256) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5432 #2 0x00007f01755c80c7 in os_aio_linux_handle (global_seg=0, message1=0x7f0041bfee58, message2=0x7f0041bfee60, type=0x7f0041bfee68, space_id=0x7f0041bfee70) at /data/src/10.1-bug/storage/xtradb/os/os0file.cc:5585 #3 0x00007f01757a25a0 in fil_aio_wait (segment=0) at /data/src/10.1-bug/storage/xtradb/fil/fil0fil.cc:6099 #4 0x00007f0175692b79 in io_handler_thread (arg=0x7f01763e4ec0 ) at /data/src/10.1-bug/storage/xtradb/srv/srv0start.cc:545 #5 0x00007f01747fa0a4 in start_thread (arg=0x7f0041bff700) at pthread_create.c:309 #6 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7f0174b05b00 (LWP 1920)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f0175996902 in safe_cond_timedwait (cond=0x7f0176389e98 , mp=0x7f0176389ee0 , abstime=0x7f0174b03a50, file=0x7f0175a0a280 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1202) at /data/src/10.1-bug/mysys/thr_mutex.c:547 #2 0x00007f01750a9faf in inline_mysql_cond_timedwait (that=0x7f0176389e98 , mutex=0x7f0176389ee0 , abstime=0x7f0174b03a50, src_file=0x7f0175a0a378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=651) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1202 #3 0x00007f01750aa6b1 in Query_cache::try_lock (this=0x7f0176389e40 , thd=0x7f0037ed8070, mode=Query_cache::TIMEOUT) at /data/src/10.1-bug/sql/sql_cache.cc:650 #4 0x00007f01750ad4b6 in Query_cache::send_result_to_client (this=0x7f0176389e40 , thd=0x7f0037ed8070, org_sql=0x7f003048e088 "SELECT SQL_CACHE SUM(`k`) FROM `t1` WHERE `id` BETWEEN 43815 AND 8785", query_length=69) at /data/src/10.1-bug/sql/sql_cache.cc:1846 #5 0x00007f017510c1d1 in mysql_parse (thd=0x7f0037ed8070, rawbuf=0x7f003048e088 "SELECT SQL_CACHE SUM(`k`) FROM `t1` WHERE `id` BETWEEN 43815 AND 8785", length=69, parser_state=0x7f0174b04630) at /data/src/10.1-bug/sql/sql_parse.cc:7266 #6 0x00007f01750fad9d in dispatch_command (command=COM_QUERY, thd=0x7f0037ed8070, packet=0x7f0033744071 "SELECT SQL_CACHE SUM(`k`) FROM `t1` WHERE `id` BETWEEN 43815 AND 8785", packet_length=69) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #7 0x00007f01750f9ad4 in do_command (thd=0x7f0037ed8070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #8 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f0037ed8070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #9 0x00007f017522f6dd in handle_one_connection (arg=0x7f0037ed8070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #10 0x00007f01747fa0a4 in start_thread (arg=0x7f0174b05b00) at pthread_create.c:309 #11 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7f00333ff700 (LWP 1840)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f01755ca917 in os_cond_wait_timed (cond=0x7f00eff802e8, fast_mutex=0x7f00eff802b0, abstime=0x7f00333fee70) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:159 #2 0x00007f01755caf11 in os_event_wait_time_low (event=0x7f00eff802b0, time_in_usec=1000000, reset_sig_count=1) at /data/src/10.1-bug/storage/xtradb/os/os0sync.cc:591 #3 0x00007f017559ae95 in lock_wait_timeout_thread (arg=0x0) at /data/src/10.1-bug/storage/xtradb/lock/lock0wait.cc:536 #4 0x00007f01747fa0a4 in start_thread (arg=0x7f00333ff700) at pthread_create.c:309 #5 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7f017287eb00 (LWP 1926)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f0175996902 in safe_cond_timedwait (cond=0x7f0176389e98 , mp=0x7f0176389ee0 , abstime=0x7f017287ca50, file=0x7f0175a0a280 "/data/src/10.1-bug/include/mysql/psi/mysql_thread.h", line=1202) at /data/src/10.1-bug/mysys/thr_mutex.c:547 #2 0x00007f01750a9faf in inline_mysql_cond_timedwait (that=0x7f0176389e98 , mutex=0x7f0176389ee0 , abstime=0x7f017287ca50, src_file=0x7f0175a0a378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=651) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:1202 #3 0x00007f01750aa6b1 in Query_cache::try_lock (this=0x7f0176389e40 , thd=0x7f00336a5070, mode=Query_cache::TIMEOUT) at /data/src/10.1-bug/sql/sql_cache.cc:650 #4 0x00007f01750ad4b6 in Query_cache::send_result_to_client (this=0x7f0176389e40 , thd=0x7f00336a5070, org_sql=0x7f002f88c088 "SELECT SQL_CACHE DISTINCT `k` FROM `t5` WHERE `id` BETWEEN 42056 AND 1365 ORDER BY `c`", query_length=86) at /data/src/10.1-bug/sql/sql_cache.cc:1846 #5 0x00007f017510c1d1 in mysql_parse (thd=0x7f00336a5070, rawbuf=0x7f002f88c088 "SELECT SQL_CACHE DISTINCT `k` FROM `t5` WHERE `id` BETWEEN 42056 AND 1365 ORDER BY `c`", length=86, parser_state=0x7f017287d630) at /data/src/10.1-bug/sql/sql_parse.cc:7266 #6 0x00007f01750fad9d in dispatch_command (command=COM_QUERY, thd=0x7f00336a5070, packet=0x7f0037f42071 "SELECT SQL_CACHE DISTINCT `k` FROM `t5` WHERE `id` BETWEEN 42056 AND 1365 ORDER BY `c`", packet_length=86) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #7 0x00007f01750f9ad4 in do_command (thd=0x7f00336a5070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #8 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f00336a5070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #9 0x00007f017522f6dd in handle_one_connection (arg=0x7f00336a5070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #10 0x00007f01747fa0a4 in start_thread (arg=0x7f017287eb00) at pthread_create.c:309 #11 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f016d5fab00 (LWP 1928)): #0 0x00007f01759ae491 in code_state () at /data/src/10.1-bug/dbug/dbug.c:352 #1 0x00007f01759b0923 in _db_return_ (_stack_frame_=0x7f016d5f80f0) at /data/src/10.1-bug/dbug/dbug.c:1170 #2 0x00007f0175278274 in handler::multi_range_read_next (this=0x7f017227a088, range_info=0x7f016d5f81c8) at /data/src/10.1-bug/sql/multi_range_read.cc:299 #3 0x00007f0175278382 in Mrr_simple_index_reader::get_next (this=0x7f017227a690, range_info=0x7f016d5f81c8) at /data/src/10.1-bug/sql/multi_range_read.cc:322 #4 0x00007f017527ae02 in DsMrr_impl::dsmrr_next (this=0x7f017227a550, range_info=0x7f016d5f81c8) at /data/src/10.1-bug/sql/multi_range_read.cc:1408 #5 0x00007f0175545a28 in ha_innobase::multi_range_read_next (this=0x7f017227a088, range_info=0x7f016d5f81c8) at /data/src/10.1-bug/storage/xtradb/handler/ha_innodb.cc:21938 #6 0x00007f0175469ada in QUICK_RANGE_SELECT::get_next (this=0x7f002f461280) at /data/src/10.1-bug/sql/opt_range.cc:11177 #7 0x00007f0175479b6b in rr_quick (info=0x7f002f48f8d0) at /data/src/10.1-bug/sql/records.cc:349 #8 0x00007f0175168219 in sub_select (join=0x7f002f48dea8, join_tab=0x7f002f48f810, end_of_records=false) at /data/src/10.1-bug/sql/sql_select.cc:18315 #9 0x00007f01751679da in do_select (join=0x7f002f48dea8, fields=0x0, table=0x7f002f4cc088, procedure=0x0) at /data/src/10.1-bug/sql/sql_select.cc:17951 #10 0x00007f017514098a in JOIN::exec_inner (this=0x7f002f48dea8) at /data/src/10.1-bug/sql/sql_select.cc:2759 #11 0x00007f017513f9fd in JOIN::exec (this=0x7f002f48dea8) at /data/src/10.1-bug/sql/sql_select.cc:2505 #12 0x00007f0175142f6b in mysql_select (thd=0x7f0037f47070, rref_pointer_array=0x7f0037f4b430, tables=0x7f002f48d2f8, wild_num=0, fields=..., conds=0x7f002f48db20, og_num=1, order=0x7f002f48dd78, group=0x0, having=0x0, proc_param=0x0, select_options=2147748673, result=0x7f002f48de88, unit=0x7f0037f4aab8, select_lex=0x7f0037f4b1b8) at /data/src/10.1-bug/sql/sql_select.cc:3438 #13 0x00007f0175138a5c in handle_select (thd=0x7f0037f47070, lex=0x7f0037f4a9f0, result=0x7f002f48de88, setup_tables_done_option=0) at /data/src/10.1-bug/sql/sql_select.cc:384 #14 0x00007f0175108c3b in execute_sqlcom_select (thd=0x7f0037f47070, all_tables=0x7f002f48d2f8) at /data/src/10.1-bug/sql/sql_parse.cc:5895 #15 0x00007f01750feb48 in mysql_execute_command (thd=0x7f0037f47070) at /data/src/10.1-bug/sql/sql_parse.cc:2961 #16 0x00007f017510c394 in mysql_parse (thd=0x7f0037f47070, rawbuf=0x7f002f48d088 "SELECT SQL_CACHE DISTINCT `k` FROM `t5` WHERE `id` BETWEEN 9293 AND 30293 ORDER BY `id`", length=87, parser_state=0x7f016d5f9630) at /data/src/10.1-bug/sql/sql_parse.cc:7318 #17 0x00007f01750fad9d in dispatch_command (command=COM_QUERY, thd=0x7f0037f47070, packet=0x7f0037f4d071 "SELECT SQL_CACHE DISTINCT `k` FROM `t5` WHERE `id` BETWEEN 9293 AND 30293 ORDER BY `id`", packet_length=87) at /data/src/10.1-bug/sql/sql_parse.cc:1487 #18 0x00007f01750f9ad4 in do_command (thd=0x7f0037f47070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #19 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f0037f47070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #20 0x00007f017522f6dd in handle_one_connection (arg=0x7f0037f47070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #21 0x00007f01747fa0a4 in start_thread (arg=0x7f016d5fab00) at pthread_create.c:309 #22 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f0174b4fb00 (LWP 1918)): #0 0x00007f01747ff101 in __pthread_kill (threadid=, signo=11) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61 #1 0x00007f01759910f6 in my_write_core (sig=11) at /data/src/10.1-bug/mysys/stacktrace.c:477 #2 0x00007f01753354f9 in handle_fatal_signal (sig=11) at /data/src/10.1-bug/sql/signal_handler.cc:294 #3 #4 0x00007f01750a9be3 in inline_mysql_rwlock_wrlock (that=0x7f0221cfe6b8, src_file=0x7f0175a0a378 "/data/src/10.1-bug/sql/sql_cache.cc", src_line=919) at /data/src/10.1-bug/include/mysql/psi/mysql_thread.h:931 #5 0x00007f01750b7ead in Query_cache_query::lock_writing (this=0x7f0221cfe6b0) at /data/src/10.1-bug/sql/sql_cache.cc:919 #6 0x00007f01750ab4d9 in Query_cache::insert (this=0x7f0176389e40 , thd=0x7f00337d1070, query_cache_tls=0x7f00337d1328, packet=0x7f004938c070 "\001", length=62, pkt_nr=6) at /data/src/10.1-bug/sql/sql_cache.cc:1095 #7 0x00007f01750ab38d in query_cache_insert (thd_arg=0x7f00337d1070, packet=0x7f004938c070 "\001", length=62, pkt_nr=6) at /data/src/10.1-bug/sql/sql_cache.cc:1057 #8 0x00007f0175040352 in net_real_write (net=0x7f00337d1330, packet=0x7f004938c070 "\001", len=62) at /data/src/10.1-bug/sql/net_serv.cc:606 #9 0x00007f017503fc81 in net_flush (net=0x7f00337d1330) at /data/src/10.1-bug/sql/net_serv.cc:363 #10 0x00007f017504647d in net_send_eof (thd=0x7f00337d1070, server_status=2, statement_warn_count=0) at /data/src/10.1-bug/sql/protocol.cc:300 #11 0x00007f0175046c9a in Protocol::send_eof (this=0x7f00337d1600, server_status=2, statement_warn_count=0) at /data/src/10.1-bug/sql/protocol.cc:571 #12 0x00007f0175046abb in Protocol::end_statement (this=0x7f00337d1600) at /data/src/10.1-bug/sql/protocol.cc:519 #13 0x00007f01750fc36d in dispatch_command (command=COM_QUERY, thd=0x7f00337d1070, packet=0x7f004938c071 "", packet_length=70) at /data/src/10.1-bug/sql/sql_parse.cc:1940 #14 0x00007f01750f9ad4 in do_command (thd=0x7f00337d1070) at /data/src/10.1-bug/sql/sql_parse.cc:1108 #15 0x00007f017522f979 in do_handle_one_connection (thd_arg=0x7f00337d1070) at /data/src/10.1-bug/sql/sql_connect.cc:1350 #16 0x00007f017522f6dd in handle_one_connection (arg=0x7f00337d1070) at /data/src/10.1-bug/sql/sql_connect.cc:1262 #17 0x00007f01747fa0a4 in start_thread (arg=0x7f0174b4fb00) at pthread_create.c:309 #18 0x00007f01729b287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111