Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-20945

BACKUP UNLOCK + FTWRL assertion failure | SIGSEGV in I_P_List from MDL_context::release_lock on INSERT w/ BACKUP LOCK (on optimized builds) | Assertion `ticket->m_duration == MDL_EXPLICIT' failed.

Details

    Description

      CREATE TABLE t1(a INT);
      BACKUP LOCK t1;
      FLUSH TABLE t1 WITH READ LOCK; # FOR EXPORT crashes as well
      UNLOCK TABLES;
      BACKUP UNLOCK;
      DROP TABLE t1;
      

      #7  0x00007fd9817ffc82 in __GI___assert_fail (assertion=0x564412c268a8 "ticket->m_duration == MDL_EXPLICIT", file=0x564412c26110 "/home/svoj/devel/maria/mariadb/sql/mdl.cc", line=2835, function=0x564412c270e0 <MDL_context::release_lock(MDL_ticket*)::__PRETTY_FUNCTION__> "void MDL_context::release_lock(MDL_ticket*)") at assert.c:101
      #8  0x000056441206d270 in MDL_context::release_lock (this=0x7fd930000c20, ticket=0x7fd930011950) at /home/svoj/devel/maria/mariadb/sql/mdl.cc:2835
      #9  0x000056441216fb18 in backup_unlock (thd=0x7fd930000b00) at /home/svoj/devel/maria/mariadb/sql/backup.cc:388
      #10 0x0000564411edfef3 in mysql_execute_command (thd=0x7fd930000b00) at /home/svoj/devel/maria/mariadb/sql/sql_parse.cc:5046
      #11 0x0000564411eea477 in mysql_parse (thd=0x7fd930000b00, rawbuf=0x7fd930013148 "BACKUP UNLOCK", length=13, parser_state=0x7fd979b7eff0, is_com_multi=false, is_next_command=false) at /home/svoj/devel/maria/mariadb/sql/sql_parse.cc:7912
      #12 0x0000564411ed54f2 in dispatch_command (command=COM_QUERY, thd=0x7fd930000b00, packet=0x7fd93019e0f1 "BACKUP UNLOCK", packet_length=13, is_com_multi=false, is_next_command=false) at /home/svoj/devel/maria/mariadb/sql/sql_parse.cc:1841
      #13 0x0000564411ed3ac3 in do_command (thd=0x7fd930000b00) at /home/svoj/devel/maria/mariadb/sql/sql_parse.cc:1359
      #14 0x000056441205cc16 in do_handle_one_connection (connect=0x564415bb4070) at /home/svoj/devel/maria/mariadb/sql/sql_connect.cc:1412
      #15 0x000056441205c912 in handle_one_connection (arg=0x564415bb4070) at /home/svoj/devel/maria/mariadb/sql/sql_connect.cc:1316
      

      Attachments

        Issue Links

          Activity

            svoj Sergey Vojtovich created issue -
            svoj Sergey Vojtovich made changes -
            Field Original Value New Value
            svoj Sergey Vojtovich made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            Roel Roel Van de Paar made changes -
            Component/s Locking [ 10900 ]
            Roel Roel Van de Paar made changes -
            Roel Roel Van de Paar made changes -
            Labels not-10.1 not-10.2 not-10.3
            Roel Roel Van de Paar made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            Roel Roel Van de Paar made changes -
            Affects Version/s 10.5 [ 23123 ]
            Roel Roel Van de Paar made changes -
            Summary BACKUP UNLOCK + FTWRL assertion failure BACKUP UNLOCK + FTWRL assertion failure | SIGSEGV in I_P_List from MDL_context::release_lock on INSERT w/ BACKUP LOCK (on optimized builds)
            Roel Roel Van de Paar made changes -
            Labels not-10.1 not-10.2 not-10.3 affects-tests not-10.1 not-10.2 not-10.3
            Roel Roel Van de Paar made changes -
            Fix Version/s 10.5 [ 23123 ]
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Assignee Sergey Vojtovich [ svoj ] Rinat Ibragimov [ JIRAUSER41271 ]
            Roel Roel Van de Paar made changes -
            Priority Critical [ 2 ] Blocker [ 1 ]
            Roel Roel Van de Paar made changes -
            Summary BACKUP UNLOCK + FTWRL assertion failure | SIGSEGV in I_P_List from MDL_context::release_lock on INSERT w/ BACKUP LOCK (on optimized builds) BACKUP UNLOCK + FTWRL assertion failure | SIGSEGV in I_P_List from MDL_context::release_lock on INSERT w/ BACKUP LOCK (on optimized builds) | Assertion `ticket->m_duration == MDL_EXPLICIT' failed.
            Roel Roel Van de Paar made changes -
            Comment [ A comment with security level 'Developers' was removed. ]
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Status Confirmed [ 10101 ] In Progress [ 3 ]
            Roel Roel Van de Paar made changes -
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Status In Progress [ 3 ] Stalled [ 10000 ]
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Assignee Rinat Ibragimov [ JIRAUSER41271 ] Sergei Golubchik [ serg ]
            Status Stalled [ 10000 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Priority Blocker [ 1 ] Critical [ 2 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Michael Widenius [ monty ]
            Roel Roel Van de Paar made changes -
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Assignee Michael Widenius [ monty ] Rinat Ibragimov [ JIRAUSER41271 ]
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Status In Review [ 10002 ] Stalled [ 10000 ]
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Status Stalled [ 10000 ] In Progress [ 3 ]
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Assignee Rinat Ibragimov [ JIRAUSER41271 ] Michael Widenius [ monty ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            monty Michael Widenius made changes -
            Status In Review [ 10002 ] Stalled [ 10000 ]
            Roel Roel Van de Paar made changes -
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Assignee Michael Widenius [ monty ] Rinat Ibragimov [ JIRAUSER41271 ]
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Status Stalled [ 10000 ] In Progress [ 3 ]
            rinat.ibragimov Rinat Ibragimov (Inactive) made changes -
            Assignee Rinat Ibragimov [ JIRAUSER41271 ] Michael Widenius [ monty ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            monty Michael Widenius made changes -
            issue.field.resolutiondate 2020-10-21 21:36:44.0 2020-10-21 21:36:44.097
            monty Michael Widenius made changes -
            Fix Version/s 10.4.16 [ 25020 ]
            Fix Version/s 10.5.7 [ 25019 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status In Review [ 10002 ] Closed [ 6 ]
            Roel Roel Van de Paar made changes -
            ramesh Ramesh Sivaraman made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 100753 ] MariaDB v4 [ 156928 ]
            elenst Elena Stepanova made changes -

            People

              monty Michael Widenius
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.