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

Server crashes in Grant_table_base::init_read_record upon crash-upgrade

    Details

      Description

      10.4 60a37783

      #3  <signal handler called>
      #4  0x000055b93dd6747d in init_read_record (info=0x7ffc5df2c8c0, thd=0x0, table=0x55b94169cd40, select=0x0, filesort=0x0, use_record_cache=1, print_error=true, disable_rr_cache=false) at /data/src/10.4/sql/records.cc:303
      #5  0x000055b93d7ed579 in Grant_table_base::init_read_record (this=0x7ffc5df2cd98, info=0x7ffc5df2c8c0) at /data/src/10.4/sql/sql_acl.cc:792
      #6  0x000055b93d7c5525 in acl_load (thd=0x55b940af6280, tables=...) at /data/src/10.4/sql/sql_acl.cc:2324
      #7  0x000055b93d7c6de1 in acl_reload (thd=0x55b940af6280) at /data/src/10.4/sql/sql_acl.cc:2693
      #8  0x000055b93d7c531e in acl_init (dont_read_acl_tables=false) at /data/src/10.4/sql/sql_acl.cc:2278
      #9  0x000055b93d766167 in mysqld_main (argc=11, argv=0x55b9409c6a48) at /data/src/10.4/sql/mysqld.cc:5758
      #10 0x000055b93d75a940 in main (argc=11, argv=0x7ffc5df2d3c8) at /data/src/10.4/sql/main.cc:25
      

      To reproduce:

      • start fresh 10.2/10.3 server with all defaults;
      • run CREATE USER foo@localhost;
      • SIGKILL the server;
      • start 10.4 server with all defaults on the same datadir.

      Example of a datadir created on 10.2 05b35cf4 is attached as data.tar.gz.

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              elenst Elena Stepanova
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: