Audit log crashes on queries which contain special characters
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.6 |
New
|
Undecided
|
Unassigned | |||
5.7 |
Triaged
|
High
|
Vlad Lesin |
Bug Description
+bt
#0 0x00007fcabf272741 in __pthread_kill (threadid=
#1 0x00000000018429a4 in my_write_core (sig=6) at /git/tokudb-
#2 0x0000000000e7c80f in handle_fatal_signal (sig=6) at /git/tokudb-
#3 <signal handler called>
#4 0x00007fcabd6095f7 in __GI_raise (sig=sig@entry=6) at ../nptl/
#5 0x00007fcabd60ace8 in __GI_abort () at abort.c:90
#6 0x00007fcabd602566 in __assert_fail_base (fmt=0x7fcabd752ce8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
#7 0x00007fcabd602612 in __GI___assert_fail (assertion=
#8 0x00007fcab05f47bc in audit_log_
#9 0x00007fcab05f5da7 in audit_log_notify (thd=0x7fca7941
#10 0x0000000000e7e6df in plugins_dispatch (thd=0x7fca7941
#11 0x0000000000e7e827 in event_class_
#12 0x0000000000e7d097 in mysql_audit_notify (thd=0x7fca7941
#13 0x000000000150ea1c in mysql_audit_general (thd=0x7fca7941
#14 0x0000000001513d5f in dispatch_command (thd=0x7fca7941
#15 0x0000000001511815 in do_command (thd=0x7fca7941
#16 0x000000000164bdb8 in handle_connection (arg=0x7fca9cb4
#17 0x0000000001871878 in pfs_spawn_thread (arg=0x7fcab339
#18 0x00007fcabf26ddc5 in start_thread (arg=0x7fcabf86
#19 0x00007fcabd6caced in clone () at ../sysdeps/
This is happening in the TokuDB PFS tree. Not sure if there is any connection, though this is a new 'all over' crash and thus a qablocker. A workaround may be to disable audit plugin, will try.
tokupfs1- PS241016- percona- server- 5.7.14- 7-linux- x86_64- debug