Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Incomplete
-
10.4.6, 10.4.8
Description
-10-20 11:58:18 0x7f2e0df32700 InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.4.8/storage/innobase/lock/lo
ck0lock.cc line 6895
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/
InnoDB: about forcing recovery.
191020 11:58:18 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Server version: 10.4.8-MariaDB-log
key_buffer_size=67108864
read_buffer_size=2097152
max_used_connections=245
max_threads=2002
thread_count=256
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 20615196 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f2d8824abe8
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 = 0x7f2e0df31cc0 thread_stack 0x30000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x558d0fd4183e]
/usr/sbin/mysqld(handle_fatal_signal+0x30f)[0x558d0f7d7e0f]
/lib64/libpthread.so.0(+0xf5d0)[0x7f34c688c5d0]
/lib64/libc.so.6(gsignal+0x37)[0x7f34c4b5f2c7]
/lib64/libc.so.6(abort+0x148)[0x7f34c4b609b8]
/usr/sbin/mysqld(+0x5a0542)[0x558d0f4d3542]
/usr/sbin/mysqld(+0xa968a3)[0x558d0f9c98a3]
/usr/sbin/mysqld(+0xa969bb)[0x558d0f9c99bb]
/usr/sbin/mysqld(+0xa9776a)[0x558d0f9ca76a]
/usr/sbin/mysqld(+0xa97c33)[0x558d0f9cac33]
/usr/sbin/mysqld(+0x59f798)[0x558d0f4d2798]
/usr/sbin/mysqld(+0xb338b9)[0x558d0fa668b9]
/usr/sbin/mysqld(+0xa52c87)[0x558d0f985c87]
/usr/sbin/mysqld(_ZN7handler17ha_index_read_mapEPhPKhm16ha_rkey_function+0x94)[0x558d0f7dd194]
/usr/sbin/mysqld(+0x6e0127)[0x558d0f613127]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x1a9)[0x558d0f604dd9]
/usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0xb9c)[0x558d0f6274cc]
/usr/sbin/mysqld(_ZN4JOIN4execEv+0x33)[0x558d0f627723]
/usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x186)[0x558d0f625a26]
/usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x1d7)[0x558d0f626597]
/usr/sbin/mysqld(+0x58dd2a)[0x558d0f4c0d2a]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x4591)[0x558d0f5cd641]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x24b)[0x558d0f5d251b]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1c3e)[0x558d0f5d539e]
/usr/sbin/mysqld(_Z10do_commandP3THD+0x11c)[0x558d0f5d6aac]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1fa)[0x558d0f6b418a]
/usr/sbin/mysqld(handle_one_connection+0x3d)[0x558d0f6b426d]
/usr/sbin/mysqld(+0xdc124d)[0x558d0fcf424d]
/lib64/libpthread.so.0(+0x7dd5)[0x7f34c6884dd5]
/lib64/libc.so.6(clone+0x6d)[0x7f34c4c2702d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f2d8825f710): select guid from naumen_prj_out . calls_queue where prj_id in(231) AND call_up is null and dt_change <> '2019-10-20 11:58:01' for update
Connection ID (thread ID): 956207
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 63375 63375 processes
Max open files 16364 16364 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 63375 63375 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
Attachments
Issue Links
- relates to
-
MDEV-20870 InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.4.8/storage/innobase/trx/trx 0trx.cc line 1386
- Closed