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

Bytes lost and Assertion `global_status_var.global_memory_used == 0' fails on shutdown after attempts to LOCK/RENAME sequence

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.3
    • Fix Version/s: 10.3.5
    • Component/s: Sequences
    • Labels:
      None

      Description

      CREATE SEQUENCE seq1;
      --error ER_NO_SUCH_TABLE
      RENAME TABLE seq1 TO seq2, seq3 TO seq4;
      LOCK TABLE seq1 READ;
      UNLOCK TABLES;
       
      shutdown;
      

      10.3 b8c92d752c34e

      Warning:   56 bytes lost at 0x60f000011f90, allocated by T@0 at 0x556bdb097600, 0x556bda1f54c7, 0x556bda1f11fd, 0x556bd9cffc44, 0x556bdb0235a0, mysys/my_malloc.c:101, sql/sql_sequence.cc:433, sql/table.cc:3461
      mysqld: /data/src/10.3/sql/mysqld.cc:2195: void mysqld_exit(int): Assertion `global_status_var.global_memory_used == 0' failed.
       
      #3  <signal handler called>
      #4  0x00007f5bd2a1afcf in raise () from /lib/x86_64-linux-gnu/libc.so.6
      #5  0x00007f5bd2a1c3fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
      #6  0x00007f5bd2a13e37 in __assert_fail_base () from /lib/x86_64-linux-gnu/libc.so.6
      #7  0x00007f5bd2a13ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000563d449221ea in mysqld_exit (exit_code=0) at /data/src/10.3/sql/mysqld.cc:2195
      #9  0x0000563d4492a313 in mysqld_main (argc=129, argv=0x563d470b7798) at /data/src/10.3/sql/mysqld.cc:6177
      #10 0x0000563d4491e800 in main (argc=6, argv=0x7fff3e54d418) at /data/src/10.3/sql/main.cc:25
      

        Attachments

          Activity

            People

            • Assignee:
              monty Michael Widenius
              Reporter:
              elenst Elena Stepanova
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: