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

LeakSanitizer: detected memory leaks after insert with xmltype

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • 12.3
    • 12.3
    • XML
    • None

    Description

      CREATE TABLE t1(a XMLTYPE);
      SET @x = CONCAT(  REPEAT('<element_with_long_name>', 30), 'leaf',  REPEAT('</element_with_long_name>', 30));
       
      SELECT LENGTH(@x);
      INSERT INTO t1 VALUES(@x);
       
      DROP TABLE t1;
      

      ***Warnings generated in error logs during shutdown after running tests: main.1_my
       
      Warning: Internal memory accounting error of 1224 bytes
      ==2166595==ERROR: LeakSanitizer: detected memory leaks
      SUMMARY: AddressSanitizer: 1224 byte(s) leaked in 1 allocation(s).
      
      

      Attachments

        Issue Links

          Activity

            People

              holyfoot Alexey Botchkov
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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