gcol.innodb_virtual_fk_restart 'innodb' w1 [ fail ]
|
Test ended at 2018-10-18 12:32:00
|
|
CURRENT_TEST: gcol.innodb_virtual_fk_restart
|
mysqltest: At line 22: query 'DROP TABLE t2, t1' failed: 2013: Lost connection to MySQL server during query
|
|
The result from queries just before the failure was:
|
< snip >
|
# Add the VIRTUAL INDEX contains fk constraINT column
|
# using INPLACE alter operatiON
|
CREATE TABLE t1(fld1 INT NOT NULL PRIMARY KEY) engine=innodb;
|
CREATE TABLE t2(fld1 INT NOT NULL, fld2 INT NOT NULL,
|
fld3 INT AS (fld2) VIRTUAL, KEY(fld1),
|
FOREIGN KEY(fld1) REFERENCES t1(fld1) ON UPDATE CASCADE) engine=innodb;
|
INSERT INTO t1(fld1) VALUES(1);
|
INSERT INTO t2(fld1, fld2) VALUES(1, 2);
|
UPDATE t1 SET fld1= 2;
|
SELECT fld3, fld1 FROM t2;
|
fld3 fld1
|
2 2
|
alter TABLE t2 ADD INDEX vk(fld3, fld1), ALGORITHM=INPLACE;
|
UPDATE t1 SET fld1=3;
|
SELECT fld3, fld1 FROM t2;
|
fld3 fld1
|
2 3
|
DROP TABLE t2, t1;
|
|
More results from queries before failure can be found in D:\winx64-debug\build\mysql-test\var\1\log\innodb_virtual_fk_restart.log
|
|
|
Server [mysqld.1 - pid: 4280, winpid: 4280, exit: 65280] failed during test run
|
Server log from this test:
|
----------SERVER LOG START-----------
|
2018-10-18 12:31:45 0 [Note] D:/winx64-debug/build/sql//Debug/mysqld.exe (initiated by: root[root] @ localhost [::1]): Normal shutdown
|
2018-10-18 12:31:45 0 [Note] InnoDB: FTS optimize thread exiting.
|
2018-10-18 12:31:45 0 [Note] Event Scheduler: Purging the queue. 0 events
|
2018-10-18 12:31:45 0 [Note] InnoDB: Starting shutdown...
|
2018-10-18 12:31:45 0 [Note] InnoDB: Dumping buffer pool(s) to D:\winx64-debug\build\mysql-test\var\1\mysqld.1\data\ib_buffer_pool
|
2018-10-18 12:31:45 0 [Note] InnoDB: Instance 0, restricted to 128 pages due to innodb_buf_pool_dump_pct=25
|
2018-10-18 12:31:45 0 [Note] InnoDB: Buffer pool(s) dump completed at 181018 12:31:45
|
2018-10-18 12:31:47 0 [Note] InnoDB: Shutdown completed; log sequence number 4968658; transaction id 4552
|
2018-10-18 12:31:47 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
|
2018-10-18 12:31:47 0 [Note] Debug sync points hit: 119222
|
2018-10-18 12:31:47 0 [Note] Debug sync points executed: 9
|
2018-10-18 12:31:47 0 [Note] Debug sync points max active per thread: 1
|
2018-10-18 12:31:47 0 [Note] D:/winx64-debug/build/sql//Debug/mysqld.exe: Shutdown complete
|
|
2018-10-18 12:31:48 0 [Note] D:/winx64-debug/build/sql//Debug/mysqld.exe (mysqld 10.3.11-MariaDB-debug-log) starting as process 6616 ...
|
2018-10-18 12:31:49 0 [Note] Plugin 'SEQUENCE' is disabled.
|
2018-10-18 12:31:49 0 [Note] Plugin 'partition' is disabled.
|
2018-10-18 12:31:49 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
|
2018-10-18 12:31:49 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
|
2018-10-18 12:31:49 0 [Note] InnoDB: Uses event mutexes
|
2018-10-18 12:31:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
|
2018-10-18 12:31:49 0 [Note] InnoDB: Number of pools: 1
|
2018-10-18 12:31:49 0 [Note] InnoDB: Using SSE2 crc32 instructions
|
2018-10-18 12:31:49 0 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
|
2018-10-18 12:31:49 0 [Note] InnoDB: Completed initialization of buffer pool
|
2018-10-18 12:31:49 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
|
2018-10-18 12:31:49 0 [Note] InnoDB: Creating shared tablespace for temporary tables
|
2018-10-18 12:31:49 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
|
2018-10-18 12:31:49 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
|
2018-10-18 12:31:50 0 [Note] InnoDB: Waiting for purge to start
|
2018-10-18 12:31:50 0 [Note] InnoDB: Waiting for purge to start
|
2018-10-18 12:31:50 0 [Note] InnoDB: Waiting for purge to start
|
2018-10-18 12:31:50 0 [Note] InnoDB: Waiting for purge to start
|
2018-10-18 12:31:50 0 [Note] InnoDB: Waiting for purge to start
|
2018-10-18 12:31:50 0 [Note] InnoDB: Waiting for purge to start
|
2018-10-18 12:31:50 0 [Note] InnoDB: Waiting for purge to start
|
2018-10-18 12:31:50 0 [Note] InnoDB: Waiting for purge to start
|
2018-10-18 12:31:50 0 [Note] InnoDB: Waiting for purge to start
|
2018-10-18 12:31:51 0 [Note] InnoDB: 10.3.11 started; log sequence number 4968658; transaction id 4554
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_MUTEXES' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_CMP' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'user_variables' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
|
2018-10-18 12:31:51 0 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
|
2018-10-18 12:31:51 0 [Warning] D:/winx64-debug/build/sql//Debug/mysqld.exe: unknown option '--loose-pam-debug'
|
2018-10-18 12:31:51 0 [Note] InnoDB: Loading buffer pool(s) from D:\winx64-debug\build\mysql-test\var\1\mysqld.1\data\ib_buffer_pool
|
2018-10-18 12:31:51 0 [Note] InnoDB: Buffer pool(s) load completed at 181018 12:31:51
|
2018-10-18 12:31:51 0 [Note] Server socket created on IP: '::'.
|
2018-10-18 12:31:51 0 [Note] Reading of all Master_info entries succeded
|
2018-10-18 12:31:51 0 [Note] Added new Master_info '' to hash table
|
2018-10-18 12:31:51 0 [Note] D:/winx64-debug/build/sql//Debug/mysqld.exe: ready for connections.
|
Version: '10.3.11-MariaDB-debug-log' socket: '' port: 16080 Source distribution
|
Assertion failed: dfield2->type.mtype != 0 || !index->is_committed(), file d:\winx64-debug\build\src\storage\innobase\row\row0row.cc, line 259
|
181018 12:31:51 [ERROR] mysqld got exception 0x80000003 ;
|
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.3.11-MariaDB-debug-log
|
key_buffer_size=1048576
|
read_buffer_size=131072
|
max_used_connections=1
|
max_threads=65537
|
thread_count=7
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4351 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0xe6167d1bd8
|
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...
|
mysqld.exe!my_sigabrt_handler()[my_thr_init.c:485]
|
mysqld.exe!raise()[signal.cpp:516]
|
mysqld.exe!abort()[abort.cpp:71]
|
mysqld.exe!common_assert_to_stderr<wchar_t>()[assert.cpp:149]
|
mysqld.exe!_wassert()[assert.cpp:404]
|
mysqld.exe!row_build_index_entry_low()[row0row.cc:258]
|
mysqld.exe!row_purge_upd_exist_or_extern_func()[row0purge.cc:915]
|
mysqld.exe!row_purge_record_func()[row0purge.cc:1211]
|
mysqld.exe!row_purge()[row0purge.cc:1254]
|
mysqld.exe!row_purge_step()[row0purge.cc:1342]
|
mysqld.exe!que_thr_step()[que0que.cc:1046]
|
mysqld.exe!que_run_threads_low()[que0que.cc:1108]
|
mysqld.exe!que_run_threads()[que0que.cc:1150]
|
mysqld.exe!srv_task_execute()[srv0srv.cc:2455]
|
mysqld.exe!srv_worker_thread()[srv0srv.cc:2502]
|
KERNEL32.DLL!BaseThreadInitThunk()
|
ntdll.dll!RtlUserThreadStart()
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x0):
|
Connection ID (thread ID): 2
|
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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on
|