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

Server crashes in fill_schema_applicable_roles on select from APPLICABLE_ROLES after a suicide

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 10.0.5
    • None
    • None

    Description

      #3  <signal handler called>
      #4  0x00000000005bcdf2 in fill_schema_applicable_roles (thd=0x7fe8017e9070, tables=0x7fe7ffc232e8, cond=0x0) at /home/elenst/bzr/10.0-serg-perro/sql/sql_acl.cc:9935
      #5  0x00000000006bf8c7 in do_fill_table (thd=0x7fe8017e9070, table_list=0x7fe7ffc232e8, join_table=0x7fe7ffc7f298) at /home/elenst/bzr/10.0-serg-perro/sql/sql_show.cc:8016
      #6  0x00000000006bfcd9 in get_schema_tables_result (join=0x7fe7ffc23db0, executed_place=PROCESSED_BY_JOIN_EXEC) at /home/elenst/bzr/10.0-serg-perro/sql/sql_show.cc:8123
      #7  0x0000000000666410 in JOIN::exec_inner (this=0x7fe7ffc23db0) at /home/elenst/bzr/10.0-serg-perro/sql/sql_select.cc:2513
      #8  0x00000000006659f6 in JOIN::exec (this=0x7fe7ffc23db0) at /home/elenst/bzr/10.0-serg-perro/sql/sql_select.cc:2349
      #9  0x0000000000668f67 in mysql_select (thd=0x7fe8017e9070, rref_pointer_array=0x7fe8017ed0e8, tables=0x7fe7ffc232e8, wild_num=1, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2684619520, result=0x7fe7ffc23d90, unit=0x7fe8017ec7a0, select_lex=0x7fe8017ece78) at /home/elenst/bzr/10.0-serg-perro/sql/sql_select.cc:3285
      #10 0x000000000065f4fe in handle_select (thd=0x7fe8017e9070, lex=0x7fe8017ec6e8, result=0x7fe7ffc23d90, setup_tables_done_option=0) at /home/elenst/bzr/10.0-serg-perro/sql/sql_select.cc:376
      #11 0x000000000063310c in execute_sqlcom_select (thd=0x7fe8017e9070, all_tables=0x7fe7ffc232e8) at /home/elenst/bzr/10.0-serg-perro/sql/sql_parse.cc:4938
      #12 0x000000000062b3d3 in mysql_execute_command (thd=0x7fe8017e9070) at /home/elenst/bzr/10.0-serg-perro/sql/sql_parse.cc:2304
      #13 0x0000000000635a05 in mysql_parse (thd=0x7fe8017e9070, rawbuf=0x7fe7ffc23088 "SELECT * FROM INFORMATION_SCHEMA . APPLICABLE_ROLES", length=51, parser_state=0x7fe80789e4e0) at /home/elenst/bzr/10.0-serg-perro/sql/sql_parse.cc:6072
      #14 0x0000000000628578 in dispatch_command (command=COM_QUERY, thd=0x7fe8017e9070, packet=0x7fe8017ee071 "SELECT * FROM INFORMATION_SCHEMA . APPLICABLE_ROLES", packet_length=51) at /home/elenst/bzr/10.0-serg-perro/sql/sql_parse.cc:1105
      #15 0x0000000000627a41 in do_command (thd=0x7fe8017e9070) at /home/elenst/bzr/10.0-serg-perro/sql/sql_parse.cc:820
      #16 0x0000000000743b5d in do_handle_one_connection (thd_arg=0x7fe8017e9070) at /home/elenst/bzr/10.0-serg-perro/sql/sql_connect.cc:1266
      #17 0x00000000007438cb in handle_one_connection (arg=0x7fe8017e9070) at /home/elenst/bzr/10.0-serg-perro/sql/sql_connect.cc:1181
      #18 0x00000000009ab22a in pfs_spawn_thread (arg=0x7fe80176a5d0) at /home/elenst/bzr/10.0-serg-perro/storage/perfschema/pfs.cc:1015
      #19 0x00007fe806ab6e9a in start_thread (arg=0x7fe80789f700) at pthread_create.c:308
      #20 0x00007fe8061e7cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

      GRANT CREATE USER ON *.* TO 'root2'@'localhost';
       
      --connect (con1,localhost,root2,,)
      DROP USER 'root2'@'localhost';
      SELECT * FROM INFORMATION_SCHEMA . APPLICABLE_ROLES;

      bzr version-info
      revision-id: sergii@pisem.net-20131023123353-mm1rzx3g1oxnm9bh
      revno: 3899
      branch-nick: 10.0-serg-perro

      Attachments

        Activity

          People

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