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

Bug report: abortion in table_file_summary_by_instance.cc:0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 10.5.9
    • Fix Version/s: None
    • Component/s: Optimizer
    • Labels:
    • Environment:
      Ubuntu 18.04
      MariaDB 10.5.9

      Description

      I used my fuzzing tool to test Mariadb , and found a bug that can result in an abortion.

      Mariadb installation:
      1) cd mariadb-10.5.9
      2) mkdir build; cd build
      3) cmake -DWITH_ASAN=ON -DWITH_ASAN_SCOPE=ON -DWITH_DEBUG=ON ../
      4) make -j8 && sudo make install

      How to Repeat:
      export ASAN_OPTIONS=detect_leaks=0
      /usr/local/mysql/bin/mysqld_safe &
      /usr/local/mysql/bin/mysql -uroot -p123456(your password)
      MariaDB> drop database if exists test_db;
      MariaDB> create database test_db;
      MariaDB> source fuzz.sql;

      I have tried to simplify the content of fuzz.sql, but fuzz.sql was too complex. I hope fuzz.sql can help you reproduce the bug and fix it. In addition, I attach the abortion report (which has its stack trace).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Zuming Jiang Zuming Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: