Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.5.9, 10.5.10
-
None
-
Ubuntu Linux
Description
Under a High load with multiple rollbacks a crash is observed at:
2021-05-03 16:51:03 0x7fe56f780700 InnoDB: Assertion failure in file /home/jenkins/workspace/MariaDBE-Custom-DEB/label/ubuntu-1804/MariaDBEnterprise/storage/innobase/lock/lock0lock.cc line 6780
Attachments
Issue Links
- causes
-
MDEV-26123 Using Spatial Indexes results in Update locks cannot be acquired during a READ UNCOMMITTED transaction
-
- Stalled
-
- is duplicated by
-
MDEV-26291 ER_FILSORT_ABORT triggers - crash query when "for update" in a select statement
-
- Closed
-
- relates to
-
MDEV-21987 Assertion failure in file lock0lock.cc line 6901 / DeadlockChecker::check_and_resolve
-
- Confirmed
-
-
MDEV-24738 Improve the InnoDB deadlock checker
-
- Closed
-
-
MDEV-25125 Draft: InnoDB: Assertion failure in trx0i_s.cc line 1167 upon SELECT * FROM information_schema.innodb_trx
-
- Closed
-
-
MDEV-25163 Rowid filter does not process storage engine error correctly.
-
- Closed
-
-
MDEV-26050 InnoDB: Assertion failure in lock0lock.cc line 6942
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Priority | Major [ 3 ] | Critical [ 2 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Affects Version/s | 10.5.10 [ 25204 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Link | This issue relates to MDEV-21987 [ MDEV-21987 ] |
Labels | need_feedback |
Fix Version/s | 10.6 [ 24028 ] |
issue.field.resolutiondate | 2021-06-09 19:15:38.0 | 2021-06-09 19:15:38.223 |
Fix Version/s | 10.5.11 [ 25734 ] | |
Fix Version/s | 10.6.1 [ 24437 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue relates to |
Labels | need_feedback |
Link | This issue causes MDEV-26123 [ MDEV-26123 ] |
Link |
This issue relates to |
Fix Version/s | 10.2.40 [ 26027 ] | |
Fix Version/s | 10.3.31 [ 26028 ] | |
Fix Version/s | 10.4.21 [ 26030 ] |
Workflow | MariaDB v3 [ 121614 ] | MariaDB v4 [ 159237 ] |
Link |
This issue is duplicated by |
Zendesk Related Tickets | 195080 111104 |
In the reported build, line number 6780 is the last one in the following code snippet:
{
ut_ad(lock_mutex_own());
ut_ad(trx_mutex_own(trx));
check_trx_state(trx);
This is similar to the race condition that was introduced in 10.3.4 and fixed in
MDEV-25125. I believe that the reason of the crash is that trx->state was changed to TRX_STATE_NOT_STARTED shortly before a deadlock between transactions would have been reported.Without having more information of the crash, all we can do is conduct very careful source code review. The deadlock checker and the entire lock_sys was heavily refactored in 10.6 (
MDEV-24738,MDEV-20612). It might thus be that the 10.6.0 alpha release is not affected by this. I will check all the potentially affected major version branches 10.3, 10.4, 10.6 once I have conducted an analysis on 10.5.