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

UBSAN: load of value X, which is not a valid value for type 'enum_yes_no_unknown' in sql/sql_parse.cc

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.10, 11.0
    • 10.11
    • Galera
    • None

    Description

      SET GLOBAL wsrep_convert_lock_to_trx=ON;
      LOCK TABLES performance_schema.events_transactions_history WRITE;
      UNLOCK TABLES;
      

      Leads to

      10.10.4 6f6fa3bec2decb26598bce33d43594aabb25b201 (Debug, UBASAN)

      /test/mtest/10.10_dbg_san/sql/sql_parse.cc:5624:26: runtime error: load of value 2779096485, which is not a valid value for type 'enum_yes_no_unknown'
      

      Setup

      Compiled with GCC 9.4.0
      -DWITH_UBSAN=ON -DCMAKE_CXX_FLAGS=-static-libasan
      

      Attachments

        Activity

          People

            sysprg Julius Goryavsky
            ramesh Ramesh Sivaraman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.