Assertion `combo->host.str != __null && combo->host.str[0] != '\0'' failed.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
Undecided
|
Zsolt Parragi | |||
5.6 |
Fix Committed
|
Critical
|
Zsolt Parragi | |||
5.7 |
Invalid
|
Undecided
|
Zsolt Parragi |
Bug Description
5.6.38>CREATE USER roel@'';
ERROR 2013 (HY000): Lost connection to MySQL server during query
5.6.38>GRANT PROXY ON roel TO''@'';
ERROR 2013 (HY000): Lost connection to MySQL server during query
vs bit earlier release;
5.6.36>CREATE USER roel@'';
Query OK, 0 rows affected (0.00 sec)
5.6.36>GRANT PROXY ON roel TO''@'';
Query OK, 0 rows affected (0.00 sec)
MS also does not fail (i.e. "Query OK"). Assert speaks for itself;
2017-12-07 19:21:41 17178 [Note] /sda/PS021217-
Version: '5.6.38-82.3-debug' socket: '/sda/PS021217-
mysqld: /git/PS-
08:22:33 UTC - mysqld got signal 6 ;
Perhaps there was a specific reason for adding this assert in PS only?
Core was generated by `/sda/PS021217-
Program terminated with signal 6, Aborted.
#0 0x00007f963c9e99b1 in __pthread_kill (threadid=
61 val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),
(gdb) bt
#0 0x00007f963c9e99b1 in __pthread_kill (threadid=
#1 0x0000000000aca231 in my_write_core (sig=6) at /git/PS-
#2 0x000000000073a92d in handle_fatal_signal (sig=6) at /git/PS-
#3 <signal handler called>
#4 0x00007f963ad011f7 in __GI_raise (sig=sig@entry=6) at ../nptl/
#5 0x00007f963ad028e8 in __GI_abort () at abort.c:90
#6 0x00007f963acfa266 in __assert_fail_base (fmt=0x7f963ae4ce68 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=
file=
function=
#7 0x00007f963acfa312 in __GI___assert_fail (assertion=0xecbcb0 "combo->host.str != __null && combo->host.str[0] != '\\0'",
file=0xecafa8 "/git/PS-
function=
#8 0x0000000000759716 in replace_user_table (thd=0x7f9611bc
revoke_
#9 0x0000000000761569 in mysql_grant (thd=0x7f9611bc
at /git/PS-
#10 0x00000000007f4999 in mysql_execute_
#11 0x00000000007fa666 in mysql_parse (thd=0x7f9611bc
parser_
#12 0x00000000007ec168 in dispatch_command (command=COM_QUERY, thd=0x7f9611bc3000,
packet=
#13 0x00000000007eaf34 in do_command (thd=0x7f9611bc
#14 0x00000000007b23b6 in do_handle_
#15 0x00000000007b20bd in handle_
#16 0x0000000000b18fa5 in pfs_spawn_thread (arg=0x7f961fbf
#17 0x00007f963c9e4e25 in start_thread (arg=0x7f963cfd
#18 0x00007f963adc434d in clone () at ../sysdeps/
If assert/code was planned, feel free to adjust triage lower. Otherwise, this would look like a regression/blocker?