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

Assertion `self == &Sys_slow_query_log' failed in fix_log_state

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • N/A
    • 10.11.1
    • Variables
    • None

    Description

      set global log_slow_query=on;
      

      bb-10.11-MDEV-7567 957ac458ab

      mariadbd: /data/src/bb-10.11-MDEV-7567-asan/sql/sys_vars.cc:5307: bool fix_log_state(sys_var*, THD*, enum_var_type): Assertion `self == &Sys_slow_query_log' failed.
      220924 21:46:58 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007f5204c1e662 in __GI___assert_fail (assertion=0x5639a799eaa0 "self == &Sys_slow_query_log", file=0x5639a799b300 "/data/src/bb-10.11-MDEV-7567-asan/sql/sys_vars.cc", line=5307, function=0x5639a799eae0 "bool fix_log_state(sys_var*, THD*, enum_var_type)") at assert.c:101
      #8  0x00005639a5cba653 in fix_log_state (self=0x5639a9bfdde0 <Sys_log_slow_query>, thd=0x62c0000b0288, type=SHOW_OPT_GLOBAL) at /data/src/bb-10.11-MDEV-7567-asan/sql/sys_vars.cc:5307
      #9  0x00005639a5512f31 in sys_var::update (this=0x5639a9bfdde0 <Sys_log_slow_query>, thd=0x62c0000b0288, var=0x6290000e65b0) at /data/src/bb-10.11-MDEV-7567-asan/sql/set_var.cc:208
      #10 0x00005639a5517706 in set_var::update (this=0x6290000e65b0, thd=0x62c0000b0288) at /data/src/bb-10.11-MDEV-7567-asan/sql/set_var.cc:863
      #11 0x00005639a5516b05 in sql_set_variables (thd=0x62c0000b0288, var_list=0x62c0000b55d8, free=true) at /data/src/bb-10.11-MDEV-7567-asan/sql/set_var.cc:745
      #12 0x00005639a57dbfce in mysql_execute_command (thd=0x62c0000b0288, is_called_from_prepared_stmt=false) at /data/src/bb-10.11-MDEV-7567-asan/sql/sql_parse.cc:5034
      #13 0x00005639a57f00c6 in mysql_parse (thd=0x62c0000b0288, rawbuf=0x6290000e6450 "set global log_slow_query=on", length=28, parser_state=0x7f51fb902ab0) at /data/src/bb-10.11-MDEV-7567-asan/sql/sql_parse.cc:8037
      #14 0x00005639a57c6728 in dispatch_command (command=COM_QUERY, thd=0x62c0000b0288, packet=0x629000253289 "set global log_slow_query=on", packet_length=28, blocking=true) at /data/src/bb-10.11-MDEV-7567-asan/sql/sql_parse.cc:1894
      #15 0x00005639a57c3500 in do_command (thd=0x62c0000b0288, blocking=true) at /data/src/bb-10.11-MDEV-7567-asan/sql/sql_parse.cc:1407
      #16 0x00005639a5c6a162 in do_handle_one_connection (connect=0x61100000a848, put_in_cache=true) at /data/src/bb-10.11-MDEV-7567-asan/sql/sql_connect.cc:1418
      #17 0x00005639a5c69a27 in handle_one_connection (arg=0x61100000a708) at /data/src/bb-10.11-MDEV-7567-asan/sql/sql_connect.cc:1312
      #18 0x00005639a6844336 in pfs_spawn_thread (arg=0x618000005d08) at /data/src/bb-10.11-MDEV-7567-asan/storage/perfschema/pfs.cc:2201
      #19 0x00007f52050e8ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #20 0x00007f5204ce7def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.