InnoDB assert dict_sys->size > 0 during ALTER TABLE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Reproduced under Percona Server 5.7.18-14 (Linux/Ubuntu 14.04) and 5.7.17-11 (Homebrew / OS X 10.12) in separate environments.
InnoDB: Assertion failure in thread 140333360805632 in file dict0dict.cc line 1856
InnoDB: Failing assertion: dict_sys->size > 0
InnoDB: We intentionally generate a memory trap.
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.
06:10:20 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=751
thread_count=2
connection_count=2
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: 0x7fa1acabcd90
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 = 7fa1e81eee40 thread_stack 0x40000
/opt/percona-
/opt/percona-
/lib/x86_
/lib/x86_
/lib/x86_
/opt/percona-
/opt/percona-
/opt/percona-
/opt/percona-
/opt/percona-
/opt/percona-
/opt/percona-
/opt/percona-
/opt/percona-
/opt/percona-
/opt/percona-
/opt/percona-
/lib/x86_
/lib/x86_
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7fa1acb2d210): ALTER TABLE `instances` ADD COLUMN `resurrection_
Connection ID (thread ID): 427
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.
I've attached a snippet of the workload that led to this initially. Running just this snippet for just a single table from this migration in a loop will eventually crash mysqld - this happens reliably in < 1 minute on my local machine.
summary: |
- InnoDB crashes on ALTER TABLE + InnoDB assert dict_sys->size > 0 during ALTER TABLE |
description: | updated |
Changed in percona-server: | |
assignee: | nobody → Sveta Smirnova (svetasmirnova) |
Thank you for the report.
I cannot repeat described behavior with script provided. Can you always repeat crash with empty table? Or is it only repeatable with your production table which have data?
Please send us your configuration file and information about table with which you can repeat the issue (number of rows, output of SHOW TABLE STATUS)