Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Duplicate
-
10.0(EOL)
-
None
Description
########### E:\buildbot\bbwin1\win-rqg-se\build\..\..\..\vardirs\10.0-2626\optim-crash-tests\trial3.log (STATUS_SERVER_CRASHED): last lines from the error log ###
|
Assertion failed: err_key < ha_alter_info->key_count, file E:\buildbot\bbwin1\win-rqg-se\build-debug\storage\xtradb\handler\handler0alter.cc, line 5115
|
R6010
|
- abort() has been called
|
160816 23:12:15 [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.0.27-MariaDB-debug
|
key_buffer_size=1048576
|
read_buffer_size=131072
|
max_used_connections=7
|
max_threads=501
|
thread_count=6
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 196095 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0x6e08df9778
|
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:477]
|
mysqld.exe!raise()[winsig.c:594]
|
mysqld.exe!abort()[abort.c:82]
|
mysqld.exe!_wassert()[assert.c:380]
|
mysqld.exe!commit_try_rebuild()[handler0alter.cc:5115]
|
mysqld.exe!ha_innobase::commit_inplace_alter_table()[handler0alter.cc:5817]
|
mysqld.exe!handler::ha_commit_inplace_alter_table()[handler.cc:4191]
|
mysqld.exe!mysql_inplace_alter_table()[sql_table.cc:7122]
|
mysqld.exe!mysql_alter_table()[sql_table.cc:8885]
|
mysqld.exe!Sql_cmd_alter_table::execute()[sql_alter.cc:312]
|
mysqld.exe!mysql_execute_command()[sql_parse.cc:5115]
|
mysqld.exe!mysql_parse()[sql_parse.cc:6575]
|
mysqld.exe!dispatch_command()[sql_parse.cc:1312]
|
mysqld.exe!do_command()[sql_parse.cc:999]
|
mysqld.exe!threadpool_process_request()[threadpool_common.cc:239]
|
mysqld.exe!io_completion_callback()[threadpool_win.cc:568]
|
KERNEL32.DLL!VirtualUnlock()
|
ntdll.dll!RtlGetActiveActivationContext()
|
ntdll.dll!RtlFreeUnicodeString()
|
KERNEL32.DLL!BaseThreadInitThunk()
|
ntdll.dll!RtlUserThreadStart()
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x6e08e05f30): ALTER TABLE t1 DROP COLUMN col3 /* QUERY_NO 2056 CON_ID 12 */
|
Connection ID (thread ID): 12
|
Status: NOT_KILLED
|
Attachments
Issue Links
- duplicates
-
MDEV-12827 Assertion failure when reporting duplicate key error in online table rebuild
-
- Closed
-
Got it locally, but in a long test:
perl ./runall.pl --no-mask --seed=1499017203 --threads=5 --duration=3600 --queries=100M --reporters=QueryTimeout,Backtrace,ErrorLog,Deadlock,Shutdown --redefine=conf/mariadb/redefine_random_keys.yy --redefine=conf/mariadb/redefine_set_session_vars.yy --validators=TransformerNoComparator --transformers=ConvertSubqueriesToViews,DisableOptimizations,EnableOptimizations,ExecuteAsCTE,ExecuteAsInsertSelect,ExecuteAsPreparedOnce,ExecuteAsSelectItem,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,NullIf,OrderBy,StraightJoin,ExecuteAsExecuteImmediate --grammar=conf/runtime/alter_online.yy --gendata=conf/runtime/alter_online.zz --mtr-build-thread=150 --basedir1=/data/bld/10.0 --vardir1=/data/logs/analyze2
10.0 a02ba9c1c96f8245b2fd5c8b555c74204af421e3
mysqld: /data/src/10.0/storage/xtradb/handler/handler0alter.cc:5133: bool commit_try_rebuild(Alter_inplace_info*, ha_innobase_inplace_ctx*, TABLE*, const TABLE*, trx_t*, const char*): Assertion `err_key < ha_alter_info->key_count' failed.
170703 21:54:10 [ERROR] mysqld got signal 6 ;
# 2017-07-03T21:54:17 [1387] #6 0x00007fcfdc6cbe37 in __assert_fail_base () from /lib/x86_64-linux-gnu/libc.so.6
# 2017-07-03T21:54:17 [1387] #7 0x00007fcfdc6cbee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
# 2017-07-03T21:54:17 [1387] #8 0x0000000000b70a42 in commit_try_rebuild (ha_alter_info=0x7fcfde9572c0, ctx=0x7fcfb8822d18, altered_table=0x7fcfb889b070, old_table=0x7fcfb88ed470, trx=0x7fcfb9c90678, table_name=0x7fcfb805c175 "t1") at /data/src/10.0/storage/xtradb/handler/handler0alter.cc:5132
# 2017-07-03T21:54:17 [1387] #9 0x0000000000b6e592 in ha_innobase::commit_inplace_alter_table (this=0x7fcfab37a888, altered_table=0x7fcfb889b070, ha_alter_info=0x7fcfde9572c0, commit=true) at /data/src/10.0/storage/xtradb/handler/handler0alter.cc:5834
# 2017-07-03T21:54:17 [1387] #10 0x000000000084020f in handler::ha_commit_inplace_alter_table (this=0x7fcfab37a888, altered_table=0x7fcfb889b070, ha_alter_info=0x7fcfde9572c0, commit=true) at /data/src/10.0/sql/handler.cc:4199
# 2017-07-03T21:54:17 [1387] #11 0x00000000006ff451 in mysql_inplace_alter_table (thd=0x7fcfc2723070, table_list=0x7fcfb88211b0, table=0x7fcfb88ed470, altered_table=0x7fcfb889b070, ha_alter_info=0x7fcfde9572c0, inplace_supported=HA_ALTER_INPLACE_NO_LOCK_AFTER_PREPARE, target_mdl_request=0x7fcfde956d10, alter_ctx=0x7fcfde9578a0) at /data/src/10.0/sql/sql_table.cc:7145
# 2017-07-03T21:54:17 [1387] #12 0x000000000070386d in mysql_alter_table (thd=0x7fcfc2723070, new_db=0x7fcfb8821790 "test", new_name=0x0, create_info=0x7fcfde958540, table_list=0x7fcfb88211b0, alter_info=0x7fcfde9584b0, order_num=0, order=0x0, ignore=false) at /data/src/10.0/sql/sql_table.cc:8910
# 2017-07-03T21:54:17 [1387] #13 0x000000000076baaf in Sql_cmd_alter_table::execute (this=0x7fcfb8821878, thd=0x7fcfc2723070) at /data/src/10.0/sql/sql_alter.cc:312
# 2017-07-03T21:54:17 [1387] #14 0x00000000006529d3 in mysql_execute_command (thd=0x7fcfc2723070) at /data/src/10.0/sql/sql_parse.cc:5124
# 2017-07-03T21:54:17 [1387] #15 0x0000000000655e0a in mysql_parse (thd=0x7fcfc2723070, rawbuf=0x7fcfb8821088 "ALTER TABLE t1 ADD COLUMN extra INT /* QNO 7491 CON_ID 11 */", length=60, parser_state=0x7fcfde9596a0) at /data/src/10.0/sql/sql_parse.cc:6579
# 2017-07-03T21:54:17 [1387] #16 0x000000000064896a in dispatch_command (command=COM_QUERY, thd=0x7fcfc2723070, packet=0x7fcfc2729071 "ALTER TABLE t1 ADD COLUMN extra INT /* QNO 7491 CON_ID 11 */ ", packet_length=61) at /data/src/10.0/sql/sql_parse.cc:1309
# 2017-07-03T21:54:17 [1387] #17 0x0000000000647c2d in do_command (thd=0x7fcfc2723070) at /data/src/10.0/sql/sql_parse.cc:999
# 2017-07-03T21:54:17 [1387] #18 0x0000000000767202 in do_handle_one_connection (thd_arg=0x7fcfc2723070) at /data/src/10.0/sql/sql_connect.cc:1377
# 2017-07-03T21:54:17 [1387] #19 0x0000000000766f74 in handle_one_connection (arg=0x7fcfc2723070) at /data/src/10.0/sql/sql_connect.cc:1292
# 2017-07-03T21:54:17 [1387] #20 0x00007fcfde63d494 in start_thread (arg=0x7fcfde95a700) at pthread_create.c:333
# 2017-07-03T21:54:17 [1387] #21 0x00007fcfdc78893f in clone () from /lib/x86_64-linux-gnu/libc.so.6
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7fcfb8821088): ALTER TABLE t1 ADD COLUMN extra INT /* QNO 7491 CON_ID 11 */
Connection ID (thread ID): 11
Status: NOT_KILLED