Looking at the stack trace I see
audit_log_check_command_included(name="error", length=0)
and
p event_general->general_sql_command (MYSQL_LEX_STRING) $0 = (str = "error", length = 0)
so, it is likely core server to blame.
1. my_hash_search doesn't handle 0 length correctly 2. MYSQL_LEX_STRING contains invalid value when passed to plugin
Looking at the stack trace I see
audit_log_ check_command_ included( name="error" , length=0)
and
p event_general- >general_ sql_command
(MYSQL_LEX_STRING) $0 = (str = "error", length = 0)
so, it is likely core server to blame.
1. my_hash_search doesn't handle 0 length correctly
2. MYSQL_LEX_STRING contains invalid value when passed to plugin