201102 8:06:48 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=20 max_threads=102 thread_count=26 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f87340011c8 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 = 0x7f8c2837add8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x557b494c2a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x557b48fb926d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f8c4fa84730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x557b48de41b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x557b48e06ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x557b48e0c908] /usr/sbin/mysqld(+0x652065)[0x557b48d75065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x557b48d748d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x557b48d8f2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x557b48e74006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x557b48d8f2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x557b48e06eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x557b48e0b1da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x557b48e0c8eb] /usr/sbin/mysqld(+0x652065)[0x557b48d75065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x557b48d748d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x557b48e0a00c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x557b48e0c8eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x557b48e0d3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x557b48e0dd21] /usr/sbin/mysqld(+0x6847ac)[0x557b48da77ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x557b48dafaed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x557b48db7029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x557b48db95b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x557b48dbac1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x557b48e9ad7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x557b48e9ae4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f8c4fa79fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f8c4ef8e4cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f8734010550): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 342578 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 8:07:15 0 [Note] mysqld: Aria engine: starting recovery tables to flush: 1 0 (0.0 seconds); 2020-11-02 8:07:15 0 [Note] mysqld: Aria engine: recovery done 2020-11-02 8:07:15 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 8:07:15 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 8:07:15 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 8:07:15 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 8:07:15 0 [Note] InnoDB: Uses event mutexes 2020-11-02 8:07:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 8:07:15 0 [Note] InnoDB: Number of pools: 1 2020-11-02 8:07:15 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 8:07:15 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 8:07:15 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 8:07:40 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 8:07:40 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 8:07:40 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057445794700 2020-11-02 8:07:41 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 8:07:42 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 8:07:43 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 8:07:43 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 8:07:43 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 8:07:43 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 8:07:43 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 8:07:43 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057445794709; transaction id 236772974 2020-11-02 8:07:43 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 8:07:43 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 8:07:43 0 [Note] Server socket created on IP: '::'. 2020-11-02 8:07:43 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 8:07:43 0 [Note] Added new Master_info '' to hash table 2020-11-02 8:07:43 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 8:08:38 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 8:08:38 201102 8:11:14 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=8 max_threads=102 thread_count=14 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fb934000c08 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 = 0x7fb9e4652dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55c695dd7a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55c6958ce26d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fbe26dbb730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55c6956f91b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55c69571bead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55c695721908] /usr/sbin/mysqld(+0x652065)[0x55c69568a065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55c6956898d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55c6956a42a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55c695789006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55c6956a42a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55c69571beec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55c6957201da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55c6957218eb] /usr/sbin/mysqld(+0x652065)[0x55c69568a065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55c6956898d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x55c69571f00c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55c6957218eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55c6957223f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55c695722d21] /usr/sbin/mysqld(+0x6847ac)[0x55c6956bc7ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55c6956c4aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55c6956cc029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55c6956ce5b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55c6956cfc1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55c6957afd7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55c6957afe4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fbe26db0fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fbe262c54cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fb934012060): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 179 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 8:11:21 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 8:11:21 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 8:11:21 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 8:11:21 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 8:11:21 0 [Note] InnoDB: Uses event mutexes 2020-11-02 8:11:21 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 8:11:21 0 [Note] InnoDB: Number of pools: 1 2020-11-02 8:11:21 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 8:11:21 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 8:11:21 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 8:11:22 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 8:11:22 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 8:11:22 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057445797171 2020-11-02 8:11:23 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 8:11:23 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 8:11:23 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 8:11:23 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 8:11:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 8:11:23 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 8:11:23 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 8:11:23 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057445797180; transaction id 236773050 2020-11-02 8:11:23 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 8:11:23 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 8:11:23 0 [Note] Server socket created on IP: '::'. 2020-11-02 8:11:23 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 8:11:23 0 [Note] Added new Master_info '' to hash table 2020-11-02 8:11:23 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 8:11:47 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 8:11:47 201102 8:13:40 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=6 max_threads=102 thread_count=12 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fd08c000c08 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 = 0x7fd1388a4dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55574567ea3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55574517526d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fd57af3d730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x555744fa01b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x555744fc2ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x555744fc8908] /usr/sbin/mysqld(+0x652065)[0x555744f31065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x555744f308d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x555744f4b2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x555745030006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x555744f4b2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x555744fc2eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x555744fc71da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x555744fc88eb] /usr/sbin/mysqld(+0x652065)[0x555744f31065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x555744f308d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x555744fc600c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x555744fc88eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x555744fc93f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x555744fc9d21] /usr/sbin/mysqld(+0x6847ac)[0x555744f637ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x555744f6baed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x555744f73029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x555744f755b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x555744f76c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x555745056d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x555745056e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fd57af32fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fd57a4474cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fd08c012090): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 143 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 8:13:46 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 8:13:46 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 8:13:46 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 8:13:46 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 8:13:46 0 [Note] InnoDB: Uses event mutexes 2020-11-02 8:13:46 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 8:13:46 0 [Note] InnoDB: Number of pools: 1 2020-11-02 8:13:46 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 8:13:46 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 8:13:46 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 8:13:48 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 8:13:48 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 8:13:48 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057445884616 2020-11-02 8:13:48 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 8:13:48 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 8:13:48 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 8:13:48 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 8:13:48 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 8:13:48 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 8:13:48 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 8:13:49 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057445884715; transaction id 236773185 2020-11-02 8:13:49 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 8:13:49 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 8:13:49 0 [Note] Server socket created on IP: '::'. 2020-11-02 8:13:49 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 8:13:49 0 [Note] Added new Master_info '' to hash table 2020-11-02 8:13:49 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 8:14:16 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 8:14:16 201102 8:15:19 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=6 max_threads=102 thread_count=12 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f4d7c000c08 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 = 0x7f5278081dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x560194846a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x56019433d26d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f529ea4a730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x5601941681b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x56019418aead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x560194190908] /usr/sbin/mysqld(+0x652065)[0x5601940f9065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x5601940f88d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5601941132a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x5601941f8006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5601941132a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x56019418aeec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x56019418f1da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x5601941908eb] /usr/sbin/mysqld(+0x652065)[0x5601940f9065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x5601940f88d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x56019418e00c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x5601941908eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x5601941913f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x560194191d21] /usr/sbin/mysqld(+0x6847ac)[0x56019412b7ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x560194133aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x56019413b029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x56019413d5b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x56019413ec1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x56019421ed7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x56019421ee4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f529ea3ffa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f529df544cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f4d7c012090): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 122 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 8:15:26 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 8:15:26 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 8:15:26 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 8:15:26 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 8:15:26 0 [Note] InnoDB: Uses event mutexes 2020-11-02 8:15:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 8:15:26 0 [Note] InnoDB: Number of pools: 1 2020-11-02 8:15:26 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 8:15:26 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 8:15:26 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 8:15:27 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 8:15:27 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 8:15:27 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057448740386 2020-11-02 8:15:27 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 8:15:28 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 8:15:28 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 8:15:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 8:15:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 8:15:28 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 8:15:28 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 8:15:28 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057448740395; transaction id 236773325 2020-11-02 8:15:28 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 8:15:28 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 8:15:28 0 [Note] Server socket created on IP: '::'. 2020-11-02 8:15:28 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 8:15:28 0 [Note] Added new Master_info '' to hash table 2020-11-02 8:15:28 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 8:15:53 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 8:15:53 201102 8:25:46 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=11 max_threads=102 thread_count=17 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f9320000c08 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 = 0x7f93ec1d2dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55ed7fe0ca3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55ed7f90326d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f982f22c730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55ed7f72e1b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55ed7f750ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55ed7f756908] /usr/sbin/mysqld(+0x652065)[0x55ed7f6bf065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55ed7f6be8d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55ed7f6d92a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55ed7f7be006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55ed7f6d92a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55ed7f750eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55ed7f7551da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55ed7f7568eb] /usr/sbin/mysqld(+0x652065)[0x55ed7f6bf065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55ed7f6be8d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x55ed7f75400c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55ed7f7568eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55ed7f7573f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55ed7f757d21] /usr/sbin/mysqld(+0x6847ac)[0x55ed7f6f17ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55ed7f6f9aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55ed7f701029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55ed7f7035b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55ed7f704c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55ed7f7e4d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55ed7f7e4e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f982f221fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f982e7364cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f932000ff80): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 490 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 8:26:07 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 8:26:07 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 8:26:07 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 8:26:07 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 8:26:07 0 [Note] InnoDB: Uses event mutexes 2020-11-02 8:26:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 8:26:07 0 [Note] InnoDB: Number of pools: 1 2020-11-02 8:26:07 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 8:26:07 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 8:26:07 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 8:26:09 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 8:26:09 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 8:26:09 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057453562073 2020-11-02 8:26:09 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 8:26:10 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 8:26:10 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 8:26:10 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 8:26:10 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 8:26:10 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 8:26:10 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 8:26:10 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057453562082; transaction id 236774745 2020-11-02 8:26:10 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 8:26:10 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 8:26:10 0 [Note] Server socket created on IP: '::'. 2020-11-02 8:26:10 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 8:26:10 0 [Note] Added new Master_info '' to hash table 2020-11-02 8:26:10 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 8:26:34 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 8:26:34 201102 9:24:24 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=8 max_threads=102 thread_count=14 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f8bac000c08 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 = 0x7f90a054bdd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x5576dda08a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x5576dd4ff26d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f90a3bc7730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x5576dd32a1b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x5576dd34cead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x5576dd352908] /usr/sbin/mysqld(+0x652065)[0x5576dd2bb065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x5576dd2ba8d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5576dd2d52a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x5576dd3ba006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5576dd2d52a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x5576dd34ceec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x5576dd3511da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x5576dd3528eb] /usr/sbin/mysqld(+0x652065)[0x5576dd2bb065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x5576dd2ba8d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x5576dd35000c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x5576dd3528eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x5576dd3533f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x5576dd353d21] /usr/sbin/mysqld(+0x6847ac)[0x5576dd2ed7ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x5576dd2f5aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x5576dd2fd029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x5576dd2ff5b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x5576dd300c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x5576dd3e0d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x5576dd3e0e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f90a3bbcfa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f90a30d14cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f8bac00ff90): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 2549 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 9:24:30 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 9:24:30 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 9:24:30 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 9:24:30 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 9:24:30 0 [Note] InnoDB: Uses event mutexes 2020-11-02 9:24:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 9:24:30 0 [Note] InnoDB: Number of pools: 1 2020-11-02 9:24:30 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 9:24:30 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 9:24:30 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 9:24:32 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 9:24:32 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 9:24:32 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057545553933 2020-11-02 9:24:33 0 [Note] InnoDB: 1 transaction(s) which must be rolled back or cleaned up in total 15009 row operations to undo 2020-11-02 9:24:33 0 [Note] InnoDB: Trx id counter is 236775752 2020-11-02 9:24:33 0 [Note] InnoDB: Starting final batch to recover 642 pages from redo log. 2020-11-02 9:24:33 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 9:24:34 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 9:24:34 0 [Note] InnoDB: Starting in background the rollback of recovered transactions 2020-11-02 9:24:34 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 9:24:34 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 9:24:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 9:24:34 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 9:24:34 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057558320406; transaction id 236775754 2020-11-02 9:24:34 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 9:24:34 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 9:24:34 0 [Note] Server socket created on IP: '::'. 2020-11-02 9:24:34 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 9:24:34 0 [Note] Added new Master_info '' to hash table 2020-11-02 9:24:34 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 9:24:34 0 [Note] InnoDB: Rolled back recovered transaction 236775747 2020-11-02 9:24:34 0 [Note] InnoDB: Rollback of non-prepared transactions completed 2020-11-02 9:25:04 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 9:25:04 201102 9:35:50 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=9 max_threads=102 thread_count=15 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fecc8000c08 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 = 0x7ff1c0813dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x562523bd1a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x5625236c826d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7ff1e9b09730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x5625234f31b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x562523515ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x56252351b908] /usr/sbin/mysqld(+0x652065)[0x562523484065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x5625234838d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56252349e2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x562523583006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56252349e2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x562523515eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x56252351a1da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x56252351b8eb] /usr/sbin/mysqld(+0x652065)[0x562523484065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x5625234838d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x56252351900c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x56252351b8eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x56252351c3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x56252351cd21] /usr/sbin/mysqld(+0x6847ac)[0x5625234b67ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x5625234beaed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x5625234c6029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x5625234c85b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x5625234c9c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x5625235a9d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x5625235a9e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7ff1e9afefa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7ff1e90134cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fecc800ff90): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 679 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 9:35:58 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 9:35:58 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 9:35:58 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 9:35:58 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 9:35:58 0 [Note] InnoDB: Uses event mutexes 2020-11-02 9:35:58 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 9:35:58 0 [Note] InnoDB: Number of pools: 1 2020-11-02 9:35:58 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 9:35:58 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 9:35:58 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 9:35:59 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 9:35:59 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 9:35:59 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057641265389 2020-11-02 9:36:00 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 9:36:00 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 9:36:00 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 9:36:00 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 9:36:00 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 9:36:00 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 9:36:00 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 9:36:00 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057641265398; transaction id 236776560 2020-11-02 9:36:00 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 9:36:00 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 9:36:00 0 [Note] Server socket created on IP: '::'. 2020-11-02 9:36:00 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 9:36:00 0 [Note] Added new Master_info '' to hash table 2020-11-02 9:36:00 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 9:36:26 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 9:36:26 201102 9:40:28 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=9 max_threads=102 thread_count=15 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f0410000c08 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 = 0x7f09141d4dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55a169be2a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55a1696d926d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f091934e730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55a1695041b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55a169526ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55a16952c908] /usr/sbin/mysqld(+0x652065)[0x55a169495065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55a1694948d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a1694af2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55a169594006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a1694af2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55a169594006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a1694af2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55a169594006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a1694af2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55a169526eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55a16952b1da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55a16952c8eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55a16952d3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55a16952dd21] /usr/sbin/mysqld(+0x6847ac)[0x55a1694c77ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55a1694cfaed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55a1694d7029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55a1694d95b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55a1694dac1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55a1695bad7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55a1695bae4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f0919343fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f09188584cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f041000ffe0): SELECT final_table.* FROM (SELECT `x567_g_podlazi_etapa`.`id` AS `x5053_id`, `x567_g_podlazi_etapa`.`id_budova` AS `x5054_id_budova`, `x567_g_podlazi_etapa`.`nazev` AS `x5057_nazev`, `x567_g_podlazi_etapa`.`id_stupen` AS `x5066_id_stupen`, `x567_g_podlazi_etapa`.`aktivni` AS `x5067_aktivni`, `x568_g_budova_uzemi`.`nazev` AS `x5071_nazev`, `x568_g_budova_uzemi`.`id` AS `x5068_id`, `x568_g_budova_uzemi`.`id_areal` AS `x5069_id_areal`, `x568_g_budova_uzemi`.`kod` AS `x5070_kod`, `x569_g_uzemi`.`uzemi` AS `x5081_uzemi`, `x569_g_uzemi`.`id_uzemi` AS `x5078_id_uzemi`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_obec` AS `x9195_trvaly_obec`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_rsd` AS `x9193_trvaly_rsd`, `x839_x_rekapitulace_zaboru_zpf`.`zahrnout` AS `x9198_zahrnout`, `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` AS `x9185_id_etapa`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_firma` AS `x9196_trvaly_firma`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_kraj` AS `x9194_trvaly_kraj`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly` AS `x9192_trvaly`, `x839_x_rekapitulace_zaboru_zpf`.`nad1rok` AS `x9197_nad1rok` FROM `g_podlazi_etapa` AS `x567_g_podlazi_etapa` INNER JOIN `g_budova_uzemi` AS `x568_g_budova_uzemi` ON `x567_g_podlazi_etapa`.`id_budova` = `x568_g_budova_uzemi`.`id` INNER JOIN `g_uzemi` AS `x569_g_uzemi` ON `x568_g_budova_uzemi`.`kod` = `x569_g_uzemi`.`id_uzemi` INNER JOIN `x_rekapitulace_zaboru_zpf` AS `x839_x_rekapitulace_zaboru_zpf` ON `x567_g_podlazi_etapa`.`id` = `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` WHERE (((`x568_g_budova_uzemi`.`id_areal` = '114') )) ) AS final_table WHERE (`x5066_id_stupen` = '2') AND (`x5067_aktivni` = '1') ORDER BY `x5071_nazev` ASC Connection ID (thread ID): 248 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 9:40:34 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 9:40:34 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 9:40:34 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 9:40:34 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 9:40:34 0 [Note] InnoDB: Uses event mutexes 2020-11-02 9:40:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 9:40:34 0 [Note] InnoDB: Number of pools: 1 2020-11-02 9:40:34 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 9:40:34 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 9:40:34 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 9:40:36 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 9:40:36 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 9:40:36 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057665823947 2020-11-02 9:40:36 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 9:40:37 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 9:40:37 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 9:40:37 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 9:40:37 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 9:40:37 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 9:40:37 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 9:40:37 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057665823956; transaction id 236776691 2020-11-02 9:40:37 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 9:40:37 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 9:40:37 0 [Note] Server socket created on IP: '::'. 2020-11-02 9:40:37 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 9:40:37 0 [Note] Added new Master_info '' to hash table 2020-11-02 9:40:37 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 9:41:02 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 9:41:02 201102 9:44:41 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=9 max_threads=102 thread_count=15 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f6c78000c08 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 = 0x7f6d2420bdd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55ae37931a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55ae3742826d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f71668c0730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55ae372531b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55ae37275ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55ae3727b908] /usr/sbin/mysqld(+0x652065)[0x55ae371e4065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55ae371e38d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55ae371fe2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55ae372e3006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55ae371fe2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55ae372e3006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55ae371fe2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55ae372e3006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55ae371fe2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55ae37275eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55ae3727a1da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55ae3727b8eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55ae3727c3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55ae3727cd21] /usr/sbin/mysqld(+0x6847ac)[0x55ae372167ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55ae3721eaed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55ae37226029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55ae372285b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55ae37229c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55ae37309d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55ae37309e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f71668b5fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f7165dca4cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f6c7800ff80): SELECT final_table.* FROM (SELECT `x567_g_podlazi_etapa`.`id` AS `x5053_id`, `x567_g_podlazi_etapa`.`id_budova` AS `x5054_id_budova`, `x567_g_podlazi_etapa`.`nazev` AS `x5057_nazev`, `x567_g_podlazi_etapa`.`id_stupen` AS `x5066_id_stupen`, `x567_g_podlazi_etapa`.`aktivni` AS `x5067_aktivni`, `x568_g_budova_uzemi`.`nazev` AS `x5071_nazev`, `x568_g_budova_uzemi`.`id` AS `x5068_id`, `x568_g_budova_uzemi`.`id_areal` AS `x5069_id_areal`, `x568_g_budova_uzemi`.`kod` AS `x5070_kod`, `x569_g_uzemi`.`uzemi` AS `x5081_uzemi`, `x569_g_uzemi`.`id_uzemi` AS `x5078_id_uzemi`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_obec` AS `x9195_trvaly_obec`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_rsd` AS `x9193_trvaly_rsd`, `x839_x_rekapitulace_zaboru_zpf`.`zahrnout` AS `x9198_zahrnout`, `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` AS `x9185_id_etapa`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_firma` AS `x9196_trvaly_firma`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_kraj` AS `x9194_trvaly_kraj`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly` AS `x9192_trvaly`, `x839_x_rekapitulace_zaboru_zpf`.`nad1rok` AS `x9197_nad1rok` FROM `g_podlazi_etapa` AS `x567_g_podlazi_etapa` INNER JOIN `g_budova_uzemi` AS `x568_g_budova_uzemi` ON `x567_g_podlazi_etapa`.`id_budova` = `x568_g_budova_uzemi`.`id` INNER JOIN `g_uzemi` AS `x569_g_uzemi` ON `x568_g_budova_uzemi`.`kod` = `x569_g_uzemi`.`id_uzemi` INNER JOIN `x_rekapitulace_zaboru_zpf` AS `x839_x_rekapitulace_zaboru_zpf` ON `x567_g_podlazi_etapa`.`id` = `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` WHERE (((`x568_g_budova_uzemi`.`id_areal` = '114') )) ) AS final_table WHERE (`x5066_id_stupen` = '2') AND (`x5067_aktivni` = '1') ORDER BY `x5071_nazev` ASC Connection ID (thread ID): 299 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 9:44:48 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 9:44:48 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 9:44:48 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 9:44:48 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 9:44:48 0 [Note] InnoDB: Uses event mutexes 2020-11-02 9:44:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 9:44:48 0 [Note] InnoDB: Number of pools: 1 2020-11-02 9:44:48 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 9:44:48 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 9:44:48 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 9:44:49 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 9:44:49 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 9:44:50 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057746463386 2020-11-02 9:44:50 0 [Note] InnoDB: Ignoring data file './gisa_erp_azimut_uniscache/page_647.ibd' with space ID 161593, since the redo log references ./gisa_erp_azimut_uniscache/page_647.ibd with space ID 161591. 2020-11-02 9:44:50 0 [Note] InnoDB: Ignoring data file './gisa_erp_azimut_uniscache/temp_page_647.ibd' with space ID 161593. Another data file called ./gisa_erp_azimut_uniscache/page_647.ibd exists with the same space ID. 2020-11-02 9:44:50 0 [Note] InnoDB: Starting final batch to recover 363 pages from redo log. 2020-11-02 9:44:51 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 9:44:51 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 9:44:51 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 9:44:51 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 9:44:51 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 9:44:51 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 9:44:51 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 9:44:51 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057752542057; transaction id 236777121 2020-11-02 9:44:51 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 9:44:51 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 9:44:51 0 [Note] Server socket created on IP: '::'. 2020-11-02 9:44:51 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 9:44:51 0 [Note] Added new Master_info '' to hash table 2020-11-02 9:44:51 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 9:45:21 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 9:45:21 201102 9:53:21 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=8 max_threads=102 thread_count=14 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f9edc000c08 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 = 0x7fa3f8101dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x56464c542a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x56464c03926d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fa41f50b730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x56464be641b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x56464be86ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x56464be8c908] /usr/sbin/mysqld(+0x652065)[0x56464bdf5065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x56464bdf48d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56464be0f2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x56464bef4006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56464be0f2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x56464bef4006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56464be0f2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x56464bef4006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56464be0f2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x56464be86eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x56464be8b1da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x56464be8c8eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x56464be8d3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x56464be8dd21] /usr/sbin/mysqld(+0x6847ac)[0x56464be277ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x56464be2faed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x56464be37029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x56464be395b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x56464be3ac1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x56464bf1ad7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x56464bf1ae4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fa41f500fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fa41ea154cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f9edc00ff90): SELECT final_table.* FROM (SELECT `x567_g_podlazi_etapa`.`id` AS `x5053_id`, `x567_g_podlazi_etapa`.`id_budova` AS `x5054_id_budova`, `x567_g_podlazi_etapa`.`nazev` AS `x5057_nazev`, `x567_g_podlazi_etapa`.`id_stupen` AS `x5066_id_stupen`, `x567_g_podlazi_etapa`.`aktivni` AS `x5067_aktivni`, `x568_g_budova_uzemi`.`nazev` AS `x5071_nazev`, `x568_g_budova_uzemi`.`id` AS `x5068_id`, `x568_g_budova_uzemi`.`id_areal` AS `x5069_id_areal`, `x568_g_budova_uzemi`.`kod` AS `x5070_kod`, `x569_g_uzemi`.`uzemi` AS `x5081_uzemi`, `x569_g_uzemi`.`id_uzemi` AS `x5078_id_uzemi`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_obec` AS `x9195_trvaly_obec`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_rsd` AS `x9193_trvaly_rsd`, `x839_x_rekapitulace_zaboru_zpf`.`zahrnout` AS `x9198_zahrnout`, `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` AS `x9185_id_etapa`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_firma` AS `x9196_trvaly_firma`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_kraj` AS `x9194_trvaly_kraj`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly` AS `x9192_trvaly`, `x839_x_rekapitulace_zaboru_zpf`.`nad1rok` AS `x9197_nad1rok` FROM `g_podlazi_etapa` AS `x567_g_podlazi_etapa` INNER JOIN `g_budova_uzemi` AS `x568_g_budova_uzemi` ON `x567_g_podlazi_etapa`.`id_budova` = `x568_g_budova_uzemi`.`id` INNER JOIN `g_uzemi` AS `x569_g_uzemi` ON `x568_g_budova_uzemi`.`kod` = `x569_g_uzemi`.`id_uzemi` INNER JOIN `x_rekapitulace_zaboru_zpf` AS `x839_x_rekapitulace_zaboru_zpf` ON `x567_g_podlazi_etapa`.`id` = `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` WHERE (((`x568_g_budova_uzemi`.`id_areal` = '114') )) ) AS final_table WHERE (`x5066_id_stupen` = '2') AND (`x5067_aktivni` = '1') ORDER BY `x5071_nazev` ASC Connection ID (thread ID): 606 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 9:53:28 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 9:53:28 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 9:53:28 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 9:53:28 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 9:53:28 0 [Note] InnoDB: Uses event mutexes 2020-11-02 9:53:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 9:53:28 0 [Note] InnoDB: Number of pools: 1 2020-11-02 9:53:28 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 9:53:28 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 9:53:28 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 9:53:29 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 9:53:29 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 9:53:29 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1057846403651 2020-11-02 9:53:29 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 9:53:30 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 9:53:30 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 9:53:30 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 9:53:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 9:53:30 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 9:53:30 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 9:53:30 0 [Note] InnoDB: 10.4.8 started; log sequence number 1057846403660; transaction id 236778043 2020-11-02 9:53:30 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 9:53:30 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 9:53:30 0 [Note] Server socket created on IP: '::'. 2020-11-02 9:53:30 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 9:53:30 0 [Note] Added new Master_info '' to hash table 2020-11-02 9:53:30 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 9:53:59 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 9:53:59 2020-11-02 9:55:45 112 [ERROR] mysqld: Can't find record in 'slow_log' 2020-11-02 9:55:45 112 [ERROR] Failed to write to mysql.slow_log: Can't find record in 'slow_log' 2020-11-02 9:56:19 77 [ERROR] mysqld: Can't find record in 'slow_log' 2020-11-02 9:56:19 77 [ERROR] Failed to write to mysql.slow_log: Can't find record in 'slow_log' 201102 10:40:31 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=11 max_threads=102 thread_count=17 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fa9a4000c08 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 = 0x7fae84f83dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x5618909afa3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x5618904a626d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fae894f7730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x5618902d11b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x5618902f3ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x5618902f9908] /usr/sbin/mysqld(+0x652065)[0x561890262065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x5618902618d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56189027c2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x561890361006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56189027c2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x5618902f3eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x5618902f81da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x5618902f98eb] /usr/sbin/mysqld(+0x652065)[0x561890262065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x5618902618d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x5618902f700c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x5618902f98eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x5618902fa3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x5618902fad21] /usr/sbin/mysqld(+0x6847ac)[0x5618902947ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x56189029caed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x5618902a4029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x5618902a65b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x5618902a7c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x561890387d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x561890387e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fae894ecfa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fae88a014cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fa9a4012050): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 2508 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 10:40:54 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 10:40:54 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 10:40:54 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 10:40:54 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 10:40:54 0 [Note] InnoDB: Uses event mutexes 2020-11-02 10:40:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 10:40:54 0 [Note] InnoDB: Number of pools: 1 2020-11-02 10:40:54 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 10:40:54 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 10:40:54 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 10:40:56 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 10:40:56 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 10:40:56 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058214735130 2020-11-02 10:40:56 0 [Note] InnoDB: 1 transaction(s) which must be rolled back or cleaned up in total 7986 row operations to undo 2020-11-02 10:40:56 0 [Note] InnoDB: Trx id counter is 236780986 2020-11-02 10:40:56 0 [Note] InnoDB: Starting final batch to recover 335 pages from redo log. 2020-11-02 10:40:56 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 10:40:57 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 10:40:57 0 [Note] InnoDB: Starting in background the rollback of recovered transactions 2020-11-02 10:40:57 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 10:40:57 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 10:40:57 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 10:40:57 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 10:40:57 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 10:40:57 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058216188618; transaction id 236780988 2020-11-02 10:40:57 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 10:40:57 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 10:40:57 0 [Note] Server socket created on IP: '::'. 2020-11-02 10:40:57 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 10:40:57 0 [Note] Added new Master_info '' to hash table 2020-11-02 10:40:57 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 10:40:57 0 [Note] InnoDB: Rolled back recovered transaction 236780977 2020-11-02 10:40:57 0 [Note] InnoDB: Rollback of non-prepared transactions completed 2020-11-02 10:41:29 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 10:41:29 201102 10:42:19 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=10 max_threads=102 thread_count=16 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f8864000c08 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 = 0x7f8d5c0bfdd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55627ff84a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55627fa7b26d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f8d834f3730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55627f8a61b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55627f8c8ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55627f8ce908] /usr/sbin/mysqld(+0x652065)[0x55627f837065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55627f8368d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55627f8512a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55627f936006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55627f8512a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55627f8c8eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55627f8cd1da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55627f8ce8eb] /usr/sbin/mysqld(+0x652065)[0x55627f837065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55627f8368d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x55627f8cc00c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55627f8ce8eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55627f8cf3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55627f8cfd21] /usr/sbin/mysqld(+0x6847ac)[0x55627f8697ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55627f871aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55627f879029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55627f87b5b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55627f87cc1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55627f95cd7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55627f95ce4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f8d834e8fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f8d829fd4cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f886400ff90): SELECT final_table.* FROM ( SELECT `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 97 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 10:42:25 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 10:42:25 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 10:42:25 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 10:42:25 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 10:42:25 0 [Note] InnoDB: Uses event mutexes 2020-11-02 10:42:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 10:42:25 0 [Note] InnoDB: Number of pools: 1 2020-11-02 10:42:25 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 10:42:25 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 10:42:25 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 10:42:26 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 10:42:26 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 10:42:26 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058227944109 2020-11-02 10:42:26 0 [Note] InnoDB: Starting final batch to recover 23 pages from redo log. 2020-11-02 10:42:27 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 10:42:28 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 10:42:28 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 10:42:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 10:42:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 10:42:28 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 10:42:28 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 10:42:28 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058227946263; transaction id 236781346 2020-11-02 10:42:28 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 10:42:28 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 10:42:28 0 [Note] Server socket created on IP: '::'. 2020-11-02 10:42:28 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 10:42:28 0 [Note] Added new Master_info '' to hash table 2020-11-02 10:42:28 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 10:42:54 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 10:42:54 201102 10:44:46 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=10 max_threads=102 thread_count=16 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fd904000c08 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 = 0x7fddec599dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55a88c7a8a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55a88c29f26d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fddefb0d730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55a88c0ca1b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55a88c0ecead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55a88c0f2908] /usr/sbin/mysqld(+0x652065)[0x55a88c05b065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55a88c05a8d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a88c0752a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55a88c15a006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a88c0752a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55a88c0eceec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55a88c0f11da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55a88c0f28eb] /usr/sbin/mysqld(+0x652065)[0x55a88c05b065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55a88c05a8d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x55a88c0f000c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55a88c0f28eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55a88c0f33f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55a88c0f3d21] /usr/sbin/mysqld(+0x6847ac)[0x55a88c08d7ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55a88c095aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55a88c09d029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55a88c09f5b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55a88c0a0c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55a88c180d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55a88c180e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fddefb02fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fddef0174cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fd904012280): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly` FROM `x_bpej_ku` AS `x588_x_bpej_ku` WHERE (((`x588_x_bpej_ku`.`id_etapa` = '643') )) ) AS final_table Connection ID (thread ID): 204 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 10:44:52 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 10:44:52 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 10:44:52 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 10:44:52 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 10:44:52 0 [Note] InnoDB: Uses event mutexes 2020-11-02 10:44:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 10:44:52 0 [Note] InnoDB: Number of pools: 1 2020-11-02 10:44:52 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 10:44:52 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 10:44:52 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 10:44:54 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 10:44:54 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 10:44:55 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058258080785 2020-11-02 10:44:55 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 10:44:55 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 10:44:55 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 10:44:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 10:44:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 10:44:55 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 10:44:55 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 10:44:55 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058258080794; transaction id 236781603 2020-11-02 10:44:55 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 10:44:55 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 10:44:55 0 [Note] Server socket created on IP: '::'. 2020-11-02 10:44:56 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 10:44:56 0 [Note] Added new Master_info '' to hash table 2020-11-02 10:44:56 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 10:45:30 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 10:45:30 201102 10:45:36 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=6 max_threads=102 thread_count=12 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fbd90000c08 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 = 0x7fc270628dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x556d85e90a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x556d8598726d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fc274b9c730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x556d857b21b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x556d857d4ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x556d857da908] /usr/sbin/mysqld(+0x652065)[0x556d85743065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x556d857428d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x556d8575d2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x556d85842006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x556d8575d2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x556d857d4eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x556d857d91da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x556d857da8eb] /usr/sbin/mysqld(+0x652065)[0x556d85743065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x556d857428d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x556d857d800c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x556d857da8eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x556d857db3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x556d857dbd21] /usr/sbin/mysqld(+0x6847ac)[0x556d857757ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x556d8577daed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x556d85785029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x556d857875b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x556d85788c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x556d85868d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x556d85868e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fc274b91fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fc2740a64cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fbd90012280): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly` FROM `x_bpej_ku` AS `x588_x_bpej_ku` WHERE (((`x588_x_bpej_ku`.`id_etapa` = '643') )) ) AS final_table Connection ID (thread ID): 100 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 10:45:42 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 10:45:42 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 10:45:42 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 10:45:42 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 10:45:42 0 [Note] InnoDB: Uses event mutexes 2020-11-02 10:45:42 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 10:45:42 0 [Note] InnoDB: Number of pools: 1 2020-11-02 10:45:42 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 10:45:42 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 10:45:42 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 10:45:44 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 10:45:44 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 10:45:44 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058268137426 2020-11-02 10:45:44 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 10:45:44 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 10:45:44 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 10:45:44 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 10:45:44 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 10:45:44 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 10:45:44 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 10:45:45 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058268137435; transaction id 236781769 2020-11-02 10:45:45 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 10:45:45 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 10:45:45 0 [Note] Server socket created on IP: '::'. 2020-11-02 10:45:45 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 10:45:45 0 [Note] Added new Master_info '' to hash table 2020-11-02 10:45:45 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 10:46:16 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 10:46:16 2020-11-02 10:48:32 115 [ERROR] mysqld: Can't find record in 'slow_log' 2020-11-02 10:48:32 115 [ERROR] Failed to write to mysql.slow_log: Can't find record in 'slow_log' 201102 10:51:23 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=11 max_threads=102 thread_count=17 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f7a84000c08 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 = 0x7f7f4809edd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55b3c9ef4a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55b3c99eb26d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f7f6ed47730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55b3c98161b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55b3c9838ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55b3c983e908] /usr/sbin/mysqld(+0x652065)[0x55b3c97a7065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55b3c97a68d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55b3c97c12a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55b3c98a6006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55b3c97c12a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55b3c9838eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55b3c983d1da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55b3c983e8eb] /usr/sbin/mysqld(+0x652065)[0x55b3c97a7065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55b3c97a68d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x55b3c983c00c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55b3c983e8eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55b3c983f3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55b3c983fd21] /usr/sbin/mysqld(+0x6847ac)[0x55b3c97d97ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55b3c97e1aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55b3c97e9029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55b3c97eb5b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55b3c97ecc1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55b3c98ccd7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55b3c98cce4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f7f6ed3cfa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f7f6e2514cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f7a84012280): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly` FROM `x_bpej_ku` AS `x588_x_bpej_ku` WHERE (((`x588_x_bpej_ku`.`id_etapa` = '643') )) ) AS final_table Connection ID (thread ID): 382 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 10:51:29 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 10:51:29 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 10:51:29 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 10:51:29 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 10:51:29 0 [Note] InnoDB: Uses event mutexes 2020-11-02 10:51:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 10:51:29 0 [Note] InnoDB: Number of pools: 1 2020-11-02 10:51:29 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 10:51:29 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 10:51:29 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 10:51:31 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 10:51:31 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 10:51:31 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058347342967 2020-11-02 10:51:31 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 10:51:31 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 10:51:31 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 10:51:31 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 10:51:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 10:51:31 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 10:51:31 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058347342976; transaction id 236782225 2020-11-02 10:51:31 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 10:51:31 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 10:51:31 0 [Note] Server socket created on IP: '::'. 2020-11-02 10:51:32 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 10:51:32 0 [Note] Added new Master_info '' to hash table 2020-11-02 10:51:32 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 10:52:00 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 10:52:00 2020-11-02 10:56:55 202 [ERROR] mysqld: Can't find record in 'slow_log' 2020-11-02 10:56:55 202 [ERROR] Failed to write to mysql.slow_log: Can't find record in 'slow_log' 2020-11-02 10:57:57 0 [Note] /usr/sbin/mysqld (initiated by: unknown): Normal shutdown 2020-11-02 10:57:57 0 [Note] Event Scheduler: Purging the queue. 0 events 2020-11-02 10:57:57 0 [Note] InnoDB: FTS optimize thread exiting. 2020-11-02 10:57:57 457 [Note] InnoDB: Deferring DROP TABLE `gisa_erp_azimut_uniscache`.`temp_page_66`; renaming to gisa_erp_azimut_uniscache/#sql-ib161666 2020-11-02 10:57:59 0 [Note] InnoDB: Starting shutdown... 2020-11-02 10:57:59 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 2020-11-02 10:57:59 0 [Note] InnoDB: Buffer pool(s) dump completed at 201102 10:57:59 2020-11-02 10:58:01 0 [Note] InnoDB: Shutdown completed; log sequence number 1058533490155; transaction id 236783117 2020-11-02 10:58:01 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 10:58:01 0 [Note] /usr/sbin/mysqld: Shutdown complete 2020-11-02 10:58:02 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 10:58:02 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 10:58:02 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 10:58:02 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 10:58:02 0 [Note] InnoDB: Uses event mutexes 2020-11-02 10:58:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 10:58:02 0 [Note] InnoDB: Number of pools: 1 2020-11-02 10:58:02 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 10:58:02 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 10:58:02 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 10:58:03 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 10:58:03 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 10:58:04 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 10:58:04 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 10:58:04 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 10:58:04 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 10:58:04 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058533490155; transaction id 236783118 2020-11-02 10:58:04 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 10:58:04 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 10:58:04 0 [Note] Server socket created on IP: '::'. 2020-11-02 10:58:05 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 10:58:05 0 [Note] Added new Master_info '' to hash table 2020-11-02 10:58:05 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 10:58:46 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 10:58:46 201102 10:59:01 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=9 max_threads=102 thread_count=15 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f8818000c08 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 = 0x7f88c4504dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x563fb13c7a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x563fb0ebe26d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f8d02b54730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x563fb0ce91b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x563fb0d0bead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x563fb0d11908] /usr/sbin/mysqld(+0x652065)[0x563fb0c7a065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x563fb0c798d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x563fb0c942a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x563fb0d79006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x563fb0c942a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x563fb0d0beec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x563fb0d101da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x563fb0d118eb] /usr/sbin/mysqld(+0x652065)[0x563fb0c7a065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x563fb0c798d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x563fb0d0f00c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x563fb0d118eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x563fb0d123f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x563fb0d12d21] /usr/sbin/mysqld(+0x6847ac)[0x563fb0cac7ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x563fb0cb4aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x563fb0cbc029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x563fb0cbe5b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x563fb0cbfc1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x563fb0d9fd7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x563fb0d9fe4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f8d02b49fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f8d0205e4cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f8818012280): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly` FROM `x_bpej_ku` AS `x588_x_bpej_ku` WHERE (((`x588_x_bpej_ku`.`id_etapa` = '643') )) ) AS final_table Connection ID (thread ID): 183 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 10:59:07 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 10:59:07 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 10:59:07 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 10:59:07 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 10:59:07 0 [Note] InnoDB: Uses event mutexes 2020-11-02 10:59:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 10:59:07 0 [Note] InnoDB: Number of pools: 1 2020-11-02 10:59:07 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 10:59:07 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 10:59:07 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 10:59:09 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 10:59:09 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 10:59:09 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058558027496 2020-11-02 10:59:09 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 10:59:09 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 10:59:09 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 10:59:09 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 10:59:09 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 10:59:09 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 10:59:09 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 10:59:09 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058558027505; transaction id 236783261 2020-11-02 10:59:09 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 10:59:09 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 10:59:09 0 [Note] Server socket created on IP: '::'. 2020-11-02 10:59:10 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 10:59:10 0 [Note] Added new Master_info '' to hash table 2020-11-02 10:59:10 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 10:59:42 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 10:59:42 201102 11:13:31 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=9 max_threads=102 thread_count=15 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f1e38000c08 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 = 0x7f1f1858cdd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x562ed5087a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x562ed4b7e26d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f235aca8730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x562ed49a91b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x562ed49cbead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x562ed49d1908] /usr/sbin/mysqld(+0x652065)[0x562ed493a065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x562ed49398d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x562ed49542a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x562ed4a39006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x562ed49542a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x562ed4a39006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x562ed49542a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x562ed4a39006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x562ed49542a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x562ed49cbeec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x562ed49d01da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x562ed49d18eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x562ed49d23f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x562ed49d2d21] /usr/sbin/mysqld(+0x6847ac)[0x562ed496c7ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x562ed4974aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x562ed497c029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x562ed497e5b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x562ed497fc1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x562ed4a5fd7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x562ed4a5fe4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f235ac9dfa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f235a1b24cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f1e3800ff90): SELECT final_table.* FROM (SELECT `x567_g_podlazi_etapa`.`id` AS `x5053_id`, `x567_g_podlazi_etapa`.`id_budova` AS `x5054_id_budova`, `x567_g_podlazi_etapa`.`nazev` AS `x5057_nazev`, `x567_g_podlazi_etapa`.`id_stupen` AS `x5066_id_stupen`, `x567_g_podlazi_etapa`.`aktivni` AS `x5067_aktivni`, `x568_g_budova_uzemi`.`nazev` AS `x5071_nazev`, `x568_g_budova_uzemi`.`id` AS `x5068_id`, `x568_g_budova_uzemi`.`id_areal` AS `x5069_id_areal`, `x568_g_budova_uzemi`.`kod` AS `x5070_kod`, `x569_g_uzemi`.`uzemi` AS `x5081_uzemi`, `x569_g_uzemi`.`id_uzemi` AS `x5078_id_uzemi`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly` AS `x9192_trvaly`, `x839_x_rekapitulace_zaboru_zpf`.`nad1rok` AS `x9197_nad1rok`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_obec` AS `x9195_trvaly_obec`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_rsd` AS `x9193_trvaly_rsd`, `x839_x_rekapitulace_zaboru_zpf`.`zahrnout` AS `x9198_zahrnout`, `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` AS `x9185_id_etapa`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_firma` AS `x9196_trvaly_firma`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_kraj` AS `x9194_trvaly_kraj` FROM `g_podlazi_etapa` AS `x567_g_podlazi_etapa` INNER JOIN `g_budova_uzemi` AS `x568_g_budova_uzemi` ON `x567_g_podlazi_etapa`.`id_budova` = `x568_g_budova_uzemi`.`id` INNER JOIN `g_uzemi` AS `x569_g_uzemi` ON `x568_g_budova_uzemi`.`kod` = `x569_g_uzemi`.`id_uzemi` INNER JOIN `x_rekapitulace_zaboru_zpf` AS `x839_x_rekapitulace_zaboru_zpf` ON `x567_g_podlazi_etapa`.`id` = `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` ) AS final_table WHERE (((`x5069_id_areal` = '87') )) Connection ID (thread ID): 769 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 11:13:38 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 11:13:38 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 11:13:38 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 11:13:38 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 11:13:38 0 [Note] InnoDB: Uses event mutexes 2020-11-02 11:13:38 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 11:13:38 0 [Note] InnoDB: Number of pools: 1 2020-11-02 11:13:38 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 11:13:38 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 11:13:38 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 11:13:39 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 11:13:39 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 11:13:39 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058692014912 2020-11-02 11:13:40 0 [Note] InnoDB: 1 transaction(s) which must be rolled back or cleaned up in total 13764 row operations to undo 2020-11-02 11:13:40 0 [Note] InnoDB: Trx id counter is 236784156 2020-11-02 11:13:40 0 [Note] InnoDB: Starting final batch to recover 586 pages from redo log. 2020-11-02 11:13:40 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 11:13:41 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 11:13:41 0 [Note] InnoDB: Starting in background the rollback of recovered transactions 2020-11-02 11:13:41 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 11:13:41 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 11:13:41 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 11:13:41 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 11:13:41 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058703678206; transaction id 236784158 2020-11-02 11:13:41 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 11:13:41 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 11:13:41 0 [Note] Server socket created on IP: '::'. 2020-11-02 11:13:41 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 11:13:41 0 [Note] Added new Master_info '' to hash table 2020-11-02 11:13:41 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 11:13:41 0 [Note] InnoDB: Rolled back recovered transaction 236784151 2020-11-02 11:13:41 0 [Note] InnoDB: Rollback of non-prepared transactions completed 2020-11-02 11:14:22 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 11:14:22 201102 11:14:23 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=8 max_threads=102 thread_count=14 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fd5d4000c08 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 = 0x7fdaf4ccedd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x5577d172fa3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x5577d122626d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fdaf9284730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x5577d10511b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x5577d1073ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x5577d1079908] /usr/sbin/mysqld(+0x652065)[0x5577d0fe2065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x5577d0fe18d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5577d0ffc2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x5577d10e1006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5577d0ffc2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x5577d10e1006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5577d0ffc2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x5577d10e1006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5577d0ffc2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x5577d1073eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x5577d10781da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x5577d10798eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x5577d107a3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x5577d107ad21] /usr/sbin/mysqld(+0x6847ac)[0x5577d10147ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x5577d101caed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x5577d1024029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x5577d10265b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x5577d1027c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x5577d1107d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x5577d1107e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fdaf9279fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fdaf878e4cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fd5d400ff90): SELECT final_table.* FROM (SELECT `x567_g_podlazi_etapa`.`id` AS `x5053_id`, `x567_g_podlazi_etapa`.`id_budova` AS `x5054_id_budova`, `x567_g_podlazi_etapa`.`nazev` AS `x5057_nazev`, `x567_g_podlazi_etapa`.`id_stupen` AS `x5066_id_stupen`, `x567_g_podlazi_etapa`.`aktivni` AS `x5067_aktivni`, `x568_g_budova_uzemi`.`nazev` AS `x5071_nazev`, `x568_g_budova_uzemi`.`id` AS `x5068_id`, `x568_g_budova_uzemi`.`id_areal` AS `x5069_id_areal`, `x568_g_budova_uzemi`.`kod` AS `x5070_kod`, `x569_g_uzemi`.`uzemi` AS `x5081_uzemi`, `x569_g_uzemi`.`id_uzemi` AS `x5078_id_uzemi`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_obec` AS `x9195_trvaly_obec`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_rsd` AS `x9193_trvaly_rsd`, `x839_x_rekapitulace_zaboru_zpf`.`zahrnout` AS `x9198_zahrnout`, `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` AS `x9185_id_etapa`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_firma` AS `x9196_trvaly_firma`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_kraj` AS `x9194_trvaly_kraj`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly` AS `x9192_trvaly`, `x839_x_rekapitulace_zaboru_zpf`.`nad1rok` AS `x9197_nad1rok` FROM `g_podlazi_etapa` AS `x567_g_podlazi_etapa` INNER JOIN `g_budova_uzemi` AS `x568_g_budova_uzemi` ON `x567_g_podlazi_etapa`.`id_budova` = `x568_g_budova_uzemi`.`id` INNER JOIN `g_uzemi` AS `x569_g_uzemi` ON `x568_g_budova_uzemi`.`kod` = `x569_g_uzemi`.`id_uzemi` INNER JOIN `x_rekapitulace_zaboru_zpf` AS `x839_x_rekapitulace_zaboru_zpf` ON `x567_g_podlazi_etapa`.`id` = `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` ) AS final_table WHERE (((`x5069_id_areal` = '87') )) Connection ID (thread ID): 67 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 11:14:29 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 11:14:29 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 11:14:29 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 11:14:29 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 11:14:29 0 [Note] InnoDB: Uses event mutexes 2020-11-02 11:14:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 11:14:29 0 [Note] InnoDB: Number of pools: 1 2020-11-02 11:14:29 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 11:14:29 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 11:14:29 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 11:14:30 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 11:14:30 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 11:14:30 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058707176274 2020-11-02 11:14:30 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 11:14:31 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 11:14:31 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 11:14:31 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 11:14:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 11:14:31 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 11:14:31 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 11:14:31 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058707176283; transaction id 236784162 2020-11-02 11:14:31 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 11:14:31 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 11:14:31 0 [Note] Server socket created on IP: '::'. 2020-11-02 11:14:31 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 11:14:31 0 [Note] Added new Master_info '' to hash table 2020-11-02 11:14:31 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 11:15:09 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 11:15:09 201102 11:19:45 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=7 max_threads=102 thread_count=13 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f03b0000c08 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 = 0x7f0898a5ddd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x5598050aba3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x559804ba226d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f089cfd1730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x5598049cd1b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x5598049efead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x5598049f5908] /usr/sbin/mysqld(+0x652065)[0x55980495e065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55980495d8d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5598049782a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x559804a5d006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5598049782a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x559804a5d006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5598049782a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x559804a5d006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x5598049782a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x5598049efeec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x5598049f41da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x5598049f58eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x5598049f63f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x5598049f6d21] /usr/sbin/mysqld(+0x6847ac)[0x5598049907ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x559804998aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x5598049a0029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x5598049a25b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x5598049a3c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x559804a83d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x559804a83e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f089cfc6fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f089c4db4cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f03b0012280): SELECT final_table.* FROM (SELECT `x567_g_podlazi_etapa`.`id` AS `x5053_id`, `x567_g_podlazi_etapa`.`id_budova` AS `x5054_id_budova`, `x567_g_podlazi_etapa`.`nazev` AS `x5057_nazev`, `x567_g_podlazi_etapa`.`id_stupen` AS `x5066_id_stupen`, `x567_g_podlazi_etapa`.`aktivni` AS `x5067_aktivni`, `x568_g_budova_uzemi`.`nazev` AS `x5071_nazev`, `x568_g_budova_uzemi`.`id` AS `x5068_id`, `x568_g_budova_uzemi`.`id_areal` AS `x5069_id_areal`, `x568_g_budova_uzemi`.`kod` AS `x5070_kod`, `x569_g_uzemi`.`uzemi` AS `x5081_uzemi`, `x569_g_uzemi`.`id_uzemi` AS `x5078_id_uzemi`, `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` AS `x9185_id_etapa`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_firma` AS `x9196_trvaly_firma`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_kraj` AS `x9194_trvaly_kraj`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly` AS `x9192_trvaly`, `x839_x_rekapitulace_zaboru_zpf`.`nad1rok` AS `x9197_nad1rok`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_obec` AS `x9195_trvaly_obec`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_rsd` AS `x9193_trvaly_rsd`, `x839_x_rekapitulace_zaboru_zpf`.`zahrnout` AS `x9198_zahrnout` FROM `g_podlazi_etapa` AS `x567_g_podlazi_etapa` INNER JOIN `g_budova_uzemi` AS `x568_g_budova_uzemi` ON `x567_g_podlazi_etapa`.`id_budova` = `x568_g_budova_uzemi`.`id` INNER JOIN `g_uzemi` AS `x569_g_uzemi` ON `x568_g_budova_uzemi`.`kod` = `x569_g_uzemi`.`id_uzemi` INNER JOIN `x_rekapitulace_zaboru_zpf` AS `x839_x_rekapitulace_zaboru_zpf` ON `x567_g_podlazi_etapa`.`id` = `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` ) AS final_table WHERE (((`x5069_id_areal` = '87') )) Connection ID (thread ID): 306 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 11:19:51 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 11:19:51 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 11:19:51 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 11:19:51 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 11:19:51 0 [Note] InnoDB: Uses event mutexes 2020-11-02 11:19:51 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 11:19:51 0 [Note] InnoDB: Number of pools: 1 2020-11-02 11:19:51 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 11:19:51 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 11:19:51 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 11:19:52 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 11:19:52 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 11:19:52 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058741760635 2020-11-02 11:19:53 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 11:19:53 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 11:19:53 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 11:19:53 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 11:19:53 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 11:19:53 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 11:19:53 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 11:19:53 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058741760644; transaction id 236784424 2020-11-02 11:19:53 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 11:19:53 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 11:19:53 0 [Note] Server socket created on IP: '::'. 2020-11-02 11:19:53 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 11:19:53 0 [Note] Added new Master_info '' to hash table 2020-11-02 11:19:53 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 11:20:29 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 11:20:29 201102 11:21:05 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=6 max_threads=102 thread_count=12 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fe288000c08 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 = 0x7fe75859fdd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55efc65dba3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55efc60d226d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fe781812730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55efc5efd1b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55efc5f1fead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55efc5f25908] /usr/sbin/mysqld(+0x652065)[0x55efc5e8e065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55efc5e8d8d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55efc5ea82a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55efc5f8d006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55efc5ea82a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55efc5f8d006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55efc5ea82a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55efc5f8d006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55efc5ea82a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55efc5f1feec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55efc5f241da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55efc5f258eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55efc5f263f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55efc5f26d21] /usr/sbin/mysqld(+0x6847ac)[0x55efc5ec07ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55efc5ec8aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55efc5ed0029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55efc5ed25b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55efc5ed3c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55efc5fb3d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55efc5fb3e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fe781807fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fe780d1c4cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fe2880101a0): SELECT final_table.* FROM ( SELECT `x567_g_podlazi_etapa`.`id` AS `x5053_id`, `x567_g_podlazi_etapa`.`id_budova` AS `x5054_id_budova`, `x567_g_podlazi_etapa`.`nazev` AS `x5057_nazev`, `x567_g_podlazi_etapa`.`id_stupen` AS `x5066_id_stupen`, `x567_g_podlazi_etapa`.`aktivni` AS `x5067_aktivni`, `x568_g_budova_uzemi`.`nazev` AS `x5071_nazev`, `x568_g_budova_uzemi`.`id` AS `x5068_id`, `x568_g_budova_uzemi`.`id_areal` AS `x5069_id_areal`, `x568_g_budova_uzemi`.`kod` AS `x5070_kod`, `x569_g_uzemi`.`uzemi` AS `x5081_uzemi`, `x569_g_uzemi`.`id_uzemi` AS `x5078_id_uzemi`, `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` AS `x9185_id_etapa`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_firma` AS `x9196_trvaly_firma`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_kraj` AS `x9194_trvaly_kraj`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly` AS `x9192_trvaly`, `x839_x_rekapitulace_zaboru_zpf`.`nad1rok` AS `x9197_nad1rok`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_obec` AS `x9195_trvaly_obec`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_rsd` AS `x9193_trvaly_rsd`, `x839_x_rekapitulace_zaboru_zpf`.`zahrnout` AS `x9198_zahrnout` FROM `g_podlazi_etapa` AS `x567_g_podlazi_etapa` INNER JOIN `g_budova_uzemi` AS `x568_g_budova_uzemi` ON `x567_g_podlazi_etapa`.`id_budova` = `x568_g_budova_uzemi`.`id` INNER JOIN `g_uzemi` AS `x569_g_uzemi` ON `x568_g_budova_uzemi`.`kod` = `x569_g_uzemi`.`id_uzemi` INNER JOIN `x_rekapitulace_zaboru_zpf` AS `x839_x_rekapitulace_zaboru_zpf` ON `x567_g_podlazi_etapa`.`id` = `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` ) AS final_table WHERE (((`x5069_id_areal` = '87') )) Connection ID (thread ID): 126 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 11:21:11 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 11:21:11 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 11:21:11 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 11:21:11 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 11:21:11 0 [Note] InnoDB: Uses event mutexes 2020-11-02 11:21:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 11:21:11 0 [Note] InnoDB: Number of pools: 1 2020-11-02 11:21:11 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 11:21:11 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 11:21:11 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 11:21:12 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 11:21:12 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 11:21:12 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1058751837346 2020-11-02 11:21:13 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 11:21:13 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 11:21:13 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 11:21:13 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 11:21:13 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 11:21:13 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 11:21:13 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 11:21:13 0 [Note] InnoDB: 10.4.8 started; log sequence number 1058751837355; transaction id 236784583 2020-11-02 11:21:13 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 11:21:13 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 11:21:13 0 [Note] Server socket created on IP: '::'. 2020-11-02 11:21:13 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 11:21:13 0 [Note] Added new Master_info '' to hash table 2020-11-02 11:21:13 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 11:21:45 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 11:21:45 2020-11-02 12:19:51 2564 [ERROR] mysqld: Can't find record in 'slow_log' 2020-11-02 12:19:51 2564 [ERROR] Failed to write to mysql.slow_log: Can't find record in 'slow_log' 2020-11-02 12:22:17 2856 [ERROR] mysqld: Can't find record in 'slow_log' 2020-11-02 12:22:17 2856 [ERROR] Failed to write to mysql.slow_log: Can't find record in 'slow_log' 2020-11-02 12:25:41 3267 [ERROR] mysqld: Can't find record in 'slow_log' 2020-11-02 12:25:41 3267 [ERROR] Failed to write to mysql.slow_log: Can't find record in 'slow_log' 201102 12:40:07 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=11 max_threads=102 thread_count=17 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f0d24000e78 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 = 0x7f1244098dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x56385e732a3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x56385e22926d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f124885e730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x56385e0541b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x56385e076ead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x56385e07c908] /usr/sbin/mysqld(+0x652065)[0x56385dfe5065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x56385dfe48d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56385dfff2a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x56385e0e4006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x56385dfff2a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x56385e076eec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x56385e07b1da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x56385e07c8eb] /usr/sbin/mysqld(+0x652065)[0x56385dfe5065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x56385dfe48d5] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0xc2c)[0x56385e07a00c] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x56385e07c8eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x56385e07d3f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x56385e07dd21] /usr/sbin/mysqld(+0x6847ac)[0x56385e0177ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x56385e01faed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x56385e027029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x56385e0295b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x56385e02ac1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x56385e10ad7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x56385e10ae4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f1248853fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f1247d684cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f0d240101f0): SELECT final_table.* FROM (SELECT `x588_x_bpej_ku`.`trvaly_druhpoz2_rsd` AS `x9060_trvaly_druhpoz2_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7_obec` AS `x9092_trvaly_druhpoz7_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz99_kraj` AS `x9097_trvaly_druhpoz99_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3` AS `x9065_trvaly_druhpoz3`, `x588_x_bpej_ku`.`nad1rok_druhpoz3` AS `x9070_nad1rok_druhpoz3`, `x588_x_bpej_ku`.`trvaly_druhpoz4_firma` AS `x9075_trvaly_druhpoz4_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz5_obec` AS `x9080_trvaly_druhpoz5_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz6_kraj` AS `x9085_trvaly_druhpoz6_kraj`, `x588_x_bpej_ku`.`trvaly_firma` AS `x9058_trvaly_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz7_rsd` AS `x9090_trvaly_druhpoz7_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz2_firma` AS `x9063_trvaly_druhpoz2_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz99` AS `x9095_trvaly_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz3_obec` AS `x9068_trvaly_druhpoz3_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz99` AS `x9100_nad1rok_druhpoz99`, `x588_x_bpej_ku`.`trvaly_druhpoz4_kraj` AS `x9073_trvaly_druhpoz4_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz5_rsd` AS `x9078_trvaly_druhpoz5_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6` AS `x9083_trvaly_druhpoz6`, `x588_x_bpej_ku`.`trvaly_kraj` AS `x9056_trvaly_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz6` AS `x9088_nad1rok_druhpoz6`, `x588_x_bpej_ku`.`trvaly_druhpoz7_firma` AS `x9093_trvaly_druhpoz7_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz2_kraj` AS `x9061_trvaly_druhpoz2_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz3_rsd` AS `x9066_trvaly_druhpoz3_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz99_obec` AS `x9098_trvaly_druhpoz99_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz4` AS `x9071_trvaly_druhpoz4`, `x588_x_bpej_ku`.`nad1rok_druhpoz4` AS `x9076_nad1rok_druhpoz4`, `x588_x_bpej_ku`.`trvaly_druhpoz5_firma` AS `x9081_trvaly_druhpoz5_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz6_obec` AS `x9086_trvaly_druhpoz6_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2` AS `x9059_trvaly_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz7_kraj` AS `x9091_trvaly_druhpoz7_kraj`, `x588_x_bpej_ku`.`nad1rok_druhpoz2` AS `x9064_nad1rok_druhpoz2`, `x588_x_bpej_ku`.`trvaly_druhpoz99_rsd` AS `x9096_trvaly_druhpoz99_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz3_firma` AS `x9069_trvaly_druhpoz3_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_obec` AS `x9074_trvaly_druhpoz4_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz5_kraj` AS `x9079_trvaly_druhpoz5_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz6_rsd` AS `x9084_trvaly_druhpoz6_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz7` AS `x9089_trvaly_druhpoz7`, `x588_x_bpej_ku`.`trvaly_obec` AS `x9057_trvaly_obec`, `x588_x_bpej_ku`.`trvaly_druhpoz2_obec` AS `x9062_trvaly_druhpoz2_obec`, `x588_x_bpej_ku`.`nad1rok_druhpoz7` AS `x9094_nad1rok_druhpoz7`, `x588_x_bpej_ku`.`trvaly_druhpoz3_kraj` AS `x9067_trvaly_druhpoz3_kraj`, `x588_x_bpej_ku`.`trvaly_druhpoz99_firma` AS `x9099_trvaly_druhpoz99_firma`, `x588_x_bpej_ku`.`trvaly_druhpoz4_rsd` AS `x9072_trvaly_druhpoz4_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz5` AS `x9077_trvaly_druhpoz5`, `x588_x_bpej_ku`.`nad1rok_druhpoz5` AS `x9082_nad1rok_druhpoz5`, `x588_x_bpej_ku`.`trvaly_rsd` AS `x9055_trvaly_rsd`, `x588_x_bpej_ku`.`trvaly_druhpoz6_firma` AS `x9087_trvaly_druhpoz6_firma`, `x588_x_bpej_ku`.`stavba` AS `x5398_stavba`, `x588_x_bpej_ku`.`ku` AS `x5399_ku`, `x588_x_bpej_ku`.`obec` AS `x5400_obec`, `x588_x_bpej_ku`.`kraj` AS `x5401_kraj`, `x588_x_bpej_ku`.`id_etapa` AS `x5402_id_etapa`, `x588_x_bpej_ku`.`bpej` AS `x5403_bpej`, `x588_x_bpej_ku`.`trvaly` AS `x5404_trvaly`, `x588_x_bpej_ku`.`nad1rok` AS `x5405_nad1rok` FROM `x_bpej_ku` AS `x588_x_bpej_ku` ) AS final_table WHERE (((`x5402_id_etapa` = '643') )) Connection ID (thread ID): 4757 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 12:40:14 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 12:40:14 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 12:40:14 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 12:40:14 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 12:40:14 0 [Note] InnoDB: Uses event mutexes 2020-11-02 12:40:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 12:40:14 0 [Note] InnoDB: Number of pools: 1 2020-11-02 12:40:14 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 12:40:14 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 12:40:14 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 12:40:16 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 12:40:16 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 12:40:16 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1059207338399 2020-11-02 12:40:17 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 12:40:17 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 12:40:17 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 12:40:17 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 12:40:17 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 12:40:17 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 12:40:17 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 12:40:17 0 [Note] InnoDB: 10.4.8 started; log sequence number 1059207338408; transaction id 236788075 2020-11-02 12:40:17 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 12:40:17 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 12:40:17 0 [Note] Server socket created on IP: '::'. 2020-11-02 12:40:17 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 12:40:17 0 [Note] Added new Master_info '' to hash table 2020-11-02 12:40:17 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 12:40:51 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 12:40:51 201102 13:22:08 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=8 max_threads=102 thread_count=14 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7fcad0000e78 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 = 0x7fd0402d9dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55fb7f40aa3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55fb7ef0126d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fd043bce730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55fb7ed2c1b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55fb7ed4eead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55fb7ed54908] /usr/sbin/mysqld(+0x652065)[0x55fb7ecbd065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55fb7ecbc8d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55fb7ecd72a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55fb7edbc006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55fb7ecd72a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55fb7edbc006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55fb7ecd72a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55fb7edbc006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55fb7ecd72a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55fb7ed4eeec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55fb7ed531da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55fb7ed548eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55fb7ed553f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55fb7ed55d21] /usr/sbin/mysqld(+0x6847ac)[0x55fb7ecef7ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55fb7ecf7aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55fb7ecff029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55fb7ed015b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55fb7ed02c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55fb7ede2d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55fb7ede2e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fd043bc3fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fd0430d84cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fcad0010200): SELECT final_table.* FROM (SELECT `x567_g_podlazi_etapa`.`id` AS `x5053_id`, `x567_g_podlazi_etapa`.`id_budova` AS `x5054_id_budova`, `x567_g_podlazi_etapa`.`nazev` AS `x5057_nazev`, `x567_g_podlazi_etapa`.`id_stupen` AS `x5066_id_stupen`, `x567_g_podlazi_etapa`.`aktivni` AS `x5067_aktivni`, `x568_g_budova_uzemi`.`nazev` AS `x5071_nazev`, `x568_g_budova_uzemi`.`id` AS `x5068_id`, `x568_g_budova_uzemi`.`id_areal` AS `x5069_id_areal`, `x568_g_budova_uzemi`.`kod` AS `x5070_kod`, `x569_g_uzemi`.`uzemi` AS `x5081_uzemi`, `x569_g_uzemi`.`id_uzemi` AS `x5078_id_uzemi`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_kraj` AS `x9194_trvaly_kraj`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly` AS `x9192_trvaly`, `x839_x_rekapitulace_zaboru_zpf`.`nad1rok` AS `x9197_nad1rok`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_obec` AS `x9195_trvaly_obec`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_rsd` AS `x9193_trvaly_rsd`, `x839_x_rekapitulace_zaboru_zpf`.`zahrnout` AS `x9198_zahrnout`, `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` AS `x9185_id_etapa`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_firma` AS `x9196_trvaly_firma` FROM `g_podlazi_etapa` AS `x567_g_podlazi_etapa` INNER JOIN `g_budova_uzemi` AS `x568_g_budova_uzemi` ON `x567_g_podlazi_etapa`.`id_budova` = `x568_g_budova_uzemi`.`id` INNER JOIN `g_uzemi` AS `x569_g_uzemi` ON `x568_g_budova_uzemi`.`kod` = `x569_g_uzemi`.`id_uzemi` INNER JOIN `x_rekapitulace_zaboru_zpf` AS `x839_x_rekapitulace_zaboru_zpf` ON `x567_g_podlazi_etapa`.`id` = `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` ) AS final_table WHERE (((`x5069_id_areal` = '87') )) Connection ID (thread ID): 2623 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 13:22:15 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 13:22:15 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 13:22:15 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 13:22:15 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 13:22:15 0 [Note] InnoDB: Uses event mutexes 2020-11-02 13:22:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 13:22:15 0 [Note] InnoDB: Number of pools: 1 2020-11-02 13:22:15 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 13:22:15 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 13:22:15 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 13:22:17 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 13:22:17 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 13:22:18 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1059383311510 2020-11-02 13:22:19 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 13:22:19 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 13:22:19 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 13:22:19 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 13:22:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 13:22:19 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 13:22:19 0 [Note] InnoDB: 10.4.8 started; log sequence number 1059383311519; transaction id 236790682 2020-11-02 13:22:19 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 13:22:19 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 13:22:19 0 [Note] Server socket created on IP: '::'. 2020-11-02 13:22:19 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 13:22:19 0 [Note] Added new Master_info '' to hash table 2020-11-02 13:22:19 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 13:22:52 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 13:22:52 201102 13:29:49 [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.8-MariaDB-1:10.4.8+maria~buster-log key_buffer_size=402653184 read_buffer_size=1048576 max_used_connections=7 max_threads=102 thread_count=13 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 604594 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f5710000c08 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 = 0x7f5bd4379dd8 thread_stack 0x40000 /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55a6d592aa3e] /usr/sbin/mysqld(handle_fatal_signal+0x54d)[0x55a6d542126d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f5bfe641730] /usr/sbin/mysqld(_ZN4JOIN20get_best_combinationEv+0x196)[0x55a6d524c1b6] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x14d)[0x55a6d526eead] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0xb8)[0x55a6d5274908] /usr/sbin/mysqld(+0x652065)[0x55a6d51dd065] /usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x105)[0x55a6d51dc8d5] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a6d51f72a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55a6d52dc006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a6d51f72a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55a6d52dc006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a6d51f72a7] /usr/sbin/mysqld(_ZN10TABLE_LIST14handle_derivedEP3LEXj+0x56)[0x55a6d52dc006] /usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a6d51f72a7] /usr/sbin/mysqld(_ZN4JOIN15optimize_stage2Ev+0x18c)[0x55a6d526eeec] /usr/sbin/mysqld(_ZN4JOIN14optimize_innerEv+0x1dfa)[0x55a6d52731da] /usr/sbin/mysqld(_ZN4JOIN8optimizeEv+0x9b)[0x55a6d52748eb] /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xe0)[0x55a6d52753f0] /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x151)[0x55a6d5275d21] /usr/sbin/mysqld(+0x6847ac)[0x55a6d520f7ac] /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x17bd)[0x55a6d5217aed] /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x219)[0x55a6d521f029] /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1546)[0x55a6d52215b6] /usr/sbin/mysqld(_Z10do_commandP3THD+0x15e)[0x55a6d5222c1e] /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x55a6d5302d7e] /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55a6d5302e4d] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f5bfe636fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f5bfdb4b4cf] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f571000ff90): SELECT final_table.* FROM (SELECT `x567_g_podlazi_etapa`.`id` AS `x5053_id`, `x567_g_podlazi_etapa`.`id_budova` AS `x5054_id_budova`, `x567_g_podlazi_etapa`.`nazev` AS `x5057_nazev`, `x567_g_podlazi_etapa`.`id_stupen` AS `x5066_id_stupen`, `x567_g_podlazi_etapa`.`aktivni` AS `x5067_aktivni`, `x568_g_budova_uzemi`.`nazev` AS `x5071_nazev`, `x568_g_budova_uzemi`.`id` AS `x5068_id`, `x568_g_budova_uzemi`.`id_areal` AS `x5069_id_areal`, `x568_g_budova_uzemi`.`kod` AS `x5070_kod`, `x569_g_uzemi`.`uzemi` AS `x5081_uzemi`, `x569_g_uzemi`.`id_uzemi` AS `x5078_id_uzemi`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_kraj` AS `x9194_trvaly_kraj`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly` AS `x9192_trvaly`, `x839_x_rekapitulace_zaboru_zpf`.`nad1rok` AS `x9197_nad1rok`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_obec` AS `x9195_trvaly_obec`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_rsd` AS `x9193_trvaly_rsd`, `x839_x_rekapitulace_zaboru_zpf`.`zahrnout` AS `x9198_zahrnout`, `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` AS `x9185_id_etapa`, `x839_x_rekapitulace_zaboru_zpf`.`trvaly_firma` AS `x9196_trvaly_firma` FROM `g_podlazi_etapa` AS `x567_g_podlazi_etapa` INNER JOIN `g_budova_uzemi` AS `x568_g_budova_uzemi` ON `x567_g_podlazi_etapa`.`id_budova` = `x568_g_budova_uzemi`.`id` INNER JOIN `g_uzemi` AS `x569_g_uzemi` ON `x568_g_budova_uzemi`.`kod` = `x569_g_uzemi`.`id_uzemi` INNER JOIN `x_rekapitulace_zaboru_zpf` AS `x839_x_rekapitulace_zaboru_zpf` ON `x567_g_podlazi_etapa`.`id` = `x839_x_rekapitulace_zaboru_zpf`.`id_etapa` ) AS final_table WHERE (((`x5069_id_areal` = '87') )) Connection ID (thread ID): 787 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 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 /var/lib/mysql 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 unlimited bytes Max resident set unlimited unlimited bytes Max processes 96297 96297 processes Max open files 1048576 1048576 files Max locked memory unlimited unlimited bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 96297 96297 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 2020-11-02 13:29:55 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ 2020-11-02 13:29:55 0 [Warning] InnoDB: Using innodb_locks_unsafe_for_binlog is DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead; Please refer to https://mariadb.com/kb/en/library/set-transaction/ 2020-11-02 13:29:55 0 [Note] InnoDB: Using Linux native AIO 2020-11-02 13:29:55 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-11-02 13:29:55 0 [Note] InnoDB: Uses event mutexes 2020-11-02 13:29:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-11-02 13:29:55 0 [Note] InnoDB: Number of pools: 1 2020-11-02 13:29:55 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-11-02 13:29:55 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) 2020-11-02 13:29:55 0 [Note] InnoDB: Initializing buffer pool, total size = 16G, instances = 16, chunk size = 128M 2020-11-02 13:29:56 0 [Note] InnoDB: Completed initialization of buffer pool 2020-11-02 13:29:56 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-11-02 13:29:56 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1059394321540 2020-11-02 13:29:57 0 [Note] InnoDB: Last binlog file '/var/log/mysql/mariadb-bin.000035', position 111003404 2020-11-02 13:29:57 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-11-02 13:29:57 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2020-11-02 13:29:57 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-11-02 13:29:57 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-11-02 13:29:57 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2020-11-02 13:29:57 0 [Note] InnoDB: Waiting for purge to start 2020-11-02 13:29:57 0 [Note] InnoDB: 10.4.8 started; log sequence number 1059394321549; transaction id 236791586 2020-11-02 13:29:57 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-11-02 13:29:57 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-11-02 13:29:57 0 [Note] Server socket created on IP: '::'. 2020-11-02 13:29:57 0 [Note] Reading of all Master_info entries succeeded 2020-11-02 13:29:57 0 [Note] Added new Master_info '' to hash table 2020-11-02 13:29:57 0 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.4.8-MariaDB-1:10.4.8+maria~buster-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 2020-11-02 13:30:31 0 [Note] InnoDB: Buffer pool(s) load completed at 201102 13:30:31