assert for FK processing in client connection
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.6 |
Fix Released
|
Medium
|
Seppo Jaakola | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Following assert was thrown for a client session:
2014-07-11 14:08:25 7f3cf55d8700 InnoDB: Assertion failure in thread 139899791312640 in file row0upd.cc line 442
InnoDB: Failing assertion: foreign-
InnoDB: We intentionally generate a memory trap.
IInnoDB: 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.
12:08:25 UTC - mysqld got signal 6 ;
...
stack_bottom = 7f3cf55d7d38 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f279400bd60): is an invalid pointer
Connection ID (thread ID): 31
Status: NOT_KILLED
This shows a potential race condition for foreign_ table-> n_foreign_ key_checks_ running when using a build made with option HAVE_ATOMIC_ BUILTINS