[New LWP 9010] [New LWP 9009] [New LWP 9008] [New LWP 9007] [New LWP 9006] [New LWP 9005] [New LWP 9000] [New LWP 8988] [New LWP 8984] [New LWP 8983] [New LWP 8982] [New LWP 8979] [New LWP 8978] [New LWP 8966] [New LWP 8964] [New LWP 8960] [New LWP 8931] [New LWP 8930] [New LWP 8922] [New LWP 8921] [New LWP 8920] [New LWP 8918] [New LWP 8917] [New LWP 8914] [New LWP 8912] [New LWP 8911] [New LWP 8910] [New LWP 8909] [New LWP 8907] [New LWP 8906] [New LWP 8903] [New LWP 8902] [New LWP 8901] [New LWP 8891] [New LWP 8880] [New LWP 8879] [New LWP 8867] [New LWP 8866] [New LWP 8859] [New LWP 8858] [New LWP 8831] [New LWP 8830] [New LWP 8829] [New LWP 8828] [New LWP 8825] [New LWP 8824] [New LWP 8823] [New LWP 8815] [New LWP 8809] [New LWP 8808] [New LWP 8807] [New LWP 8806] [New LWP 8805] [New LWP 8804] [New LWP 8803] [New LWP 8802] [New LWP 8801] [New LWP 8800] [New LWP 8799] [New LWP 8798] [New LWP 8797] [New LWP 8796] [New LWP 8795] [New LWP 8794] [New LWP 8793] [New LWP 8792] [New LWP 8790] [New LWP 8789] [New LWP 8788] [New LWP 8787] [New LWP 8786] [New LWP 8785] [New LWP 8784] [New LWP 8780] [New LWP 8779] [New LWP 8778] [New LWP 8777] [New LWP 8776] [New LWP 8775] [New LWP 8774] [New LWP 8773] [New LWP 8772] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007f1e114384ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 Thread 83 (Thread 0x7f1de3ac0700 (LWP 8772)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x000055ca8f258f41 in safe_cond_timedwait (cond=0x55ca90652580 , mp=0x55ca906524c0 , abstime=0x7f1de3abfeb0, file=0x55ca8f596690 "/data/src/10.2-bug/include/mysql/psi/mysql_thread.h", line=1186) at /data/src/10.2-bug/mysys/thr_mutex.c:545 #2 0x000055ca8f259f02 in inline_mysql_cond_timedwait (that=0x55ca90652580 , mutex=0x55ca906524c0 , abstime=0x7f1de3abfeb0, src_file=0x55ca8f5966c8 "/data/src/10.2-bug/mysys/thr_timer.c", src_line=292) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:1186 #3 0x000055ca8f25a9b9 in timer_handler (arg=0x0) at /data/src/10.2-bug/mysys/thr_timer.c:292 #4 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55ca922a4fa0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1de3ac0700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 82 (Thread 0x7f1de1377700 (LWP 8773)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x000055ca8f258f41 in safe_cond_timedwait (cond=0x55ca905f3600 , mp=0x55ca905f3540 , abstime=0x7f1de1376e00, file=0x55ca8f3ff350 "/data/src/10.2-bug/include/mysql/psi/mysql_thread.h", line=1186) at /data/src/10.2-bug/mysys/thr_mutex.c:545 #2 0x000055ca8ed2dae7 in inline_mysql_cond_timedwait (that=0x55ca905f3600 , mutex=0x55ca905f3540 , abstime=0x7f1de1376e00, src_file=0x55ca8f3ff388 "/data/src/10.2-bug/storage/maria/ma_servicethread.c", src_line=116) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:1186 #3 0x000055ca8ed2df99 in my_service_thread_sleep (control=0x55ca8fbee7c0 , sleep_time=30000000000) at /data/src/10.2-bug/storage/maria/ma_servicethread.c:115 #4 0x000055ca8ed22c57 in ma_checkpoint_background (arg=0x1e) at /data/src/10.2-bug/storage/maria/ma_checkpoint.c:708 #5 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55ca922c8130) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1de1377700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 81 (Thread 0x7f1dccb21700 (LWP 8774)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1dccb20c40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1dccb20c40, m1=0x7f1dccb20ce8, m2=0x7f1dccb20cf0, request=0x7f1dccb20d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=0, m1=0x7f1dccb20ce8, m2=0x7f1dccb20cf0, request=0x7f1dccb20d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=0, m1=0x7f1dccb20ce8, m2=0x7f1dccb20cf0, request=0x7f1dccb20d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=0) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a940 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1dccb21700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 80 (Thread 0x7f1b6553d700 (LWP 8775)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1b6553cc40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1b6553cc40, m1=0x7f1b6553cce8, m2=0x7f1b6553ccf0, request=0x7f1b6553cd20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=1, m1=0x7f1b6553cce8, m2=0x7f1b6553ccf0, request=0x7f1b6553cd20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=1, m1=0x7f1b6553cce8, m2=0x7f1b6553ccf0, request=0x7f1b6553cd20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=1) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a948 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b6553d700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 79 (Thread 0x7f1b64d3c700 (LWP 8776)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1b64d3bc40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1b64d3bc40, m1=0x7f1b64d3bce8, m2=0x7f1b64d3bcf0, request=0x7f1b64d3bd20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=2, m1=0x7f1b64d3bce8, m2=0x7f1b64d3bcf0, request=0x7f1b64d3bd20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=2, m1=0x7f1b64d3bce8, m2=0x7f1b64d3bcf0, request=0x7f1b64d3bd20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=2) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a950 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b64d3c700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 78 (Thread 0x7f1b6453b700 (LWP 8777)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1b6453ac40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1b6453ac40, m1=0x7f1b6453ace8, m2=0x7f1b6453acf0, request=0x7f1b6453ad20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=3, m1=0x7f1b6453ace8, m2=0x7f1b6453acf0, request=0x7f1b6453ad20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=3, m1=0x7f1b6453ace8, m2=0x7f1b6453acf0, request=0x7f1b6453ad20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=3) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a958 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b6453b700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 77 (Thread 0x7f1b63d3a700 (LWP 8778)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1b63d39c40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1b63d39c40, m1=0x7f1b63d39ce8, m2=0x7f1b63d39cf0, request=0x7f1b63d39d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=4, m1=0x7f1b63d39ce8, m2=0x7f1b63d39cf0, request=0x7f1b63d39d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=4, m1=0x7f1b63d39ce8, m2=0x7f1b63d39cf0, request=0x7f1b63d39d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=4) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a960 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b63d3a700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 76 (Thread 0x7f1b63539700 (LWP 8779)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1b63538c40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1b63538c40, m1=0x7f1b63538ce8, m2=0x7f1b63538cf0, request=0x7f1b63538d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=5, m1=0x7f1b63538ce8, m2=0x7f1b63538cf0, request=0x7f1b63538d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=5, m1=0x7f1b63538ce8, m2=0x7f1b63538cf0, request=0x7f1b63538d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=5) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a968 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b63539700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 75 (Thread 0x7f1b62d38700 (LWP 8780)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1b62d37c40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1b62d37c40, m1=0x7f1b62d37ce8, m2=0x7f1b62d37cf0, request=0x7f1b62d37d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=6, m1=0x7f1b62d37ce8, m2=0x7f1b62d37cf0, request=0x7f1b62d37d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=6, m1=0x7f1b62d37ce8, m2=0x7f1b62d37cf0, request=0x7f1b62d37d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=6) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a970 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b62d38700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 74 (Thread 0x7f1b62537700 (LWP 8784)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1b62536c40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1b62536c40, m1=0x7f1b62536ce8, m2=0x7f1b62536cf0, request=0x7f1b62536d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=7, m1=0x7f1b62536ce8, m2=0x7f1b62536cf0, request=0x7f1b62536d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=7, m1=0x7f1b62536ce8, m2=0x7f1b62536cf0, request=0x7f1b62536d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=7) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a978 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b62537700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 73 (Thread 0x7f1b61d36700 (LWP 8785)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1b61d35c40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1b61d35c40, m1=0x7f1b61d35ce8, m2=0x7f1b61d35cf0, request=0x7f1b61d35d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=8, m1=0x7f1b61d35ce8, m2=0x7f1b61d35cf0, request=0x7f1b61d35d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=8, m1=0x7f1b61d35ce8, m2=0x7f1b61d35cf0, request=0x7f1b61d35d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=8) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a980 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b61d36700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 72 (Thread 0x7f1b61535700 (LWP 8786)): #0 0x00007f1e130c06ea in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x000055ca8eeb03fc in LinuxAIOHandler::collect (this=0x7f1b61534c40) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:1883 #2 0x000055ca8eeb091c in LinuxAIOHandler::poll (this=0x7f1b61534c40, m1=0x7f1b61534ce8, m2=0x7f1b61534cf0, request=0x7f1b61534d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2028 #3 0x000055ca8eeb0a8a in os_aio_linux_handler (global_segment=9, m1=0x7f1b61534ce8, m2=0x7f1b61534cf0, request=0x7f1b61534d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:2082 #4 0x000055ca8eeb5497 in os_aio_handler (segment=9, m1=0x7f1b61534ce8, m2=0x7f1b61534cf0, request=0x7f1b61534d20) at /data/src/10.2-bug/storage/innobase/os/os0file.cc:5652 #5 0x000055ca8f1065d3 in fil_aio_wait (segment=9) at /data/src/10.2-bug/storage/innobase/fil/fil0fil.cc:5435 #6 0x000055ca8efb045b in io_handler_thread (arg=0x55ca9063a988 ) at /data/src/10.2-bug/storage/innobase/srv/srv0start.cc:343 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b61535700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 71 (Thread 0x7f1b60d34700 (LWP 8787)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x000055ca8eebc88b in os_event::timed_wait (this=0x55ca9255ec60, abstime=0x7f1b60d33c40) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:286 #2 0x000055ca8eebcb95 in os_event::wait_time_low (this=0x55ca9255ec60, time_in_usec=1000000, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:413 #3 0x000055ca8eebcd76 in os_event_wait_time_low (event=0x55ca9255ec60, time_in_usec=1000000, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:518 #4 0x000055ca8f091d97 in pc_sleep_if_needed (next_loop_time=1505562083164, sig_count=2) at /data/src/10.2-bug/storage/innobase/buf/buf0flu.cc:2722 #5 0x000055ca8f092e50 in buf_flush_page_cleaner_coordinator () at /data/src/10.2-bug/storage/innobase/buf/buf0flu.cc:3217 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1b60d34700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 70 (Thread 0x7f1b60533700 (LWP 8788)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fb3bf0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fb3bf0, reset_sig_count=106) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fb3bf0, reset_sig_count=0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8f093d56 in buf_flush_page_cleaner_worker (arg=0x0) at /data/src/10.2-bug/storage/innobase/buf/buf0flu.cc:3522 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1b60533700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 69 (Thread 0x7f1b5fd32700 (LWP 8789)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fb3bf0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fb3bf0, reset_sig_count=106) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fb3bf0, reset_sig_count=0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8f093d56 in buf_flush_page_cleaner_worker (arg=0x0) at /data/src/10.2-bug/storage/innobase/buf/buf0flu.cc:3522 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1b5fd32700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 68 (Thread 0x7f1b5f531700 (LWP 8790)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fb3bf0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fb3bf0, reset_sig_count=106) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fb3bf0, reset_sig_count=0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8f093d56 in buf_flush_page_cleaner_worker (arg=0x0) at /data/src/10.2-bug/storage/innobase/buf/buf0flu.cc:3522 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1b5f531700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 67 (Thread 0x7f1b7259a700 (LWP 8792)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x000055ca8eebc88b in os_event::timed_wait (this=0x55caa9fb29d0, abstime=0x7f1b72599e80) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:286 #2 0x000055ca8eebcb95 in os_event::wait_time_low (this=0x55caa9fb29d0, time_in_usec=1000000, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:413 #3 0x000055ca8eebcd76 in os_event_wait_time_low (event=0x55caa9fb29d0, time_in_usec=1000000, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:518 #4 0x000055ca8ee8be7f in lock_wait_timeout_thread () at /data/src/10.2-bug/storage/innobase/lock/lock0wait.cc:530 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1b7259a700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 66 (Thread 0x7f1b71d99700 (LWP 8793)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55ca9255e520) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55ca9255e520, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55ca9255e520, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1b71d98c90: 0x55ca923af650) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55ca90636940 , max_spins=60, max_delay=6, filename=0x55ca8f4c72d0 "/data/src/10.2-bug/storage/innobase/srv/srv0srv.cc", line=1193) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55ca90636940 , n_spins=30, n_delay=6, name=0x55ca8f4c72d0 "/data/src/10.2-bug/storage/innobase/srv/srv0srv.cc", line=1193) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8efaa136 in srv_refresh_innodb_monitor_stats () at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:1193 #8 0x000055ca8efabb04 in srv_error_monitor_thread () at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:1929 #9 0x00007f1e132c9494 in start_thread (arg=0x7f1b71d99700) at pthread_create.c:333 #10 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 65 (Thread 0x7f1b71598700 (LWP 8794)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x000055ca8eebc88b in os_event::timed_wait (this=0x55ca9255eb60, abstime=0x7f1b71597e50) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:286 #2 0x000055ca8eebcb95 in os_event::wait_time_low (this=0x55ca9255eb60, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:413 #3 0x000055ca8eebcd76 in os_event_wait_time_low (event=0x55ca9255eb60, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:518 #4 0x000055ca8efab5d7 in srv_monitor_thread () at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:1746 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1b71598700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 64 (Thread 0x7f1b70d97700 (LWP 8795)): #0 0x00007f1e132d27dd in nanosleep () at ../sysdeps/unix/syscall-template.S:84 #1 0x000055ca8eebd301 in os_thread_sleep (tm=1000000) at /data/src/10.2-bug/storage/innobase/os/os0thread.cc:230 #2 0x000055ca8efacf3c in srv_master_sleep () at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:2460 #3 0x000055ca8efad06e in srv_master_thread (arg=0x0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:2505 #4 0x00007f1e132c9494 in start_thread (arg=0x7f1b70d97700) at pthread_create.c:333 #5 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 63 (Thread 0x7f1b70596700 (LWP 8796)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x000055ca8eebc88b in os_event::timed_wait (this=0x55caa9fd7650, abstime=0x7f1b70595ea0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:286 #2 0x000055ca8eebcb95 in os_event::wait_time_low (this=0x55caa9fd7650, time_in_usec=10000000, reset_sig_count=11) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:413 #3 0x000055ca8eebcd76 in os_event_wait_time_low (event=0x55caa9fd7650, time_in_usec=10000000, reset_sig_count=0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:518 #4 0x000055ca8f0eda26 in dict_stats_thread () at /data/src/10.2-bug/storage/innobase/dict/dict0stats_bg.cc:451 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1b70596700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 62 (Thread 0x7f1b6fd95700 (LWP 8797)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x000055ca8eebc88b in os_event::timed_wait (this=0x55caa9c6d540, abstime=0x7f1b6fd94c90) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:286 #2 0x000055ca8eebcb95 in os_event::wait_time_low (this=0x55caa9c6d540, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:413 #3 0x000055ca8eebcd76 in os_event_wait_time_low (event=0x55caa9c6d540, time_in_usec=5000000, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:518 #4 0x000055ca8f0153dd in ib_wqueue_timedwait (wq=0x55caa9c6d430, wait_in_usecs=5000000) at /data/src/10.2-bug/storage/innobase/ut/ut0wqueue.cc:163 #5 0x000055ca8f14d032 in fts_optimize_thread (arg=0x55caa9c6d430) at /data/src/10.2-bug/storage/innobase/fts/fts0opt.cc:3041 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1b6fd95700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 61 (Thread 0x7f1b6f594700 (LWP 8798)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55ca9255e8e0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55ca9255e8e0, reset_sig_count=484) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55ca9255e8e0, reset_sig_count=484) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efa9847 in srv_resume_thread (slot=0x55ca8fc007c8 , sig_count=484, wait=true, timeout_usec=0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:946 #5 0x000055ca8efad9fe in srv_purge_coordinator_suspend (slot=0x55ca8fc007c8 , rseg_history_len=0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:2802 #6 0x000055ca8efadda9 in srv_purge_coordinator_thread (arg=0x0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:2889 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b6f594700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 60 (Thread 0x7f1b6ed93700 (LWP 8799)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55ca9255e960) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55ca9255e960, reset_sig_count=810) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55ca9255e960, reset_sig_count=0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efa9847 in srv_resume_thread (slot=0x55ca8fc00800 , sig_count=0, wait=true, timeout_usec=0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:946 #5 0x000055ca8efad533 in srv_worker_thread (arg=0x0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:2649 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1b6ed93700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 59 (Thread 0x7f1b6e592700 (LWP 8800)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55ca9255ea60) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55ca9255ea60, reset_sig_count=720) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55ca9255ea60, reset_sig_count=0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efa9847 in srv_resume_thread (slot=0x55ca8fc00870 , sig_count=0, wait=true, timeout_usec=0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:946 #5 0x000055ca8efad533 in srv_worker_thread (arg=0x0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:2649 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1b6e592700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 58 (Thread 0x7f1b6dd91700 (LWP 8801)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55ca9255e9e0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55ca9255e9e0, reset_sig_count=739) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55ca9255e9e0, reset_sig_count=0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efa9847 in srv_resume_thread (slot=0x55ca8fc00838 , sig_count=0, wait=true, timeout_usec=0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:946 #5 0x000055ca8efad533 in srv_worker_thread (arg=0x0) at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:2649 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1b6dd91700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 57 (Thread 0x7f1b6d590700 (LWP 8802)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55ca9255ebe0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55ca9255ebe0, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55ca9255ebe0, reset_sig_count=0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8f088779 in buf_dump_thread () at /data/src/10.2-bug/storage/innobase/buf/buf0dump.cc:815 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1b6d590700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 56 (Thread 0x7f1b6cd8f700 (LWP 8803)): #0 0x00007f1e132d27dd in nanosleep () at ../sysdeps/unix/syscall-template.S:84 #1 0x000055ca8eebd301 in os_thread_sleep (tm=1000000) at /data/src/10.2-bug/storage/innobase/os/os0thread.cc:230 #2 0x000055ca8f0648c4 in btr_defragment_thread () at /data/src/10.2-bug/storage/innobase/btr/btr0defragment.cc:759 #3 0x00007f1e132c9494 in start_thread (arg=0x7f1b6cd8f700) at pthread_create.c:333 #4 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 55 (Thread 0x7f1b6c58e700 (LWP 8804)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55ca9255ece0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55ca9255ece0, reset_sig_count=1) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55ca9255ece0, reset_sig_count=0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8f071b6e in buf_resize_thread () at /data/src/10.2-bug/storage/innobase/buf/buf0buf.cc:3085 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1b6c58e700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 54 (Thread 0x7f1b6bd8d700 (LWP 8805)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8f258c37 in safe_cond_wait (cond=0x7f1b6bd8cdc0, mp=0x7f1b6bd8ce00, file=0x55ca8f425a80 "/data/src/10.2-bug/include/mysql/psi/mysql_thread.h", line=1149) at /data/src/10.2-bug/mysys/thr_mutex.c:491 #2 0x000055ca8eded4b5 in inline_mysql_cond_wait (that=0x7f1b6bd8cdc0, mutex=0x7f1b6bd8ce00, src_file=0x55ca8f4271f8 "/data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc", src_line=350) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:1149 #3 0x000055ca8edf1d23 in thd_destructor_proxy () at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:350 #4 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9c6e3b0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1b6bd8d700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 53 (Thread 0x7f1de0570700 (LWP 8806)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8f258c37 in safe_cond_wait (cond=0x55ca8fdf0108 , mp=0x55ca8fdf0058 , file=0x55ca8f3c6840 "/data/src/10.2-bug/include/mysql/psi/mysql_thread.h", line=1149) at /data/src/10.2-bug/mysys/thr_mutex.c:491 #2 0x000055ca8ebe62db in inline_mysql_cond_wait (that=0x55ca8fdf0108 , mutex=0x55ca8fdf0058 , src_file=0x55ca8f3c6d1c "/data/src/10.2-bug/sql/log.cc", src_line=9619) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:1149 #3 0x000055ca8ebff685 in binlog_background_thread (arg=0x0) at /data/src/10.2-bug/sql/log.cc:9619 #4 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55ca922c2570) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1de0570700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 52 (Thread 0x7f1b6b58c700 (LWP 8807)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca8fdc02e8 ) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca8fdc02c0 , my_flags=0, file=0x55ca8f39db00 "/data/src/10.2-bug/sql/threadpool_generic.cc", line=567) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8eaaa470 in inline_mysql_mutex_lock (that=0x55ca8fdc02c0 , src_file=0x55ca8f39db00 "/data/src/10.2-bug/sql/threadpool_generic.cc", src_line=567) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8eaaabef in timeout_check (timer=0x55ca8fdec080 ) at /data/src/10.2-bug/sql/threadpool_generic.cc:567 #5 0x000055ca8eaaaf22 in timer_thread (param=0x55ca8fdec080 ) at /data/src/10.2-bug/sql/threadpool_generic.cc:656 #6 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55ca9239ba60) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #7 0x00007f1e132c9494 in start_thread (arg=0x7f1b6b58c700) at pthread_create.c:333 #8 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 51 (Thread 0x7f1de0526700 (LWP 8808)): #0 do_sigwait (set=, set@entry=0x7f1de0525e30, sig=sig@entry=0x7f1de0525e00) at ../sysdeps/unix/sysv/linux/sigwait.c:64 #1 0x00007f1e132d2ced in __sigwait (set=0x7f1de0525e30, sig=0x7f1de0525e00) at ../sysdeps/unix/sysv/linux/sigwait.c:96 #2 0x000055ca8e7a244d in signal_hand (arg=0x0) at /data/src/10.2-bug/sql/mysqld.cc:3494 #3 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55ca9239ba60) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #4 0x00007f1e132c9494 in start_thread (arg=0x7f1de0526700) at pthread_create.c:333 #5 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 50 (Thread 0x7f1de04dc700 (LWP 8809)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8f258c37 in safe_cond_wait (cond=0x55ca8fdbdbe0 , mp=0x55ca8fdc0ec0 , file=0x55ca8f2cad80 "/data/src/10.2-bug/include/mysql/psi/mysql_thread.h", line=1149) at /data/src/10.2-bug/mysys/thr_mutex.c:491 #2 0x000055ca8e7c8c16 in inline_mysql_cond_wait (that=0x55ca8fdbdbe0 , mutex=0x55ca8fdc0ec0 , src_file=0x55ca8f2cb580 "/data/src/10.2-bug/sql/slave.cc", src_line=334) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:1149 #3 0x000055ca8e7c97f8 in handle_slave_background (arg=0x0) at /data/src/10.2-bug/sql/slave.cc:334 #4 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9d0ef10) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #5 0x00007f1e132c9494 in start_thread (arg=0x7f1de04dc700) at pthread_create.c:333 #6 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 49 (Thread 0x7f1de03fe700 (LWP 8815)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1de03fa7b0: 0x55ca923af610) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8eeef6cd in MVCC::view_open (this=0x55caa9fd8640, view=@0x7f1de077da20: 0x0, trx=0x7f1de077d988) at /data/src/10.2-bug/storage/innobase/read/read0read.cc:584 #8 0x000055ca8f000180 in trx_assign_read_view (trx=0x7f1de077d988) at /data/src/10.2-bug/storage/innobase/trx/trx0trx.cc:2087 #9 0x000055ca8ef765ca in row_search_mvcc (buf=0x7f1abc014d08 "\377\377", mode=PAGE_CUR_G, prebuilt=0x7f1abc0e6b38, match_mode=0, direction=0) at /data/src/10.2-bug/storage/innobase/row/row0sel.cc:4503 #10 0x000055ca8ee0330d in ha_innobase::index_read (this=0x7f1abc0f2ca8, buf=0x7f1abc014d08 "\377\377", key_ptr=0x7f1afc058d08 "", key_len=4, find_flag=HA_READ_AFTER_KEY) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:9905 #11 0x000055ca8eafc836 in handler::index_read_map (this=0x7f1abc0f2ca8, buf=0x7f1abc014d08 "\377\377", key=0x7f1afc058d08 "", keypart_map=1, find_flag=HA_READ_AFTER_KEY) at /data/src/10.2-bug/sql/handler.h:3120 #12 0x000055ca8eaf2d35 in handler::ha_index_read_map (this=0x7f1abc0f2ca8, buf=0x7f1abc014d08 "\377\377", key=0x7f1afc058d08 "", keypart_map=1, find_flag=HA_READ_AFTER_KEY) at /data/src/10.2-bug/sql/handler.cc:2596 #13 0x000055ca8eaf963a in handler::read_range_first (this=0x7f1abc0f2ca8, start_key=0x7f1abc0f2d90, end_key=0x0, eq_range_arg=false, sorted=true) at /data/src/10.2-bug/sql/handler.cc:5292 #14 0x000055ca8ea11b4a in handler::multi_range_read_next (this=0x7f1abc0f2ca8, range_info=0x7f1de03fbc80) at /data/src/10.2-bug/sql/multi_range_read.cc:290 #15 0x000055ca8ea11d2c in Mrr_simple_index_reader::get_next (this=0x7f1abc0f3218, range_info=0x7f1de03fbc80) at /data/src/10.2-bug/sql/multi_range_read.cc:322 #16 0x000055ca8ea14876 in DsMrr_impl::dsmrr_next (this=0x7f1abc0f30d8, range_info=0x7f1de03fbc80) at /data/src/10.2-bug/sql/multi_range_read.cc:1408 #17 0x000055ca8ee193fa in ha_innobase::multi_range_read_next (this=0x7f1abc0f2ca8, range_info=0x7f1de03fbc80) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:22057 #18 0x000055ca8ec4b59e in QUICK_RANGE_SELECT::get_next (this=0x7f1afc0353c0) at /data/src/10.2-bug/sql/opt_range.cc:11388 #19 0x000055ca8ec5c6bb in rr_quick (info=0x7f1afc079fb0) at /data/src/10.2-bug/sql/records.cc:365 #20 0x000055ca8e8f126d in join_init_read_record (tab=0x7f1afc079ee8) at /data/src/10.2-bug/sql/sql_select.cc:19465 #21 0x000055ca8e8ef10e in sub_select (join=0x7f1afc052140, join_tab=0x7f1afc079ee8, end_of_records=false) at /data/src/10.2-bug/sql/sql_select.cc:18545 #22 0x000055ca8e8ee709 in do_select (join=0x7f1afc052140, procedure=0x0) at /data/src/10.2-bug/sql/sql_select.cc:18092 #23 0x000055ca8e8c8fb7 in JOIN::exec_inner (this=0x7f1afc052140) at /data/src/10.2-bug/sql/sql_select.cc:3477 #24 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1afc052140) at /data/src/10.2-bug/sql/sql_select.cc:3278 #25 0x000055ca8e8c962f in mysql_select (thd=0x7f1ab806d620, tables=0x7f1ab80654e0, wild_num=1, fields=..., conds=0x7f1ab8066ee0, og_num=0, order=0x0, group=0x0, having=0x7f1ab8067208, proc_param=0x0, select_options=551904086528, result=0x7f1afc052120, unit=0x7f1ab8071108, select_lex=0x7f1ab8071840) at /data/src/10.2-bug/sql/sql_select.cc:3672 #26 0x000055ca8e8bdf7a in handle_select (thd=0x7f1ab806d620, lex=0x7f1ab8071040, result=0x7f1afc052120, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #27 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1ab806d620, all_tables=0x7f1ab80654e0) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #28 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ab806d620) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #29 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ab806d620, rawbuf=0x7f1ab8064a48 "SELECT * FROM (mysql.`time_zone` AS table1 RIGHT OUTER JOIN test.`view_b` AS table2 ON ( table2.`col_datetime_key` = table1.`Time_zone_id` ) ) WHERE table2.`col_date_key` >= '1984-07-28 03:04:17.02766"..., length=267, parser_state=0x7f1de03fd110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #30 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ab806d620, packet=0x7f1ab8017a01 "", packet_length=269, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #31 0x000055ca8e87a205 in do_command (thd=0x7f1ab806d620) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #32 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ab806d620) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #33 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d76a40) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #34 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9ff10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #35 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9cb2410) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #36 0x00007f1e132c9494 in start_thread (arg=0x7f1de03fe700) at pthread_create.c:333 #37 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 48 (Thread 0x7f1de0320700 (LWP 8823)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1de031c920: 0x55ca923af310) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8eeef6cd in MVCC::view_open (this=0x55caa9fd8640, view=@0x7f1de0779720: 0x0, trx=0x7f1de0779688) at /data/src/10.2-bug/storage/innobase/read/read0read.cc:584 #8 0x000055ca8f000180 in trx_assign_read_view (trx=0x7f1de0779688) at /data/src/10.2-bug/storage/innobase/trx/trx0trx.cc:2087 #9 0x000055ca8ef765ca in row_search_mvcc (buf=0x7f1a2c033848 "\377", mode=PAGE_CUR_G, prebuilt=0x7f1a2c08c438, match_mode=0, direction=0) at /data/src/10.2-bug/storage/innobase/row/row0sel.cc:4503 #10 0x000055ca8ee0330d in ha_innobase::index_read (this=0x7f1a2c033058, buf=0x7f1a2c033848 "\377", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:9905 #11 0x000055ca8ee046b0 in ha_innobase::index_first (this=0x7f1a2c033058, buf=0x7f1a2c033848 "\377") at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:10343 #12 0x000055ca8ee04930 in ha_innobase::rnd_next (this=0x7f1a2c033058, buf=0x7f1a2c033848 "\377") at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:10439 #13 0x000055ca8eaf27a3 in handler::ha_rnd_next (this=0x7f1a2c033058, buf=0x7f1a2c033848 "\377") at /data/src/10.2-bug/sql/handler.cc:2546 #14 0x000055ca8ec5c8d5 in rr_sequential (info=0x7f1ae041dba0) at /data/src/10.2-bug/sql/records.cc:484 #15 0x000055ca8e8f126d in join_init_read_record (tab=0x7f1ae041dad8) at /data/src/10.2-bug/sql/sql_select.cc:19465 #16 0x000055ca8e8ef10e in sub_select (join=0x7f1a74055730, join_tab=0x7f1ae041dad8, end_of_records=false) at /data/src/10.2-bug/sql/sql_select.cc:18545 #17 0x000055ca8e8ee709 in do_select (join=0x7f1a74055730, procedure=0x0) at /data/src/10.2-bug/sql/sql_select.cc:18092 #18 0x000055ca8e8c8fb7 in JOIN::exec_inner (this=0x7f1a74055730) at /data/src/10.2-bug/sql/sql_select.cc:3477 #19 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1a74055730) at /data/src/10.2-bug/sql/sql_select.cc:3278 #20 0x000055ca8e8c962f in mysql_select (thd=0x7f19f4082990, tables=0x7f1a74053248, wild_num=1, fields=..., conds=0x7f1a74055140, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=552440957440, result=0x7f1a74055710, unit=0x7f19f4086478, select_lex=0x7f19f4086bb0) at /data/src/10.2-bug/sql/sql_select.cc:3672 #21 0x000055ca8e8bdf7a in handle_select (thd=0x7f19f4082990, lex=0x7f19f40863b0, result=0x7f1a74055710, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #22 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f19f4082990, all_tables=0x7f1a74053248) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #23 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f19f4082990) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #24 0x000055ca8e88d818 in mysql_parse (thd=0x7f19f4082990, rawbuf=0x7f1a740527a8 "SELECT * FROM (mysql.`gtid_slave_pos` AS table1 INNER JOIN INFORMATION_SCHEMA.`INNODB_SYS_VIRTUAL` AS table2 ON ( table2.`POS` = table1.`sub_id` ) ) WHERE ( table1.`server_id` < table1.`sub_id` OR tab"..., length=264, parser_state=0x7f1de031f110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #25 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f19f4082990, packet=0x7f1a7404a671 "", packet_length=266, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #26 0x000055ca8e87a205 in do_command (thd=0x7f19f4082990) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #27 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f19f4082990) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #28 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d74000) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #29 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0050) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #30 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1aec010cb0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #31 0x00007f1e132c9494 in start_thread (arg=0x7f1de0320700) at pthread_create.c:333 #32 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 47 (Thread 0x7f1de02d6700 (LWP 8824)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1a3803ec70, element=0x7f1ac05dcde0) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1a3803ec70, tl=0x7f1a3804c8d8, flags=3, out_table=0x7f1de02d3b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1a3803ec70, table_list=0x7f1a3804c8d8, ot_ctx=0x7f1de02d3f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1a3803ec70, lex=0x7f1a38042690, tables=0x7f1a3804c8d8, counter=0x7f1de02d3fd4, flags=0, prelocking_strategy=0x7f1de02d4050, has_prelocking_list=false, ot_ctx=0x7f1de02d3f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1a3803ec70, options=..., start=0x7f1de02d3fb8, counter=0x7f1de02d3fd4, flags=0, prelocking_strategy=0x7f1de02d4050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1a3803ec70, options=..., tables=0x7f1a3804c8d8, derived=true, flags=0, prelocking_strategy=0x7f1de02d4050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1a3803ec70, tables=0x7f1a3804c8d8, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1a3803ec70, all_tables=0x7f1a3804c8d8) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a3803ec70) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a3803ec70, rawbuf=0x7f1a3804c4d8 "SELECT * FROM test.`view_aa` AS table1 WHERE (NOT ( table1.`col_int_nokey` = table1.`col_int_key` AND table1.`col_date_key` = table1.`col_int_nokey`) AND table1.`pk` = table1.`col_varchar_key`) HAVING"..., length=267, parser_state=0x7f1de02d5110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a3803ec70, packet=0x7f1a380443a1 " SELECT * FROM test.`view_aa` AS table1 WHERE (NOT ( table1.`col_int_nokey` = table1.`col_int_key` AND table1.`col_date_key` = table1.`col_int_nokey`) AND table1.`pk` = table1.`col_varchar_key`) HAVIN"..., packet_length=269, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1a3803ec70) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a3803ec70) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d72760) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0190) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9cb2410) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1de02d6700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 46 (Thread 0x7f1de028c700 (LWP 8825)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1de02889b0: 0x55ca923af690) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8eeef6cd in MVCC::view_open (this=0x55caa9fd8640, view=@0x7f1de077e280: 0x0, trx=0x7f1de077e1e8) at /data/src/10.2-bug/storage/innobase/read/read0read.cc:584 #8 0x000055ca8f000180 in trx_assign_read_view (trx=0x7f1de077e1e8) at /data/src/10.2-bug/storage/innobase/trx/trx0trx.cc:2087 #9 0x000055ca8ef765ca in row_search_mvcc (buf=0x7f1a40008828 "\255\377", mode=PAGE_CUR_GE, prebuilt=0x7f1a40001468, match_mode=1, direction=0) at /data/src/10.2-bug/storage/innobase/row/row0sel.cc:4503 #10 0x000055ca8ee0330d in ha_innobase::index_read (this=0x7f1a400436d8, buf=0x7f1a40008828 "\255\377", key_ptr=0x7f1ad804c0d8 "", key_len=5, find_flag=HA_READ_KEY_EXACT) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:9905 #11 0x000055ca8eafc836 in handler::index_read_map (this=0x7f1a400436d8, buf=0x7f1a40008828 "\255\377", key=0x7f1ad804c0d8 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.2-bug/sql/handler.h:3120 #12 0x000055ca8eaf2d35 in handler::ha_index_read_map (this=0x7f1a400436d8, buf=0x7f1a40008828 "\255\377", key=0x7f1ad804c0d8 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.2-bug/sql/handler.cc:2596 #13 0x000055ca8e8f0b49 in join_read_always_key (tab=0x7f1ad8051888) at /data/src/10.2-bug/sql/sql_select.cc:19299 #14 0x000055ca8e8ef10e in sub_select (join=0x7f1ad8023f60, join_tab=0x7f1ad8051888, end_of_records=false) at /data/src/10.2-bug/sql/sql_select.cc:18545 #15 0x000055ca8e8ee709 in do_select (join=0x7f1ad8023f60, procedure=0x0) at /data/src/10.2-bug/sql/sql_select.cc:18092 #16 0x000055ca8e8c8fb7 in JOIN::exec_inner (this=0x7f1ad8023f60) at /data/src/10.2-bug/sql/sql_select.cc:3477 #17 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1ad8023f60) at /data/src/10.2-bug/sql/sql_select.cc:3278 #18 0x000055ca8e8c962f in mysql_select (thd=0x7f1ae4057200, tables=0x7f1ae406cab8, wild_num=1, fields=..., conds=0x7f1ae40712d8, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551904086528, result=0x7f1ad8023f40, unit=0x7f1ae405ace8, select_lex=0x7f1ae405b420) at /data/src/10.2-bug/sql/sql_select.cc:3672 #19 0x000055ca8e8bdf7a in handle_select (thd=0x7f1ae4057200, lex=0x7f1ae405ac20, result=0x7f1ad8023f40, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #20 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1ae4057200, all_tables=0x7f1ae406cab8) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #21 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ae4057200) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #22 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ae4057200, rawbuf=0x7f1ae406c508 "SELECT * FROM test.`view_bb` AS table1 WHERE NOT ( ( ( (NOT (NOT (NOT (NOT table1.`col_date_key` < table1.`col_datetime_nokey` OR table1.`col_date_nokey` > table1.`col_int_nokey`) OR table1.`col_int_k"..., length=484, parser_state=0x7f1de028b110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #23 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ae4057200, packet=0x7f1ae405c931 "", packet_length=486, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #24 0x000055ca8e87a205 in do_command (thd=0x7f1ae4057200) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #25 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ae4057200) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #26 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d779f0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #27 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0190) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #28 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1ae4010cb0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #29 0x00007f1e132c9494 in start_thread (arg=0x7f1de028c700) at pthread_create.c:333 #30 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 45 (Thread 0x7f1de01ae700 (LWP 8828)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x7f1aa4120208) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x7f1aa41201e0, my_flags=0, file=0x55ca8f2f8fa0 "/data/src/10.2-bug/sql/sql_show.cc", line=2946) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e90c643 in inline_mysql_mutex_lock (that=0x7f1aa41201e0, src_file=0x55ca8f2f8fa0 "/data/src/10.2-bug/sql/sql_show.cc", src_line=2946) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8e915d92 in fill_schema_processlist (thd=0x7f1ad408ced0, tables=0x7f1ad409dc58, cond=0x0) at /data/src/10.2-bug/sql/sql_show.cc:2946 #5 0x000055ca8e92af20 in get_schema_tables_result (join=0x7f1ad409f9d0, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.2-bug/sql/sql_show.cc:8258 #6 0x000055ca8e8c8dab in JOIN::exec_inner (this=0x7f1ad409f9d0) at /data/src/10.2-bug/sql/sql_select.cc:3441 #7 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1ad409f9d0) at /data/src/10.2-bug/sql/sql_select.cc:3278 #8 0x000055ca8e8c962f in mysql_select (thd=0x7f1ad408ced0, tables=0x7f1ad409dc58, wild_num=0, fields=..., conds=0x0, og_num=1, order=0x7f1ad409e350, group=0x0, having=0x0, proc_param=0x0, select_options=552440957440, result=0x7f1ad409db78, unit=0x7f1ad40909b8, select_lex=0x7f1ad40910f0) at /data/src/10.2-bug/sql/sql_select.cc:3672 #9 0x000055ca8e8bdf7a in handle_select (thd=0x7f1ad408ced0, lex=0x7f1ad40908f0, result=0x7f1ad409db78, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #10 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1ad408ced0, all_tables=0x7f1ad409dc58) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #11 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ad408ced0) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #12 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ad408ced0, rawbuf=0x7f1ad409d918 "SELECT ID INTO @thread_id FROM INFORMATION_SCHEMA.PROCESSLIST ORDER BY RAND() LIMIT 1 /* QNO 283 CON_ID 41 */", length=110, parser_state=0x7f1de01ad110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #13 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ad408ced0, packet=0x7f1ad40957e1 "SELECT ID INTO @thread_id FROM INFORMATION_SCHEMA.PROCESSLIST ORDER BY RAND() LIMIT 1 /* QNO 283 CON_ID 41 */ ", packet_length=111, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #14 0x000055ca8e87a205 in do_command (thd=0x7f1ad408ced0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #15 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ad408ced0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #16 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d08800) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #17 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #18 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9cb2060) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #19 0x00007f1e132c9494 in start_thread (arg=0x7f1de01ae700) at pthread_create.c:333 #20 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 44 (Thread 0x7f1de0164700 (LWP 8829)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1ad4025030, element=0x55caa9d315b0) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1ad4025030, tl=0x7f1ad402aac8, flags=3, out_table=0x7f1de0161b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1ad4025030, table_list=0x7f1ad402aac8, ot_ctx=0x7f1de0161f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1ad4025030, lex=0x7f1ad4028a50, tables=0x7f1ad402aac8, counter=0x7f1de0161fd4, flags=0, prelocking_strategy=0x7f1de0162050, has_prelocking_list=false, ot_ctx=0x7f1de0161f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1ad4025030, options=..., start=0x7f1de0161fb8, counter=0x7f1de0161fd4, flags=0, prelocking_strategy=0x7f1de0162050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1ad4025030, options=..., tables=0x7f1ad402aac8, derived=true, flags=0, prelocking_strategy=0x7f1de0162050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1ad4025030, tables=0x7f1ad402aac8, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1ad4025030, all_tables=0x7f1ad402aac8) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ad4025030) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ad4025030, rawbuf=0x7f1ad402a778 "SELECT * FROM mysql.`time_zone_transition` AS table1 WHERE NOT table1.`Transition_time` >= '2033-03-23 05:11:34.044584' LIMIT 0 /* QNO 371 CON_ID 101 */", length=152, parser_state=0x7f1de0163110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ad4025030, packet=0x7f1ad403cfe1 " SELECT * FROM mysql.`time_zone_transition` AS table1 WHERE NOT table1.`Transition_time` >= '2033-03-23 05:11:34.044584' LIMIT 0 /* QNO 371 CON_ID 101 */ ", packet_length=154, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1ad4025030) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ad4025030) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d324f0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1ad4010cb0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1de0164700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 43 (Thread 0x7f1de011a700 (LWP 8830)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1abc59f040, element=0x7f1ac05df900) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1abc59f040, tl=0x7f1abc5acc78, flags=3, out_table=0x7f1de0117b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1abc59f040, table_list=0x7f1abc5acc78, ot_ctx=0x7f1de0117f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1abc59f040, lex=0x7f1abc5a2a60, tables=0x7f1abc5acc78, counter=0x7f1de0117fd4, flags=0, prelocking_strategy=0x7f1de0118050, has_prelocking_list=false, ot_ctx=0x7f1de0117f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1abc59f040, options=..., start=0x7f1de0117fb8, counter=0x7f1de0117fd4, flags=0, prelocking_strategy=0x7f1de0118050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1abc59f040, options=..., tables=0x7f1abc5acc78, derived=true, flags=0, prelocking_strategy=0x7f1de0118050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1abc59f040, tables=0x7f1abc5acc78, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1abc59f040, all_tables=0x7f1abc5acc78) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1abc59f040) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1abc59f040, rawbuf=0x7f1abc5ac8a8 "SELECT * FROM test.`view_b` AS table1 WHERE ( table1.`col_date_nokey` < table1.`col_date_nokey` OR table1.`col_varchar_nokey` > 8) HAVING table1.`col_int_key` < '2011-12-17 05:12:52.064336' ORDER BY t"..., length=246, parser_state=0x7f1de0119110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1abc59f040, packet=0x7f1abc5a4771 " SELECT * FROM test.`view_b` AS table1 WHERE ( table1.`col_date_nokey` < table1.`col_date_nokey` OR table1.`col_varchar_nokey` > 8) HAVING table1.`col_int_key` < '2011-12-17 05:12:52.064336' ORDER BY "..., packet_length=248, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1abc59f040) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1abc59f040) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d78260) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0550) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9cb2410) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1de011a700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 42 (Thread 0x7f1de00d0700 (LWP 8831)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1de00cb6f0: 0x55ca923af5d0) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f4e2688 "/data/src/10.2-bug/storage/innobase/trx/trx0trx.cc", line=535) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f4e2688 "/data/src/10.2-bug/storage/innobase/trx/trx0trx.cc", line=535) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8effbbe4 in trx_allocate_for_mysql () at /data/src/10.2-bug/storage/innobase/trx/trx0trx.cc:535 #8 0x000055ca8edf419a in innobase_trx_allocate (thd=0x7f1ac050ff90) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:2894 #9 0x000055ca8edf4231 in check_trx_exists (thd=0x7f1ac050ff90) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:2917 #10 0x000055ca8ee1004f in ha_innobase::extra (this=0x7f1a24081938, operation=HA_EXTRA_IS_ATTACHED_CHILDREN) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:16004 #11 0x000055ca8ea672d5 in tc_acquire_table (thd=0x7f1ac050ff90, element=0x7f1aa4012d60) at /data/src/10.2-bug/sql/table_cache.cc:414 #12 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1ac050ff90, tl=0x7f1ac0041528, flags=3, out_table=0x7f1de00cb978) at /data/src/10.2-bug/sql/table_cache.cc:854 #13 0x000055ca8e80dfaf in open_table (thd=0x7f1ac050ff90, table_list=0x7f1ac0041528, ot_ctx=0x7f1de00cbdb0) at /data/src/10.2-bug/sql/sql_base.cc:1742 #14 0x000055ca8e810eee in open_and_process_table (thd=0x7f1ac050ff90, lex=0x7f1de00cc020, tables=0x7f1ac0041528, counter=0x7f1de00cbe7c, flags=1026, prelocking_strategy=0x7f1de00cbe80, has_prelocking_list=false, ot_ctx=0x7f1de00cbdb0) at /data/src/10.2-bug/sql/sql_base.cc:3409 #15 0x000055ca8e812029 in open_tables (thd=0x7f1ac050ff90, options=..., start=0x7f1de00cbe60, counter=0x7f1de00cbe7c, flags=1026, prelocking_strategy=0x7f1de00cbe80) at /data/src/10.2-bug/sql/sql_base.cc:3928 #16 0x000055ca8e80ae74 in open_tables (thd=0x7f1ac050ff90, tables=0x7f1de00cbe60, counter=0x7f1de00cbe7c, flags=1026, prelocking_strategy=0x7f1de00cbe80) at /data/src/10.2-bug/sql/sql_base.h:236 #17 0x000055ca8e813a3e in open_normal_and_derived_tables (thd=0x7f1ac050ff90, tables=0x7f1ac0041528, flags=1026, dt_phases=35) at /data/src/10.2-bug/sql/sql_base.cc:4745 #18 0x000055ca8e9195a2 in fill_schema_table_by_open (thd=0x7f1ac050ff90, is_show_fields_or_keys=false, table=0x7f1ac0448fb8, schema_table=0x55ca8fbd8700 , orig_db_name=0x7f1ac0056af0, orig_table_name=0x7f1ac0056de8, open_tables_state_backup=0x7f1de00cd720, can_deadlock=false) at /data/src/10.2-bug/sql/sql_show.cc:4277 #19 0x000055ca8e91ad83 in get_all_tables (thd=0x7f1ac050ff90, tables=0x7f1ac0052768, cond=0x0) at /data/src/10.2-bug/sql/sql_show.cc:4916 #20 0x000055ca8e92af20 in get_schema_tables_result (join=0x7f1ac00547f8, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.2-bug/sql/sql_show.cc:8258 #21 0x000055ca8e8c8dab in JOIN::exec_inner (this=0x7f1ac00547f8) at /data/src/10.2-bug/sql/sql_select.cc:3441 #22 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1ac00547f8) at /data/src/10.2-bug/sql/sql_select.cc:3278 #23 0x000055ca8e8c962f in mysql_select (thd=0x7f1ac050ff90, tables=0x7f1ac0052768, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=552440957440, result=0x7f1ac00547d8, unit=0x7f1ac0513a78, select_lex=0x7f1ac05141b0) at /data/src/10.2-bug/sql/sql_select.cc:3672 #24 0x000055ca8e8bdf7a in handle_select (thd=0x7f1ac050ff90, lex=0x7f1ac05139b0, result=0x7f1ac00547d8, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #25 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1ac050ff90, all_tables=0x7f1ac0052768) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #26 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ac050ff90) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #27 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ac050ff90, rawbuf=0x7f1ac0050ef8 "SHOW TABLE STATUS /* QNO 663 CON_ID 83 */", length=41, parser_state=0x7f1de00cf110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #28 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ac050ff90, packet=0x7f1ac05c4d91 "SHOW TABLE STATUS /* QNO 663 CON_ID 83 */ ", packet_length=42, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #29 0x000055ca8e87a205 in do_command (thd=0x7f1ac050ff90) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #30 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ac050ff90) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #31 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d04c60) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #32 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0550) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #33 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1acc010cb0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #34 0x00007f1e132c9494 in start_thread (arg=0x7f1de00d0700) at pthread_create.c:333 #35 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 41 (Thread 0x7f1de0086700 (LWP 8858)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1abc5b3a50, element=0x7f1ac05df900) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1abc5b3a50, tl=0x7f1abc062ea8, flags=3, out_table=0x7f1de0083b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1abc5b3a50, table_list=0x7f1abc062ea8, ot_ctx=0x7f1de0083f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1abc5b3a50, lex=0x7f1abc5b7470, tables=0x7f1abc062ea8, counter=0x7f1de0083fd4, flags=0, prelocking_strategy=0x7f1de0084050, has_prelocking_list=false, ot_ctx=0x7f1de0083f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1abc5b3a50, options=..., start=0x7f1de0083fb8, counter=0x7f1de0083fd4, flags=0, prelocking_strategy=0x7f1de0084050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1abc5b3a50, options=..., tables=0x7f1abc062820, derived=true, flags=0, prelocking_strategy=0x7f1de0084050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1abc5b3a50, tables=0x7f1abc062820, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1abc5b3a50, all_tables=0x7f1abc062820) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1abc5b3a50) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1abc5b3a50, rawbuf=0x7f1abc061c88 "SELECT * FROM (INFORMATION_SCHEMA.`INNODB_LOCK_WAITS` AS table1 INNER JOIN test.`view_b` AS table2 ON ( table2.`col_varchar_key` = table1.`requesting_trx_id` ) ) WHERE ( ( table2.`col_time_nokey` < ta"..., length=375, parser_state=0x7f1de0085110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1abc5b3a50, packet=0x7f1abc0798a1 " SELECT * FROM (INFORMATION_SCHEMA.`INNODB_LOCK_WAITS` AS table1 INNER JOIN test.`view_b` AS table2 ON ( table2.`col_varchar_key` = table1.`requesting_trx_id` ) ) WHERE ( ( table2.`col_time_nokey` < t"..., packet_length=377, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1abc5b3a50) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1abc5b3a50) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d731f0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9fc90) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9cb2060) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1de0086700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 40 (Thread 0x7f1dcc320700 (LWP 8859)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1dcc31c920: 0x55ca923af190) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8eeef6cd in MVCC::view_open (this=0x55caa9fd8640, view=@0x7f1de07792f0: 0x0, trx=0x7f1de0779258) at /data/src/10.2-bug/storage/innobase/read/read0read.cc:584 #8 0x000055ca8f000180 in trx_assign_read_view (trx=0x7f1de0779258) at /data/src/10.2-bug/storage/innobase/trx/trx0trx.cc:2087 #9 0x000055ca8ef765ca in row_search_mvcc (buf=0x7f1ad00134d8 "\377\377", mode=PAGE_CUR_G, prebuilt=0x7f1ad0052f08, match_mode=0, direction=0) at /data/src/10.2-bug/storage/innobase/row/row0sel.cc:4503 #10 0x000055ca8ee0330d in ha_innobase::index_read (this=0x7f1ad0031d28, buf=0x7f1ad00134d8 "\377\377", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:9905 #11 0x000055ca8ee046b0 in ha_innobase::index_first (this=0x7f1ad0031d28, buf=0x7f1ad00134d8 "\377\377") at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:10343 #12 0x000055ca8ee04930 in ha_innobase::rnd_next (this=0x7f1ad0031d28, buf=0x7f1ad00134d8 "\377\377") at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:10439 #13 0x000055ca8eaf2751 in handler::ha_rnd_next (this=0x7f1ad0031d28, buf=0x7f1ad00134d8 "\377\377") at /data/src/10.2-bug/sql/handler.cc:2546 #14 0x000055ca8ec5c8d5 in rr_sequential (info=0x7f1abc09d740) at /data/src/10.2-bug/sql/records.cc:484 #15 0x000055ca8e8f126d in join_init_read_record (tab=0x7f1abc09d678) at /data/src/10.2-bug/sql/sql_select.cc:19465 #16 0x000055ca8e8ef10e in sub_select (join=0x7f1a400aa128, join_tab=0x7f1abc09d678, end_of_records=false) at /data/src/10.2-bug/sql/sql_select.cc:18545 #17 0x000055ca8e8ee709 in do_select (join=0x7f1a400aa128, procedure=0x0) at /data/src/10.2-bug/sql/sql_select.cc:18092 #18 0x000055ca8e8c8fb7 in JOIN::exec_inner (this=0x7f1a400aa128) at /data/src/10.2-bug/sql/sql_select.cc:3477 #19 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1a400aa128) at /data/src/10.2-bug/sql/sql_select.cc:3278 #20 0x000055ca8e8c962f in mysql_select (thd=0x7f1a40044140, tables=0x7f1a400a5448, wild_num=1, fields=..., conds=0x7f1a400a6238, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551904086528, result=0x7f1a400aa108, unit=0x7f1a40047c28, select_lex=0x7f1a40048360) at /data/src/10.2-bug/sql/sql_select.cc:3672 #21 0x000055ca8e8bdf7a in handle_select (thd=0x7f1a40044140, lex=0x7f1a40047b60, result=0x7f1a400aa108, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #22 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1a40044140, all_tables=0x7f1a400a5448) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #23 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a40044140) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #24 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a40044140, rawbuf=0x7f1a400a50f8 "SELECT * FROM test.`view_d` AS table1 WHERE ( table1.`col_date_key` = table1.`col_varchar_key` OR table1.`col_datetime_nokey` >= table1.`col_varchar_key`) /* QNO 411 CON_ID 99 */", length=179, parser_state=0x7f1dcc31f110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #25 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a40044140, packet=0x7f1a40050a31 "", packet_length=181, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #26 0x000055ca8e87a205 in do_command (thd=0x7f1a40044140) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #27 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a40044140) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #28 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d77720) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #29 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9fc90) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #30 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1ab8010cb0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #31 0x00007f1e132c9494 in start_thread (arg=0x7f1dcc320700) at pthread_create.c:333 #32 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 39 (Thread 0x7f1dcc28c700 (LWP 8866)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1a40067680, element=0x7f1a3401e920) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1a40067680, tl=0x7f1a40049e40, flags=3, out_table=0x7f1dcc289b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1a40067680, table_list=0x7f1a40049e40, ot_ctx=0x7f1dcc289f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1a40067680, lex=0x7f1a4006b0a0, tables=0x7f1a40049e40, counter=0x7f1dcc289fd4, flags=0, prelocking_strategy=0x7f1dcc28a050, has_prelocking_list=false, ot_ctx=0x7f1dcc289f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1a40067680, options=..., start=0x7f1dcc289fb8, counter=0x7f1dcc289fd4, flags=0, prelocking_strategy=0x7f1dcc28a050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1a40067680, options=..., tables=0x7f1a40049e40, derived=true, flags=0, prelocking_strategy=0x7f1dcc28a050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1a40067680, tables=0x7f1a40049e40, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1a40067680, all_tables=0x7f1a40049e40) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a40067680) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a40067680, rawbuf=0x7f1a40049888 "SELECT * FROM test.`e` AS table1 WHERE (NOT ( ( (NOT ( (NOT (NOT table1.`col_date_nokey` = table1.`col_varchar_nokey` AND table1.`col_varchar_key` >= 7) OR table1.`col_int_key` <= table1.`col_datetime"..., length=496, parser_state=0x7f1dcc28b110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a40067680, packet=0x7f1a40099651 " SELECT * FROM test.`e` AS table1 WHERE (NOT ( ( (NOT ( (NOT (NOT table1.`col_date_nokey` = table1.`col_varchar_nokey` AND table1.`col_varchar_key` >= 7) OR table1.`col_int_key` <= table1.`col_datetim"..., packet_length=498, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1a40067680) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a40067680) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d76300) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9fc90) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1ab8027c20) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1dcc28c700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 38 (Thread 0x7f1dcc242700 (LWP 8867)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x7f1aa4120208) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x7f1aa41201e0, my_flags=0, file=0x55ca8f2dd418 "/data/src/10.2-bug/sql/sql_class.cc", line=4562) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e8319a4 in inline_mysql_mutex_lock (that=0x7f1aa41201e0, src_file=0x55ca8f2dd418 "/data/src/10.2-bug/sql/sql_class.cc", src_line=4562) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8e83f10f in thd_query_safe (thd=0x7f1aa411e8d0, buf=0x7f1dcc23f5b0 "SELECT * FROM (mysql.`event` AS table1 INNER JOIN INFORMATION_SCHEMA.`INNODB_BUFFER_PAGE` AS table2 ON ( table2.`IS_HASHED` = table1.`db` ) ) WHERE ( table1.`interval_field` != table1.`name` AND table"..., buflen=1025) at /data/src/10.2-bug/sql/sql_class.cc:4562 #5 0x000055ca8edf36eb in innobase_get_stmt_safe (thd=0x7f1aa411e8d0, buf=0x7f1dcc23f5b0 "SELECT * FROM (mysql.`event` AS table1 INNER JOIN INFORMATION_SCHEMA.`INNODB_BUFFER_PAGE` AS table2 ON ( table2.`IS_HASHED` = table1.`db` ) ) WHERE ( table1.`interval_field` != table1.`name` AND table"..., buflen=1025) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:2471 #6 0x000055ca8efd3fb8 in fill_trx_row (row=0x7f1af80212a0, trx=0x7f1de077ab78, requested_lock_row=0x0, cache=0x55ca90645280 ) at /data/src/10.2-bug/storage/innobase/trx/trx0i_s.cc:499 #7 0x000055ca8efd59fb in fetch_data_into_cache_low (cache=0x55ca90645280 , read_write=false, trx_list=0x55caa9fd7c18) at /data/src/10.2-bug/storage/innobase/trx/trx0i_s.cc:1311 #8 0x000055ca8efd5b2a in fetch_data_into_cache (cache=0x55ca90645280 ) at /data/src/10.2-bug/storage/innobase/trx/trx0i_s.cc:1340 #9 0x000055ca8efd5be0 in trx_i_s_possibly_fetch_data_into_cache (cache=0x55ca90645280 ) at /data/src/10.2-bug/storage/innobase/trx/trx0i_s.cc:1365 #10 0x000055ca8ee4878c in trx_i_s_common_fill_table (thd=0x7f1a74029780, tables=0x7f1a74011898) at /data/src/10.2-bug/storage/innobase/handler/i_s.cc:1275 #11 0x000055ca8e92af20 in get_schema_tables_result (join=0x7f1a74013438, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.2-bug/sql/sql_show.cc:8258 #12 0x000055ca8e8c8dab in JOIN::exec_inner (this=0x7f1a74013438) at /data/src/10.2-bug/sql/sql_select.cc:3441 #13 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1a74013438) at /data/src/10.2-bug/sql/sql_select.cc:3278 #14 0x000055ca8e8c962f in mysql_select (thd=0x7f1a74029780, tables=0x7f1a74011898, wild_num=1, fields=..., conds=0x7f1a74012090, og_num=4, order=0x7f1a74012300, group=0x0, having=0x0, proc_param=0x0, select_options=552440957440, result=0x7f1a74013418, unit=0x7f1a7402d268, select_lex=0x7f1a7402d9a0) at /data/src/10.2-bug/sql/sql_select.cc:3672 #15 0x000055ca8e8bdf7a in handle_select (thd=0x7f1a74029780, lex=0x7f1a7402d1a0, result=0x7f1a74013418, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #16 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1a74029780, all_tables=0x7f1a74011898) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #17 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a74029780) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #18 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a74029780, rawbuf=0x7f1a740114e8 "SELECT * FROM INFORMATION_SCHEMA.`INNODB_LOCKS` AS table1 WHERE table1.`lock_mode` <> '2031-12-17 11:18:01.047787' ORDER BY table1.`lock_index`, table1.`lock_type`, table1.`lock_table`, table1.`lock_i"..., length=229, parser_state=0x7f1dcc241110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #19 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a74029780, packet=0x7f1a74002661 " SELECT * FROM INFORMATION_SCHEMA.`INNODB_LOCKS` AS table1 WHERE table1.`lock_mode` <> '2031-12-17 11:18:01.047787' ORDER BY table1.`lock_index`, table1.`lock_type`, table1.`lock_table`, table1.`lock_"..., packet_length=231, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #20 0x000055ca8e87a205 in do_command (thd=0x7f1a74029780) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #21 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a74029780) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #22 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d75bc0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #23 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0050) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #24 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1ae00042f0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #25 0x00007f1e132c9494 in start_thread (arg=0x7f1dcc242700) at pthread_create.c:333 #26 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 37 (Thread 0x7f1dcc1ae700 (LWP 8879)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=454) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=454) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea673fb in tc_release_table (table=0x7f1b04114620) at /data/src/10.2-bug/sql/table_cache.cc:454 #5 0x000055ca8e80c7ef in close_thread_table (thd=0x7f1a38057f70, table_ptr=0x7f1a38058030) at /data/src/10.2-bug/sql/sql_base.cc:900 #6 0x000055ca8e80c546 in close_thread_tables (thd=0x7f1a38057f70) at /data/src/10.2-bug/sql/sql_base.cc:848 #7 0x000055ca8e889182 in mysql_execute_command (thd=0x7f1a38057f70) at /data/src/10.2-bug/sql/sql_parse.cc:6267 #8 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a38057f70, rawbuf=0x7f1a3806a2a8 "SELECT * FROM (INFORMATION_SCHEMA.`INNODB_BUFFER_PAGE` AS table1 RIGHT OUTER JOIN mysql.`general_log` AS table2 ON ( table2.`thread_id` = table1.`INDEX_NAME` ) ) WHERE table1.`COMPRESSED_SIZE` != tabl"..., length=277, parser_state=0x7f1dcc1ad110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #9 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a38057f70, packet=0x7f1a380783f1 "", packet_length=279, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #10 0x000055ca8e87a205 in do_command (thd=0x7f1a38057f70) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #11 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a38057f70) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #12 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d76de0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #13 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0190) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #14 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1ad802c800) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #15 0x00007f1e132c9494 in start_thread (arg=0x7f1dcc1ae700) at pthread_create.c:333 #16 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 36 (Thread 0x7f1dcc164700 (LWP 8880)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=454) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=454) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea673fb in tc_release_table (table=0x55caa9d5eac0) at /data/src/10.2-bug/sql/table_cache.cc:454 #5 0x000055ca8e80c7ef in close_thread_table (thd=0x7f1ae402c7a0, table_ptr=0x7f1ae402c860) at /data/src/10.2-bug/sql/sql_base.cc:900 #6 0x000055ca8e80c546 in close_thread_tables (thd=0x7f1ae402c7a0) at /data/src/10.2-bug/sql/sql_base.cc:848 #7 0x000055ca8e889182 in mysql_execute_command (thd=0x7f1ae402c7a0) at /data/src/10.2-bug/sql/sql_parse.cc:6267 #8 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ae402c7a0, rawbuf=0x7f1ae403c278 "SELECT * FROM (mysql.`event` AS table1 INNER JOIN INFORMATION_SCHEMA.`INNODB_BUFFER_PAGE` AS table2 ON ( table2.`IS_HASHED` = table1.`db` ) ) WHERE ( table1.`interval_field` != table1.`name` AND table"..., length=251, parser_state=0x7f1dcc163110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #9 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ae402c7a0, packet=0x7f1ae4000e21 "", packet_length=253, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #10 0x000055ca8e87a205 in do_command (thd=0x7f1ae402c7a0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #11 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ae402c7a0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #12 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d73a60) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #13 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0190) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #14 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1aa0010cb0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #15 0x00007f1e132c9494 in start_thread (arg=0x7f1dcc164700) at pthread_create.c:333 #16 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 35 (Thread 0x7f1dcc11a700 (LWP 8891)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=454) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=454) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea673fb in tc_release_table (table=0x7f1ab0030a00) at /data/src/10.2-bug/sql/table_cache.cc:454 #5 0x000055ca8e80c7ef in close_thread_table (thd=0x7f1abc00c810, table_ptr=0x7f1abc00c8d0) at /data/src/10.2-bug/sql/sql_base.cc:900 #6 0x000055ca8e80c546 in close_thread_tables (thd=0x7f1abc00c810) at /data/src/10.2-bug/sql/sql_base.cc:848 #7 0x000055ca8e889182 in mysql_execute_command (thd=0x7f1abc00c810) at /data/src/10.2-bug/sql/sql_parse.cc:6267 #8 0x000055ca8e88d818 in mysql_parse (thd=0x7f1abc00c810, rawbuf=0x7f1abc01ad68 "SELECT * FROM (INFORMATION_SCHEMA.`INNODB_BUFFER_PAGE` AS table1 RIGHT JOIN mysql.`index_stats` AS table2 ON ( table2.`prefix_arity` = table1.`IS_HASHED` ) ) WHERE ( ( table1.`NEWEST_MODIFICATION` != "..., length=428, parser_state=0x7f1dcc119110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #9 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1abc00c810, packet=0x7f1abc0ec831 "", packet_length=430, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #10 0x000055ca8e87a205 in do_command (thd=0x7f1abc00c810) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #11 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1abc00c810) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #12 0x000055ca8ea2ac5e in tp_callback (c=0x55ca9225ac70) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #13 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0550) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #14 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08001d50) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #15 0x00007f1e132c9494 in start_thread (arg=0x7f1dcc11a700) at pthread_create.c:333 #16 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 34 (Thread 0x7f1b6ad8b700 (LWP 8901)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca8fdc02e8 ) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca8fdc02c0 , my_flags=0, file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", line=4322) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e79bf0c in inline_mysql_mutex_lock (that=0x55ca8fdc02c0 , src_file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", src_line=4322) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8e7af121 in unlink_not_visible_thd (thd=0x7f1a2401d420) at /data/src/10.2-bug/sql/sql_class.h:4322 #5 0x000055ca8e7a12e4 in unlink_thd (thd=0x7f1a2401d420) at /data/src/10.2-bug/sql/mysqld.cc:2902 #6 0x000055ca8ea2af99 in threadpool_remove_connection (thd=0x7f1a2401d420) at /data/src/10.2-bug/sql/threadpool_common.cc:301 #7 0x000055ca8ea2ad1c in tp_callback (c=0x55caa9d75550) at /data/src/10.2-bug/sql/threadpool_common.cc:216 #8 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0050) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #9 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002380) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #10 0x00007f1e132c9494 in start_thread (arg=0x7f1b6ad8b700) at pthread_create.c:333 #11 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 33 (Thread 0x7f1b6ad41700 (LWP 8902)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1a840519e0, element=0x7f1af0015210) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1a840519e0, tl=0x7f1a90100968, flags=1, out_table=0x7f1b6ad3c978) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1a840519e0, table_list=0x7f1a90100968, ot_ctx=0x7f1b6ad3cdb0) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1a840519e0, lex=0x7f1b6ad3d020, tables=0x7f1a90100968, counter=0x7f1b6ad3ce7c, flags=1282, prelocking_strategy=0x7f1b6ad3ce80, has_prelocking_list=false, ot_ctx=0x7f1b6ad3cdb0) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1a840519e0, options=..., start=0x7f1b6ad3ce60, counter=0x7f1b6ad3ce7c, flags=1282, prelocking_strategy=0x7f1b6ad3ce80) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e80ae74 in open_tables (thd=0x7f1a840519e0, tables=0x7f1b6ad3ce60, counter=0x7f1b6ad3ce7c, flags=1282, prelocking_strategy=0x7f1b6ad3ce80) at /data/src/10.2-bug/sql/sql_base.h:236 #11 0x000055ca8e813a3e in open_normal_and_derived_tables (thd=0x7f1a840519e0, tables=0x7f1a90100968, flags=1282, dt_phases=35) at /data/src/10.2-bug/sql/sql_base.cc:4745 #12 0x000055ca8e9195a2 in fill_schema_table_by_open (thd=0x7f1a840519e0, is_show_fields_or_keys=false, table=0x7f1a9001e3f8, schema_table=0x55ca8fbd8680 , orig_db_name=0x7f1a90012008, orig_table_name=0x7f1a90100558, open_tables_state_backup=0x7f1b6ad3e720, can_deadlock=true) at /data/src/10.2-bug/sql/sql_show.cc:4277 #13 0x000055ca8e91ad83 in get_all_tables (thd=0x7f1a840519e0, tables=0x7f1a8408fae8, cond=0x0) at /data/src/10.2-bug/sql/sql_show.cc:4916 #14 0x000055ca8e92af20 in get_schema_tables_result (join=0x7f1a840920d8, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.2-bug/sql/sql_show.cc:8258 #15 0x000055ca8e8c8dab in JOIN::exec_inner (this=0x7f1a840920d8) at /data/src/10.2-bug/sql/sql_select.cc:3441 #16 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1a840920d8) at /data/src/10.2-bug/sql/sql_select.cc:3278 #17 0x000055ca8e8c962f in mysql_select (thd=0x7f1a840519e0, tables=0x7f1a8408fae8, wild_num=1, fields=..., conds=0x7f1a840902d0, og_num=6, order=0x7f1a84090560, group=0x0, having=0x0, proc_param=0x0, select_options=552440957440, result=0x7f1a840920b8, unit=0x7f1a840554c8, select_lex=0x7f1a84055c00) at /data/src/10.2-bug/sql/sql_select.cc:3672 #18 0x000055ca8e8bdf7a in handle_select (thd=0x7f1a840519e0, lex=0x7f1a84055400, result=0x7f1a840920b8, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #19 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1a840519e0, all_tables=0x7f1a8408fae8) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #20 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a840519e0) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #21 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a840519e0, rawbuf=0x7f1a8408f6e8 "SELECT * FROM INFORMATION_SCHEMA.`STATISTICS` AS table1 WHERE table1.`COLLATION` > 0 ORDER BY table1.`TABLE_NAME`, table1.`TABLE_CATALOG`, table1.`NULLABLE`, table1.`INDEX_NAME`, table1.`TABLE_CATALOG"..., length=252, parser_state=0x7f1b6ad40110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #22 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a840519e0, packet=0x7f1a84080cb1 " SELECT * FROM INFORMATION_SCHEMA.`STATISTICS` AS table1 WHERE table1.`COLLATION` > 0 ORDER BY table1.`TABLE_NAME`, table1.`TABLE_CATALOG`, table1.`NULLABLE`, table1.`INDEX_NAME`, table1.`TABLE_CATALO"..., packet_length=254, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #23 0x000055ca8e87a205 in do_command (thd=0x7f1a840519e0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #24 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a840519e0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #25 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d74a10) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #26 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca02d0) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #27 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #28 0x00007f1e132c9494 in start_thread (arg=0x7f1b6ad41700) at pthread_create.c:333 #29 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 32 (Thread 0x7f1b6acf7700 (LWP 8903)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca8fdc02e8 ) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca8fdc02c0 , my_flags=0, file=0x55ca8f2f8fa0 "/data/src/10.2-bug/sql/sql_show.cc", line=2907) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e90c643 in inline_mysql_mutex_lock (that=0x55ca8fdc02c0 , src_file=0x55ca8f2f8fa0 "/data/src/10.2-bug/sql/sql_show.cc", src_line=2907) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8e915a1b in fill_schema_processlist (thd=0x7f1ad40a4f10, tables=0x7f1ad40b2ab8, cond=0x0) at /data/src/10.2-bug/sql/sql_show.cc:2907 #5 0x000055ca8e92af20 in get_schema_tables_result (join=0x7f1ad40b4830, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.2-bug/sql/sql_show.cc:8258 #6 0x000055ca8e8c8dab in JOIN::exec_inner (this=0x7f1ad40b4830) at /data/src/10.2-bug/sql/sql_select.cc:3441 #7 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1ad40b4830) at /data/src/10.2-bug/sql/sql_select.cc:3278 #8 0x000055ca8e8c962f in mysql_select (thd=0x7f1ad40a4f10, tables=0x7f1ad40b2ab8, wild_num=0, fields=..., conds=0x0, og_num=1, order=0x7f1ad40b31b0, group=0x0, having=0x0, proc_param=0x0, select_options=552440957440, result=0x7f1ad40b29d8, unit=0x7f1ad40a89f8, select_lex=0x7f1ad40a9130) at /data/src/10.2-bug/sql/sql_select.cc:3672 #9 0x000055ca8e8bdf7a in handle_select (thd=0x7f1ad40a4f10, lex=0x7f1ad40a8930, result=0x7f1ad40b29d8, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #10 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1ad40a4f10, all_tables=0x7f1ad40b2ab8) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #11 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ad40a4f10) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #12 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ad40a4f10, rawbuf=0x7f1ad40b2778 "SELECT ID INTO @thread_id FROM INFORMATION_SCHEMA.PROCESSLIST ORDER BY RAND() LIMIT 1 /* QNO 424 CON_ID 19 */", length=110, parser_state=0x7f1b6acf6110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #13 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ad40a4f10, packet=0x7f1ad40aa641 "SELECT ID INTO @thread_id FROM INFORMATION_SCHEMA.PROCESSLIST ORDER BY RAND() LIMIT 1 /* QNO 424 CON_ID 19 */ ", packet_length=111, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #14 0x000055ca8e87a205 in do_command (thd=0x7f1ad40a4f10) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #15 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ad40a4f10) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #16 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d742d0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #17 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #18 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002ae0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #19 0x00007f1e132c9494 in start_thread (arg=0x7f1b6acf7700) at pthread_create.c:333 #20 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 31 (Thread 0x7f1b6ac19700 (LWP 8906)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1b6ac15920: 0x55ca923af1d0) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8eeef6cd in MVCC::view_open (this=0x55caa9fd8640, view=@0x7f1de077bcd0: 0x0, trx=0x7f1de077bc38) at /data/src/10.2-bug/storage/innobase/read/read0read.cc:584 #8 0x000055ca8f000180 in trx_assign_read_view (trx=0x7f1de077bc38) at /data/src/10.2-bug/storage/innobase/trx/trx0trx.cc:2087 #9 0x000055ca8ef765ca in row_search_mvcc (buf=0x7f1ad000b818 "\377\377", mode=PAGE_CUR_G, prebuilt=0x7f1ad005dd08, match_mode=0, direction=0) at /data/src/10.2-bug/storage/innobase/row/row0sel.cc:4503 #10 0x000055ca8ee0330d in ha_innobase::index_read (this=0x7f1ad00506e8, buf=0x7f1ad000b818 "\377\377", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:9905 #11 0x000055ca8ee046b0 in ha_innobase::index_first (this=0x7f1ad00506e8, buf=0x7f1ad000b818 "\377\377") at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:10343 #12 0x000055ca8ee04930 in ha_innobase::rnd_next (this=0x7f1ad00506e8, buf=0x7f1ad000b818 "\377\377") at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:10439 #13 0x000055ca8eaf2751 in handler::ha_rnd_next (this=0x7f1ad00506e8, buf=0x7f1ad000b818 "\377\377") at /data/src/10.2-bug/sql/handler.cc:2546 #14 0x000055ca8ec5c8d5 in rr_sequential (info=0x7f1a4003f710) at /data/src/10.2-bug/sql/records.cc:484 #15 0x000055ca8e8f126d in join_init_read_record (tab=0x7f1a4003f648) at /data/src/10.2-bug/sql/sql_select.cc:19465 #16 0x000055ca8e8ef10e in sub_select (join=0x7f1a4407c248, join_tab=0x7f1a4003f648, end_of_records=false) at /data/src/10.2-bug/sql/sql_select.cc:18545 #17 0x000055ca8e8ee709 in do_select (join=0x7f1a4407c248, procedure=0x0) at /data/src/10.2-bug/sql/sql_select.cc:18092 #18 0x000055ca8e8c8fb7 in JOIN::exec_inner (this=0x7f1a4407c248) at /data/src/10.2-bug/sql/sql_select.cc:3477 #19 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1a4407c248) at /data/src/10.2-bug/sql/sql_select.cc:3278 #20 0x000055ca8e8c962f in mysql_select (thd=0x7f1a44072040, tables=0x7f1a44079318, wild_num=1, fields=..., conds=0x7f1a44079bb0, og_num=0, order=0x0, group=0x0, having=0x7f1a4407c088, proc_param=0x0, select_options=551904086528, result=0x7f1a4407c228, unit=0x7f1a44075b28, select_lex=0x7f1a44076260) at /data/src/10.2-bug/sql/sql_select.cc:3672 #21 0x000055ca8e8bdf7a in handle_select (thd=0x7f1a44072040, lex=0x7f1a44075a60, result=0x7f1a4407c228, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #22 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1a44072040, all_tables=0x7f1a44079318) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #23 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a44072040) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #24 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a44072040, rawbuf=0x7f1a44078ec8 "SELECT * FROM test.`bb` AS table1 WHERE table1.`col_time_nokey` > table1.`col_date_key` HAVING NOT (NOT ( (NOT (table1.`col_datetime_nokey` <> 8 IS NULL OR table1.`pk` = 7) AND table1.`col_varchar_key"..., length=317, parser_state=0x7f1b6ac18110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #25 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a44072040, packet=0x7f1a44023d11 "", packet_length=319, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #26 0x000055ca8e87a205 in do_command (thd=0x7f1a44072040) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #27 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a44072040) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #28 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d74670) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #29 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9ff10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #30 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #31 0x00007f1e132c9494 in start_thread (arg=0x7f1b6ac19700) at pthread_create.c:333 #32 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 30 (Thread 0x7f1b6abcf700 (LWP 8907)): #0 0x00007f1e11441f33 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x000055ca8eaaa97a in io_poll_wait (pollfd=26, native_events=0x7f1b6abc8d30, maxevents=1024, timeout_ms=-1) at /data/src/10.2-bug/sql/threadpool_generic.cc:320 #2 0x000055ca8eaab323 in listener (current_thread=0x7f1b6abcee40, thread_group=0x55caa9c9ff10) at /data/src/10.2-bug/sql/threadpool_generic.cc:788 #3 0x000055ca8eaabefa in get_event (current_thread=0x7f1b6abcee40, thread_group=0x55caa9c9ff10, abstime=0x7f1b6abcee10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1233 #4 0x000055ca8eaaccc6 in worker_main (param=0x55caa9c9ff10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1577 #5 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1b6abcf700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 29 (Thread 0x7f1b6ab3b700 (LWP 8909)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1a74033ad0, element=0x55caa9d315b0) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1a74033ad0, tl=0x7f19f408bd20, flags=3, out_table=0x7f1b6ab38b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1a74033ad0, table_list=0x7f19f408bd20, ot_ctx=0x7f1b6ab38f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1a74033ad0, lex=0x7f1a740374f0, tables=0x7f19f408bd20, counter=0x7f1b6ab38fd4, flags=0, prelocking_strategy=0x7f1b6ab39050, has_prelocking_list=false, ot_ctx=0x7f1b6ab38f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1a74033ad0, options=..., start=0x7f1b6ab38fb8, counter=0x7f1b6ab38fd4, flags=0, prelocking_strategy=0x7f1b6ab39050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1a74033ad0, options=..., tables=0x7f19f408bd20, derived=true, flags=0, prelocking_strategy=0x7f1b6ab39050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1a74033ad0, tables=0x7f19f408bd20, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1a74033ad0, all_tables=0x7f19f408bd20) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a74033ad0) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a74033ad0, rawbuf=0x7f19f408b938 "SELECT * FROM mysql.`time_zone_transition` AS table1 WHERE ( table1.`Transition_type_id` < 'ld' OR table1.`Time_zone_id` = table1.`Transition_time`) HAVING table1.`Transition_type_id` < 'd' IS NULL LI"..., length=229, parser_state=0x7f1b6ab3a110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a74033ad0, packet=0x7f1a74039a81 " SELECT * FROM mysql.`time_zone_transition` AS table1 WHERE ( table1.`Transition_type_id` < 'ld' OR table1.`Time_zone_id` = table1.`Transition_time`) HAVING table1.`Transition_type_id` < 'd' IS NULL L"..., packet_length=231, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1a74033ad0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a74033ad0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9cf2780) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0050) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1b6ab3b700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 28 (Thread 0x7f1b6aaf1700 (LWP 8910)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca8fdc02e8 ) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca8fdc02c0 , my_flags=0, file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", line=4322) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e79bf0c in inline_mysql_mutex_lock (that=0x55ca8fdc02c0 , src_file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", src_line=4322) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8e7af121 in unlink_not_visible_thd (thd=0x7f1a18036570) at /data/src/10.2-bug/sql/sql_class.h:4322 #5 0x000055ca8e7a12e4 in unlink_thd (thd=0x7f1a18036570) at /data/src/10.2-bug/sql/mysqld.cc:2902 #6 0x000055ca8ea2af99 in threadpool_remove_connection (thd=0x7f1a18036570) at /data/src/10.2-bug/sql/threadpool_common.cc:301 #7 0x000055ca8ea2ad1c in tp_callback (c=0x55caa9d72b80) at /data/src/10.2-bug/sql/threadpool_common.cc:216 #8 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #9 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08003380) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #10 0x00007f1e132c9494 in start_thread (arg=0x7f1b6aaf1700) at pthread_create.c:333 #11 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 27 (Thread 0x7f1b6aaa7700 (LWP 8911)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca8fdc02e8 ) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca8fdc02c0 , my_flags=0, file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", line=4322) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e79bf0c in inline_mysql_mutex_lock (that=0x55ca8fdc02c0 , src_file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", src_line=4322) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8e7af121 in unlink_not_visible_thd (thd=0x7f1a340534b0) at /data/src/10.2-bug/sql/sql_class.h:4322 #5 0x000055ca8e7a12e4 in unlink_thd (thd=0x7f1a340534b0) at /data/src/10.2-bug/sql/mysqld.cc:2902 #6 0x000055ca8ea2af99 in threadpool_remove_connection (thd=0x7f1a340534b0) at /data/src/10.2-bug/sql/threadpool_common.cc:301 #7 0x000055ca8ea2ad1c in tp_callback (c=0x55caa9d77cc0) at /data/src/10.2-bug/sql/threadpool_common.cc:216 #8 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9fc90) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #9 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1ab80489e0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #10 0x00007f1e132c9494 in start_thread (arg=0x7f1b6aaa7700) at pthread_create.c:333 #11 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 26 (Thread 0x7f1b6aa5d700 (LWP 8912)): #0 0x00007f1e11441f33 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x000055ca8eaaa97a in io_poll_wait (pollfd=25, native_events=0x7f1b6aa56d30, maxevents=1024, timeout_ms=-1) at /data/src/10.2-bug/sql/threadpool_generic.cc:320 #2 0x000055ca8eaab323 in listener (current_thread=0x7f1b6aa5ce40, thread_group=0x55caa9c9fdd0) at /data/src/10.2-bug/sql/threadpool_generic.cc:788 #3 0x000055ca8eaabefa in get_event (current_thread=0x7f1b6aa5ce40, thread_group=0x55caa9c9fdd0, abstime=0x7f1b6aa5ce10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1233 #4 0x000055ca8eaaccc6 in worker_main (param=0x55caa9c9fdd0) at /data/src/10.2-bug/sql/threadpool_generic.cc:1577 #5 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1ab0066980) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1b6aa5d700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 25 (Thread 0x7f1b6a9c9700 (LWP 8914)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x7f1aa4120208) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x7f1aa41201e0, my_flags=0, file=0x55ca8f32a908 "/data/src/10.2-bug/sql/my_apc.h", line=69) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e9fc3d9 in inline_mysql_mutex_lock (that=0x7f1aa41201e0, src_file=0x55ca8f32a908 "/data/src/10.2-bug/sql/my_apc.h", src_line=69) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea04dff in Apc_target::disable (this=0x7f1aa41222b8) at /data/src/10.2-bug/sql/my_apc.h:69 #5 0x000055ca8e9fc5ff in Explain_query::~Explain_query (this=0x7f1a18080818, __in_chrg=) at /data/src/10.2-bug/sql/sql_explain.cc:58 #6 0x000055ca8ea04433 in delete_explain_query (lex=0x7f1aa41222f0) at /data/src/10.2-bug/sql/sql_explain.cc:2349 #7 0x000055ca8e87d88e in log_slow_statement (thd=0x7f1aa411e8d0) at /data/src/10.2-bug/sql/sql_parse.cc:2470 #8 0x000055ca8e87d482 in dispatch_command (command=COM_QUERY, thd=0x7f1aa411e8d0, packet=0x7f1aa4111441 "", packet_length=251, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:2384 #9 0x000055ca8e87a205 in do_command (thd=0x7f1aa411e8d0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #10 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1aa411e8d0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #11 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d75f60) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #12 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #13 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1ac8035cb0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #14 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a9c9700) at pthread_create.c:333 #15 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 24 (Thread 0x7f1b6a8eb700 (LWP 8917)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1a24076d30, element=0x7f1ac0606700) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1a24076d30, tl=0x7f1a2406cfd8, flags=3, out_table=0x7f1b6a8e8b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1a24076d30, table_list=0x7f1a2406cfd8, ot_ctx=0x7f1b6a8e8f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1a24076d30, lex=0x7f1a2407a750, tables=0x7f1a2406cfd8, counter=0x7f1b6a8e8fd4, flags=0, prelocking_strategy=0x7f1b6a8e9050, has_prelocking_list=false, ot_ctx=0x7f1b6a8e8f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1a24076d30, options=..., start=0x7f1b6a8e8fb8, counter=0x7f1b6a8e8fd4, flags=0, prelocking_strategy=0x7f1b6a8e9050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1a24076d30, options=..., tables=0x7f1a2406cfd8, derived=true, flags=0, prelocking_strategy=0x7f1b6a8e9050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1a24076d30, tables=0x7f1a2406cfd8, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1a24076d30, all_tables=0x7f1a2406cfd8) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a24076d30) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a24076d30, rawbuf=0x7f1a2406cab8 "SELECT * FROM test.`view_d` AS table1 WHERE ( (NOT ( ( table1.`pk` = table1.`pk` OR table1.`col_datetime_nokey` >= table1.`col_time_nokey`) OR table1.`col_varchar_nokey` >= table1.`col_int_nokey`) OR "..., length=415, parser_state=0x7f1b6a8ea110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a24076d30, packet=0x7f1a2409c3a1 " SELECT * FROM test.`view_d` AS table1 WHERE ( (NOT ( ( table1.`pk` = table1.`pk` OR table1.`col_datetime_nokey` >= table1.`col_time_nokey`) OR table1.`col_varchar_nokey` >= table1.`col_int_nokey`) OR"..., packet_length=417, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1a24076d30) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a24076d30) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d30270) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0050) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a8eb700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 23 (Thread 0x7f1b6a8a1700 (LWP 8918)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1b6a89d9b0: 0x55ca923af590) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8eeef6cd in MVCC::view_open (this=0x55caa9fd8640, view=@0x7f1de0777e00: 0x0, trx=0x7f1de0777d68) at /data/src/10.2-bug/storage/innobase/read/read0read.cc:584 #8 0x000055ca8f000180 in trx_assign_read_view (trx=0x7f1de0777d68) at /data/src/10.2-bug/storage/innobase/trx/trx0trx.cc:2087 #9 0x000055ca8ef765ca in row_search_mvcc (buf=0x7f1a180632a8 "\277\377", mode=PAGE_CUR_GE, prebuilt=0x7f1a18026cf8, match_mode=1, direction=0) at /data/src/10.2-bug/storage/innobase/row/row0sel.cc:4503 #10 0x000055ca8ee0330d in ha_innobase::index_read (this=0x7f1a18047ad8, buf=0x7f1a180632a8 "\277\377", key_ptr=0x7f1a24065610 "", key_len=6, find_flag=HA_READ_KEY_EXACT) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:9905 #11 0x000055ca8eafc836 in handler::index_read_map (this=0x7f1a18047ad8, buf=0x7f1a180632a8 "\277\377", key=0x7f1a24065610 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.2-bug/sql/handler.h:3120 #12 0x000055ca8eaf2d35 in handler::ha_index_read_map (this=0x7f1a18047ad8, buf=0x7f1a180632a8 "\277\377", key=0x7f1a24065610 "", keypart_map=1, find_flag=HA_READ_KEY_EXACT) at /data/src/10.2-bug/sql/handler.cc:2596 #13 0x000055ca8e8f0b49 in join_read_always_key (tab=0x7f1a2403cb58) at /data/src/10.2-bug/sql/sql_select.cc:19299 #14 0x000055ca8e8ef10e in sub_select (join=0x7f1aa80226b0, join_tab=0x7f1a2403cb58, end_of_records=false) at /data/src/10.2-bug/sql/sql_select.cc:18545 #15 0x000055ca8e8ee709 in do_select (join=0x7f1aa80226b0, procedure=0x0) at /data/src/10.2-bug/sql/sql_select.cc:18092 #16 0x000055ca8e8c8fb7 in JOIN::exec_inner (this=0x7f1aa80226b0) at /data/src/10.2-bug/sql/sql_select.cc:3477 #17 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1aa80226b0) at /data/src/10.2-bug/sql/sql_select.cc:3278 #18 0x000055ca8e8c962f in mysql_select (thd=0x7f1aa8027b40, tables=0x7f1aa801e490, wild_num=1, fields=..., conds=0x7f1aa8020388, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=552440957440, result=0x7f1aa8022690, unit=0x7f1aa802b628, select_lex=0x7f1aa802bd60) at /data/src/10.2-bug/sql/sql_select.cc:3672 #19 0x000055ca8e8bdf7a in handle_select (thd=0x7f1aa8027b40, lex=0x7f1aa802b560, result=0x7f1aa8022690, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #20 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1aa8027b40, all_tables=0x7f1aa801e490) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #21 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1aa8027b40) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #22 0x000055ca8e88d818 in mysql_parse (thd=0x7f1aa8027b40, rawbuf=0x7f1aa801d968 "SELECT * FROM (test.`d` AS table1 LEFT JOIN INFORMATION_SCHEMA.`TRIGGERS` AS table2 ON ( table2.`TRIGGER_NAME` = table1.`col_date_key` ) ) WHERE ( ( ( table1.`col_varchar_key` >= table2.`ACTION_CONDIT"..., length=358, parser_state=0x7f1b6a8a0110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #23 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1aa8027b40, packet=0x7f1aa8019111 "", packet_length=360, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #24 0x000055ca8e87a205 in do_command (thd=0x7f1aa8027b40) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #25 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1aa8027b40) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #26 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d787a0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #27 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0050) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #28 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #29 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a8a1700) at pthread_create.c:333 #30 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 22 (Thread 0x7f1b6a80d700 (LWP 8920)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1ab80599d0, element=0x55caa9d24380) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1ab80599d0, tl=0x7f1ab80db4b8, flags=3, out_table=0x7f1b6a80ab08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1ab80599d0, table_list=0x7f1ab80db4b8, ot_ctx=0x7f1b6a80af40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1ab80599d0, lex=0x7f1ab805d3f0, tables=0x7f1ab80db4b8, counter=0x7f1b6a80afd4, flags=0, prelocking_strategy=0x7f1b6a80b050, has_prelocking_list=false, ot_ctx=0x7f1b6a80af40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1ab80599d0, options=..., start=0x7f1b6a80afb8, counter=0x7f1b6a80afd4, flags=0, prelocking_strategy=0x7f1b6a80b050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1ab80599d0, options=..., tables=0x7f1ab80dae18, derived=true, flags=0, prelocking_strategy=0x7f1b6a80b050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1ab80599d0, tables=0x7f1ab80dae18, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1ab80599d0, all_tables=0x7f1ab80dae18) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ab80599d0) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ab80599d0, rawbuf=0x7f1ab80da398 "SELECT * FROM (INFORMATION_SCHEMA.`INNODB_FT_DELETED` AS table1 RIGHT JOIN mysql.`tables_priv` AS table2 ON ( table2.`Timestamp` = table1.`DOC_ID` ) ) WHERE table2.`Host` = '2010-04-12 17:04:10.049417"..., length=233, parser_state=0x7f1b6a80c110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ab80599d0, packet=0x7f1ab805f101 " SELECT * FROM (INFORMATION_SCHEMA.`INNODB_FT_DELETED` AS table1 RIGHT JOIN mysql.`tables_priv` AS table2 ON ( table2.`Timestamp` = table1.`DOC_ID` ) ) WHERE table2.`Host` = '2010-04-12 17:04:10.04941"..., packet_length=235, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1ab80599d0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ab80599d0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d734c0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9fc90) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a80d700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 21 (Thread 0x7f1b6a7c3700 (LWP 8921)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1b6a7bf300: 0x55ca923af2d0) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f4c72d0 "/data/src/10.2-bug/storage/innobase/srv/srv0srv.cc", line=1648) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f4c72d0 "/data/src/10.2-bug/storage/innobase/srv/srv0srv.cc", line=1648) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8efab330 in srv_export_innodb_status () at /data/src/10.2-bug/storage/innobase/srv/srv0srv.cc:1648 #8 0x000055ca8ee11066 in innodb_export_status () at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:16501 #9 0x000055ca8ee1619c in show_innodb_vars (thd=0x7f1ae4042300, var=0x7f1b6a7bf590, buff=0x7f1b6a7bf610 "0") at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:19598 #10 0x000055ca8e917458 in show_status_array (thd=0x7f1ae4042300, wild=0x0, variables=0x55ca9225d6d8, scope=SHOW_OPT_SESSION, status_var=0x7f1b6a7c0db0, prefix=0x55ca8f2f71b9 "", table=0x7f1a38053798, ucase_names=false, cond=0x0) at /data/src/10.2-bug/sql/sql_show.cc:3445 #11 0x000055ca8e927f76 in fill_status (thd=0x7f1ae4042300, tables=0x7f1ae40514c0, cond=0x0) at /data/src/10.2-bug/sql/sql_show.cc:7385 #12 0x000055ca8e92af20 in get_schema_tables_result (join=0x7f1ae4051ea0, executed_place=PROCESSED_BY_JOIN_EXEC) at /data/src/10.2-bug/sql/sql_show.cc:8258 #13 0x000055ca8e8c8dab in JOIN::exec_inner (this=0x7f1ae4051ea0) at /data/src/10.2-bug/sql/sql_select.cc:3441 #14 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1ae4051ea0) at /data/src/10.2-bug/sql/sql_select.cc:3278 #15 0x000055ca8e8c962f in mysql_select (thd=0x7f1ae4042300, tables=0x7f1ae40514c0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=552440957440, result=0x7f1ae4051e80, unit=0x7f1ae4045de8, select_lex=0x7f1ae4046520) at /data/src/10.2-bug/sql/sql_select.cc:3672 #16 0x000055ca8e8bdf7a in handle_select (thd=0x7f1ae4042300, lex=0x7f1ae4045d20, result=0x7f1ae4051e80, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #17 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1ae4042300, all_tables=0x7f1ae40514c0) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #18 0x000055ca8e88a0fb in execute_show_status (thd=0x7f1ae4042300, all_tables=0x7f1ae40514c0) at /data/src/10.2-bug/sql/sql_parse.cc:6476 #19 0x000055ca8e87fb75 in mysql_execute_command (thd=0x7f1ae4042300) at /data/src/10.2-bug/sql/sql_parse.cc:3386 #20 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ae4042300, rawbuf=0x7f1ae4051178 "SHOW STATUS /* QNO 500 CON_ID 81 */", length=35, parser_state=0x7f1b6a7c2110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #21 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ae4042300, packet=0x7f1ae4032bd1 "SHOW STATUS /* QNO 500 CON_ID 81 */ ", packet_length=36, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #22 0x000055ca8e87a205 in do_command (thd=0x7f1ae4042300) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #23 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ae4042300) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #24 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d04f30) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #25 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0190) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #26 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #27 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a7c3700) at pthread_create.c:333 #28 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 20 (Thread 0x7f1b6a779700 (LWP 8922)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca8fdc02e8 ) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca8fdc02c0 , my_flags=0, file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", line=4322) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e79bf0c in inline_mysql_mutex_lock (that=0x55ca8fdc02c0 , src_file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", src_line=4322) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8e7af121 in unlink_not_visible_thd (thd=0x7f1a8c042ea0) at /data/src/10.2-bug/sql/sql_class.h:4322 #5 0x000055ca8e7a12e4 in unlink_thd (thd=0x7f1a8c042ea0) at /data/src/10.2-bug/sql/mysqld.cc:2902 #6 0x000055ca8ea2af99 in threadpool_remove_connection (thd=0x7f1a8c042ea0) at /data/src/10.2-bug/sql/threadpool_common.cc:301 #7 0x000055ca8ea2ad1c in tp_callback (c=0x55caa9d716b0) at /data/src/10.2-bug/sql/threadpool_common.cc:216 #8 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #9 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08003fe0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #10 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a779700) at pthread_create.c:333 #11 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 19 (Thread 0x7f1b6a529700 (LWP 8930)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fb27b0) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fb27b0, reset_sig_count=9) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fb27b0, reset_sig_count=9) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1b6a526d20: 0x55ca923af150) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9e4cca0, max_spins=60, max_delay=6, filename=0x55ca8f4271f8 "/data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc", line=5419) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9e4cca0, n_spins=30, n_delay=6, name=0x55ca8f4271f8 "/data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc", line=5419) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8edf8ecc in innobase_kill_query (hton=0x55ca923ac030, thd=0x7f1aa411e8d0, level=THD_ABORT_ASAP) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:5419 #8 0x000055ca8eaee789 in kill_handlerton (thd=0x7f1aa411e8d0, plugin=0x7f1b6a527348, level=0x7f1b6a5273b4) at /data/src/10.2-bug/sql/handler.cc:794 #9 0x000055ca8e89b75a in plugin_foreach_with_mask (thd=0x7f1aa411e8d0, func=0x55ca8eaee70b , type=1, state_mask=4294967287, arg=0x7f1b6a5273b4) at /data/src/10.2-bug/sql/sql_plugin.cc:2381 #10 0x000055ca8eaee7e3 in ha_kill_query (thd=0x7f1aa411e8d0, level=THD_ABORT_ASAP) at /data/src/10.2-bug/sql/handler.cc:801 #11 0x000055ca8e8373e2 in THD::awake (this=0x7f1aa411e8d0, state_to_set=KILL_CONNECTION_HARD) at /data/src/10.2-bug/sql/sql_class.cc:1791 #12 0x000055ca8e88f9a4 in kill_one_thread (thd=0x7f1ab0028940, id=350, kill_signal=KILL_CONNECTION_HARD, type=KILL_TYPE_ID) at /data/src/10.2-bug/sql/sql_parse.cc:8767 #13 0x000055ca8e88fe66 in sql_kill (thd=0x7f1ab0028940, id=350, state=KILL_CONNECTION_HARD, type=KILL_TYPE_ID) at /data/src/10.2-bug/sql/sql_parse.cc:8873 #14 0x000055ca8e886481 in mysql_execute_command (thd=0x7f1ab0028940) at /data/src/10.2-bug/sql/sql_parse.cc:5455 #15 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ab0028940, rawbuf=0x7f1ab00be448 "KILL @kill /* QNO 1317 CON_ID 20 */", length=35, parser_state=0x7f1b6a528110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #16 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ab0028940, packet=0x7f1ab0006ba1 " KILL @kill /* QNO 1317 CON_ID 20 */ ", packet_length=37, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #17 0x000055ca8e87a205 in do_command (thd=0x7f1ab0028940) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #18 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ab0028940) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #19 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d0ed80) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #20 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9fdd0) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #21 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #22 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a529700) at pthread_create.c:333 #23 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 18 (Thread 0x7f1b6a4df700 (LWP 8931)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1b6a4dcac0: 0x55ca923af090) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f4271f8 "/data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc", line=16474) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f4271f8 "/data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc", line=16474) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8ee10f67 in ha_innobase::external_lock (this=0x7f1a9008c7a8, thd=0x7f1a90098f30, lock_type=2) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:16474 #8 0x000055ca8eafa9e6 in handler::ha_external_lock (this=0x7f1a9008c7a8, thd=0x7f1a90098f30, lock_type=2) at /data/src/10.2-bug/sql/handler.cc:5857 #9 0x000055ca8ec03e8e in unlock_external (thd=0x7f1a90098f30, table=0x7f1a900a71f0, count=1) at /data/src/10.2-bug/sql/lock.cc:719 #10 0x000055ca8ec0356c in mysql_unlock_read_tables (thd=0x7f1a90098f30, sql_lock=0x7f1a900a71d8) at /data/src/10.2-bug/sql/lock.cc:480 #11 0x000055ca8e8df699 in JOIN::join_free (this=0x7f1a900a7388) at /data/src/10.2-bug/sql/sql_select.cc:12048 #12 0x000055ca8e8ee909 in do_select (join=0x7f1a900a7388, procedure=0x0) at /data/src/10.2-bug/sql/sql_select.cc:18138 #13 0x000055ca8e8c8fb7 in JOIN::exec_inner (this=0x7f1a900a7388) at /data/src/10.2-bug/sql/sql_select.cc:3477 #14 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1a900a7388) at /data/src/10.2-bug/sql/sql_select.cc:3278 #15 0x000055ca8e8c962f in mysql_select (thd=0x7f1a90098f30, tables=0x7f1a900a2a10, wild_num=1, fields=..., conds=0x7f1a900a3280, og_num=1, order=0x7f1a900a3530, group=0x0, having=0x0, proc_param=0x0, select_options=551904086528, result=0x7f1a900a7368, unit=0x7f1a9009ca18, select_lex=0x7f1a9009d150) at /data/src/10.2-bug/sql/sql_select.cc:3672 #16 0x000055ca8e8bdf7a in handle_select (thd=0x7f1a90098f30, lex=0x7f1a9009c950, result=0x7f1a900a7368, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #17 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1a90098f30, all_tables=0x7f1a900a2a10) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #18 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a90098f30) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #19 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a90098f30, rawbuf=0x7f1a900a2708 "SELECT * FROM test.`view_dd` AS table1 WHERE table1.`pk` >= table1.`col_varchar_key` ORDER BY table1.`col_varchar_nokey` /* QNO 385 CON_ID 52 */", length=144, parser_state=0x7f1b6a4de110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #20 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a90098f30, packet=0x7f1a9008d5b1 "", packet_length=146, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #21 0x000055ca8e87a205 in do_command (thd=0x7f1a90098f30) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #22 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a90098f30) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #23 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d1e6e0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #24 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9fdd0) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #25 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #26 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a4df700) at pthread_create.c:333 #27 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 17 (Thread 0x7f1dcc1f8700 (LWP 8960)): #0 0x00007f1e11441f33 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x000055ca8eaaa97a in io_poll_wait (pollfd=30, native_events=0x7f1dcc1f1d30, maxevents=1024, timeout_ms=-1) at /data/src/10.2-bug/sql/threadpool_generic.cc:320 #2 0x000055ca8eaab323 in listener (current_thread=0x7f1dcc1f7e40, thread_group=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:788 #3 0x000055ca8eaabefa in get_event (current_thread=0x7f1dcc1f7e40, thread_group=0x55caa9ca0410, abstime=0x7f1dcc1f7e10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1233 #4 0x000055ca8eaaccc6 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1577 #5 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1dcc1f8700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 16 (Thread 0x7f1b6aa13700 (LWP 8964)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1ab8033c20, element=0x7f1af8056290) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1ab8033c20, tl=0x7f1ab8053be8, flags=3, out_table=0x7f1b6aa10b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1ab8033c20, table_list=0x7f1ab8053be8, ot_ctx=0x7f1b6aa10f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1ab8033c20, lex=0x7f1ab8037640, tables=0x7f1ab8053be8, counter=0x7f1b6aa10fd4, flags=0, prelocking_strategy=0x7f1b6aa11050, has_prelocking_list=false, ot_ctx=0x7f1b6aa10f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1ab8033c20, options=..., start=0x7f1b6aa10fb8, counter=0x7f1b6aa10fd4, flags=0, prelocking_strategy=0x7f1b6aa11050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1ab8033c20, options=..., tables=0x7f1ab8053be8, derived=true, flags=0, prelocking_strategy=0x7f1b6aa11050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1ab8033c20, tables=0x7f1ab8053be8, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1ab8033c20, all_tables=0x7f1ab8053be8) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ab8033c20) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ab8033c20, rawbuf=0x7f1ab8053948 "SELECT * FROM test.`cc` AS table1 WHERE NOT table1.`col_int_nokey` <= 7 LIMIT 0 /* QNO 372 CON_ID 50 */", length=103, parser_state=0x7f1b6aa12110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ab8033c20, packet=0x7f1ab8072eb1 " SELECT * FROM test.`cc` AS table1 WHERE NOT table1.`col_int_nokey` <= 7 LIMIT 0 /* QNO 372 CON_ID 50 */ ", packet_length=105, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1ab8033c20) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ab8033c20) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d77450) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9fc90) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1b6aa13700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 15 (Thread 0x7f1b6a44b700 (LWP 8966)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x000055ca8f258f41 in safe_cond_timedwait (cond=0x7f1a900918f0, mp=0x7f1a90091840, abstime=0x7f1b6a4470b0, file=0x55ca8f318d40 "/data/src/10.2-bug/include/mysql/psi/mysql_thread.h", line=1186) at /data/src/10.2-bug/mysys/thr_mutex.c:545 #2 0x000055ca8e9cfb11 in inline_mysql_cond_timedwait (that=0x7f1a900918f0, mutex=0x7f1a90091840, abstime=0x7f1b6a4470b0, src_file=0x55ca8f318fa2 "/data/src/10.2-bug/sql/mdl.cc", src_line=1092) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:1186 #3 0x000055ca8e9d0e75 in MDL_wait::timed_wait (this=0x7f1a90091840, owner=0x7f1a900917f0, abs_timeout=0x7f1b6a4470b0, set_status_on_timeout=false, wait_state_name=0x55ca8fbe2c30 ) at /data/src/10.2-bug/sql/mdl.cc:1092 #4 0x000055ca8e9d29e2 in MDL_context::acquire_lock (this=0x7f1a90091840, mdl_request=0x7f1b6a447170, lock_wait_timeout=86400) at /data/src/10.2-bug/sql/mdl.cc:2138 #5 0x000055ca8e9d316f in MDL_context::upgrade_shared_lock (this=0x7f1a90091840, mdl_ticket=0x7f1aac0123a0, new_type=MDL_EXCLUSIVE, lock_wait_timeout=86400) at /data/src/10.2-bug/sql/mdl.cc:2333 #6 0x000055ca8e94dac5 in mysql_inplace_alter_table (thd=0x7f1a90091740, table_list=0x7f1a90083648, table=0x7f1a90059250, altered_table=0x7f1aac0550f0, ha_alter_info=0x7f1b6a447540, inplace_supported=HA_ALTER_INPLACE_NO_LOCK_AFTER_PREPARE, target_mdl_request=0x7f1b6a4475b0, alter_ctx=0x7f1b6a448170) at /data/src/10.2-bug/sql/sql_table.cc:7231 #7 0x000055ca8e952ce7 in mysql_alter_table (thd=0x7f1a90091740, new_db=0x7f1a90083c58 "test", new_name=0x0, create_info=0x7f1b6a448d80, table_list=0x7f1a90083648, alter_info=0x7f1b6a448cd0, order_num=0, order=0x0, ignore=false) at /data/src/10.2-bug/sql/sql_table.cc:9247 #8 0x000055ca8e9cb294 in Sql_cmd_alter_table::execute (this=0x7f1a90083d48, thd=0x7f1a90091740) at /data/src/10.2-bug/sql/sql_alter.cc:324 #9 0x000055ca8e888f6a in mysql_execute_command (thd=0x7f1a90091740) at /data/src/10.2-bug/sql/sql_parse.cc:6212 #10 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a90091740, rawbuf=0x7f1a90083518 "ALTER TABLE `a` ADD COLUMN g INTEGER /* QNO 218 CON_ID 16 */", length=60, parser_state=0x7f1b6a44a110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #11 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a90091740, packet=0x7f1a90000b01 "ALTER TABLE `a` ADD COLUMN g INTEGER /* QNO 218 CON_ID 16 */ ", packet_length=61, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #12 0x000055ca8e87a205 in do_command (thd=0x7f1a90091740) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #13 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a90091740) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #14 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d77180) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #15 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca02d0) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #16 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #17 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a44b700) at pthread_create.c:333 #18 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 14 (Thread 0x7f1b6a857700 (LWP 8978)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca8fdc02e8 ) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca8fdc02c0 , my_flags=0, file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", line=4322) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e79bf0c in inline_mysql_mutex_lock (that=0x55ca8fdc02c0 , src_file=0x55ca8f2bd208 "/data/src/10.2-bug/sql/sql_class.h", src_line=4322) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8e7af121 in unlink_not_visible_thd (thd=0x7f1a24000ea0) at /data/src/10.2-bug/sql/sql_class.h:4322 #5 0x000055ca8e7a12e4 in unlink_thd (thd=0x7f1a24000ea0) at /data/src/10.2-bug/sql/mysqld.cc:2902 #6 0x000055ca8ea2af99 in threadpool_remove_connection (thd=0x7f1a24000ea0) at /data/src/10.2-bug/sql/threadpool_common.cc:301 #7 0x000055ca8ea2ad1c in tp_callback (c=0x55caa9d758f0) at /data/src/10.2-bug/sql/threadpool_common.cc:216 #8 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9fc90) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #9 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #10 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a857700) at pthread_create.c:333 #11 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 13 (Thread 0x7f1b6a573700 (LWP 8979)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1a44093ad0, element=0x7f1ac0244920) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1a44093ad0, tl=0x7f1a440a60c0, flags=3, out_table=0x7f1b6a570b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1a44093ad0, table_list=0x7f1a440a60c0, ot_ctx=0x7f1b6a570f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1a44093ad0, lex=0x7f1a440974f0, tables=0x7f1a440a60c0, counter=0x7f1b6a570fd4, flags=0, prelocking_strategy=0x7f1b6a571050, has_prelocking_list=false, ot_ctx=0x7f1b6a570f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1a44093ad0, options=..., start=0x7f1b6a570fb8, counter=0x7f1b6a570fd4, flags=0, prelocking_strategy=0x7f1b6a571050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1a44093ad0, options=..., tables=0x7f1a440a60c0, derived=true, flags=0, prelocking_strategy=0x7f1b6a571050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1a44093ad0, tables=0x7f1a440a60c0, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1a44093ad0, all_tables=0x7f1a440a60c0) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a44093ad0) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a44093ad0, rawbuf=0x7f1a440a5588 "SELECT * FROM (mysql.`innodb_table_stats` AS table1 INNER JOIN mysql.`time_zone_transition_type` AS table2 ON ( table2.`Abbreviation` = table1.`table_name` ) ) WHERE table1.`n_rows` > table1.`sum_of_o"..., length=334, parser_state=0x7f1b6a572110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a44093ad0, packet=0x7f1a4409d451 " SELECT * FROM (mysql.`innodb_table_stats` AS table1 INNER JOIN mysql.`time_zone_transition_type` AS table2 ON ( table2.`Abbreviation` = table1.`table_name` ) ) WHERE table1.`n_rows` > table1.`sum_of_"..., packet_length=336, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1a44093ad0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a44093ad0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55ca9225a120) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0550) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08005140) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a573700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 12 (Thread 0x7f1dcc0d0700 (LWP 8982)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1dcc0cc920: 0x55ca923af390) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f47d6a8 "/data/src/10.2-bug/storage/innobase/read/read0read.cc", line=584) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8eeef6cd in MVCC::view_open (this=0x55caa9fd8640, view=@0x7f1de0776d40: 0x0, trx=0x7f1de0776ca8) at /data/src/10.2-bug/storage/innobase/read/read0read.cc:584 #8 0x000055ca8f000180 in trx_assign_read_view (trx=0x7f1de0776ca8) at /data/src/10.2-bug/storage/innobase/trx/trx0trx.cc:2087 #9 0x000055ca8ef765ca in row_search_mvcc (buf=0x7f1a24046a18 "\377\377", mode=PAGE_CUR_G, prebuilt=0x7f1a240846d8, match_mode=0, direction=0) at /data/src/10.2-bug/storage/innobase/row/row0sel.cc:4503 #10 0x000055ca8ee0330d in ha_innobase::index_read (this=0x7f1a240297d8, buf=0x7f1a24046a18 "\377\377", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:9905 #11 0x000055ca8ee046b0 in ha_innobase::index_first (this=0x7f1a240297d8, buf=0x7f1a24046a18 "\377\377") at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:10343 #12 0x000055ca8ee04930 in ha_innobase::rnd_next (this=0x7f1a240297d8, buf=0x7f1a24046a18 "\377\377") at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:10439 #13 0x000055ca8eaf2751 in handler::ha_rnd_next (this=0x7f1a240297d8, buf=0x7f1a24046a18 "\377\377") at /data/src/10.2-bug/sql/handler.cc:2546 #14 0x000055ca8ec5c8d5 in rr_sequential (info=0x7f1a9c098810) at /data/src/10.2-bug/sql/records.cc:484 #15 0x000055ca8e8f126d in join_init_read_record (tab=0x7f1a9c098748) at /data/src/10.2-bug/sql/sql_select.cc:19465 #16 0x000055ca8e8ef10e in sub_select (join=0x7f1a9c0bc418, join_tab=0x7f1a9c098748, end_of_records=false) at /data/src/10.2-bug/sql/sql_select.cc:18545 #17 0x000055ca8e8ee709 in do_select (join=0x7f1a9c0bc418, procedure=0x0) at /data/src/10.2-bug/sql/sql_select.cc:18092 #18 0x000055ca8e8c8fb7 in JOIN::exec_inner (this=0x7f1a9c0bc418) at /data/src/10.2-bug/sql/sql_select.cc:3477 #19 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1a9c0bc418) at /data/src/10.2-bug/sql/sql_select.cc:3278 #20 0x000055ca8e8c962f in mysql_select (thd=0x7f1a440ab610, tables=0x7f1a440b98d0, wild_num=1, fields=..., conds=0x7f1a440bb2e0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=552440957440, result=0x7f1a9c0bc3f8, unit=0x7f1a440af0f8, select_lex=0x7f1a440af830) at /data/src/10.2-bug/sql/sql_select.cc:3672 #21 0x000055ca8e8bdf7a in handle_select (thd=0x7f1a440ab610, lex=0x7f1a440af030, result=0x7f1a9c0bc3f8, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #22 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1a440ab610, all_tables=0x7f1a440b98d0) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #23 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a440ab610) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #24 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a440ab610, rawbuf=0x7f1a440b8e78 "SELECT * FROM (test.`view_b` AS table1 LEFT JOIN INFORMATION_SCHEMA.`PLUGINS` AS table2 ON ( table2.`PLUGIN_AUTH_VERSION` = table1.`col_int_nokey` ) ) WHERE table1.`col_varchar_nokey` >= '2001-04-26 1"..., length=247, parser_state=0x7f1dcc0cf110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #25 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a440ab610, packet=0x7f1a440b0d41 "", packet_length=249, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #26 0x000055ca8e87a205 in do_command (thd=0x7f1a440ab610) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #27 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a440ab610) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #28 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d74ce0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #29 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9ff10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #30 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9d72640) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #31 0x00007f1e132c9494 in start_thread (arg=0x7f1dcc0d0700) at pthread_create.c:333 #32 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 11 (Thread 0x7f1b6a935700 (LWP 8983)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x000055ca8eebcfe6 in os_event::wait (this=0x55caa9fd8530) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:166 #2 0x000055ca8eebc9f5 in os_event::wait_low (this=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:336 #3 0x000055ca8eebcd9b in os_event_wait_low (event=0x55caa9fd8530, reset_sig_count=2) at /data/src/10.2-bug/storage/innobase/os/os0event.cc:535 #4 0x000055ca8efb9d05 in sync_array_wait_event (arr=0x55ca923aefc0, cell=@0x7f1b6a932ac0: 0x55ca923af3d0) at /data/src/10.2-bug/storage/innobase/sync/sync0arr.cc:475 #5 0x000055ca8ee2221a in TTASEventMutex::enter (this=0x55caa9fd7ac0, max_spins=60, max_delay=6, filename=0x55ca8f4271f8 "/data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc", line=16474) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:516 #6 0x000055ca8ee207b9 in PolicyMutex >::enter (this=0x55caa9fd7ac0, n_spins=30, n_delay=6, name=0x55ca8f4271f8 "/data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc", line=16474) at /data/src/10.2-bug/storage/innobase/include/ib0mutex.h:635 #7 0x000055ca8ee10f67 in ha_innobase::external_lock (this=0x7f1ab801ebc8, thd=0x7f1abc0837c0, lock_type=2) at /data/src/10.2-bug/storage/innobase/handler/ha_innodb.cc:16474 #8 0x000055ca8eafa9e6 in handler::ha_external_lock (this=0x7f1ab801ebc8, thd=0x7f1abc0837c0, lock_type=2) at /data/src/10.2-bug/sql/handler.cc:5857 #9 0x000055ca8ec03e8e in unlock_external (thd=0x7f1abc0837c0, table=0x7f1abc0f6a30, count=1) at /data/src/10.2-bug/sql/lock.cc:719 #10 0x000055ca8ec0356c in mysql_unlock_read_tables (thd=0x7f1abc0837c0, sql_lock=0x7f1abc0f6a10) at /data/src/10.2-bug/sql/lock.cc:480 #11 0x000055ca8e8df699 in JOIN::join_free (this=0x7f1abc0f6bc8) at /data/src/10.2-bug/sql/sql_select.cc:12048 #12 0x000055ca8e8ee909 in do_select (join=0x7f1abc0f6bc8, procedure=0x0) at /data/src/10.2-bug/sql/sql_select.cc:18138 #13 0x000055ca8e8c8fb7 in JOIN::exec_inner (this=0x7f1abc0f6bc8) at /data/src/10.2-bug/sql/sql_select.cc:3477 #14 0x000055ca8e8c8486 in JOIN::exec (this=0x7f1abc0f6bc8) at /data/src/10.2-bug/sql/sql_select.cc:3278 #15 0x000055ca8e8c962f in mysql_select (thd=0x7f1abc0837c0, tables=0x7f1abc0218b0, wild_num=1, fields=..., conds=0x7f1abc023390, og_num=0, order=0x0, group=0x0, having=0x7f1abc023c18, proc_param=0x0, select_options=551904086528, result=0x7f1abc0f6ba8, unit=0x7f1abc0872a8, select_lex=0x7f1abc0879e0) at /data/src/10.2-bug/sql/sql_select.cc:3672 #16 0x000055ca8e8bdf7a in handle_select (thd=0x7f1abc0837c0, lex=0x7f1abc0871e0, result=0x7f1abc0f6ba8, setup_tables_done_option=0) at /data/src/10.2-bug/sql/sql_select.cc:373 #17 0x000055ca8e889e58 in execute_sqlcom_select (thd=0x7f1abc0837c0, all_tables=0x7f1abc0218b0) at /data/src/10.2-bug/sql/sql_parse.cc:6443 #18 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1abc0837c0) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #19 0x000055ca8e88d818 in mysql_parse (thd=0x7f1abc0837c0, rawbuf=0x7f1abc020e08 "SELECT * FROM (test.`view_e` AS table1 INNER JOIN test.`e` AS table2 ON ( table2.`col_time_nokey` = table1.`col_datetime_key` ) ) WHERE NOT table1.`col_varchar_key` <> 0 HAVING (table1.`col_date_key` "..., length=283, parser_state=0x7f1b6a934110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #20 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1abc0837c0, packet=0x7f1abc5a8801 "", packet_length=285, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #21 0x000055ca8e87a205 in do_command (thd=0x7f1abc0837c0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #22 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1abc0837c0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #23 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d77f90) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #24 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0550) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #25 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9d777f0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #26 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a935700) at pthread_create.c:333 #27 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 10 (Thread 0x7f1b6ab85700 (LWP 8984)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1a9c018510, element=0x55caa9d0a8d0) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1a9c018510, tl=0x7f1a9c004f30, flags=3, out_table=0x7f1b6ab82b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1a9c018510, table_list=0x7f1a9c004f30, ot_ctx=0x7f1b6ab82f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1a9c018510, lex=0x7f1a9c01bf30, tables=0x7f1a9c004f30, counter=0x7f1b6ab82fd4, flags=0, prelocking_strategy=0x7f1b6ab83050, has_prelocking_list=false, ot_ctx=0x7f1b6ab82f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1a9c018510, options=..., start=0x7f1b6ab82fb8, counter=0x7f1b6ab82fd4, flags=0, prelocking_strategy=0x7f1b6ab83050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1a9c018510, options=..., tables=0x7f1a9c004f30, derived=true, flags=0, prelocking_strategy=0x7f1b6ab83050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1a9c018510, tables=0x7f1a9c004f30, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1a9c018510, all_tables=0x7f1a9c004f30) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1a9c018510) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1a9c018510, rawbuf=0x7f1a9c004c28 "SELECT * FROM mysql.`time_zone_leap_second` AS table1 WHERE table1.`Transition_time` = 9 /* QNO 491 CON_ID 103 */", length=114, parser_state=0x7f1b6ab84110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1a9c018510, packet=0x7f1a9c000931 " SELECT * FROM mysql.`time_zone_leap_second` AS table1 WHERE table1.`Transition_time` = 9 /* QNO 491 CON_ID 103 */ ", packet_length=116, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1a9c018510) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1a9c018510) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d72e50) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9c9ff10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x55caa9d763d0) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1b6ab85700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 9 (Thread 0x7f1b6a36d700 (LWP 8988)): #0 0x00007f1e11441f33 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x000055ca8eaaa97a in io_poll_wait (pollfd=28, native_events=0x7f1b6a366d30, maxevents=1024, timeout_ms=-1) at /data/src/10.2-bug/sql/threadpool_generic.cc:320 #2 0x000055ca8eaab323 in listener (current_thread=0x7f1b6a36ce40, thread_group=0x55caa9ca0190) at /data/src/10.2-bug/sql/threadpool_generic.cc:788 #3 0x000055ca8eaabefa in get_event (current_thread=0x7f1b6a36ce40, thread_group=0x55caa9ca0190, abstime=0x7f1b6a36ce10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1233 #4 0x000055ca8eaaccc6 in worker_main (param=0x55caa9ca0190) at /data/src/10.2-bug/sql/threadpool_generic.cc:1577 #5 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a36d700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 8 (Thread 0x7f1de036a700 (LWP 9000)): #0 0x00007f1e11441f33 in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x000055ca8eaaa97a in io_poll_wait (pollfd=27, native_events=0x7f1de0363d30, maxevents=1024, timeout_ms=-1) at /data/src/10.2-bug/sql/threadpool_generic.cc:320 #2 0x000055ca8eaab323 in listener (current_thread=0x7f1de0369e40, thread_group=0x55caa9ca0050) at /data/src/10.2-bug/sql/threadpool_generic.cc:788 #3 0x000055ca8eaabefa in get_event (current_thread=0x7f1de0369e40, thread_group=0x55caa9ca0050, abstime=0x7f1de0369e10) at /data/src/10.2-bug/sql/threadpool_generic.cc:1233 #4 0x000055ca8eaaccc6 in worker_main (param=0x55caa9ca0050) at /data/src/10.2-bug/sql/threadpool_generic.cc:1577 #5 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #6 0x00007f1e132c9494 in start_thread (arg=0x7f1de036a700) at pthread_create.c:333 #7 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 7 (Thread 0x7f1de0492700 (LWP 9005)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1ad40b8800, element=0x55caa9d315b0) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1ad40b8800, tl=0x7f1ad40c63a8, flags=3, out_table=0x7f1de048fb08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1ad40b8800, table_list=0x7f1ad40c63a8, ot_ctx=0x7f1de048ff40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1ad40b8800, lex=0x7f1ad40bc220, tables=0x7f1ad40c63a8, counter=0x7f1de048ffd4, flags=0, prelocking_strategy=0x7f1de0490050, has_prelocking_list=false, ot_ctx=0x7f1de048ff40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1ad40b8800, options=..., start=0x7f1de048ffb8, counter=0x7f1de048ffd4, flags=0, prelocking_strategy=0x7f1de0490050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1ad40b8800, options=..., tables=0x7f1ad40c63a8, derived=true, flags=0, prelocking_strategy=0x7f1de0490050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1ad40b8800, tables=0x7f1ad40c63a8, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1ad40b8800, all_tables=0x7f1ad40c63a8) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ad40b8800) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ad40b8800, rawbuf=0x7f1ad40c6068 "SELECT * FROM mysql.`time_zone_transition` AS table1 WHERE table1.`Transition_time` > 2 ORDER BY table1.`Transition_time` /* QNO 577 CON_ID 53 */", length=145, parser_state=0x7f1de0491110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ad40b8800, packet=0x7f1ad40bdf31 " SELECT * FROM mysql.`time_zone_transition` AS table1 WHERE table1.`Transition_time` > 2 ORDER BY table1.`Transition_time` /* QNO 577 CON_ID 53 */ ", packet_length=147, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1ad40b8800) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ad40b8800) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d04990) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1de0492700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 6 (Thread 0x7f1b6a495700 (LWP 9006)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca8fdc02e8 ) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca8fdc02c0 , my_flags=0, file=0x55ca8f2f8fa0 "/data/src/10.2-bug/sql/sql_show.cc", line=2529) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8e90c643 in inline_mysql_mutex_lock (that=0x55ca8fdc02c0 , src_file=0x55ca8f2f8fa0 "/data/src/10.2-bug/sql/sql_show.cc", src_line=2529) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8e914059 in mysqld_list_processes (thd=0x7f1ad40cc0f0, user=0x0, verbose=true) at /data/src/10.2-bug/sql/sql_show.cc:2529 #5 0x000055ca8e883b78 in mysql_execute_command (thd=0x7f1ad40cc0f0) at /data/src/10.2-bug/sql/sql_parse.cc:4755 #6 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ad40cc0f0, rawbuf=0x7f1ad40d58c8 "SHOW FULL PROCESSLIST", length=21, parser_state=0x7f1b6a494110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #7 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ad40cc0f0, packet=0x7f1ad404b061 "", packet_length=21, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #8 0x000055ca8e87a205 in do_command (thd=0x7f1ad40cc0f0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #9 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ad40cc0f0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #10 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d73d30) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #11 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #12 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #13 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a495700) at pthread_create.c:333 #14 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 5 (Thread 0x7f1de0242700 (LWP 9007)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1ad4051780, element=0x55caa9d52ab0) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1ad4051780, tl=0x7f1ad4064698, flags=3, out_table=0x7f1de023fb08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1ad4051780, table_list=0x7f1ad4064698, ot_ctx=0x7f1de023ff40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1ad4051780, lex=0x7f1ad40551a0, tables=0x7f1ad4064698, counter=0x7f1de023ffd4, flags=0, prelocking_strategy=0x7f1de0240050, has_prelocking_list=false, ot_ctx=0x7f1de023ff40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1ad4051780, options=..., start=0x7f1de023ffb8, counter=0x7f1de023ffd4, flags=0, prelocking_strategy=0x7f1de0240050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1ad4051780, options=..., tables=0x7f1ad4064698, derived=true, flags=0, prelocking_strategy=0x7f1de0240050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1ad4051780, tables=0x7f1ad4064698, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1ad4051780, all_tables=0x7f1ad4064698) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ad4051780) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ad4051780, rawbuf=0x7f1ad4064338 "SELECT * FROM mysql.`func` AS table1 WHERE ( (NOT table1.`ret` != '1973-09-27 15:24:51.016801' AND table1.`ret` != table1.`dl`) AND table1.`dl` <= table1.`type`) LIMIT 6 /* QNO 448 CON_ID 59 */", length=193, parser_state=0x7f1de0241110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ad4051780, packet=0x7f1ad405c201 " SELECT * FROM mysql.`func` AS table1 WHERE ( (NOT table1.`ret` != '1973-09-27 15:24:51.016801' AND table1.`ret` != table1.`dl`) AND table1.`dl` <= table1.`type`) LIMIT 6 /* QNO 448 CON_ID 59 */ ", packet_length=195, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1ad4051780) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ad4051780) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d78ce0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1de0242700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 4 (Thread 0x7f1b6a323700 (LWP 9008)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1ad40f3400, element=0x7f1ac0606700) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1ad40f3400, tl=0x7f1ad4101a50, flags=3, out_table=0x7f1b6a320b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1ad40f3400, table_list=0x7f1ad4101a50, ot_ctx=0x7f1b6a320f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1ad40f3400, lex=0x7f1ad40f6e20, tables=0x7f1ad4101a50, counter=0x7f1b6a320fd4, flags=0, prelocking_strategy=0x7f1b6a321050, has_prelocking_list=false, ot_ctx=0x7f1b6a320f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1ad40f3400, options=..., start=0x7f1b6a320fb8, counter=0x7f1b6a320fd4, flags=0, prelocking_strategy=0x7f1b6a321050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1ad40f3400, options=..., tables=0x7f1ad4101a50, derived=true, flags=0, prelocking_strategy=0x7f1b6a321050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1ad40f3400, tables=0x7f1ad4101a50, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1ad40f3400, all_tables=0x7f1ad4101a50) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ad40f3400) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ad40f3400, rawbuf=0x7f1ad4100c68 "SELECT * FROM (test.`view_d` AS table1 INNER JOIN test.`c` AS table2 ON ( table2.`pk` = table1.`col_varchar_nokey` ) ) WHERE (NOT ( ( ( ( ( ( ( ( ( table1.`pk` <= 5 AND table2.`col_date_nokey` > 2) AN"..., length=698, parser_state=0x7f1b6a322110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ad40f3400, packet=0x7f1ad40f8b31 " SELECT * FROM (test.`view_d` AS table1 INNER JOIN test.`c` AS table2 ON ( table2.`pk` = table1.`col_varchar_nokey` ) ) WHERE (NOT ( ( ( ( ( ( ( ( ( table1.`pk` <= 5 AND table2.`col_date_nokey` > 2) A"..., packet_length=700, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1ad40f3400) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ad40f3400) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d75280) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a323700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 3 (Thread 0x7f1b6a2d9700 (LWP 9009)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1ad4106cf0, element=0x7f1a3401e920) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1ad4106cf0, tl=0x7f1ad4110f48, flags=3, out_table=0x7f1b6a2d6b08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1ad4106cf0, table_list=0x7f1ad4110f48, ot_ctx=0x7f1b6a2d6f40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1ad4106cf0, lex=0x7f1ad410a710, tables=0x7f1ad4110f48, counter=0x7f1b6a2d6fd4, flags=0, prelocking_strategy=0x7f1b6a2d7050, has_prelocking_list=false, ot_ctx=0x7f1b6a2d6f40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1ad4106cf0, options=..., start=0x7f1b6a2d6fb8, counter=0x7f1b6a2d6fd4, flags=0, prelocking_strategy=0x7f1b6a2d7050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1ad4106cf0, options=..., tables=0x7f1ad4110f48, derived=true, flags=0, prelocking_strategy=0x7f1b6a2d7050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1ad4106cf0, tables=0x7f1ad4110f48, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1ad4106cf0, all_tables=0x7f1ad4110f48) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ad4106cf0) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ad4106cf0, rawbuf=0x7f1ad41104c8 "SELECT * FROM (test.`e` AS table1 RIGHT OUTER JOIN INFORMATION_SCHEMA.`GLOBAL_VARIABLES` AS table2 ON ( table2.`VARIABLE_VALUE` = table1.`col_date_nokey` ) ) WHERE (NOT table1.`col_datetime_nokey` >= "..., length=272, parser_state=0x7f1b6a2d8110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ad4106cf0, packet=0x7f1ad40ef241 " SELECT * FROM (test.`e` AS table1 RIGHT OUTER JOIN INFORMATION_SCHEMA.`GLOBAL_VARIABLES` AS table2 ON ( table2.`VARIABLE_VALUE` = table1.`col_date_nokey` ) ) WHERE (NOT table1.`col_datetime_nokey` >="..., packet_length=274, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1ad4106cf0) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ad4106cf0) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d78fb0) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a2d9700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 2 (Thread 0x7f1b6a28f700 (LWP 9010)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f1e132cbcc6 in __GI___pthread_mutex_lock (mutex=0x55ca9229f350) at ../nptl/pthread_mutex_lock.c:135 #2 0x000055ca8f25840c in safe_mutex_lock (mp=0x55ca9229f328, my_flags=0, file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", line=170) at /data/src/10.2-bug/mysys/thr_mutex.c:292 #3 0x000055ca8ea66739 in inline_mysql_mutex_lock (that=0x55ca9229f328, src_file=0x55ca8f33aae0 "/data/src/10.2-bug/sql/table_cache.cc", src_line=170) at /data/src/10.2-bug/include/mysql/psi/mysql_thread.h:681 #4 0x000055ca8ea69cad in Table_cache_instance::lock_and_check_contention (this=0x55ca9229f328, n_instances=1, instance=0) at /data/src/10.2-bug/sql/table_cache.cc:170 #5 0x000055ca8ea67207 in tc_acquire_table (thd=0x7f1ad40db950, element=0x55ca922da8b0) at /data/src/10.2-bug/sql/table_cache.cc:405 #6 0x000055ca8ea68814 in tdc_acquire_share (thd=0x7f1ad40db950, tl=0x7f1ad40e9c00, flags=3, out_table=0x7f1b6a28cb08) at /data/src/10.2-bug/sql/table_cache.cc:854 #7 0x000055ca8e80dfaf in open_table (thd=0x7f1ad40db950, table_list=0x7f1ad40e9c00, ot_ctx=0x7f1b6a28cf40) at /data/src/10.2-bug/sql/sql_base.cc:1742 #8 0x000055ca8e810eee in open_and_process_table (thd=0x7f1ad40db950, lex=0x7f1ad40df370, tables=0x7f1ad40e9c00, counter=0x7f1b6a28cfd4, flags=0, prelocking_strategy=0x7f1b6a28d050, has_prelocking_list=false, ot_ctx=0x7f1b6a28cf40) at /data/src/10.2-bug/sql/sql_base.cc:3409 #9 0x000055ca8e812029 in open_tables (thd=0x7f1ad40db950, options=..., start=0x7f1b6a28cfb8, counter=0x7f1b6a28cfd4, flags=0, prelocking_strategy=0x7f1b6a28d050) at /data/src/10.2-bug/sql/sql_base.cc:3928 #10 0x000055ca8e81381e in open_and_lock_tables (thd=0x7f1ad40db950, options=..., tables=0x7f1ad40e9c00, derived=true, flags=0, prelocking_strategy=0x7f1b6a28d050) at /data/src/10.2-bug/sql/sql_base.cc:4682 #11 0x000055ca8e806d25 in open_and_lock_tables (thd=0x7f1ad40db950, tables=0x7f1ad40e9c00, derived=true, flags=0) at /data/src/10.2-bug/sql/sql_base.h:493 #12 0x000055ca8e8899b6 in execute_sqlcom_select (thd=0x7f1ad40db950, all_tables=0x7f1ad40e9c00) at /data/src/10.2-bug/sql/sql_parse.cc:6364 #13 0x000055ca8e87fe97 in mysql_execute_command (thd=0x7f1ad40db950) at /data/src/10.2-bug/sql/sql_parse.cc:3458 #14 0x000055ca8e88d818 in mysql_parse (thd=0x7f1ad40db950, rawbuf=0x7f1ad40e91b8 "SELECT * FROM (mysql.`plugin` AS table1 STRAIGHT_JOIN INFORMATION_SCHEMA.`INNODB_TABLESPACES_SCRUBBING` AS table2 ON ( table2.`ROTATING_OR_FLUSHING` = table1.`name` ) ) WHERE table1.`dl` > table2.`SPA"..., length=235, parser_state=0x7f1b6a28e110, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:7879 #15 0x000055ca8e87b8c4 in dispatch_command (command=COM_QUERY, thd=0x7f1ad40db950, packet=0x7f1ad40e1081 " SELECT * FROM (mysql.`plugin` AS table1 STRAIGHT_JOIN INFORMATION_SCHEMA.`INNODB_TABLESPACES_SCRUBBING` AS table2 ON ( table2.`ROTATING_OR_FLUSHING` = table1.`name` ) ) WHERE table1.`dl` > table2.`SP"..., packet_length=237, is_com_multi=false, is_next_command=false) at /data/src/10.2-bug/sql/sql_parse.cc:1817 #16 0x000055ca8e87a205 in do_command (thd=0x7f1ad40db950) at /data/src/10.2-bug/sql/sql_parse.cc:1362 #17 0x000055ca8ea2b020 in threadpool_process_request (thd=0x7f1ad40db950) at /data/src/10.2-bug/sql/threadpool_common.cc:346 #18 0x000055ca8ea2ac5e in tp_callback (c=0x55caa9d73790) at /data/src/10.2-bug/sql/threadpool_common.cc:192 #19 0x000055ca8eaacd04 in worker_main (param=0x55caa9ca0410) at /data/src/10.2-bug/sql/threadpool_generic.cc:1581 #20 0x000055ca8eddff6c in pfs_spawn_thread (arg=0x7f1b08002730) at /data/src/10.2-bug/storage/perfschema/pfs.cc:1862 #21 0x00007f1e132c9494 in start_thread (arg=0x7f1b6a28f700) at pthread_create.c:333 #22 0x00007f1e1144193f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 1 (Thread 0x7f1e136e2040 (LWP 8771)): #0 0x00007f1e114384ed in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x000055ca8e7a8169 in handle_connections_sockets () at /data/src/10.2-bug/sql/mysqld.cc:6574 #2 0x000055ca8e7a7449 in mysqld_main (argc=86, argv=0x55ca921b99e0) at /data/src/10.2-bug/sql/mysqld.cc:6040 #3 0x000055ca8e79bd10 in main (argc=86, argv=0x7ffc84aed1a8) at /data/src/10.2-bug/sql/main.cc:25