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

Assertion `global_status_var.global_memory_used == 0' failed or bytes lost after inserting into table with non-null blob and trigger

    XMLWordPrintable

Details

    Description

      CREATE TABLE t1 (b BLOB NOT NULL);
      CREATE TRIGGER tr BEFORE UPDATE ON t1 FOR EACH ROW BEGIN END;
      INSERT INTO t1 VALUES ( 'foo');
       
      # Cleanup
      DROP TABLE t1;
      

      10.1 39d248fa55

      Warning:    8 bytes lost at 0x7f1ecf820570, allocated by T@0 at 0x55dd506c46d7, 0x55dd5055ffbf, 0x55dd5083915c, 0x55dd5086664f, 0x55dd50875266, sql/sql_string.cc:46, sql/sql_string.h:326, sql/field.cc:7992
      Memory lost: 8 bytes in 1 chunks
      

      10.2 da3c5c3c9a

      2018-05-05  2:25:22 140564761794304 [Note] /data/bld/10.2/bin/mysqld: Shutdown complete
       
      mysqld: /data/src/10.2/sql/mysqld.cc:2174: void mysqld_exit(int): Assertion `global_status_var.global_memory_used == 0' failed.
      180505  2:25:22 [ERROR] mysqld got signal 6 ;
      

      ASAN didn't show anything different.

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.