handle_fatal_signal (sig=11) in audit_log_update_thd_local

Bug #1631555 reported by Roel Van de Paar
6
This bug affects 1 person
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
Confirmed
Undecided
Laurynas Biveinis

Bug Description

INSTALL PLUGIN audit_log SONAME 'audit_log.so';
SET STATEMENT sort_buffer_size=0 FOR SHOW SESSION VARIABLES LIKE 'sort_buffer_size';
DROP DATABASE test;
SELECT 1; # Shows server is gone

+bt
#0 0x00007fbde7a7c741 in __pthread_kill (threadid=<optimized out>, signo=11) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61
#1 0x0000000001845fb8 in my_write_core (sig=11) at /git/PS-5.7_dbg/mysys/stacktrace.c:247
#2 0x0000000000e7d01b in handle_fatal_signal (sig=11) at /git/PS-5.7_dbg/sql/signal_handler.cc:223
#3 <signal handler called>
#4 0x00007fbdd8df448b in audit_log_update_thd_local (thd=0x7fbdbb819000, local=0x7fbdbb89c238, event_class=0, event=0x7fbde806f0a0) at /git/PS-5.7_dbg/plugin/audit_log/audit_log.c:1013
#5 0x00007fbdd8df4c63 in audit_log_notify (thd=0x7fbdbb819000, event_class=MYSQL_AUDIT_GENERAL_CLASS, event=0x7fbde806f0a0) at /git/PS-5.7_dbg/plugin/audit_log/audit_log.c:1137
#6 0x0000000000e7eeeb in plugins_dispatch (thd=0x7fbdbb819000, plugin=0x7fbdbb82e1e0, arg=0x7fbde806f040) at /git/PS-5.7_dbg/sql/sql_audit.cc:1231
#7 0x0000000000e7f033 in event_class_dispatch (thd=0x7fbdbb819000, event_class=MYSQL_AUDIT_GENERAL_CLASS, event=0x7fbde806f0a0) at /git/PS-5.7_dbg/sql/sql_audit.cc:1294
#8 0x0000000000e7d8a3 in mysql_audit_notify (thd=0x7fbdbb819000, subclass=MYSQL_AUDIT_GENERAL_STATUS, error_code=0, msg=0x2048ecf "Query", msg_len=5) at /git/PS-5.7_dbg/sql/sql_audit.cc:327
#9 0x000000000150f734 in mysql_audit_general (thd=0x7fbdbb819000, event_subtype=MYSQL_AUDIT_GENERAL_STATUS, error_code=0, msg=0x2048ecf "Query") at /git/PS-5.7_dbg/sql/sql_audit.h:93
#10 0x0000000001514a74 in dispatch_command (thd=0x7fbdbb819000, com_data=0x7fbde806fc90, command=COM_QUERY) at /git/PS-5.7_dbg/sql/sql_parse.cc:1874
#11 0x000000000151252d in do_command (thd=0x7fbdbb819000) at /git/PS-5.7_dbg/sql/sql_parse.cc:1010
#12 0x000000000164e8a8 in handle_connection (arg=0x7fbdcc39dd30) at /git/PS-5.7_dbg/sql/conn_handler/connection_handler_per_thread.cc:312
#13 0x0000000001874bf0 in pfs_spawn_thread (arg=0x7fbddbb91220) at /git/PS-5.7_dbg/storage/perfschema/pfs.cc:2188
#14 0x00007fbde7a77dc5 in start_thread (arg=0x7fbde8070700) at pthread_create.c:308
#15 0x00007fbde5ed4ced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Tags: audit qa
tags: added: audit
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.