[MDEV-19273] Server crash in MDL_ticket::has_stronger_or_equal_type or Assertion `thd->mdl_context.is_lock_owner(MDL_key::TABLE, table->db.str, table->table_name.str, MDL_SHARED)' failed in mysql_rm_table_no_locks Created: 2019-04-17 Updated: 2020-12-10 Resolved: 2020-12-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Sequences |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6 |
| Fix Version/s: | 10.3.28, 10.4.18, 10.5.9 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | affects-tests, not-10.1, not-10.2 | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Description |
|
No obvious problems on a non-debug build with the test case above, but here is another one which does cause a crash on a non-debug build (and the same assertion failure on a debug build):
|
| Comments |
| Comment by Elena Stepanova [ 2020-02-02 ] | |||||||||||||||||||||
|
I suppose this failure has the same root cause – at least whenever I try to reproduce it, I get one of those in the description instead.
| |||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2020-03-22 ] | |||||||||||||||||||||
|
commit 1ee4055c07ebf4212d8e49d44ea724645e3eaa7a (HEAD Do not check lock status if we already detected error. | |||||||||||||||||||||
| Comment by Sergey Vojtovich [ 2020-03-22 ] | |||||||||||||||||||||
|
Review in https://github.com/MariaDB/server/commit/1ee4055c07ebf4212d8e49d44ea724645e3eaa7a | |||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2020-03-22 ] | |||||||||||||||||||||
|
svoj sorry for wasting your time but I did not asked you to review (it was not the patch I will push) | |||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2020-03-23 ] | |||||||||||||||||||||
|
commit b47524123dfd494b0d6a453064267f067cca634d (HEAD Early report error in case of DROP SEQUENCE <non-sequence> Do not use error variable for other purposes except error. | |||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2020-03-25 ] | |||||||||||||||||||||
|
commit e9fc2400f3cc98a3fae743c42c0e8b9c1631c280 (HEAD Early report error in case of DROP SEQUENCE <non-sequence> Do not use error variable for other purposes except error. | |||||||||||||||||||||
| Comment by Roel Van de Paar [ 2020-07-27 ] | |||||||||||||||||||||
|
| |||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2020-09-30 ] | |||||||||||||||||||||
|
commit 174f1be545ee9381ddac9e774ebb091ac02104e7 (HEAD Early report error in case of DROP SEQUENCE <non-sequence> Do not use error variable for other purposes except error. | |||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2020-10-07 ] | |||||||||||||||||||||
|
commit 026d5fff89d2e690bfd5b4cdc0650eff5e5ffc42 (HEAD Early report error in case of DROP SEQUENCE <non-sequence> Do not use error variable for other purposes except error. | |||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2020-12-09 ] | |||||||||||||||||||||
|
if it is a new issue why it is in the old bug report? | |||||||||||||||||||||
| Comment by Roel Van de Paar [ 2020-12-09 ] | |||||||||||||||||||||
|
Related bug report moved to MDEV-24382. Thank you |