2020-07-07 16:17:49 0 [Note] /d1/git/10.5/sql/mysqld (mysqld 10.5.5-MariaDB-debug-log) starting as process 32166 ...
2020-07-07 16:17:49 0 [Warning] setrlimit could not change the size of core files to 'infinity';  We may not be able to generate a core file on signals
2020-07-07 16:17:49 0 [Note] RocksDB: 2 column families found
2020-07-07 16:17:49 0 [Note] RocksDB: Column Families at start:
2020-07-07 16:17:49 0 [Note]   cf=default
2020-07-07 16:17:49 0 [Note]     write_buffer_size=67108864
2020-07-07 16:17:49 0 [Note]     target_file_size_base=67108864
2020-07-07 16:17:49 0 [Note]   cf=__system__
2020-07-07 16:17:49 0 [Note]     write_buffer_size=67108864
2020-07-07 16:17:49 0 [Note]     target_file_size_base=67108864
2020-07-07 16:17:49 0 [Note] RocksDB: Table_store: loaded DDL data for 0 tables
2020-07-07 16:17:49 0 [Note] RocksDB: global statistics using get_sched_indexer_t indexer
2020-07-07 16:17:49 0 [Note] MyRocks storage engine plugin has been successfully initialized.
2020-07-07 16:17:49 0 [Note] InnoDB: Using Linux native AIO
2020-07-07 16:17:49 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2020-07-07 16:17:49 0 [Note] InnoDB: Uses event mutexes
2020-07-07 16:17:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-07 16:17:49 0 [Note] InnoDB: Number of pools: 1
2020-07-07 16:17:49 0 [Note] InnoDB: Using SSE4.2 crc32 instructions
2020-07-07 16:17:49 0 [Note] mysqld: O_TMPFILE is not supported on /d1/tmp/vtornik/4/tmp (disabling future attempts)
2020-07-07 16:17:50 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2020-07-07 16:17:50 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-07 16:17:50 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-07-07 16:17:50 0 [Note] InnoDB: 128 rollback segments are active.
2020-07-07 16:17:50 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-07 16:17:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-07 16:17:50 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2020-07-07 16:17:50 0 [Note] InnoDB: 10.5.5 started; log sequence number 45617; transaction id 21
2020-07-07 16:17:50 0 [Note] InnoDB: Loading buffer pool(s) from /d1/tmp/vtornik/4/data/ib_buffer_pool
2020-07-07 16:17:50 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-07 16:17:50 0 [Note] InnoDB: Buffer pool(s) load completed at 200707 16:17:50
2020-07-07 16:17:50 0 [Note] Server socket created on IP: '::'.
2020-07-07 16:17:50 0 [Note] Reading of all Master_info entries succeeded
2020-07-07 16:17:50 0 [Note] Added new Master_info '' to hash table
2020-07-07 16:17:50 0 [Note] /d1/git/10.5/sql/mysqld: ready for connections.
Version: '10.5.5-MariaDB-debug-log'  socket: '/d1/tmp/vtornik/4/mysql.sock'  port: 19300  Source distribution
2020-07-07 16:18:33 18 [Warning] Sort aborted, host: localhost, user: rqg, thread: 18, query: INSERT INTO transforms.trigger232316 SELECT /* QNO 19920 CON_ID 18 */ alias1.`pk` AS field1, alias1.`col_int` AS field2 FROM ( `table0_myisam_int` AS alias1, `view_32304_inline_0` AS alias2, `view_32304_inline_0` AS alias3 ) WHERE EXISTS ( ( SELECT 6 FROM DUAL ) ) GROUP BY field1, field2 HAVING field1 >= 'useirlbqeoxxpegxrznlowovasinpwmsgppaxquwizrnrlznfbbhpcmdkqbajijpesimjrinhqwmgixkbwsimxgunrgmbddvmmzfczgalslicdmgmqcafgobnyhpnykslwkchkbmnrpwqxgfuvawdbgtuhrqlqwrjcgzxcqpogsjzwfblrwljzshwixkznpcxnlwvxuwyyscnvjirrnqgvpvjebirkehwthqgxaagwwbfiqxbqwoabejhxg' ORDER BY field2
mysqld: /d1/git/10.5/sql/item_subselect.cc:3367: virtual bool Item_in_subselect::fix_fields(THD*, Item**): Assertion `unit->thd == thd' failed.
200707 16:18:56 [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.5-MariaDB-debug-log
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=13
max_threads=153
thread_count=15
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467906 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x62b00012d288
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 = 0x7f155e645950 thread_stack 0x5fc00
??:0(__interceptor_timerfd_gettime)[0x7f15a90f75fd]
/d1/git/10.5/sql/mysqld(my_print_stacktrace+0xb5)[0x55a0059349f7]
/d1/git/10.5/sql/mysqld(handle_fatal_signal+0x9df)[0x55a0043f184c]
??:0(__restore_rt)[0x7f15a903c730]
linux/raise.c:51(__GI_raise)[0x7f15a85767bb]
stdlib/abort.c:81(__GI_abort)[0x7f15a8561535]
intl/loadmsgcat.c:1177(_nl_load_domain)[0x7f15a856140f]
??:0(__assert_fail)[0x7f15a856f102]
/d1/git/10.5/sql/mysqld(_ZN17Item_in_subselect10fix_fieldsEP3THDPP4Item+0x2bc)[0x55a0046383d4]
sql/item_subselect.cc:3369(Item_in_subselect::fix_fields(THD*, Item**))[0x55a003997dd1]
/d1/git/10.5/sql/mysqld(_ZN4Item31fix_fields_if_needed_for_scalarEP3THDPPS_+0x2b)[0x55a003997dff]
/d1/git/10.5/sql/mysqld(_ZN4Item29fix_fields_if_needed_for_boolEP3THDPPS_+0x2b)[0x55a003ac76d1]
sql/item.h:979(Item::fix_fields_if_needed(THD*, Item**))[0x55a0044e8fe7]
sql/item.h:982(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x55a003997dd1]
sql/item.h:987(Item::fix_fields_if_needed_for_bool(THD*, Item**))[0x55a003997dff]
sql/item_cmpfunc.cc:4899(Item_cond::fix_fields(THD*, Item**))[0x55a003ac76d1]
sql/item.h:979(Item::fix_fields_if_needed(THD*, Item**))[0x55a003abe977]
sql/item.h:982(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x55a003ccfe8c]
sql/sql_base.cc:8333(setup_conds(THD*, TABLE_LIST*, List<TABLE_LIST>&, Item**))[0x55a003cd6d9b]
sql/sql_select.cc:693(setup_without_group(THD*, Bounds_checked_array<Item*>, TABLE_LIST*, List<TABLE_LIST>&, List<Item>&, List<Item>&, Item**, st_order*, st_order*, List<Window_spec>&, List<Item_window_func>&, bool*, unsigned int*))[0x55a00463bba7]
sql/sql_select.cc:1255(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x55a0046169d9]
sql/item_subselect.cc:285(Item_subselect::fix_fields(THD*, Item**))[0x55a00463804b]
sql/item_subselect.cc:3355(Item_exists_subselect::fix_fields(THD*, Item**))[0x55a003997dd1]
sql/item.h:979(Item::fix_fields_if_needed(THD*, Item**))[0x55a003997dff]
sql/item.h:982(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x55a003ac76d1]
sql/item.h:987(Item::fix_fields_if_needed_for_bool(THD*, Item**))[0x55a0044e8fe7]
sql/item_cmpfunc.cc:4899(Item_cond::fix_fields(THD*, Item**))[0x55a003997dd1]
sql/item.h:979(Item::fix_fields_if_needed(THD*, Item**))[0x55a003997dff]
sql/item.h:982(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x55a003ac76d1]
sql/item.h:987(Item::fix_fields_if_needed_for_bool(THD*, Item**))[0x55a003abe977]
sql/sql_base.cc:8333(setup_conds(THD*, TABLE_LIST*, List<TABLE_LIST>&, Item**))[0x55a003ccfe8c]
sql/sql_select.cc:693(setup_without_group(THD*, Bounds_checked_array<Item*>, TABLE_LIST*, List<TABLE_LIST>&, List<Item>&, List<Item>&, Item**, st_order*, st_order*, List<Window_spec>&, List<Item_window_func>&, bool*, unsigned int*))[0x55a003cd6d9b]
sql/sql_select.cc:1255(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x55a003cfb5d3]
sql/sql_select.cc:4619(mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x55a003cce1c2]
sql/sql_select.cc:417(handle_select(THD*, LEX*, select_result*, unsigned long))[0x55a003c34ea2]
sql/sql_parse.cc:4691(mysql_execute_command(THD*))[0x55a0039ee788]
sql/sp_head.cc:3765(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x55a0039ece92]
sql/sp_head.cc:3492(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x55a0039edf36]
sql/sp_head.cc:3671(sp_instr_stmt::execute(THD*, unsigned int*))[0x55a0039df3da]
sql/sp_head.cc:1435(sp_head::execute(THD*, bool))[0x55a0039e247d]
sql/sp_head.cc:1913(sp_head::execute_trigger(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, st_grant_info*))[0x55a003eee2cc]
sql/sql_trigger.cc:2239(Table_triggers_list::process_triggers(THD*, trg_event_type, trg_action_time_type, bool))[0x55a003ac07ab]
sql/sql_base.cc:8621(fill_record_n_invoke_before_triggers(THD*, TABLE*, List<Item>&, List<Item>&, bool, trg_event_type))[0x55a003b6f79f]
sql/sql_insert.cc:984(mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*))[0x55a003c338b7]
sql/sql_parse.cc:4545(mysql_execute_command(THD*))[0x55a003c4b6c6]
sql/sql_parse.cc:7993(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x55a003c225df]
sql/sql_parse.cc:1869(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x55a003c1eef7]
sql/sql_parse.cc:1347(do_command(THD*))[0x55a00404367d]
sql/sql_connect.cc:1411(do_handle_one_connection(CONNECT*, bool))[0x55a004042fda]
sql/sql_connect.cc:1315(handle_one_connection)[0x55a004cf9f0a]
nptl/pthread_create.c:487(start_thread)[0x7f15a9031fa3]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f15a86384cf]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x6250002da1a8): INSERT INTO transforms.trigger232301 SELECT /* QNO 17297 CON_ID 10 */ alias1.`col_int` AS cfield1, alias1.`col_int` AS ifield1 FROM ( `table0_myisam_int` AS alias1 INNER JOIN ( ( `table0_myisam_int` AS alias2 INNER JOIN ( SELECT SQ1_alias1.* FROM ( `table0_myisam_int` AS SQ1_alias1 RIGHT OUTER JOIN ( `table0_myisam_int` AS SQ1_alias2 INNER JOIN `table0_myisam_int` AS SQ1_alias3 ON (SQ1_alias3.`col_int` = SQ1_alias2.`col_int` ) ) ON (SQ1_alias3.`pk` = SQ1_alias2.`col_int` ) ) ) AS alias3 ON (( alias3.`pk` != alias2.`pk` ) OR ( ( alias3.`pk` <> alias2.`pk` ) AND (alias3.`pk` >= alias2.`pk` ) ) ) ) ) ON (( alias3.`pk` < alias2.`pk` ) AND (alias3.`pk` > alias2.`pk` ) ) ) WHERE ( EXISTS ( SELECT SQ2_alias1.`col_int` AS SQ2_ifield1 FROM ( `table0_myisam_int` AS SQ2_alias1, `table0_myisam_int` AS SQ2_alias2 ) WHERE alias3.`pk` IN ( ( SELECT C_SQ1_alias1.`pk` AS C_SQ1_ifield1 FROM `table0_myisam_int` AS C_SQ1_alias1 ) ) AND SQ2_alias1.`pk` <= alias1.`col_int` ) ) AND ( alias1.`col_int` = alias3.`col_int` OR alias1.`pk` = 'x' ) GROUP BY cfield1, ifield1 HAVING ifield1 != 2 ORDER BY cfield1, ifield1
Connection ID (thread ID): 15
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 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 /d1/tmp/vtornik/4/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        0                    0                    bytes     
Max resident set          unlimited            unlimited            bytes     
Max processes             515500               515500               processes 
Max open files            32246                32246                files     
Max locked memory         67108864             67108864             bytes     
Max address space         unlimited            unlimited            bytes     
Max file locks            unlimited            unlimited            locks     
Max pending signals       515500               515500               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

Aborted
