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

main.query_cache fails with embedded after enabling WITH_PROTECT_STATEMENT_MEMROOT

    XMLWordPrintable

Details

    Description

      https://buildbot.mariadb.net/buildbot/builders/kvm-fulltest2/builds/46243/steps/mtr_emb/logs/stdio

      10.4 a73c3f1077d3dd46f9a51e53a1666ab76b7d52e0

      main.query_cache                         w2 [ fail ]
              Test ended at 2024-04-08 06:40:54
       
      CURRENT_TEST: main.query_cache
      Warning: /mnt/buildbot/build/mariadb-10.4.34/libmysqld/examples/mysqltest_embedded: unknown variable 'loose-ssl-ca=/mnt/buildbot/build/mariadb-10.4.34/mysql-test/std_data/cacert.pem'
      Warning: /mnt/buildbot/build/mariadb-10.4.34/libmysqld/examples/mysqltest_embedded: unknown variable 'loose-ssl-cert=/mnt/buildbot/build/mariadb-10.4.34/mysql-test/std_data/client-cert.pem'
      Warning: /mnt/buildbot/build/mariadb-10.4.34/libmysqld/examples/mysqltest_embedded: unknown variable 'loose-ssl-key=/mnt/buildbot/build/mariadb-10.4.34/mysql-test/std_data/client-key.pem'
      Warning: /mnt/buildbot/build/mariadb-10.4.34/libmysqld/examples/mysqltest_embedded: unknown option '--loose-skip-ssl'
      mysqltest_embedded: /home/buildbot/buildbot/build/mariadb-10.4.34/mysys/my_alloc.c:214: alloc_root: Assertion `(mem_root->flags & 4) == 0' failed.
      mysqltest got signal 6
      read_command_buf (0x83f15500): call f3()
       
      conn->name (0x84075560): 
       
      conn->cur_query (0x840bdc80): call f3()
       
      Attempting backtrace...
      stack_bottom = 0x0 thread_stack 0x49000
      mysys/stacktrace.c:174(my_print_stacktrace)[0x804a5555]
      client/mysqltest.cc:9658(dump_backtrace())[0x8048882b]
      client/mysqltest.cc:9675(signal_handler)[0x80488869]
      addr2line: '': No such file
      [0xb77d1c14]
      [0xb77d1c31]
      /lib/i386-linux-gnu/libc.so.6(gsignal+0x39)[0xb713de89]
      /lib/i386-linux-gnu/libc.so.6(abort+0x157)[0xb713f3e7]
      /lib/i386-linux-gnu/libc.so.6(+0x24d07)[0xb7136d07]
      /lib/i386-linux-gnu/libc.so.6(+0x24d8b)[0xb7136d8b]
      mysys/my_alloc.c:216(alloc_root)[0x804b3716]
      sql/item.h:741(Item::operator new(unsigned int, st_mem_root*))[0x8050628c]
      sql/table.cc:6646(Field_iterator_table::create_item(THD*))[0x80633365]
      sql/table.h:3092(Field_iterator_table_ref::create_item(THD*))[0x8063d7f8]
      sql/sql_base.cc:8287(insert_fields(THD*, Name_resolution_context*, char const*, char const*, List_iterator<Item>*, bool, unsigned int*))[0x80aa2c2a]
      sql/sql_base.cc:7637(setup_wild(THD*, TABLE_LIST*, List<Item>&, List<Item>*, unsigned int, unsigned int*))[0x80aa15c3]
      sql/sql_select.cc:1310(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x808f1012]
      sql/sql_select.cc:4834(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x808fc3d5]
      sql/sql_select.cc:454(handle_select(THD*, LEX*, select_result*, unsigned long))[0x808ee264]
      sql/sql_parse.cc:6558(execute_sqlcom_select(THD*, TABLE_LIST*))[0x80980b3f]
      sql/sql_parse.cc:3989(mysql_execute_command(THD*))[0x8097a516]
      sql/sp_head.cc:3761(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x80a829e4]
      sql/sp_head.cc:3491(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x80a81f9f]
      sql/sp_head.cc:3667(sp_instr_stmt::execute(THD*, unsigned int*))[0x80a825e4]
      sql/sp_head.cc:1372(sp_head::execute(THD*, bool))[0x80a7d19a]
      sql/sp_head.cc:2407(sp_head::execute_procedure(THD*, List<Item>*))[0x80a7f55b]
      sql/sql_parse.cc:3075(do_execute_sp(THD*, sp_head*))[0x809783e0]
      sql/sql_parse.cc:3317(Sql_cmd_call::execute(THD*))[0x80978b0e]
      sql/sql_parse.cc:6301(mysql_execute_command(THD*))[0x8097fa7c]
      sql/sql_parse.cc:8097(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x809826e9]
      sql/sql_parse.cc:1858(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x809753eb]
      libmysqld/lib_sql.cc:171(emb_advanced_command)[0x804d0b4a]
      sql-common/client.c:3577(mysql_send_query)[0x804c454e]
      client/mysqltest.cc:951(connection_thread)[0x8047918c]
      /lib/i386-linux-gnu/libpthread.so.0(+0x62b5)[0xb72ce2b5]
      /lib/i386-linux-gnu/libc.so.6(clone+0x6e)[0xb71f916e]
      Writing a core file...
      

      Attachments

        Issue Links

          Activity

            People

              shulga Dmitry Shulga
              elenst Elena Stepanova
              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.