[MDEV-7641] Server crash on set global server_audit_incl_users=null Created: 2015-02-26  Updated: 2015-03-20  Resolved: 2015-03-20

Status: Closed
Project: MariaDB Server
Component/s: Plugin - Audit
Affects Version/s: 10.0.16, 5.5, 10.0
Fix Version/s: 5.5.43

Type: Bug Priority: Blocker
Reporter: Kolbe Kegel (Inactive) Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: verified


 Description   

Maybe a dupe of MDEV-4770, but that one was closed long ago.

MariaDB-server-10.0.16-1.el6.x86_64

MariaDB [(none)]> install soname 'server_audit';
Query OK, 0 rows affected (0.00 sec)
 
MariaDB [(none)]> set global server_audit_incl_users=null;
ERROR 2013 (HY000): Lost connection to MySQL server during query

stack_bottom = 0x7fdca2371d30 thread_stack 0x48000
/usr/sbin/mysqld(my_print_stacktrace+0x2b)[0xb73d0b]
/usr/sbin/mysqld(handle_fatal_signal+0x398)[0x7264e8]
/lib64/libpthread.so.0(+0xf710)[0x7fdca1fec710]
/lib64/libc.so.6(+0x134adc)[0x7fdca074aadc]
/usr/lib64/mysql/plugin/server_audit.so(+0x4f47)[0x7fdbeb3f6f47]
/usr/sbin/mysqld(_ZN17sys_var_pluginvar13global_updateEP3THDP7set_var+0x64)[0x5dd5e4]
/usr/sbin/mysqld[0x55de3c]
/usr/sbin/mysqld(_ZN7set_var6updateEP3THD+0x34)[0x55e614]
/usr/sbin/mysqld(_Z17sql_set_variablesP3THDP4ListI12set_var_baseE+0x89)[0x55f8d9]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1f3c)[0x5d3e1c]
/usr/sbin/mysqld[0x5d86a2]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1bc0)[0x5da900]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x453)[0x695f53]
/usr/sbin/mysqld(handle_one_connection+0x42)[0x696022]
/lib64/libpthread.so.0(+0x79d1)[0x7fdca1fe49d1]
/lib64/libc.so.6(clone+0x6d)[0x7fdca06fe8fd]



 Comments   
Comment by Kolbe Kegel (Inactive) [ 2015-02-26 ]

FWIW, "set global server_audit_file_path = NULL;" (the statement referenced in MDEV-4770) also causes a crash in 10.0.16.

Comment by Elena Stepanova [ 2015-02-26 ]

Also reproducible on 1.2.0.

Comment by Nirbhay Choubey (Inactive) [ 2015-03-19 ]

https://github.com/MariaDB/server/commit/5e20df2ff977bc837e1b9e80a22337292d42c8af

Comment by Alexey Botchkov [ 2015-03-20 ]

Fixing patch: http://lists.askmonty.org/pipermail/commits/2015-March/007650.html

Generated at Thu Feb 08 07:21:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.