percona 5.7.18-16 crash (btr_insert_on_non_leaf_level_funcm)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Expired
|
Undecided
|
Unassigned |
Bug Description
We use Percona on more than 300 servers. We have the latest version of 5.7.18-16
Crach report:
2017-08-16 19:17:49 0x7ff112dfb700 InnoDB: Assertion failure in thread 140673380497152 in file btr0btr.cc line 2196
InnoDB: Failing assertion: err == DB_SUCCESS
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://
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: http://
InnoDB: about forcing recovery.
16:17:49 UTC - 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.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_
read_buffer_
max_used_
max_threads=310
thread_count=12
connection_count=12
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7ff00891b180 db: ibraal_magas
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 = 7ff112dfae40 thread_stack 0x200000
/usr/bin/
/usr/bin/
/lib/x86_
/lib/x86_
/lib/x86_
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/lib/x86_
/lib/x86_
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7ff0089b0580): SELECT p.*, u.nickname as author, u.login, u.is_deleted, b.allow_who as blog_allow_who, b.seolink as bloglink, b.title as blog_title, b.owner as owner FROM cms_blog_posts p INNER JOIN cms_blogs b ON b.id = p.blog_id LEFT JOIN cms_users u ON u.id = p.user_id WHERE p.published = 1 AND b.owner = 'user' AND (b.allow_who = 'all') AND (p.allow_who = 'all') ORDER BY p.pubdate DESC LIMIT 0, 50
Connection ID (thread ID): 1719077
Status: NOT_KILLED
You may download the Percona Server operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
MySQL configuration:
#######
# Main config
#######
[mysqld]
#######
# Common
#######
# wait timeout (drop long sleeping clients)
interactive_timeout = 30
wait_timeout = 30
# system setting
user = mysql
pid-file = /var/run/
socket = /var/run/
basedir = /usr
datadir = /home/mysql
tmpdir = /home/tmpfs
# bind settings
# see conf.d
# external locking for myisam tables
skip_external_
delay_key_write = ON
# default character set
character-
collation-server = utf8_general_ci
# threads settings
thread_stack = 2048K
thread_cache_size = 68
# extra connections
extra_port = 3308
extra_max_
# connections
max_user_
max_connections = 300
back_log = 20000
# beget cgroups
# per-connections buffers
# (join_buffer_size + read_buffer_size + sort_buffer_size + read_rnd_
# (2703491 + 5406982 + 8110473 + 8110473) * 300 = 7299425700
join_buffer_size = 2703491
read_buffer_size = 5406982
read_rnd_
sort_buffer_size = 8110473
# disable query cache
# (due to global mutex we may have degraded performance in high concurrence environment)
query_cache_type = 2
query_cache_size = 50000000
query_cache_limit = 1048576
query_cache_
query_cache_
# max blob size
max_allowed_packet = 33554432
group_concat_
# sql mode (bitrix requirement)
sql_mode =
# tmp tables
tmp_table_size = 8110473216
max_heap_table_size = 8110473216
# max errors before kick client out
max_connect_errors = 65000
max_error_count = 65000
# open files limit (maximum possible)
open_files_limit = 1048576
# open table cache
table_open_cache = 50000
table_definitio
table_open_
# disable auto flush by default (do it manually by cron)
flush_time = 0
# general log settings
log_error = /var/log/
log_warnings = 2
# slow log settings
slow_query_log = ON
slow_query_log_file = /var/log/
long_query_time = 2
# low priority updates
low_priority_
# metadata locks
metadata_
# insert buffer
bulk_insert_
# delayed insert
delayed_
max_delayed_threads = 0
#max search depth for query optimizer
optimizer_
# performance schema
performance_schema = OFF
# enable percona userstat feature
userstat = ON
# preload buffer
preload_buffer_size = 65535
# query alloc size
query_alloc_
query_prealloc_size = 16384
# transactions alloc size
transaction_
transaction_
# transaction isolation level
transaction-
# case sensitivity
lower_case_
#######
# MyISAM
#######
# recover type
myisam_
# recovery buffer
myisam_
# key buffer
key_buffer_size = 6428193587
#fulltext
ft_min_word_len = 4
#######
# InnoDB
#######
# separate tablespace
innodb_
# file format
innodb_file_format = 'Barracuda'
# log files
innodb_
innodb_
# open files
innodb_open_files = 50000
# innodb threads
innodb_
innodb_
innodb_
innodb_
innodb_
innodb_
innodb_
innodb_
# I/O optimization
innodb_
innodb_
innodb_
innodb_flush_method = O_DIRECT
# buffer pools
innodb_
innodb_
innodb_
innodb_
# preload buffer pool
innodb_
innodb_
# percona specific feature
innodb_
innodb_
# innodb fulltext
innodb_
innodb_
innodb_
# innodb large prefix
innodb_large_prefix = 1
# interval between successive column values
auto-increment-
auto-increment-
# innodb strict mode
innodb_strict_mode = 0
# innodb old block sublist
innodb_
# innodb temp data file
innodb_
# innodb numa policy
innodb_
#######
# client settings
#######
[mysqldump]
quick
quote-names
max_allowed_packet = 32M
[mysql]
[isamchk]
key_buffer = 32M
[client]
port = 3306
socket = /var/run/
[mysqld_safe]
socket = /var/run/
nice = 0
summary: |
- percona 5.7.18-16 crash (btr_insert_on_non_leaf_level_funcm)) + percona 5.7.18-16 crash (btr_insert_on_non_leaf_level_funcm) |
Thank you for the report.
Could you please check if crash is always repeatable if you run
SELECT p.*, u.nickname as author, u.login, u.is_deleted, b.allow_who as blog_allow_who, b.seolink as bloglink, b.title as blog_title, b.owner as owner FROM cms_blog_posts p INNER JOIN cms_blogs b ON b.id = p.blog_id LEFT JOIN cms_users u ON u.id = p.user_id WHERE p.published = 1 AND b.owner = 'user' AND (b.allow_who = 'all') AND (p.allow_who = 'all') ORDER BY p.pubdate DESC LIMIT 0, 50