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

Server crashes on CREATE USER|ROLE CURRENT_ROLE or DROP ROLE CURRENT_ROLE

    XMLWordPrintable

Details

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

    Description

      create user current_role;

      #3  <signal handler called>
      #4  0x00000000005de8cc in st_lex_user::is_role (this=0x7ff57a822130) at sql/structs.h:193
      #5  0x00000000005d51fe in handle_grant_data (tables=0x7ff57aff9f90, drop=false, user_from=0x7ff57a822130, user_to=0x0) at sql/sql_acl.cc:8897
      #6  0x00000000005d5a3b in mysql_create_user (thd=0x7ff58c7f5070, list=..., handle_as_role=false) at sql/sql_acl.cc:9119
      #7  0x000000000064a85c in mysql_execute_command (thd=0x7ff58c7f5070) at sql/sql_parse.cc:4012
      #8  0x0000000000650e00 in mysql_parse (thd=0x7ff58c7f5070, rawbuf=0x7ff57a822088 "create user current_role", length=24, parser_state=0x7ff57affd4b0) at sql/sql_parse.cc:6365
      #9  0x000000000064377b in dispatch_command (command=COM_QUERY, thd=0x7ff58c7f5070, packet=0x7ff58cff5071 "create user current_role", packet_length=24) at sql/sql_parse.cc:1289
      #10 0x0000000000642b7e in do_command (thd=0x7ff58c7f5070) at sql/sql_parse.cc:994
      #11 0x0000000000761411 in do_handle_one_connection (thd_arg=0x7ff58c7f5070) at sql/sql_connect.cc:1379
      #12 0x0000000000761164 in handle_one_connection (arg=0x7ff58c7f5070) at sql/sql_connect.cc:1293
      #13 0x00000000009f8f4b in pfs_spawn_thread (arg=0x7ff58cb1e2b0) at storage/perfschema/pfs.cc:1853
      #14 0x00007ff5a87ffe9a in start_thread (arg=0x7ff57affe700) at pthread_create.c:308
      #15 0x00007ff5a7d1acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

      drop role current_role;

      #2  0x000000000082f1cc in handle_fatal_signal (sig=11) at sql/signal_handler.cc:262
      #3  <signal handler called>
      #4  0x00000000005de8cc in st_lex_user::is_role (this=0x7f99728b4128) at sql/structs.h:193
      #5  0x00000000005d57bb in append_user (str=0x7f998f61b840, user=0x7f99728b4128) at sql/sql_acl.cc:9060
      #6  0x00000000005d5f13 in mysql_drop_user (thd=0x7f99723f5070, list=..., handle_as_role=true) at sql/sql_acl.cc:9216
      #7  0x000000000064a937 in mysql_execute_command (thd=0x7f99723f5070) at sql/sql_parse.cc:4024
      #8  0x0000000000650e00 in mysql_parse (thd=0x7f99723f5070, rawbuf=0x7f99728b4088 "drop role current_role", length=22, parser_state=0x7f998f61c4b0) at sql/sql_parse.cc:6365
      #9  0x000000000064377b in dispatch_command (command=COM_QUERY, thd=0x7f99723f5070, packet=0x7f9972bf5071 "drop role current_role", packet_length=22) at sql/sql_parse.cc:1289
      #10 0x0000000000642b7e in do_command (thd=0x7f99723f5070) at sql/sql_parse.cc:994
      #11 0x0000000000761411 in do_handle_one_connection (thd_arg=0x7f99723f5070) at sql/sql_connect.cc:1379
      #12 0x0000000000761164 in handle_one_connection (arg=0x7f99723f5070) at sql/sql_connect.cc:1293
      #13 0x00000000009f8f4b in pfs_spawn_thread (arg=0x7f997271e7b0) at storage/perfschema/pfs.cc:1853
      #14 0x00007f998e5a0e9a in start_thread (arg=0x7f998f61d700) at pthread_create.c:308
      #15 0x00007f998dabbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

      revision-id: bar@mnogosearch.org-20131031102424-373xqcw7iki4zlqt
      revno: 3873
      branch-nick: 10.0

      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.