==31110== Memcheck, a memory error detector ==31110== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==31110== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==31110== Command: /sda/MS010217-mysql-5.7.17-linux-x86_64-debug/bin/mysqld --no-defaults --performance-schema-digests-size=1 --core-file --basedir=/sda/MS010217-mysql-5.7.17-linux-x86_64-debug --tmpdir=/sda/MS010217-mysql-5.7.17-linux-x86_64-debug/data --datadir=/sda/MS010217-mysql-5.7.17-linux-x86_64-debug/data --socket=/sda/MS010217-mysql-5.7.17-linux-x86_64-debug/socket.sock --port=11208 --log-error=/sda/MS010217-mysql-5.7.17-linux-x86_64-debug/log/master.err ==31110== 2017-02-02T07:50:13.476890Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000) 2017-02-02T07:50:13.508306Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000) 2017-02-02T07:50:14.039803Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2017-02-02T07:50:14.057716Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled 2017-02-02T07:50:14.074708Z 0 [Note] /sda/MS010217-mysql-5.7.17-linux-x86_64-debug/bin/mysqld (mysqld 5.7.17-debug) starting as process 31110 ... 2017-02-02T07:50:14.484019Z 0 [Note] InnoDB: PUNCH HOLE support available 2017-02-02T07:50:14.492561Z 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2017-02-02T07:50:14.493261Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2017-02-02T07:50:14.493959Z 0 [Note] InnoDB: Uses event mutexes 2017-02-02T07:50:14.494664Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2017-02-02T07:50:14.495361Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.7 2017-02-02T07:50:14.496140Z 0 [Note] InnoDB: Using Linux native AIO 2017-02-02T07:50:14.658950Z 0 [Note] InnoDB: Number of pools: 1 2017-02-02T07:50:14.702170Z 0 [Note] InnoDB: Using CPU crc32 instructions 2017-02-02T07:50:14.773352Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2017-02-02T07:50:17.122263Z 0 [Note] InnoDB: Completed initialization of buffer pool 2017-02-02T07:50:17.163865Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2017-02-02T07:50:17.421992Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2017-02-02T07:50:19.439314Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2017-02-02T07:50:19.447712Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2017-02-02T07:50:19.542021Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2017-02-02T07:50:19.923442Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2017-02-02T07:50:19.924370Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2017-02-02T07:50:20.057423Z 0 [Note] InnoDB: 5.7.17 started; log sequence number 1319523 2017-02-02T07:50:20.125391Z 0 [Note] Plugin 'FEDERATED' is disabled. 2017-02-02T07:50:20.340359Z 0 [Note] InnoDB: Loading buffer pool(s) from /sda/MS010217-mysql-5.7.17-linux-x86_64-debug/data/ib_buffer_pool 2017-02-02T07:50:21.186317Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. 2017-02-02T07:50:21.188524Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory. 2017-02-02T07:50:21.708856Z 0 [Warning] CA certificate ca.pem is self signed. 2017-02-02T07:50:21.720290Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory. 2017-02-02T07:50:21.737606Z 0 [Note] Server hostname (bind-address): '*'; port: 11208 2017-02-02T07:50:21.744487Z 0 [Note] IPv6 is available. 2017-02-02T07:50:21.748349Z 0 [Note] - '::' resolves to '::'; 2017-02-02T07:50:21.754761Z 0 [Note] Server socket created on IP: '::'. 2017-02-02T07:50:21.897363Z 0 [Note] InnoDB: Buffer pool(s) load completed at 170202 18:50:21 2017-02-02T07:50:22.859942Z 0 [Note] Event Scheduler: Loaded 0 events 2017-02-02T07:50:22.870177Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check. 2017-02-02T07:50:22.870394Z 0 [Note] Beginning of list of non-natively partitioned tables 2017-02-02T07:50:24.178983Z 0 [Note] End of list of non-natively partitioned tables 2017-02-02T07:50:24.189892Z 0 [Note] /sda/MS010217-mysql-5.7.17-linux-x86_64-debug/bin/mysqld: ready for connections. Version: '5.7.17-debug' socket: '/sda/MS010217-mysql-5.7.17-linux-x86_64-debug/socket.sock' port: 11208 MySQL Community Server (GPL) ==31110== Thread 28: ==31110== Invalid read of size 4 ==31110== at 0x18515EA: my_atomic_load32(int volatile*) (gcc_sync.h:78) ==31110== by 0x185DD94: PFS_atomic::load_u32(unsigned int*) (pfs_atomic.h:45) ==31110== by 0x18636F3: pfs_lock::is_free() (pfs_lock.h:115) ==31110== by 0x1863220: find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) (pfs_digest.cc:274) ==31110== by 0x185A492: pfs_end_statement_v1 (pfs.cc:5407) ==31110== by 0x14ECC72: inline_mysql_end_statement(PSI_statement_locker*, Diagnostics_area*) (mysql_statement.h:228) ==31110== by 0x14F224E: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1908) ==31110== by 0x14EFA43: do_command(THD*) (sql_parse.cc:999) ==31110== by 0x161F9CF: handle_connection (connection_handler_per_thread.cc:300) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) ==31110== Address 0x90fa340 is 0 bytes after a block of size 512 alloc'd ==31110== at 0x4C29C5C: memalign (vg_replace_malloc.c:857) ==31110== by 0x4C29D63: posix_memalign (vg_replace_malloc.c:1021) ==31110== by 0x186CEE5: pfs_malloc(PFS_builtin_memory_class*, unsigned long, int) (pfs_global.cc:59) ==31110== by 0x186D043: pfs_malloc_array(PFS_builtin_memory_class*, unsigned long, unsigned long, int) (pfs_global.cc:136) ==31110== by 0x1862C27: init_digest(PFS_global_param const*) (pfs_digest.cc:75) ==31110== by 0x187F8D8: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:141) ==31110== by 0xE655EC: mysqld_main(int, char**) (mysqld.cc:4469) ==31110== by 0xE5D7AC: main (main.cc:25) ==31110== ==31110== Invalid read of size 4 ==31110== at 0x18515F3: my_atomic_load32(int volatile*) (gcc_sync.h:78) ==31110== by 0x185DD94: PFS_atomic::load_u32(unsigned int*) (pfs_atomic.h:45) ==31110== by 0x18636F3: pfs_lock::is_free() (pfs_lock.h:115) ==31110== by 0x1863220: find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) (pfs_digest.cc:274) ==31110== by 0x185A492: pfs_end_statement_v1 (pfs.cc:5407) ==31110== by 0x14ECC72: inline_mysql_end_statement(PSI_statement_locker*, Diagnostics_area*) (mysql_statement.h:228) ==31110== by 0x14F224E: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1908) ==31110== by 0x14EFA43: do_command(THD*) (sql_parse.cc:999) ==31110== by 0x161F9CF: handle_connection (connection_handler_per_thread.cc:300) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) ==31110== Address 0x90fa340 is 0 bytes after a block of size 512 alloc'd ==31110== at 0x4C29C5C: memalign (vg_replace_malloc.c:857) ==31110== by 0x4C29D63: posix_memalign (vg_replace_malloc.c:1021) ==31110== by 0x186CEE5: pfs_malloc(PFS_builtin_memory_class*, unsigned long, int) (pfs_global.cc:59) ==31110== by 0x186D043: pfs_malloc_array(PFS_builtin_memory_class*, unsigned long, unsigned long, int) (pfs_global.cc:136) ==31110== by 0x1862C27: init_digest(PFS_global_param const*) (pfs_digest.cc:75) ==31110== by 0x187F8D8: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:141) ==31110== by 0xE655EC: mysqld_main(int, char**) (mysqld.cc:4469) ==31110== by 0xE5D7AC: main (main.cc:25) ==31110== ==31110== Invalid read of size 4 ==31110== at 0x18515EA: my_atomic_load32(int volatile*) (gcc_sync.h:78) ==31110== by 0x185DD94: PFS_atomic::load_u32(unsigned int*) (pfs_atomic.h:45) ==31110== by 0x186371F: pfs_lock::free_to_dirty(pfs_dirty_state*) (pfs_lock.h:140) ==31110== by 0x186323B: find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) (pfs_digest.cc:276) ==31110== by 0x185A492: pfs_end_statement_v1 (pfs.cc:5407) ==31110== by 0x14ECC72: inline_mysql_end_statement(PSI_statement_locker*, Diagnostics_area*) (mysql_statement.h:228) ==31110== by 0x14F224E: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1908) ==31110== by 0x14EFA43: do_command(THD*) (sql_parse.cc:999) ==31110== by 0x161F9CF: handle_connection (connection_handler_per_thread.cc:300) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) ==31110== Address 0x90fa340 is 0 bytes after a block of size 512 alloc'd ==31110== at 0x4C29C5C: memalign (vg_replace_malloc.c:857) ==31110== by 0x4C29D63: posix_memalign (vg_replace_malloc.c:1021) ==31110== by 0x186CEE5: pfs_malloc(PFS_builtin_memory_class*, unsigned long, int) (pfs_global.cc:59) ==31110== by 0x186D043: pfs_malloc_array(PFS_builtin_memory_class*, unsigned long, unsigned long, int) (pfs_global.cc:136) ==31110== by 0x1862C27: init_digest(PFS_global_param const*) (pfs_digest.cc:75) ==31110== by 0x187F8D8: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:141) ==31110== by 0xE655EC: mysqld_main(int, char**) (mysqld.cc:4469) ==31110== by 0xE5D7AC: main (main.cc:25) ==31110== ==31110== Invalid read of size 4 ==31110== at 0x18515F3: my_atomic_load32(int volatile*) (gcc_sync.h:78) ==31110== by 0x185DD94: PFS_atomic::load_u32(unsigned int*) (pfs_atomic.h:45) ==31110== by 0x186371F: pfs_lock::free_to_dirty(pfs_dirty_state*) (pfs_lock.h:140) ==31110== by 0x186323B: find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) (pfs_digest.cc:276) ==31110== by 0x185A492: pfs_end_statement_v1 (pfs.cc:5407) ==31110== by 0x14ECC72: inline_mysql_end_statement(PSI_statement_locker*, Diagnostics_area*) (mysql_statement.h:228) ==31110== by 0x14F224E: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1908) ==31110== by 0x14EFA43: do_command(THD*) (sql_parse.cc:999) ==31110== by 0x161F9CF: handle_connection (connection_handler_per_thread.cc:300) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) ==31110== Address 0x90fa340 is 0 bytes after a block of size 512 alloc'd ==31110== at 0x4C29C5C: memalign (vg_replace_malloc.c:857) ==31110== by 0x4C29D63: posix_memalign (vg_replace_malloc.c:1021) ==31110== by 0x186CEE5: pfs_malloc(PFS_builtin_memory_class*, unsigned long, int) (pfs_global.cc:59) ==31110== by 0x186D043: pfs_malloc_array(PFS_builtin_memory_class*, unsigned long, unsigned long, int) (pfs_global.cc:136) ==31110== by 0x1862C27: init_digest(PFS_global_param const*) (pfs_digest.cc:75) ==31110== by 0x187F8D8: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:141) ==31110== by 0xE655EC: mysqld_main(int, char**) (mysqld.cc:4469) ==31110== by 0xE5D7AC: main (main.cc:25) ==31110== ==31110== Invalid read of size 4 ==31110== at 0x1862A94: my_atomic_cas32(int volatile*, int*, int) (gcc_sync.h:24) ==31110== by 0x18636D4: PFS_atomic::cas_u32(unsigned int*, unsigned int*, unsigned int) (pfs_atomic.h:121) ==31110== by 0x1863755: pfs_lock::free_to_dirty(pfs_dirty_state*) (pfs_lock.h:150) ==31110== by 0x186323B: find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) (pfs_digest.cc:276) ==31110== by 0x185A492: pfs_end_statement_v1 (pfs.cc:5407) ==31110== by 0x14ECC72: inline_mysql_end_statement(PSI_statement_locker*, Diagnostics_area*) (mysql_statement.h:228) ==31110== by 0x14F224E: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1908) ==31110== by 0x14EFA43: do_command(THD*) (sql_parse.cc:999) ==31110== by 0x161F9CF: handle_connection (connection_handler_per_thread.cc:300) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) ==31110== Address 0x90fa340 is 0 bytes after a block of size 512 alloc'd ==31110== at 0x4C29C5C: memalign (vg_replace_malloc.c:857) ==31110== by 0x4C29D63: posix_memalign (vg_replace_malloc.c:1021) ==31110== by 0x186CEE5: pfs_malloc(PFS_builtin_memory_class*, unsigned long, int) (pfs_global.cc:59) ==31110== by 0x186D043: pfs_malloc_array(PFS_builtin_memory_class*, unsigned long, unsigned long, int) (pfs_global.cc:136) ==31110== by 0x1862C27: init_digest(PFS_global_param const*) (pfs_digest.cc:75) ==31110== by 0x187F8D8: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:141) ==31110== by 0xE655EC: mysqld_main(int, char**) (mysqld.cc:4469) ==31110== by 0xE5D7AC: main (main.cc:25) ==31110== ==31110== Invalid write of size 2 ==31110== at 0x4C2C0D3: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:1018) ==31110== by 0x1863262: find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) (pfs_digest.cc:279) ==31110== by 0x185A492: pfs_end_statement_v1 (pfs.cc:5407) ==31110== by 0x14ECC72: inline_mysql_end_statement(PSI_statement_locker*, Diagnostics_area*) (mysql_statement.h:228) ==31110== by 0x14F224E: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1908) ==31110== by 0x14EFA43: do_command(THD*) (sql_parse.cc:999) ==31110== by 0x161F9CF: handle_connection (connection_handler_per_thread.cc:300) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) ==31110== Address 0x90fa344 is 4 bytes after a block of size 512 alloc'd ==31110== at 0x4C29C5C: memalign (vg_replace_malloc.c:857) ==31110== by 0x4C29D63: posix_memalign (vg_replace_malloc.c:1021) ==31110== by 0x186CEE5: pfs_malloc(PFS_builtin_memory_class*, unsigned long, int) (pfs_global.cc:59) ==31110== by 0x186D043: pfs_malloc_array(PFS_builtin_memory_class*, unsigned long, unsigned long, int) (pfs_global.cc:136) ==31110== by 0x1862C27: init_digest(PFS_global_param const*) (pfs_digest.cc:75) ==31110== by 0x187F8D8: initialize_performance_schema(PFS_global_param*) (pfs_server.cc:141) ==31110== by 0xE655EC: mysqld_main(int, char**) (mysqld.cc:4469) ==31110== by 0xE5D7AC: main (main.cc:25) ==31110== ==31110== Invalid write of size 8 ==31110== at 0x1863288: find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) (pfs_digest.cc:287) ==31110== by 0x185A492: pfs_end_statement_v1 (pfs.cc:5407) ==31110== by 0x14ECC72: inline_mysql_end_statement(PSI_statement_locker*, Diagnostics_area*) (mysql_statement.h:228) ==31110== by 0x14F224E: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1908) ==31110== by 0x14EFA43: do_command(THD*) (sql_parse.cc:999) ==31110== by 0x161F9CF: handle_connection (connection_handler_per_thread.cc:300) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) ==31110== Address 0x90fa508 is 16 bytes after a block of size 24 free'd ==31110== at 0x4C2918D: operator delete(void*) (vg_replace_malloc.c:576) ==31110== by 0x1572D97: __gnu_cxx::new_allocator::deallocate(st_mysql_show_var*, unsigned long) (new_allocator.h:110) ==31110== by 0x157218F: std::_Vector_base >::_M_deallocate(st_mysql_show_var*, unsigned long) (stl_vector.h:174) ==31110== by 0x1571BDB: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, st_mysql_show_var const&) (vector.tcc:386) ==31110== by 0x1570EA7: std::vector >::push_back(st_mysql_show_var const&) (stl_vector.h:913) ==31110== by 0x155A847: add_status_vars(st_mysql_show_var const*) (sql_show.cc:2606) ==31110== by 0xE6188B: init_common_variables() (mysqld.cc:2764) ==31110== by 0xE656F2: mysqld_main(int, char**) (mysqld.cc:4556) ==31110== by 0xE5D7AC: main (main.cc:25) ==31110== Block was alloc'd at ==31110== at 0x4C28203: operator new(unsigned long) (vg_replace_malloc.c:334) ==31110== by 0x1572F0A: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:104) ==31110== by 0x157266C: std::_Vector_base >::_M_allocate(unsigned long) (stl_vector.h:168) ==31110== by 0x1571AB0: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, st_mysql_show_var const&) (vector.tcc:345) ==31110== by 0x1570EA7: std::vector >::push_back(st_mysql_show_var const&) (stl_vector.h:913) ==31110== by 0x155A847: add_status_vars(st_mysql_show_var const*) (sql_show.cc:2606) ==31110== by 0xE6188B: init_common_variables() (mysqld.cc:2764) ==31110== by 0xE656F2: mysqld_main(int, char**) (mysqld.cc:4556) ==31110== by 0xE5D7AC: main (main.cc:25) ==31110== valgrind: m_mallocfree.c:303 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed. valgrind: Heap block lo/hi size mismatch: lo = 640, hi = 0. This is probably caused by your program erroneously writing past the end of a heap block and corrupting heap metadata. If you fix any invalid writes reported by Memcheck, this assertion failure will probably go away. Please try that before reporting this as a bug. host stacktrace: ==31110== at 0x3803D208: show_sched_status_wrk (m_libcassert.c:343) ==31110== by 0x3803D334: report_and_quit (m_libcassert.c:415) ==31110== by 0x3803D4C1: vgPlain_assert_fail (m_libcassert.c:481) ==31110== by 0x3804ADA3: UnknownInlinedFun (m_mallocfree.c:301) ==31110== by 0x3804ADA3: UnknownInlinedFun (m_mallocfree.c:311) ==31110== by 0x3804ADA3: UnknownInlinedFun (m_mallocfree.c:385) ==31110== by 0x3804ADA3: vgPlain_describe_arena_addr (m_mallocfree.c:1527) ==31110== by 0x38036A6B: vgPlain_describe_addr (m_addrinfo.c:186) ==31110== by 0x380352E3: vgMemCheck_update_Error_extra (mc_errors.c:1141) ==31110== by 0x380394AB: vgPlain_maybe_record_error (m_errormgr.c:813) ==31110== by 0x38034917: vgMemCheck_record_address_error (mc_errors.c:760) ==31110== by 0x80CB11087: ??? ==31110== by 0x80E453F1F: ??? ==31110== by 0x8020377CF: ??? ==31110== by 0x186327F: find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) (pfs_digest.cc:285) ==31110== by 0x8020377CF: ??? ==31110== by 0x30FFF: ??? sched status: running_tid=28 Thread 1: status = VgTs_WaitSys (lwpid 31110) ==31110== at 0x6C43DFD: ??? (syscall-template.S:81) ==31110== by 0x16220AA: Mysqld_socket_listener::listen_for_connection_event() (socket_connection.cc:845) ==31110== by 0xE6E9FF: Connection_acceptor::connection_event_loop() (connection_acceptor.h:66) ==31110== by 0xE664D8: mysqld_main(int, char**) (mysqld.cc:5043) ==31110== by 0xE5D7AC: main (main.cc:25) Thread 2: status = VgTs_WaitSys (lwpid 31117) ==31110== at 0x6B8D3DA: do_sigwaitinfo (sigwaitinfo.c:55) ==31110== by 0x6B8D3DA: sigwaitinfo (sigwaitinfo.c:82) ==31110== by 0x1831841: timer_notify_thread_func (posix_timers.c:77) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 3: status = VgTs_WaitSys (lwpid 31120) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 4: status = VgTs_WaitSys (lwpid 31121) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 5: status = VgTs_WaitSys (lwpid 31122) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 6: status = VgTs_WaitSys (lwpid 31123) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 7: status = VgTs_WaitSys (lwpid 31124) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 8: status = VgTs_WaitSys (lwpid 31125) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 9: status = VgTs_WaitSys (lwpid 31126) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 10: status = VgTs_WaitSys (lwpid 31127) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 11: status = VgTs_WaitSys (lwpid 31128) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 12: status = VgTs_WaitSys (lwpid 31129) ==31110== at 0x5283644: __io_getevents_0_4 (io_getevents.c:25) ==31110== by 0x1A1C839: LinuxAIOHandler::collect() (os0file.cc:2492) ==31110== by 0x1A1CCEF: LinuxAIOHandler::poll(fil_node_t**, void**, IORequest*) (os0file.cc:2638) ==31110== by 0x1A1CE63: os_aio_linux_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:2694) ==31110== by 0x1A21709: os_aio_handler(unsigned long, fil_node_t**, void**, IORequest*) (os0file.cc:6246) ==31110== by 0x1C7AD58: fil_aio_wait(unsigned long) (fil0fil.cc:5817) ==31110== by 0x1B28F12: io_handler_thread (srv0start.cc:308) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 13: status = VgTs_WaitSys (lwpid 31130) ==31110== at 0x5072A82: pthread_cond_timedwait@@GLIBC_2.3.2 (pthread_cond_timedwait.S:238) ==31110== by 0x1A2C525: os_event::timed_wait(timespec const*) (os0event.cc:285) ==31110== by 0x1A2C830: os_event::wait_time_low(unsigned long, long) (os0event.cc:412) ==31110== by 0x1A2CA44: os_event_wait_time_low(os_event*, unsigned long, long) (os0event.cc:517) ==31110== by 0x1C0B83F: pc_sleep_if_needed(unsigned long, long) (buf0flu.cc:2690) ==31110== by 0x1C0C9B1: buf_flush_page_cleaner_coordinator (buf0flu.cc:3191) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 14: status = VgTs_WaitSys (lwpid 31134) ==31110== at 0x5072A82: pthread_cond_timedwait@@GLIBC_2.3.2 (pthread_cond_timedwait.S:238) ==31110== by 0x1A2C525: os_event::timed_wait(timespec const*) (os0event.cc:285) ==31110== by 0x1A2C830: os_event::wait_time_low(unsigned long, long) (os0event.cc:412) ==31110== by 0x1A2CA44: os_event_wait_time_low(os_event*, unsigned long, long) (os0event.cc:517) ==31110== by 0x19F5264: lock_wait_timeout_thread (lock0wait.cc:501) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 15: status = VgTs_WaitSys (lwpid 31135) ==31110== at 0x5072A82: pthread_cond_timedwait@@GLIBC_2.3.2 (pthread_cond_timedwait.S:238) ==31110== by 0x1A2C525: os_event::timed_wait(timespec const*) (os0event.cc:285) ==31110== by 0x1A2C830: os_event::wait_time_low(unsigned long, long) (os0event.cc:412) ==31110== by 0x1A2CA44: os_event_wait_time_low(os_event*, unsigned long, long) (os0event.cc:517) ==31110== by 0x1B23366: srv_error_monitor_thread (srv0srv.cc:1737) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 16: status = VgTs_WaitSys (lwpid 31136) ==31110== at 0x5072A82: pthread_cond_timedwait@@GLIBC_2.3.2 (pthread_cond_timedwait.S:238) ==31110== by 0x1A2C525: os_event::timed_wait(timespec const*) (os0event.cc:285) ==31110== by 0x1A2C830: os_event::wait_time_low(unsigned long, long) (os0event.cc:412) ==31110== by 0x1A2CA44: os_event_wait_time_low(os_event*, unsigned long, long) (os0event.cc:517) ==31110== by 0x1B22E43: srv_monitor_thread (srv0srv.cc:1571) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 17: status = VgTs_WaitSys (lwpid 31137) ==31110== at 0x5075BDD: ??? (syscall-template.S:81) ==31110== by 0x1A2D1BB: os_thread_sleep(unsigned long) (os0thread.cc:279) ==31110== by 0x1B2494E: srv_master_sleep() (srv0srv.cc:2316) ==31110== by 0x1B24AC1: srv_master_thread (srv0srv.cc:2363) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 18: status = VgTs_WaitSys (lwpid 31138) ==31110== at 0x50726D5: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185) ==31110== by 0x1A2CC9E: os_event::wait() (os0event.cc:165) ==31110== by 0x1A2C690: os_event::wait_low(long) (os0event.cc:335) ==31110== by 0x1A2CA69: os_event_wait_low(os_event*, long) (os0event.cc:534) ==31110== by 0x1B2548E: srv_purge_coordinator_suspend(srv_slot_t*, unsigned long) (srv0srv.cc:2662) ==31110== by 0x1B259B6: srv_purge_coordinator_thread (srv0srv.cc:2778) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 19: status = VgTs_WaitSys (lwpid 31139) ==31110== at 0x50726D5: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185) ==31110== by 0x1A2CC9E: os_event::wait() (os0event.cc:165) ==31110== by 0x1A2C690: os_event::wait_low(long) (os0event.cc:335) ==31110== by 0x1A2CA69: os_event_wait_low(os_event*, long) (os0event.cc:534) ==31110== by 0x1B24FC1: srv_worker_thread (srv0srv.cc:2506) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 20: status = VgTs_WaitSys (lwpid 31140) ==31110== at 0x50726D5: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185) ==31110== by 0x1A2CC9E: os_event::wait() (os0event.cc:165) ==31110== by 0x1A2C690: os_event::wait_low(long) (os0event.cc:335) ==31110== by 0x1A2CA69: os_event_wait_low(os_event*, long) (os0event.cc:534) ==31110== by 0x1B24FC1: srv_worker_thread (srv0srv.cc:2506) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 21: status = VgTs_WaitSys (lwpid 31141) ==31110== at 0x50726D5: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185) ==31110== by 0x1A2CC9E: os_event::wait() (os0event.cc:165) ==31110== by 0x1A2C690: os_event::wait_low(long) (os0event.cc:335) ==31110== by 0x1A2CA69: os_event_wait_low(os_event*, long) (os0event.cc:534) ==31110== by 0x1B24FC1: srv_worker_thread (srv0srv.cc:2506) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 22: status = VgTs_WaitSys (lwpid 31142) ==31110== at 0x50726D5: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185) ==31110== by 0x1A2CC9E: os_event::wait() (os0event.cc:165) ==31110== by 0x1A2C690: os_event::wait_low(long) (os0event.cc:335) ==31110== by 0x1A2CA69: os_event_wait_low(os_event*, long) (os0event.cc:534) ==31110== by 0x1C0254F: buf_dump_thread (buf0dump.cc:781) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 23: status = VgTs_WaitSys (lwpid 31143) ==31110== at 0x5072A82: pthread_cond_timedwait@@GLIBC_2.3.2 (pthread_cond_timedwait.S:238) ==31110== by 0x1A2C525: os_event::timed_wait(timespec const*) (os0event.cc:285) ==31110== by 0x1A2C830: os_event::wait_time_low(unsigned long, long) (os0event.cc:412) ==31110== by 0x1A2CA44: os_event_wait_time_low(os_event*, unsigned long, long) (os0event.cc:517) ==31110== by 0x1C658E5: dict_stats_thread (dict0stats_bg.cc:421) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 24: status = VgTs_WaitSys (lwpid 31144) ==31110== at 0x5072A82: pthread_cond_timedwait@@GLIBC_2.3.2 (pthread_cond_timedwait.S:238) ==31110== by 0x1A2C525: os_event::timed_wait(timespec const*) (os0event.cc:285) ==31110== by 0x1A2C830: os_event::wait_time_low(unsigned long, long) (os0event.cc:412) ==31110== by 0x1A2CA44: os_event_wait_time_low(os_event*, unsigned long, long) (os0event.cc:517) ==31110== by 0x1B92A86: ib_wqueue_timedwait(ib_wqueue_t*, long) (ut0wqueue.cc:160) ==31110== by 0x1CBE508: fts_optimize_thread(void*) (fts0opt.cc:3040) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 25: status = VgTs_WaitSys (lwpid 31145) ==31110== at 0x50726D5: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185) ==31110== by 0x1A2CC9E: os_event::wait() (os0event.cc:165) ==31110== by 0x1A2C690: os_event::wait_low(long) (os0event.cc:335) ==31110== by 0x1A2CA69: os_event_wait_low(os_event*, long) (os0event.cc:534) ==31110== by 0x1BED142: buf_resize_thread (buf0buf.cc:3015) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 26: status = VgTs_WaitSys (lwpid 31151) ==31110== at 0x5076101: do_sigwait (sigwait.c:61) ==31110== by 0x5076101: sigwait (sigwait.c:99) ==31110== by 0xE609EE: signal_hand (mysqld.cc:2101) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 27: status = VgTs_WaitSys (lwpid 31153) ==31110== at 0x50726D5: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:185) ==31110== by 0x1828013: native_cond_wait (thr_cond.h:140) ==31110== by 0x1828179: safe_cond_wait (thr_cond.c:48) ==31110== by 0x174E010: my_cond_wait (thr_cond.h:193) ==31110== by 0x174E30A: inline_mysql_cond_wait(st_mysql_cond*, st_mysql_mutex*, char const*, unsigned int) (mysql_thread.h:1184) ==31110== by 0x1750C33: compress_gtid_table (rpl_gtid_persist.cc:852) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Thread 28: status = VgTs_Runnable (lwpid 31154) ==31110== at 0x1863297: find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) (pfs_digest.cc:288) ==31110== by 0x185A492: pfs_end_statement_v1 (pfs.cc:5407) ==31110== by 0x14ECC72: inline_mysql_end_statement(PSI_statement_locker*, Diagnostics_area*) (mysql_statement.h:228) ==31110== by 0x14F224E: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1908) ==31110== by 0x14EFA43: do_command(THD*) (sql_parse.cc:999) ==31110== by 0x161F9CF: handle_connection (connection_handler_per_thread.cc:300) ==31110== by 0x18534F8: pfs_spawn_thread (pfs.cc:2188) ==31110== by 0x506EDC4: start_thread (pthread_create.c:308) ==31110== by 0x6C4E73C: clone (clone.S:113) Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks.