Logging: /home/mleich/Server/enterprise_10.5-MDEV-12353/mysql-test/mysql-test-run.pl --mem simp_page_rec_set_n_owned vardir: /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/mysql-test/var Checking leftover processes... Removing old var directory... Creating var directory '/home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/mysql-test/var'... - symlinking 'var' to '/dev/shm/var_auto_KjsI' Checking supported features... MariaDB Version 10.5.1-MariaDB-debug - SSL connections supported - binaries are debug compiled - binaries built with wsrep patch Collecting tests... Installing system database... ============================================================================== TEST RESULT TIME (ms) or COMMENT -------------------------------------------------------------------------- worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019 CREATE TABLE `oltp3` ( `id` int(10) unsigned NOT NULL auto_increment, `c` char(250) NOT NULL default '', PRIMARY KEY (`id`)) ENGINE=innodb /* E_R Gendata QNO 19 CON_ID 6 */ ; INSERT INTO oltp3 VALUES (NULL, REPEAT('a',250)); INSERT INTO oltp3 (c) SELECT c FROM oltp3; OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; Table Op Msg_type Msg_text test.oltp3 optimize note Table does not support optimize, doing recreate + analyze instead test.oltp3 optimize status OK 10 INSERT INTO oltp3 (c) SELECT c FROM oltp3; OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; Table Op Msg_type Msg_text test.oltp3 optimize note Table does not support optimize, doing recreate + analyze instead test.oltp3 optimize status OK 9 INSERT INTO oltp3 (c) SELECT c FROM oltp3; OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; Table Op Msg_type Msg_text test.oltp3 optimize note Table does not support optimize, doing recreate + analyze instead test.oltp3 optimize status OK 8 INSERT INTO oltp3 (c) SELECT c FROM oltp3; OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; Table Op Msg_type Msg_text test.oltp3 optimize note Table does not support optimize, doing recreate + analyze instead test.oltp3 optimize status OK 7 INSERT INTO oltp3 (c) SELECT c FROM oltp3; OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; Table Op Msg_type Msg_text test.oltp3 optimize note Table does not support optimize, doing recreate + analyze instead test.oltp3 optimize status OK 6 INSERT INTO oltp3 (c) SELECT c FROM oltp3; OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; Table Op Msg_type Msg_text test.oltp3 optimize note Table does not support optimize, doing recreate + analyze instead test.oltp3 optimize status OK 5 INSERT INTO oltp3 (c) SELECT c FROM oltp3; OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; ERROR HY000: Lost connection to MySQL server during query 4 INSERT INTO oltp3 (c) SELECT c FROM oltp3; ERROR HY000: MySQL server has gone away OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; ERROR HY000: MySQL server has gone away 3 INSERT INTO oltp3 (c) SELECT c FROM oltp3; ERROR HY000: MySQL server has gone away OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; ERROR HY000: MySQL server has gone away 2 INSERT INTO oltp3 (c) SELECT c FROM oltp3; ERROR HY000: MySQL server has gone away OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ ; ERROR HY000: MySQL server has gone away 1 CREATE TEMPORARY TABLE t13 (col1 INT); main.simp_page_rec_set_n_owned 'innodb' [ fail ] Test ended at 2020-01-06 19:42:34 CURRENT_TEST: main.simp_page_rec_set_n_owned mysqltest: At line 23: query 'CREATE TEMPORARY TABLE t13 (col1 INT)' failed: 2006: MySQL server has gone away Server [mysqld.1 - pid: 31526, winpid: 31526, exit: 256] failed during test run Server log from this test: ----------SERVER LOG START----------- 2020-01-06 19:42:33 0 [Note] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld (mysqld 10.5.1-MariaDB-debug-log) starting as process 31527 ... 2020-01-06 19:42:33 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4190) 2020-01-06 19:42:33 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000) 2020-01-06 19:42:33 0 [Note] Plugin 'partition' is disabled. 2020-01-06 19:42:33 0 [Note] InnoDB: innodb_page_size=65536 2020-01-06 19:42:33 0 [Note] InnoDB: Using Linux native AIO 2020-01-06 19:42:33 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!! 2020-01-06 19:42:33 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-01-06 19:42:33 0 [Note] InnoDB: Uses event mutexes 2020-01-06 19:42:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-01-06 19:42:33 0 [Note] InnoDB: Number of pools: 1 2020-01-06 19:42:33 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-01-06 19:42:33 0 [Note] mysqld: O_TMPFILE is not supported on /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/mysql-test/var/tmp/mysqld.1 (disabling future attempts) 2020-01-06 19:42:33 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M 2020-01-06 19:42:33 0 [Note] InnoDB: Completed initialization of buffer pool 2020-01-06 19:42:33 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-01-06 19:42:33 0 [Note] InnoDB: 128 rollback segments are active. 2020-01-06 19:42:33 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-01-06 19:42:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-01-06 19:42:33 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-01-06 19:42:33 0 [Note] InnoDB: 10.5.1 started; log sequence number 71619; transaction id 28 2020-01-06 19:42:33 0 [Note] InnoDB: Loading buffer pool(s) from /dev/shm/var_auto_KjsI/mysqld.1/data/ib_buffer_pool 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_CMP' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'THREAD_POOL_WAITS' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'THREAD_POOL_QUEUES' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'THREAD_POOL_GROUPS' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_MUTEXES' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'user_variables' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'THREAD_POOL_STATS' is disabled. 2020-01-06 19:42:33 0 [Note] Plugin 'unix_socket' is disabled. 2020-01-06 19:42:33 0 [Warning] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld: unknown option '--loose-pam-debug' 2020-01-06 19:42:33 0 [Warning] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld: unknown option '--loose-aria' 2020-01-06 19:42:33 0 [Note] InnoDB: Buffer pool(s) load completed at 200106 19:42:33 2020-01-06 19:42:34 0 [Note] Server socket created on IP: '127.0.0.1'. 2020-01-06 19:42:34 0 [Note] Reading of all Master_info entries succeeded 2020-01-06 19:42:34 0 [Note] Added new Master_info '' to hash table 2020-01-06 19:42:34 0 [Note] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld: ready for connections. Version: '10.5.1-MariaDB-debug-log' socket: '/home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/mysql-test/var/tmp/mysqld.1.sock' port: 16000 Source distribution mysqld: /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/include/page0page.h:418: void page_rec_set_n_owned(buf_block_t*, rec_t*, ulint, bool, mtr_t*) [with bool compressed = false; rec_t = unsigned char; ulint = long unsigned int]: Assertion `block->frame == page_align(rec)' failed. 200106 19:42:34 [ERROR] mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. To report this bug, see https://mariadb.com/kb/en/reporting-bugs We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. Server version: 10.5.1-MariaDB-debug-log key_buffer_size=1048576 read_buffer_size=131072 max_used_connections=1 max_threads=153 thread_count=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63660 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f2a78000ce8 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0x7f2ab432be58 thread_stack 0x49000 /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(my_print_stacktrace+0x40)[0x55734725c411] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(handle_fatal_signal+0x3ae)[0x55734694821f] /lib/x86_64-linux-gnu/libpthread.so.0(+0x13150)[0x7f2abb616150] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f2aba7630bb] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16d)[0x7f2aba764f5d] /lib/x86_64-linux-gnu/libc.so.6(+0x2ef17)[0x7f2aba75af17] /lib/x86_64-linux-gnu/libc.so.6(+0x2efc2)[0x7f2aba75afc2] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x1104eb0)[0x557346e7ceb0] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x12a33f4)[0x55734701b3f4] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x12a127a)[0x55734701927a] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x129f774)[0x557347017774] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x12a0762)[0x557347018762] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x1187b0f)[0x557346effb0f] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x118e93e)[0x557346f0693e] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x103a106)[0x557346db2106] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x994a49)[0x55734670ca49] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0x988965)[0x557346700965] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(_Z17mysql_alter_tableP3THDPK25st_mysql_const_lex_stringS3_P14HA_CREATE_INFOP10TABLE_LISTP10Alter_infojP8st_orderb+0x2021)[0x55734670782d] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(_Z20mysql_recreate_tableP3THDP10TABLE_LISTb+0x14d)[0x55734670a952] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0xa3b543)[0x5573467b3543] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0xa3e91c)[0x5573467b691c] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(_ZN22Sql_cmd_optimize_table7executeEP3THD+0x1a8)[0x5573467b7d62] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(_Z21mysql_execute_commandP3THD+0xa9ed)[0x55734661090a] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x2d8)[0x557346616b22] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x11fe)[0x557346601bc8] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(_Z10do_commandP3THD+0x796)[0x557346600321] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(_Z24do_handle_one_connectionP7CONNECTb+0x1d1)[0x55734679fce6] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(handle_one_connection+0x5b)[0x55734679fa1a] /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld(+0xf81fd6)[0x557346cf9fd6] /lib/x86_64-linux-gnu/libpthread.so.0(+0x77fc)[0x7f2abb60a7fc] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f2aba840b5f] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f2a78012710): OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */ Connection ID (thread ID): 4 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /dev/shm/var_auto_KjsI/mysqld.1/data Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes 127699 127699 processes Max open files 1024 1024 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127699 127699 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: core ----------SERVER LOG END------------- - found 'core' (0/5) Trying 'dbx' to get a backtrace Trying 'gdb' to get a backtrace from coredump /home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/mysql-test/var/log/main.simp_page_rec_set_n_owned-innodb/mysqld.1/data/core Core generated by '/home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld' Output from gdb follows. The first stack trace is from the failing thread. The following stack traces are from all threads (so the failing one is duplicated). -------------------------- [New LWP 31542] [New LWP 31528] [New LWP 31537] [New LWP 31535] [New LWP 31536] [New LWP 31539] [New LWP 31531] [New LWP 31527] [New LWP 31529] [New LWP 31533] [New LWP 31530] [New LWP 31538] [New LWP 31534] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/sql/mysqld --defaults-'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill (threadid=, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57 57 ../sysdeps/unix/sysv/linux/pthread_kill.c: No such file or directory. [Current thread is 1 (Thread 0x7f2ab432c700 (LWP 31542))] #0 __pthread_kill (threadid=, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57 #1 0x000055734725c503 in my_write_core (sig=6) at /home/mleich/Server/enterprise_10.5-MDEV-12353/mysys/stacktrace.c:518 #2 0x00005573469485a9 in handle_fatal_signal (sig=6) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/signal_handler.cc:343 #3 #4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #5 0x00007f2aba764f5d in __GI_abort () at abort.c:90 #6 0x00007f2aba75af17 in __assert_fail_base (fmt=, assertion=assertion@entry=0x5573476e1b60 "block->frame == page_align(rec)", file=file@entry=0x5573476e02c0 "/home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/include/page0page.h", line=line@entry=418, function=function@entry=0x5573476e3320 (buf_block_t*, unsigned char*, unsigned long, bool, mtr_t*)::__PRETTY_FUNCTION__> "void page_rec_set_n_owned(buf_block_t*, rec_t*, ulint, bool, mtr_t*) [with bool compressed = false; rec_t = unsigned char; ulint = long unsigned int]") at assert.c:92 #7 0x00007f2aba75afc2 in __GI___assert_fail (assertion=0x5573476e1b60 "block->frame == page_align(rec)", file=0x5573476e02c0 "/home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/include/page0page.h", line=418, function=0x5573476e3320 (buf_block_t*, unsigned char*, unsigned long, bool, mtr_t*)::__PRETTY_FUNCTION__> "void page_rec_set_n_owned(buf_block_t*, rec_t*, ulint, bool, mtr_t*) [with bool compressed = false; rec_t = unsigned char; ulint = long unsigned int]") at assert.c:101 #8 0x0000557346e7ceb0 in page_rec_set_n_owned (block=0x7f2aa0036080, rec=0x7f2aa1800070 "", n_owned=4, comp=true, mtr=0x7f2a7807ac70) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/include/page0page.h:418 #9 0x000055734701b3f4 in PageBulk::finishPage<(PageBulk::format)1> (this=0x7f2a7807ac60) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/btr/btr0bulk.cc:302 #10 0x000055734701927a in PageBulk::finish (this=0x7f2a7807ac60) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/btr/btr0bulk.cc:448 #11 0x0000557347017774 in BtrBulk::pageCommit (this=0x7f2a780779b0, page_bulk=0x7f2a7807ac60, next_page_bulk=0x0, insert_father=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/btr/btr0bulk.cc:840 #12 0x0000557347018762 in BtrBulk::finish (this=0x7f2a780779b0, err=DB_SUCCESS) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/btr/btr0bulk.cc:1089 #13 0x0000557346effb0f in row_merge_read_clustered_index (trx=0x7f2ab4dc3138, table=0x7f2ab4327de0, old_table=0x7f2a780662b8, new_table=0x7f2a78075438, online=true, index=0x7f2a78136010, fts_sort_idx=0x0, psort_info=0x0, files=0x7f2a78062940, key_numbers=0x7f2a78136018, n_index=1, defaults=0x0, add_v=0x0, col_map=0x7f2a78136078, add_autoinc=18446744073709551615, sequence=..., block=0x7f2aac4e9000 , skip_pk_sort=true, tmpfd=0x7f2ab4326e90, stage=0x7f2a78075820, pct_cost=50, crypt_block=0x0, eval_table=0x7f2ab4327de0, allow_not_null=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/row/row0merge.cc:2517 #14 0x0000557346f0693e in row_merge_build_indexes (trx=0x7f2ab4dc3138, old_table=0x7f2a780662b8, new_table=0x7f2a78075438, online=true, indexes=0x7f2a78136010, key_numbers=0x7f2a78136018, n_indexes=1, table=0x7f2ab4327de0, defaults=0x0, col_map=0x7f2a78136078, add_autoinc=18446744073709551615, sequence=..., skip_pk_sort=true, stage=0x7f2a78075820, add_v=0x0, eval_table=0x7f2ab4327de0, allow_not_null=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/row/row0merge.cc:4663 #15 0x0000557346db2106 in ha_innobase::inplace_alter_table (this=0x7f2a78074b80, altered_table=0x7f2ab4327de0, ha_alter_info=0x7f2ab4327d50) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/handler/handler0alter.cc:8261 #16 0x000055734670ca49 in handler::ha_inplace_alter_table (this=0x7f2a78074b80, altered_table=0x7f2ab4327de0, ha_alter_info=0x7f2ab4327d50) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/handler.h:4365 #17 0x0000557346700965 in mysql_inplace_alter_table (thd=0x7f2a78000ce8, table_list=0x7f2a78012838, table=0x7f2a78134788, altered_table=0x7f2ab4327de0, ha_alter_info=0x7f2ab4327d50, inplace_supported=HA_ALTER_INPLACE_COPY_NO_LOCK, target_mdl_request=0x7f2ab4328bc0, alter_ctx=0x7f2ab43296f0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_table.cc:7734 #18 0x000055734670782d in mysql_alter_table (thd=0x7f2a78000ce8, new_db=0x5573473f9150 , new_name=0x5573473f9150 , create_info=0x7f2ab432a2c0, table_list=0x7f2a78012838, alter_info=0x7f2ab432a200, order_num=0, order=0x0, ignore=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_table.cc:10129 #19 0x000055734670a952 in mysql_recreate_table (thd=0x7f2a78000ce8, table_list=0x7f2a78012838, table_copy=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_table.cc:11011 #20 0x00005573467b3543 in admin_recreate_table (thd=0x7f2a78000ce8, table_list=0x7f2a78012838) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_admin.cc:59 #21 0x00005573467b691c in mysql_admin_table (thd=0x7f2a78000ce8, tables=0x7f2a78012838, check_opt=0x7f2a78005ec8, operator_name=0x557347449c08 "optimize", lock_type=TL_WRITE, org_open_for_modify=true, repair_table_use_frm=false, extra_open_options=0, prepare_func=0x0, operator_func=(int (handler::*)(handler * const, THD *, HA_CHECK_OPT *)) 0x557346956f58 , view_operator_func=0x0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_admin.cc:1030 #22 0x00005573467b7d62 in Sql_cmd_optimize_table::execute (this=0x7f2a78012f00, thd=0x7f2a78000ce8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_admin.cc:1374 #23 0x000055734661090a in mysql_execute_command (thd=0x7f2a78000ce8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_parse.cc:5959 #24 0x0000557346616b22 in mysql_parse (thd=0x7f2a78000ce8, rawbuf=0x7f2a78012710 "OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */", length=58, parser_state=0x7f2ab432b560, is_com_multi=false, is_next_command=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_parse.cc:7988 #25 0x0000557346601bc8 in dispatch_command (command=COM_QUERY, thd=0x7f2a78000ce8, packet=0x7f2a78008249 "", packet_length=59, is_com_multi=false, is_next_command=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_parse.cc:1845 #26 0x0000557346600321 in do_command (thd=0x7f2a78000ce8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_parse.cc:1363 #27 0x000055734679fce6 in do_handle_one_connection (connect=0x55734abf0f48, put_in_cache=true) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_connect.cc:1422 #28 0x000055734679fa1a in handle_one_connection (arg=0x55734ac07188) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_connect.cc:1319 #29 0x0000557346cf9fd6 in pfs_spawn_thread (arg=0x55734ab11a28) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/perfschema/pfs.cc:1862 #30 0x00007f2abb60a7fc in start_thread (arg=0x7f2ab432c700) at pthread_create.c:465 #31 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7f2aadfeb700 (LWP 31534)): #0 0x00007f2abb611786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f2aadfeac70, expected=0, futex_word=0x557349fd2088) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f2aadfeac70, mutex=0x557349f96fa0, cond=0x557349fd2060) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x557349fd2060, mutex=0x557349f96fa0, abstime=0x7f2aadfeac70) at pthread_cond_wait.c:667 #3 0x00005573471b7e55 in __gthread_cond_timedwait (__cond=0x557349fd2060, __mutex=0x557349f96fa0, __abs_timeout=0x7f2aadfeac70) at /usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:871 #4 0x00005573471bc017 in std::condition_variable::__wait_until_impl > > (this=0x557349fd2060, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:166 #5 0x00005573471bb117 in std::condition_variable::wait_until > > (this=0x557349fd2060, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:106 #6 0x00005573471ba4e3 in std::condition_variable::wait_for > (this=0x557349fd2060, __lock=..., __rtime=...) at /usr/include/c++/7/condition_variable:138 #7 0x00005573471b8029 in tpool::thread_pool_generic::wait_for_tasks (this=0x557349f96e90, lk=..., thread_data=0x557349fd2060) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:414 #8 0x00005573471b8169 in tpool::thread_pool_generic::get_task (this=0x557349f96e90, thread_var=0x557349fd2060, t=0x7f2aadfead98) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:463 #9 0x00005573471b8384 in tpool::thread_pool_generic::worker_main (this=0x557349f96e90, thread_var=0x557349fd2060) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:507 #10 0x00005573471bb720 in std::__invoke_impl (__f=@0x7f2ab0003068: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __t=@0x7f2ab0003060: 0x557349f96e90, __args#0=@0x7f2ab0003058: 0x557349fd2060) at /usr/include/c++/7/bits/invoke.h:73 #11 0x00005573471ba9c1 in std::__invoke (__fn=@0x7f2ab0003068: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __args#0=@0x7f2ab0003060: 0x557349f96e90, __args#1=@0x7f2ab0003058: 0x557349fd2060) at /usr/include/c++/7/bits/invoke.h:95 #12 0x00005573471be59f in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=0x7f2ab0003058) at /usr/include/c++/7/thread:234 #13 0x00005573471be539 in std::thread::_Invoker >::operator() (this=0x7f2ab0003058) at /usr/include/c++/7/thread:243 #14 0x00005573471be518 in std::thread::_State_impl > >::_M_run (this=0x7f2ab0003050) at /usr/include/c++/7/thread:186 #15 0x00007f2abb1350ff in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007f2abb60a7fc in start_thread (arg=0x7f2aadfeb700) at pthread_create.c:465 #17 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 12 (Thread 0x7f2ab43c0700 (LWP 31538)): #0 0x00007f2aba76499e in __GI___sigwaitinfo (set=, info=0x7f2ab43bfd40) at ../sysdeps/unix/sysv/linux/sigwaitinfo.c:56 #1 0x00005573464bcf58 in my_sigwait (set=0x7f2ab43bfe20, sig=0x7f2ab43bfde4, code=0x7f2ab43bfde8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/include/my_pthread.h:198 #2 0x00005573464c33c3 in signal_hand (arg=0x0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/mysqld.cc:3073 #3 0x0000557346cf9fd6 in pfs_spawn_thread (arg=0x55734ab13d08) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/perfschema/pfs.cc:1862 #4 0x00007f2abb60a7fc in start_thread (arg=0x7f2ab43c0700) at pthread_create.c:465 #5 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7f2ab4dc1700 (LWP 31530)): #0 0x00007f2abba3f63a in ?? () from /lib/x86_64-linux-gnu/libaio.so.1 #1 0x00005573471bf135 in tpool::aio_linux::getevent_thread_routine (aio=0x557349fbc7b0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/aio_linux.cc:53 #2 0x00005573471bf7fa in std::__invoke_impl (__f=@0x55734a001f60: 0x5573471bf0f1 , __args#0=@0x55734a001f58: 0x557349fbc7b0) at /usr/include/c++/7/bits/invoke.h:60 #3 0x00005573471bf4cc in std::__invoke (__fn=@0x55734a001f60: 0x5573471bf0f1 , __args#0=@0x55734a001f58: 0x557349fbc7b0) at /usr/include/c++/7/bits/invoke.h:95 #4 0x00005573471bfab1 in std::thread::_Invoker >::_M_invoke<0ul, 1ul> (this=0x55734a001f58) at /usr/include/c++/7/thread:234 #5 0x00005573471bfa67 in std::thread::_Invoker >::operator() (this=0x55734a001f58) at /usr/include/c++/7/thread:243 #6 0x00005573471bfa46 in std::thread::_State_impl > >::_M_run (this=0x55734a001f50) at /usr/include/c++/7/thread:186 #7 0x00007f2abb1350ff in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #8 0x00007f2abb60a7fc in start_thread (arg=0x7f2ab4dc1700) at pthread_create.c:465 #9 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7f2aae7ec700 (LWP 31533)): #0 0x00007f2abb611786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f2aae7ebc70, expected=0, futex_word=0x557349fd2108) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f2aae7ebc70, mutex=0x557349f96fa0, cond=0x557349fd20e0) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x557349fd20e0, mutex=0x557349f96fa0, abstime=0x7f2aae7ebc70) at pthread_cond_wait.c:667 #3 0x00005573471b7e55 in __gthread_cond_timedwait (__cond=0x557349fd20e0, __mutex=0x557349f96fa0, __abs_timeout=0x7f2aae7ebc70) at /usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:871 #4 0x00005573471bc017 in std::condition_variable::__wait_until_impl > > (this=0x557349fd20e0, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:166 #5 0x00005573471bb117 in std::condition_variable::wait_until > > (this=0x557349fd20e0, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:106 #6 0x00005573471ba4e3 in std::condition_variable::wait_for > (this=0x557349fd20e0, __lock=..., __rtime=...) at /usr/include/c++/7/condition_variable:138 #7 0x00005573471b8029 in tpool::thread_pool_generic::wait_for_tasks (this=0x557349f96e90, lk=..., thread_data=0x557349fd20e0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:414 #8 0x00005573471b8169 in tpool::thread_pool_generic::get_task (this=0x557349f96e90, thread_var=0x557349fd20e0, t=0x7f2aae7ebd98) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:463 #9 0x00005573471b8384 in tpool::thread_pool_generic::worker_main (this=0x557349f96e90, thread_var=0x557349fd20e0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:507 #10 0x00005573471bb720 in std::__invoke_impl (__f=@0x7f2ab0002ef8: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __t=@0x7f2ab0002ef0: 0x557349f96e90, __args#0=@0x7f2ab0002ee8: 0x557349fd20e0) at /usr/include/c++/7/bits/invoke.h:73 #11 0x00005573471ba9c1 in std::__invoke (__fn=@0x7f2ab0002ef8: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __args#0=@0x7f2ab0002ef0: 0x557349f96e90, __args#1=@0x7f2ab0002ee8: 0x557349fd20e0) at /usr/include/c++/7/bits/invoke.h:95 #12 0x00005573471be59f in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=0x7f2ab0002ee8) at /usr/include/c++/7/thread:234 #13 0x00005573471be539 in std::thread::_Invoker >::operator() (this=0x7f2ab0002ee8) at /usr/include/c++/7/thread:243 #14 0x00005573471be518 in std::thread::_State_impl > >::_M_run (this=0x7f2ab0002ee0) at /usr/include/c++/7/thread:186 #15 0x00007f2abb1350ff in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007f2abb60a7fc in start_thread (arg=0x7f2aae7ec700) at pthread_create.c:465 #17 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7f2ab59c3700 (LWP 31529)): #0 0x00007f2abb611786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f2ab59c2df0, expected=0, futex_word=0x5573489862a8 ) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f2ab59c2df0, mutex=0x5573489861e8 , cond=0x557348986280 ) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x557348986280 , mutex=0x5573489861e8 , abstime=0x7f2ab59c2df0) at pthread_cond_wait.c:667 #3 0x000055734726203b in safe_cond_timedwait (cond=0x557348986280 , mp=0x5573489861c0 , abstime=0x7f2ab59c2df0, file=0x557347651650 "/home/mleich/Server/enterprise_10.5-MDEV-12353/include/mysql/psi/mysql_thread.h", line=1204) at /home/mleich/Server/enterprise_10.5-MDEV-12353/mysys/thr_mutex.c:546 #4 0x0000557346c14067 in inline_mysql_cond_timedwait (that=0x557348986280 , mutex=0x5573489861c0 , abstime=0x7f2ab59c2df0, src_file=0x5573476516a0 "/home/mleich/Server/enterprise_10.5-MDEV-12353/storage/maria/ma_servicethread.c", src_line=116) at /home/mleich/Server/enterprise_10.5-MDEV-12353/include/mysql/psi/mysql_thread.h:1204 #5 0x0000557346c145ac in my_service_thread_sleep (control=0x557347f74ca0 , sleep_time=29000000000) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/maria/ma_servicethread.c:115 #6 0x0000557346c0837e in ma_checkpoint_background (arg=0x1e) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/maria/ma_checkpoint.c:707 #7 0x0000557346cf9fd6 in pfs_spawn_thread (arg=0x557349f7bbd8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/perfschema/pfs.cc:1862 #8 0x00007f2abb60a7fc in start_thread (arg=0x7f2ab59c3700) at pthread_create.c:465 #9 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7f2abcae6740 (LWP 31527)): #0 0x00007f2aba834951 in __GI___poll (fds=0x7ffd7455cda0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00005573464c962f in handle_connections_sockets () at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/mysqld.cc:6238 #2 0x00005573464c8a51 in mysqld_main (argc=157, argv=0x557349d9ddc8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/mysqld.cc:5706 #3 0x00005573464bceda in main (argc=26, argv=0x7ffd7455d0a8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/main.cc:25 Thread 7 (Thread 0x7f2aaffff700 (LWP 31531)): #0 0x00007f2abb611786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f2aafffec10, expected=0, futex_word=0x557349fe6d2c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f2aafffec10, mutex=0x557349fe6cd8, cond=0x557349fe6d00) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x557349fe6d00, mutex=0x557349fe6cd8, abstime=0x7f2aafffec10) at pthread_cond_wait.c:667 #3 0x0000557346e6e338 in os_event::timed_wait (this=0x557349fe6cc0, abstime=0x7f2aafffec10) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/os/os0event.cc:275 #4 0x0000557346e6e5f7 in os_event::wait_time_low (this=0x557349fe6cc0, time_in_usec=1000000, reset_sig_count=2) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/os/os0event.cc:385 #5 0x0000557346e6e795 in os_event_wait_time_low (event=0x557349fe6cc0, time_in_usec=1000000, reset_sig_count=2) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/os/os0event.cc:485 #6 0x000055734709c619 in pc_sleep_if_needed (next_loop_time=180329358, sig_count=2, cur_time=180328358) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/buf/buf0flu.cc:2794 #7 0x000055734709d668 in buf_flush_page_cleaner_coordinator () at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/buf/buf0flu.cc:3208 #8 0x00007f2abb60a7fc in start_thread (arg=0x7f2aaffff700) at pthread_create.c:465 #9 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f2ab4376700 (LWP 31539)): #0 0x00007f2abb611072 in futex_wait_cancelable (private=, expected=0, futex_word=0x557348142fcc ) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x557348146188 , cond=0x557348142fa0 ) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x557348142fa0 , mutex=0x557348146188 ) at pthread_cond_wait.c:655 #3 0x0000557347261c7b in safe_cond_wait (cond=0x557348142fa0 , mp=0x557348146160 , file=0x5573473d25b0 "/home/mleich/Server/enterprise_10.5-MDEV-12353/include/mysql/psi/mysql_thread.h", line=1167) at /home/mleich/Server/enterprise_10.5-MDEV-12353/mysys/thr_mutex.c:492 #4 0x00005573464ef56e in inline_mysql_cond_wait (that=0x557348142fa0 , mutex=0x557348146160 , src_file=0x5573473d32f8 "/home/mleich/Server/enterprise_10.5-MDEV-12353/sql/slave.cc", src_line=522) at /home/mleich/Server/enterprise_10.5-MDEV-12353/include/mysql/psi/mysql_thread.h:1167 #5 0x00005573464f0e8f in handle_slave_background (arg=0x0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/slave.cc:522 #6 0x0000557346cf9fd6 in pfs_spawn_thread (arg=0x55734ac00888) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/perfschema/pfs.cc:1862 #7 0x00007f2abb60a7fc in start_thread (arg=0x7f2ab4376700) at pthread_create.c:465 #8 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f2aad7ea700 (LWP 31536)): #0 0x00007f2abb611786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f2aad7e9c70, expected=0, futex_word=0x557349fd1f8c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f2aad7e9c70, mutex=0x557349f96fa0, cond=0x557349fd1f60) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x557349fd1f60, mutex=0x557349f96fa0, abstime=0x7f2aad7e9c70) at pthread_cond_wait.c:667 #3 0x00005573471b7e55 in __gthread_cond_timedwait (__cond=0x557349fd1f60, __mutex=0x557349f96fa0, __abs_timeout=0x7f2aad7e9c70) at /usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:871 #4 0x00005573471bc017 in std::condition_variable::__wait_until_impl > > (this=0x557349fd1f60, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:166 #5 0x00005573471bb117 in std::condition_variable::wait_until > > (this=0x557349fd1f60, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:106 #6 0x00005573471ba4e3 in std::condition_variable::wait_for > (this=0x557349fd1f60, __lock=..., __rtime=...) at /usr/include/c++/7/condition_variable:138 #7 0x00005573471b8029 in tpool::thread_pool_generic::wait_for_tasks (this=0x557349f96e90, lk=..., thread_data=0x557349fd1f60) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:414 #8 0x00005573471b8169 in tpool::thread_pool_generic::get_task (this=0x557349f96e90, thread_var=0x557349fd1f60, t=0x7f2aad7e9d98) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:463 #9 0x00005573471b8384 in tpool::thread_pool_generic::worker_main (this=0x557349f96e90, thread_var=0x557349fd1f60) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:507 #10 0x00005573471bb720 in std::__invoke_impl (__f=@0x7f2a840013e8: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __t=@0x7f2a840013e0: 0x557349f96e90, __args#0=@0x7f2a840013d8: 0x557349fd1f60) at /usr/include/c++/7/bits/invoke.h:73 #11 0x00005573471ba9c1 in std::__invoke (__fn=@0x7f2a840013e8: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __args#0=@0x7f2a840013e0: 0x557349f96e90, __args#1=@0x7f2a840013d8: 0x557349fd1f60) at /usr/include/c++/7/bits/invoke.h:95 #12 0x00005573471be59f in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=0x7f2a840013d8) at /usr/include/c++/7/thread:234 #13 0x00005573471be539 in std::thread::_Invoker >::operator() (this=0x7f2a840013d8) at /usr/include/c++/7/thread:243 #14 0x00005573471be518 in std::thread::_State_impl > >::_M_run (this=0x7f2a840013d0) at /usr/include/c++/7/thread:186 #15 0x00007f2abb1350ff in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007f2abb60a7fc in start_thread (arg=0x7f2aad7ea700) at pthread_create.c:465 #17 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f2aaefed700 (LWP 31535)): #0 0x00007f2abb611786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f2aaefecc70, expected=0, futex_word=0x557349fd2008) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f2aaefecc70, mutex=0x557349f96fa0, cond=0x557349fd1fe0) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x557349fd1fe0, mutex=0x557349f96fa0, abstime=0x7f2aaefecc70) at pthread_cond_wait.c:667 #3 0x00005573471b7e55 in __gthread_cond_timedwait (__cond=0x557349fd1fe0, __mutex=0x557349f96fa0, __abs_timeout=0x7f2aaefecc70) at /usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:871 #4 0x00005573471bc017 in std::condition_variable::__wait_until_impl > > (this=0x557349fd1fe0, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:166 #5 0x00005573471bb117 in std::condition_variable::wait_until > > (this=0x557349fd1fe0, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:106 #6 0x00005573471ba4e3 in std::condition_variable::wait_for > (this=0x557349fd1fe0, __lock=..., __rtime=...) at /usr/include/c++/7/condition_variable:138 #7 0x00005573471b8029 in tpool::thread_pool_generic::wait_for_tasks (this=0x557349f96e90, lk=..., thread_data=0x557349fd1fe0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:414 #8 0x00005573471b8169 in tpool::thread_pool_generic::get_task (this=0x557349f96e90, thread_var=0x557349fd1fe0, t=0x7f2aaefecd98) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:463 #9 0x00005573471b8384 in tpool::thread_pool_generic::worker_main (this=0x557349f96e90, thread_var=0x557349fd1fe0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:507 #10 0x00005573471bb720 in std::__invoke_impl (__f=@0x7f2a840013b8: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __t=@0x7f2a840013b0: 0x557349f96e90, __args#0=@0x7f2a840013a8: 0x557349fd1fe0) at /usr/include/c++/7/bits/invoke.h:73 #11 0x00005573471ba9c1 in std::__invoke (__fn=@0x7f2a840013b8: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __args#0=@0x7f2a840013b0: 0x557349f96e90, __args#1=@0x7f2a840013a8: 0x557349fd1fe0) at /usr/include/c++/7/bits/invoke.h:95 #12 0x00005573471be59f in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=0x7f2a840013a8) at /usr/include/c++/7/thread:234 #13 0x00005573471be539 in std::thread::_Invoker >::operator() (this=0x7f2a840013a8) at /usr/include/c++/7/thread:243 #14 0x00005573471be518 in std::thread::_State_impl > >::_M_run (this=0x7f2a840013a0) at /usr/include/c++/7/thread:186 #15 0x00007f2abb1350ff in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007f2abb60a7fc in start_thread (arg=0x7f2aaefed700) at pthread_create.c:465 #17 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f2aacfe9700 (LWP 31537)): #0 0x00007f2abb611786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f2aacfe8c70, expected=0, futex_word=0x557349fd1f08) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f2aacfe8c70, mutex=0x557349f96fa0, cond=0x557349fd1ee0) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x557349fd1ee0, mutex=0x557349f96fa0, abstime=0x7f2aacfe8c70) at pthread_cond_wait.c:667 #3 0x00005573471b7e55 in __gthread_cond_timedwait (__cond=0x557349fd1ee0, __mutex=0x557349f96fa0, __abs_timeout=0x7f2aacfe8c70) at /usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:871 #4 0x00005573471bc017 in std::condition_variable::__wait_until_impl > > (this=0x557349fd1ee0, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:166 #5 0x00005573471bb117 in std::condition_variable::wait_until > > (this=0x557349fd1ee0, __lock=..., __atime=...) at /usr/include/c++/7/condition_variable:106 #6 0x00005573471ba4e3 in std::condition_variable::wait_for > (this=0x557349fd1ee0, __lock=..., __rtime=...) at /usr/include/c++/7/condition_variable:138 #7 0x00005573471b8029 in tpool::thread_pool_generic::wait_for_tasks (this=0x557349f96e90, lk=..., thread_data=0x557349fd1ee0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:414 #8 0x00005573471b8169 in tpool::thread_pool_generic::get_task (this=0x557349f96e90, thread_var=0x557349fd1ee0, t=0x7f2aacfe8d98) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:463 #9 0x00005573471b8384 in tpool::thread_pool_generic::worker_main (this=0x557349f96e90, thread_var=0x557349fd1ee0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/tpool/tpool_generic.cc:507 #10 0x00005573471bb720 in std::__invoke_impl (__f=@0x7f2a84001558: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __t=@0x7f2a84001550: 0x557349f96e90, __args#0=@0x7f2a84001548: 0x557349fd1ee0) at /usr/include/c++/7/bits/invoke.h:73 #11 0x00005573471ba9c1 in std::__invoke (__fn=@0x7f2a84001558: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5573471b8320 , __args#0=@0x7f2a84001550: 0x557349f96e90, __args#1=@0x7f2a84001548: 0x557349fd1ee0) at /usr/include/c++/7/bits/invoke.h:95 #12 0x00005573471be59f in std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=0x7f2a84001548) at /usr/include/c++/7/thread:234 #13 0x00005573471be539 in std::thread::_Invoker >::operator() (this=0x7f2a84001548) at /usr/include/c++/7/thread:243 #14 0x00005573471be518 in std::thread::_State_impl > >::_M_run (this=0x7f2a84001540) at /usr/include/c++/7/thread:186 #15 0x00007f2abb1350ff in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007f2abb60a7fc in start_thread (arg=0x7f2aacfe9700) at pthread_create.c:465 #17 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f2abcb15700 (LWP 31528)): #0 0x00007f2abb611786 in futex_abstimed_wait_cancelable (private=, abstime=0x7f2abcb14ea0, expected=0, futex_word=0x5573489f1188 ) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7f2abcb14ea0, mutex=0x5573489f10c8 , cond=0x5573489f1160 ) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=0x5573489f1160 , mutex=0x5573489f10c8 , abstime=0x7f2abcb14ea0) at pthread_cond_wait.c:667 #3 0x000055734726203b in safe_cond_timedwait (cond=0x5573489f1160 , mp=0x5573489f10a0 , abstime=0x7f2abcb14ea0, file=0x557347824c90 "/home/mleich/Server/enterprise_10.5-MDEV-12353/include/mysql/psi/mysql_thread.h", line=1204) at /home/mleich/Server/enterprise_10.5-MDEV-12353/mysys/thr_mutex.c:546 #4 0x000055734726308b in inline_mysql_cond_timedwait (that=0x5573489f1160 , mutex=0x5573489f10a0 , abstime=0x7f2abcb14ea0, src_file=0x557347824ce0 "/home/mleich/Server/enterprise_10.5-MDEV-12353/mysys/thr_timer.c", src_line=321) at /home/mleich/Server/enterprise_10.5-MDEV-12353/include/mysql/psi/mysql_thread.h:1204 #5 0x0000557347263d64 in timer_handler (arg=0x0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/mysys/thr_timer.c:321 #6 0x0000557346cf9fd6 in pfs_spawn_thread (arg=0x557349ecb518) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/perfschema/pfs.cc:1862 #7 0x00007f2abb60a7fc in start_thread (arg=0x7f2abcb15700) at pthread_create.c:465 #8 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f2ab432c700 (LWP 31542)): #0 __pthread_kill (threadid=, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57 #1 0x000055734725c503 in my_write_core (sig=6) at /home/mleich/Server/enterprise_10.5-MDEV-12353/mysys/stacktrace.c:518 #2 0x00005573469485a9 in handle_fatal_signal (sig=6) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/signal_handler.cc:343 #3 #4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #5 0x00007f2aba764f5d in __GI_abort () at abort.c:90 #6 0x00007f2aba75af17 in __assert_fail_base (fmt=, assertion=assertion@entry=0x5573476e1b60 "block->frame == page_align(rec)", file=file@entry=0x5573476e02c0 "/home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/include/page0page.h", line=line@entry=418, function=function@entry=0x5573476e3320 (buf_block_t*, unsigned char*, unsigned long, bool, mtr_t*)::__PRETTY_FUNCTION__> "void page_rec_set_n_owned(buf_block_t*, rec_t*, ulint, bool, mtr_t*) [with bool compressed = false; rec_t = unsigned char; ulint = long unsigned int]") at assert.c:92 #7 0x00007f2aba75afc2 in __GI___assert_fail (assertion=0x5573476e1b60 "block->frame == page_align(rec)", file=0x5573476e02c0 "/home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/include/page0page.h", line=418, function=0x5573476e3320 (buf_block_t*, unsigned char*, unsigned long, bool, mtr_t*)::__PRETTY_FUNCTION__> "void page_rec_set_n_owned(buf_block_t*, rec_t*, ulint, bool, mtr_t*) [with bool compressed = false; rec_t = unsigned char; ulint = long unsigned int]") at assert.c:101 #8 0x0000557346e7ceb0 in page_rec_set_n_owned (block=0x7f2aa0036080, rec=0x7f2aa1800070 "", n_owned=4, comp=true, mtr=0x7f2a7807ac70) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/include/page0page.h:418 #9 0x000055734701b3f4 in PageBulk::finishPage<(PageBulk::format)1> (this=0x7f2a7807ac60) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/btr/btr0bulk.cc:302 #10 0x000055734701927a in PageBulk::finish (this=0x7f2a7807ac60) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/btr/btr0bulk.cc:448 #11 0x0000557347017774 in BtrBulk::pageCommit (this=0x7f2a780779b0, page_bulk=0x7f2a7807ac60, next_page_bulk=0x0, insert_father=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/btr/btr0bulk.cc:840 #12 0x0000557347018762 in BtrBulk::finish (this=0x7f2a780779b0, err=DB_SUCCESS) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/btr/btr0bulk.cc:1089 #13 0x0000557346effb0f in row_merge_read_clustered_index (trx=0x7f2ab4dc3138, table=0x7f2ab4327de0, old_table=0x7f2a780662b8, new_table=0x7f2a78075438, online=true, index=0x7f2a78136010, fts_sort_idx=0x0, psort_info=0x0, files=0x7f2a78062940, key_numbers=0x7f2a78136018, n_index=1, defaults=0x0, add_v=0x0, col_map=0x7f2a78136078, add_autoinc=18446744073709551615, sequence=..., block=0x7f2aac4e9000 , skip_pk_sort=true, tmpfd=0x7f2ab4326e90, stage=0x7f2a78075820, pct_cost=50, crypt_block=0x0, eval_table=0x7f2ab4327de0, allow_not_null=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/row/row0merge.cc:2517 #14 0x0000557346f0693e in row_merge_build_indexes (trx=0x7f2ab4dc3138, old_table=0x7f2a780662b8, new_table=0x7f2a78075438, online=true, indexes=0x7f2a78136010, key_numbers=0x7f2a78136018, n_indexes=1, table=0x7f2ab4327de0, defaults=0x0, col_map=0x7f2a78136078, add_autoinc=18446744073709551615, sequence=..., skip_pk_sort=true, stage=0x7f2a78075820, add_v=0x0, eval_table=0x7f2ab4327de0, allow_not_null=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/row/row0merge.cc:4663 #15 0x0000557346db2106 in ha_innobase::inplace_alter_table (this=0x7f2a78074b80, altered_table=0x7f2ab4327de0, ha_alter_info=0x7f2ab4327d50) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/innobase/handler/handler0alter.cc:8261 #16 0x000055734670ca49 in handler::ha_inplace_alter_table (this=0x7f2a78074b80, altered_table=0x7f2ab4327de0, ha_alter_info=0x7f2ab4327d50) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/handler.h:4365 #17 0x0000557346700965 in mysql_inplace_alter_table (thd=0x7f2a78000ce8, table_list=0x7f2a78012838, table=0x7f2a78134788, altered_table=0x7f2ab4327de0, ha_alter_info=0x7f2ab4327d50, inplace_supported=HA_ALTER_INPLACE_COPY_NO_LOCK, target_mdl_request=0x7f2ab4328bc0, alter_ctx=0x7f2ab43296f0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_table.cc:7734 #18 0x000055734670782d in mysql_alter_table (thd=0x7f2a78000ce8, new_db=0x5573473f9150 , new_name=0x5573473f9150 , create_info=0x7f2ab432a2c0, table_list=0x7f2a78012838, alter_info=0x7f2ab432a200, order_num=0, order=0x0, ignore=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_table.cc:10129 #19 0x000055734670a952 in mysql_recreate_table (thd=0x7f2a78000ce8, table_list=0x7f2a78012838, table_copy=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_table.cc:11011 #20 0x00005573467b3543 in admin_recreate_table (thd=0x7f2a78000ce8, table_list=0x7f2a78012838) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_admin.cc:59 #21 0x00005573467b691c in mysql_admin_table (thd=0x7f2a78000ce8, tables=0x7f2a78012838, check_opt=0x7f2a78005ec8, operator_name=0x557347449c08 "optimize", lock_type=TL_WRITE, org_open_for_modify=true, repair_table_use_frm=false, extra_open_options=0, prepare_func=0x0, operator_func=(int (handler::*)(handler * const, THD *, HA_CHECK_OPT *)) 0x557346956f58 , view_operator_func=0x0) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_admin.cc:1030 #22 0x00005573467b7d62 in Sql_cmd_optimize_table::execute (this=0x7f2a78012f00, thd=0x7f2a78000ce8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_admin.cc:1374 #23 0x000055734661090a in mysql_execute_command (thd=0x7f2a78000ce8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_parse.cc:5959 #24 0x0000557346616b22 in mysql_parse (thd=0x7f2a78000ce8, rawbuf=0x7f2a78012710 "OPTIMIZE TABLE `oltp3` /* E_R Thread1 QNO 231 CON_ID 12 */", length=58, parser_state=0x7f2ab432b560, is_com_multi=false, is_next_command=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_parse.cc:7988 #25 0x0000557346601bc8 in dispatch_command (command=COM_QUERY, thd=0x7f2a78000ce8, packet=0x7f2a78008249 "", packet_length=59, is_com_multi=false, is_next_command=false) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_parse.cc:1845 #26 0x0000557346600321 in do_command (thd=0x7f2a78000ce8) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_parse.cc:1363 #27 0x000055734679fce6 in do_handle_one_connection (connect=0x55734abf0f48, put_in_cache=true) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_connect.cc:1422 #28 0x000055734679fa1a in handle_one_connection (arg=0x55734ac07188) at /home/mleich/Server/enterprise_10.5-MDEV-12353/sql/sql_connect.cc:1319 #29 0x0000557346cf9fd6 in pfs_spawn_thread (arg=0x55734ab11a28) at /home/mleich/Server/enterprise_10.5-MDEV-12353/storage/perfschema/pfs.cc:1862 #30 0x00007f2abb60a7fc in start_thread (arg=0x7f2ab432c700) at pthread_create.c:465 #31 0x00007f2aba840b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 - saving '/home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/mysql-test/var/log/main.simp_page_rec_set_n_owned-innodb/' to '/home/mleich/Server/enterprise_10.5-MDEV-12353/bld_debug/mysql-test/var/log/main.simp_page_rec_set_n_owned-innodb/' -------------------------------------------------------------------------- The servers were restarted 0 times Spent 0.000 of 13 seconds executing testcases Failure: Failed 1/1 tests, 0.00% were successful. Failing test(s): main.simp_page_rec_set_n_owned The log files in var/log may give you some hint of what went wrong. If you want to report this error, please read first the documentation at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html mysql-test-run: *** ERROR: there were failing test cases