(gdb) thread apply all bt Thread 13 (process 18993): #0 0x00002b0b32cfb7a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0000000000acd474 in safe_cond_wait (cond=0x10f3840, mp=0x10f2e00, file=0xbbc36b "mysqld.cc", line=3994) at thr_mutex.c:237 #2 0x00000000006a731d in main (argc=30, argv=0x7fff77fd3fc8) at mysqld.cc:3994 Thread 12 (process 18995): #0 0x00002b0b32cfb7a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0000000000acd474 in safe_cond_wait (cond=0x19fd318, mp=0x19fd2a0, file=0xc704aa "os/os0sync.c", line=338) at thr_mutex.c:237 #2 0x00000000009379d1 in os_event_wait (event=0x19fd2a0) at os/os0sync.c:338 #3 0x0000000000936a00 in os_aio_simulated_handle (global_segment=0, message1=0x408000f8, message2=0x408000f0, type=0x408000e8) at os/os0file.c:4144 #4 0x00000000009125b4 in fil_aio_wait (segment=0) at fil/fil0fil.c:4246 #5 0x000000000095e6bf in io_handler_thread (arg=0x1102720) at srv/srv0start.c:434 #6 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #7 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 11 (process 18996): #0 0x00002b0b32cfb7a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0000000000acd474 in safe_cond_wait (cond=0x19fd3f8, mp=0x19fd380, file=0xc704aa "os/os0sync.c", line=338) at thr_mutex.c:237 #2 0x00000000009379d1 in os_event_wait (event=0x19fd380) at os/os0sync.c:338 #3 0x0000000000936a00 in os_aio_simulated_handle (global_segment=1, message1=0x410010f8, message2=0x410010f0, type=0x410010e8) at os/os0file.c:4144 #4 0x00000000009125b4 in fil_aio_wait (segment=1) at fil/fil0fil.c:4246 #5 0x000000000095e6bf in io_handler_thread (arg=0x1102728) at srv/srv0start.c:434 #6 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #7 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 10 (process 18997): #0 0x00002b0b32cfb7a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0000000000acd474 in safe_cond_wait (cond=0x19fd4d8, mp=0x19fd460, file=0xc704aa "os/os0sync.c", line=338) at thr_mutex.c:237 #2 0x00000000009379d1 in os_event_wait (event=0x19fd460) at os/os0sync.c:338 #3 0x0000000000936a00 in os_aio_simulated_handle (global_segment=2, message1=0x418020f8, message2=0x418020f0, type=0x418020e8) at os/os0file.c:4144 #4 0x00000000009125b4 in fil_aio_wait (segment=2) at fil/fil0fil.c:4246 #5 0x000000000095e6bf in io_handler_thread (arg=0x1102730) at srv/srv0start.c:434 #6 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #7 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 9 (process 18998): #0 0x00002b0b32cfb7a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0000000000acd474 in safe_cond_wait (cond=0x19fd5b8, mp=0x19fd540, file=0xc704aa "os/os0sync.c", line=338) at thr_mutex.c:237 #2 0x00000000009379d1 in os_event_wait (event=0x19fd540) at os/os0sync.c:338 #3 0x0000000000936a00 in os_aio_simulated_handle (global_segment=3, message1=0x420030f8, message2=0x420030f0, type=0x420030e8) at os/os0file.c:4144 #4 0x00000000009125b4 in fil_aio_wait (segment=3) at fil/fil0fil.c:4246 #5 0x000000000095e6bf in io_handler_thread (arg=0x1102738) at srv/srv0start.c:434 #6 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #7 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 8 (process 19000): #0 0x00002b0b33ac2fc2 in select () from /lib/libc.so.6 #1 0x00000000009380da in os_thread_sleep (tm=1000000) at os/os0thread.c:281 #2 0x000000000095d156 in srv_lock_timeout_and_monitor_thread (arg=0x0) at srv/srv0srv.c:1905 #3 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #4 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 7 (process 19001): #0 0x00002b0b33ac2fc2 in select () from /lib/libc.so.6 #1 0x00000000009380da in os_thread_sleep (tm=2000000) at os/os0thread.c:281 #2 0x000000000095d6c9 in srv_error_monitor_thread (arg=0x0) at srv/srv0srv.c:2131 #3 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #4 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 6 (process 19002): #0 0x00002b0b32cfb7a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0000000000acd474 in safe_cond_wait (cond=0x1373738, mp=0x13736c0, file=0xc704aa "os/os0sync.c", line=338) at thr_mutex.c:237 #2 0x00000000009379d1 in os_event_wait (event=0x13736c0) at os/os0sync.c:338 #3 0x000000000095e018 in srv_master_thread (arg=0x0) at srv/srv0srv.c:2620 #4 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #5 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 5 (process 19003): #0 0x00002b0b32cfee29 in do_sigwait () from /lib/libpthread.so.0 #1 0x00002b0b32cfeecd in sigwait () from /lib/libpthread.so.0 #2 0x00000000006a25cb in signal_hand (arg=0x0) at mysqld.cc:2490 #3 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #4 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 4 (process 19038): #0 0x00002b0b32cfb7a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0000000000acd474 in safe_cond_wait (cond=0x1b7b858, mp=0x1b7b7e0, file=0xc4c275 "event_scheduler.cc", line=759) at thr_mutex.c:237 #2 0x000000000086cd7c in Event_scheduler::cond_wait (this=0x1b7b7e0, thd=0x1b595d8, abstime=0x0, msg=0xc4c55b "Waiting scheduler to stop", func=0xc4cb09 "stop", line=652) at event_scheduler.cc:759 #3 0x000000000086d2c9 in Event_scheduler::stop (this=0x1b7b7e0) at event_scheduler.cc:652 #4 0x0000000000877f6c in Events::switch_event_scheduler_state (new_state=Events::EVENTS_OFF) at events.cc:1087 #5 0x00000000006c4262 in sys_var_event_scheduler::update (this=0x10f4920, thd=0x1b595d8, var=0x1b910c8) at set_var.cc:3767 #6 0x00000000006c0492 in set_var::update (this=0x1b910c8, thd=0x1b595d8) at set_var.cc:3177 #7 0x00000000006c5f7f in sql_set_variables (thd=0x1b595d8, var_list=0x1b5b588) at set_var.cc:3062 #8 0x00000000006b7858 in mysql_execute_command (thd=0x1b595d8) at sql_parse.cc:3130 #9 0x00000000006bc557 in mysql_parse (thd=0x1b595d8, inBuf=0x1b90f18 "SET GLOBAL event_scheduler= OFF", length=31, found_semicolon=0x44088f10) at sql_parse.cc:5533 #10 0x00000000006bd2f9 in dispatch_command (command=COM_QUERY, thd=0x1b595d8, packet=0x1b81199 "SET GLOBAL event_scheduler= OFF", packet_length=31) at sql_parse.cc:1027 #11 0x00000000006be620 in do_command (thd=0x1b595d8) at sql_parse.cc:765 #12 0x00000000006ac63e in handle_one_connection (arg=0x1b595d8) at sql_connect.cc:1133 #13 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #14 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 3 (process 29120): #0 code_state () at dbug.c:329 #1 0x0000000000ad10d2 in _db_enter_ (_func_=0xcacf4f "_myfree", _file_=0xcace00 "safemalloc.c", _line_=260, _sfunc_=0x4414c010, _sfile_=0x4414c008, _slevel_=0x4414c004, _sframep_=0x4414bff8) at dbug.c:942 #2 0x0000000000aad43f in _myfree (ptr=0x1b89128, filename=0xbb879f "sql_class.cc", lineno=688, myflags=64) at safemalloc.c:260 #3 0x000000000068d398 in THD::cleanup (this=0x1ba33e8) at sql_class.cc:688 #4 0x00000000006a3636 in unlink_thd (thd=0x1ba33e8) at mysqld.cc:1767 #5 0x00000000006a36dc in one_thread_per_connection_end (thd=0x1ba33e8, put_in_cache=true) at mysqld.cc:1849 #6 0x00000000006ac6ae in handle_one_connection (arg=0x1ba33e8) at sql_connect.cc:1140 #7 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #8 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Thread 2 (process 29121): #0 0x00002b0b32cfb5dd in pthread_cond_destroy@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x000000000086d445 in ~Event_scheduler (this=0x1b7b7e0) at event_scheduler.cc:360 #2 0x0000000000878189 in Events::deinit () at events.cc:975 #3 0x00000000006a79a5 in close_connections () at mysqld.cc:871 #4 0x00000000006a7e01 in kill_server (sig_ptr=0x0) at mysqld.cc:1065 #5 0x00000000006a7e41 in kill_server_thread (arg=0x44048138) at mysqld.cc:1094 #6 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #7 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 Current language: auto; currently c Thread 1 (process 19361): #0 0x00002b0b32cfc422 in pthread_kill () from /lib/libpthread.so.0 #1 0x000000000083f2fd in write_core (sig=6) at stacktrace.c:240 #2 0x00000000006a3408 in handle_segfault (sig=6) at mysqld.cc:2293 #3 #4 0x00002b0b33a276a5 in raise () from /lib/libc.so.6 #5 0x00002b0b33a29100 in abort () from /lib/libc.so.6 #6 0x0000000000acd023 in safe_mutex_lock (mp=0x1b7b7e0, try_lock=0 '\0', file=0xc4c275 "event_scheduler.cc", line=702) at thr_mutex.c:103 #7 0x000000000086cc3d in Event_scheduler::lock_data (this=0x1b7b7e0, func=0xc4cb0e "is_running", line=587) at event_scheduler.cc:702 #8 0x000000000086ce2f in Event_scheduler::is_running (this=0x1b7b7e0) at event_scheduler.cc:587 #9 0x000000000086db97 in Event_scheduler::run (this=0x1b7b7e0, thd=0x1ba7188) at event_scheduler.cc:469 #10 0x000000000086e076 in event_scheduler_thread (arg=0x1bb39a8) at event_scheduler.cc:235 #11 0x00002b0b32cf7317 in start_thread () from /lib/libpthread.so.0 #12 0x00002b0b33ac9c7d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0b33ac9c10 (gdb)