MySQL-5.6/5.7 innodb assertion !lock->recursive assert in sync0rw.cc during high load on PPC64

Bug #1706281 reported by bugproxy
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
The Ubuntu-power-systems project
Won't Fix
High
Canonical Server
mysql-5.6 (Ubuntu)
Won't Fix
High
David Britton
mysql-5.7 (Ubuntu)
Won't Fix
High
David Britton

Bug Description

---Problem Description---

per upstream bug https://bugs.mysql.com/bug.php?id=80436 MySQL-5.7 can assert on ppc64/ppc64le (and probably ARM64) because load order between "recursive" and "writer_thread" wasn't properly enforced.

Upstream bug report has a patch (originally from MariaDB) that corrects the problem.

---uname output---
Linux p87 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:09:19 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux

Machine Type = Any P8

---Steps to Reproduce---
Install MySQL-5.6 or 5.7

Perform lots of concurrent innodb operations on Power hardware.

Contact Information = Daniel Black (<email address hidden>), Daniel Axtens (Canonical)

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-156946 severity-high targetmilestone-inin---
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → dbf2mysql (Ubuntu)
Changed in ubuntu-power-systems:
importance: Undecided → High
assignee: nobody → Canonical Server Team (canonical-server)
David Britton (dpb)
description: updated
affects: dbf2mysql (Ubuntu) → mysql-5.7 (Ubuntu)
Manoj Iyer (manjo)
tags: added: triage-g
Revision history for this message
Daniel Black (daniel-black) wrote :

Previous "Clarification from upstream" is a different bug.

Manoj Iyer (manjo)
tags: added: triage-a
removed: triage-g
Changed in ubuntu-power-systems:
assignee: Canonical Server Team (canonical-server) → David Britton (davidpbritton)
Changed in mysql-5.6 (Ubuntu):
assignee: nobody → David Britton (davidpbritton)
Changed in mysql-5.7 (Ubuntu):
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → David Britton (davidpbritton)
Changed in mysql-5.6 (Ubuntu):
importance: Undecided → High
Changed in mysql-5.7 (Ubuntu):
importance: Undecided → High
Manoj Iyer (manjo)
tags: added: triage-r
removed: triage-a
Revision history for this message
David Britton (dpb) wrote :

Hello --

1) Where are you observing this failure? 16.04?

2) It would be a bit premature to commit anything into Ubuntu without acknowledgement from upstream on this patch (against MariaDB) and if it is an acceptable change in Mysql. After that, we would want it committed to the dev release, then an SRU could be requested against Xenial (16.04).

Changed in ubuntu-power-systems:
status: New → Incomplete
Changed in mysql-5.6 (Ubuntu):
status: New → Incomplete
Changed in mysql-5.7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel Black (daniel-black) wrote :

apologies for the delay. still trying to get a test case. I'll continue looking next week.

Revision history for this message
Manoj Iyer (manjo) wrote :

Daniel, any updates on this bug? I believe this is blocking bug #1706291

Revision history for this message
Daniel Black (daniel-black) wrote :

I haven't managed to reproduce however I see no reason why the bug would of gone away from the code changes made since the mysql versions Daniel Axtens used when https://bugs.mysql.com/bug.php?id=80436 was written. I'm just going to keep trying.

I see [~racb] was trying to bundle this patch with bug #1706291 however from a logical point of view this is an independent bug.

tags: added: triage-a
removed: triage-r
Manoj Iyer (manjo)
Changed in ubuntu-power-systems:
assignee: David Britton (davidpbritton) → Canonical Server Team (canonical-server)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-02-08 09:55 EDT-------
Closing as unreproducible. Please reopen if problem resurfaces.

Manoj Iyer (manjo)
Changed in mysql-5.7 (Ubuntu):
status: Incomplete → Won't Fix
Changed in mysql-5.6 (Ubuntu):
status: Incomplete → Won't Fix
Changed in ubuntu-power-systems:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.