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

Spider: Got error 12701 when reading table (and possible/previous ASAN: heap-use-after-free in ha_spider::external_lock) when using HANDLER

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Cannot Reproduce
    • 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11, 11.0, 11.1, 11.2, 11.3
    • N/A

    Description

      Possibly connected with MDEV-27902.

      INSTALL PLUGIN spider SONAME 'ha_spider.so';
      CREATE TABLE t (c INT) ENGINE=Spider;
      HANDLER t OPEN;
      HANDLER t READ FIRST;
      

      Results in:

      10.9.0 0b14dbd45b5a1c02616d611876158d44b92b77bf (Optimized)

      2022-05-27  8:36:01 4 [ERROR] mysql_ha_read: Got error 12701 when reading table 't'
      

      10.9.0 0b14dbd45b5a1c02616d611876158d44b92b77bf (Debug)

      2022-05-27  8:36:01 4 [ERROR] mysql_ha_read: Got error 12701 when reading table 't'
      

      Present in at least 10.4+ dbg+opt, but likely earlier too.

      Bug confirmed present in:
      MariaDB: 10.4.23 (dbg), 10.4.23 (opt), 10.5.14 (dbg), 10.5.14 (opt), 10.6.6 (dbg), 10.6.6 (opt), 10.7.2 (dbg), 10.7.2 (opt), 10.8.1 (dbg), 10.8.1 (opt), 10.9.0 (dbg), 10.9.0 (opt)

      Attachments

        Issue Links

          Activity

            People

              ycp Yuchen Pei
              Roel Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.