Server is crashing when we grant privileges to user with PAM plugin
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.6 |
Invalid
|
Undecided
|
Unassigned | |||
5.7 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
** Testcase
INSTALL PLUGIN auth_pam SONAME 'auth_pam.so';
create user test_pam@localhost;
GRANT ALL PRIVILEGES ON *.* TO test_pam@localhost IDENTIFIED WITH auth_pam;
** GDB info
(gdb) bt
#0 __pthread_kill (threadid=
#1 0x00000000007a02f4 in handle_fatal_signal (sig=11) at /sda/percona-
#2 <signal handler called>
#3 0x0000000000000000 in ?? ()
#4 0x00000000007c66ba in set_and_
is_
#5 0x00000000007be48e in mysql_grant (thd=0x7fa9e681
at /sda/percona-
#6 0x0000000000cd3177 in mysql_execute_
#7 0x0000000000cd4b55 in mysql_parse (thd=0x7fa9e681
#8 0x0000000000cd5de5 in dispatch_command (thd=0x7fa9e681
at /sda/percona-
#9 0x0000000000cd68e4 in do_command (thd=0x7fa9e681
#10 0x0000000000da9e4c in handle_connection (arg=<optimized out>) at /sda/percona-
#11 0x000000000119ca24 in pfs_spawn_thread (arg=0x7faa8d3b
#12 0x00007faa97d516aa in start_thread (arg=0x7faa9833
#13 0x00007faa9699feed in clone () at ../sysdeps/
(gdb)
affects: | percona-xtradb-cluster → percona-server |
https:/ /github. com/percona/ percona- server/ pull/278