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

main.func_json_notembedded test fails on out-of-memory on MariaDB 10.6.7

    XMLWordPrintable

Details

    Description

      I notice that builds of MariaDB 10.6.7 in Debian was failing due to multiple reasons. One failure not reported before was main.func_json_notembedded on arch mipsel/s390x/powerpc:

      main.func_json_notembedded               w3 [ fail ]
              Test ended at 2022-02-25 14:49:46
       
      CURRENT_TEST: main.func_json_notembedded
      mysqltest: At line 12: query 'set @obj=concat_ws('','{', repeat('"a":"b",', 125000000/2), '"c":"d"}')' failed: <Unknown> (5): Out of memory (Needed 500000016 bytes)
       
      The result from queries just before the failure was:
      set global max_allowed_packet=1073741824;
      connect u,localhost,root;
      #
      # MDEV-24909 JSON functions don't respect KILL QUERY / max_statement_time limit
      #
      set group_concat_max_len= 4294967295;
      set @obj=concat_ws('','{', repeat('"a":"b",', 125000000/2), '"c":"d"}');
      

      Full logs at

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              otto Otto Kekäläinen
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.