Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.4
-
None
Description
10.4 423de1e574 |
gcol.innodb_virtual_debug 'innodb' w1 [ fail ]
|
Test ended at 2020-07-29 09:09:00
|
|
CURRENT_TEST: gcol.innodb_virtual_debug
|
mysqltest: At line 132: query 'ALTER TABLE t ADD INDEX idc(c)' failed with wrong errno 2013: 'Lost connection to MySQL server during query', instead of 1062...
|
|
The result from queries just before the failure was:
|
< snip >
|
ALTER TABLE t FORCE, LOCK=NONE;
|
ERROR 0A000: LOCK=NONE is not supported. Reason: online rebuild with indexed virtual columns. Try LOCK=SHARED
|
disconnect con1;
|
DROP TABLE t;
|
SET DEBUG_SYNC = 'RESET';
|
CREATE TABLE t (a INT, b INT, c INT GENERATED ALWAYS AS(a+b), h VARCHAR(10));
|
INSERT INTO t VALUES (11, 3, DEFAULT, 'mm');
|
INSERT INTO t VALUES (18, 1, DEFAULT, 'mm');
|
INSERT INTO t VALUES (28, 1, DEFAULT, 'mm');
|
INSERT INTO t VALUES (null, null, DEFAULT, 'mm');
|
CREATE INDEX idx_1 on t(c);
|
SET @saved_dbug = @@SESSION.debug_dbug;
|
SET debug_dbug = '+d,create_index_fail';
|
ALTER TABLE t ADD COLUMN x INT GENERATED ALWAYS AS(a+b), ADD INDEX idx (x),
|
ADD INDEX idcx (c,x);
|
ERROR 23000: Duplicate entry '' for key '*UNKNOWN*'
|
UPDATE t SET a=a+1;
|
affected rows: 3
|
info: Rows matched: 4 Changed: 3 Warnings: 0
|
ALTER TABLE t ADD INDEX idc(c);
|
|
More results from queries before failure can be found in /dev/shm/var/1/log/innodb_virtual_debug.log
|
|
|
Server [mysqld.1 - pid: 29276, winpid: 29276, exit: 256] failed during test run
|
Server log from this test:
|
----------SERVER LOG START-----------
|
200729 9:08:35 [ERROR] mysqld got signal 11 ;
|
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.4.14-MariaDB-debug-log
|
key_buffer_size=1048576
|
read_buffer_size=131072
|
max_used_connections=2
|
max_threads=153
|
thread_count=8
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63634 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x561a000c0070
|
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 = 0x7f54de9b5c58 thread_stack 0x49000
|
/usr/sbin/mysqld(my_print_stacktrace+0x2b)[0x5619f7f6ad0f]
|
/usr/sbin/mysqld(handle_fatal_signal+0x311)[0x5619f7823ebe]
|
addr2line: Dwarf Error: Offset (1197686) greater than or equal to .debug_info size (872136).
|
addr2line: Dwarf Error: Unable to read alt ref 1197686.
|
addr2line: Dwarf Error: Offset (1047631) greater than or equal to .debug_info size (872136).
|
addr2line: Dwarf Error: Unable to read alt ref 1047631.
|
addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (2701197720) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (126486401) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (145885348) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (1063430) greater than or equal to .debug_info size (872136).
|
addr2line: Dwarf Error: Unable to read alt ref 1063430.
|
addr2line: Dwarf Error: Offset (1001080) greater than or equal to .debug_info size (872136).
|
addr2line: Dwarf Error: Unable to read alt ref 1001080.
|
addr2line: Dwarf Error: Offset (1124139790) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Could not find abbrev number 149.
|
addr2line: Dwarf Error: Offset (909312763) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (1862308399) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (161352077) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (3088692225) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (3995068929) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (125110129) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (142805119) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (353257217) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (3842909696) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (167853817) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Could not find abbrev number 161.
|
addr2line: Dwarf Error: Offset (7628135) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (119131417) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (518397666) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Could not find abbrev number 132.
|
addr2line: Dwarf Error: Offset (231988738) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (7628135) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (771958307) greater than or equal to .debug_str size (1504946).
|
sigaction.c:0(__restore_rt)[0x7f54eb9315e0]
|
/usr/sbin/mysqld(+0xcca72d)[0x5619f7bc072d]
|
/usr/sbin/mysqld(+0xc9bac5)[0x5619f7b91ac5]
|
/usr/sbin/mysqld(+0xc9de75)[0x5619f7b93e75]
|
/usr/sbin/mysqld(+0xc1c3df)[0x5619f7b123df]
|
/usr/sbin/mysqld(+0xce6063)[0x5619f7bdc063]
|
addr2line: Dwarf Error: Offset (1197686) greater than or equal to .debug_info size (872136).
|
addr2line: Dwarf Error: Unable to read alt ref 1197686.
|
addr2line: Dwarf Error: Offset (1047631) greater than or equal to .debug_info size (872136).
|
addr2line: Dwarf Error: Unable to read alt ref 1047631.
|
addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (2701197720) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (126486401) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (145885348) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (1063430) greater than or equal to .debug_info size (872136).
|
addr2line: Dwarf Error: Unable to read alt ref 1063430.
|
addr2line: Dwarf Error: Offset (1001080) greater than or equal to .debug_info size (872136).
|
addr2line: Dwarf Error: Unable to read alt ref 1001080.
|
addr2line: Dwarf Error: Offset (1124139790) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Could not find abbrev number 149.
|
addr2line: Dwarf Error: Offset (909312763) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (1862308399) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (161352077) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (3088692225) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (3995068929) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (125110129) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (142805119) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (353257217) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (3842909696) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (167853817) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Could not find abbrev number 161.
|
addr2line: Dwarf Error: Offset (7628135) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (119131417) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (518397666) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (3465212).
|
addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (1504946).
|
addr2line: Dwarf Error: Could not find abbrev number 132.
|
addr2line: Dwarf Error: Offset (231988738) greater than or equal to .debug_str size (3465212).
|
pthread_create.c:0(start_thread)[0x7f54eb929e25]
|
/lib64/libc.so.6(clone+0x6d)[0x7f54e9f0034d]
|
|
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=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
|
|
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
|
information that should help you find out what is causing the crash.
|
Writing a core file...
|
Working directory at /dev/shm/var/1/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 4096 23142 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 23142 23142 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-------------
|
Attachments
Issue Links
- duplicates
-
MDEV-23111 gcol.innodb_virtual_debug failed in buildbot, dict_col_get_no/row_upd_changes_ord_field_binary_func
- Confirmed