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

UBSAN: runtime error: load of value 2779096485, which is not a valid value for type 'enum_binlog_format'

    XMLWordPrintable

Details

    Description

      Happens during bootstrap so test case is irrelevant.

      Precise message is:

      mariadb/sql/sql_class.h:3846:24: runtime error: load of value 2779096485, which is not a valid value for type 'enum_binlog_format'
      

      (gdb) bt
      #0  THD::set_current_stmt_binlog_format_stmt (this=0x7fffa0000cf8) at sql_class.h:3846
      #1  0x0000555557bf4788 in THD::reset_current_stmt_binlog_format_row (this=0x7fffa0000cf8) at sql_class.h:3885
      #2  0x0000555557bbb248 in THD::init (this=0x7fffa0000cf8) at sql_class.cc:1190
      #3  0x0000555557bb7444 in THD::THD (this=0x7fffa0000cf8, id=3, is_wsrep_applier=false) at sql_class.cc:792
      #4  0x0000555557bd9bfa in create_thd () at sql_class.cc:4460
      #5  0x0000555558a8e927 in innobase_create_background_thd (name=0x555559b75737 "InnoDB purge worker") at ha_innodb.cc:1664
      #6  0x0000555558e3ebae in srv_worker_thread (arg=0x0) at srv0srv.cc:2581
      #7  0x00007ffff7aa2182 in start_thread (arg=<optimized out>) at pthread_create.c:486
      #8  0x00007ffff6c74b1f in clone () at clone.S:95
      (gdb) p current_stmt_binlog_format
      $2 = 2779096485
      (gdb) p/x current_stmt_binlog_format
      $3 = 0xa5a5a5a5
      

      0x5a goes from TRASH_ALLOC()

      Issue might affect versions prior to 10.2: I didn't check it.

      Attachments

        Issue Links

          Activity

            People

              kevg Eugene Kosov (Inactive)
              kevg Eugene Kosov (Inactive)
              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.