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

duckdb.feature_duckdb_data_type - trigger OOM

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 11.4
    • N/A
    • None
    •  quay.io/mariadb-foundation/bb-worker:dev_debian13-msan-clang-22
    • Not for Release Notes

    Description

      In a non-broken MSAN environment (pr5410) I got:

      duckdb.feature_duckdb_data_type          w8 [ fail ]
              Test ended at 2026-08-05 23:09:55
       
      CURRENT_TEST: duckdb.feature_duckdb_data_type
      mysqltest: At line 138: query 'insert into t1 values (4, repeat('d', 100), repeat('d', 100), repeat('d', 4), repeat('d', 100), 
      repeat('d', 255), repeat('d', 65535), repeat('d', 16777215), repeat('d', 60000000),
      repeat('d', 255), repeat('d', 65535), repeat('d', 16777215), repeat('d', 60000000),
      '{}', 3, 'v3')' failed: <Unknown> (2013): Lost connection to server during query
       
      The result from queries just before the failure was:
      < snip >
      col4 varbinary(100),
      col5 tinyblob,
      col6 blob,
      col7 mediumblob,
      col8 longblob,
      col9 tinytext,
      col10 text,
      col11 mediumtext,
      col12 longtext,
      col13 json,
      col14 enum('v1', 'v2', 'v3'),
      col15 set('v1', 'v2', 'v3')
      ) ENGINE = DuckDB;
      insert into t1 values (1, 'aaaa', 'aaaa', 'aaaa', 'aaaa', 'aaaa', 'aaaa', 'aaaa', 'aaaa', 'aaaa', 'aaaa', 'aaaa', 'aaaa', '{"id": 1, "value":"aaaa"}', 1, 1);
      insert into t1 values (2, 'bbbb', 'bbbb', 'bbbb', 'bbbb', 'bbbb', 'bbbb', 'bbbb', 'bbbb', 'bbbb', 'bbbb', 'bbbb', 'bbbb', '{"id": 1, "value":"aaaa"}', 'v2', 'v2');
      insert into t1 values (3, 'cccc', 'cccc', 'cccc', 'cccc', 'cccc', 'cccc', 'cccc', 'cccc', 'cccc', 'cccc', 'cccc', 'cccc', '{"id": 1, "value":"aaaa"}', 3, 'v1,v2,v3');
      insert into t1 values (4, repeat('d', 100), repeat('d', 100), repeat('d', 4), repeat('d', 100), 
      repeat('d', 255), repeat('d', 65535), repeat('d', 16777215), repeat('d', 60000000),
      repeat('d', 255), repeat('d', 65535), repeat('d', 16777215), repeat('d', 60000000),
      '{}', 3, 'v3');
      

      oom kill

      [533923.411668] Out of memory: Killed process 2661399 (mariadbd) total-vm:107378951540kB, anon-rss:8177140kB, file-rss:12kB, shmem-rss:1564kB, UID:100999 pgtables:25520kB oom_score_adj:200
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.