[MCOL-3696] Server does not start if Columnstore plugins are installed in mysql.plugin and ha_columnstore is loaded via server option Created: 2019-12-25  Updated: 2021-06-17  Resolved: 2021-06-17

Status: Closed
Project: MariaDB ColumnStore
Component/s: installation
Affects Version/s: 1.4.2
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Duplicate Votes: 0
Labels: None


 Description   

MariaDB f93bfb9288d020b190f5c73a31223fff6439687d

Dec 26 01:08:09 toshiba mysqld: safe_mutex: Trying to lock mutex at /home/elenst/10.4-enterprise-columnstore/src/sql/sql_plugin.cc, line 2406, when the mutex was already locked at /home/elenst/10.4-enterprise-columnsto
re/src/sql/sql_plugin.cc, line 1859 in thread T@1
...
#5  0x00007fa385d06801 in __GI_abort () at abort.c:79
#6  0x000055e5bd64c20c in safe_mutex_lock ()
#7  0x000055e5bcb9ae33 in plugin_foreach_with_mask(THD*, char (*)(THD*, st_plugin_int**, void*), int, unsigned int, void*) ()
#8  0x000055e5bccbe321 in mysql_audit_acquire_plugins(THD*, unsigned long*) ()
#9  0x000055e5bccbe9c1 in mysql_audit_notify(THD*, unsigned int, void const*) ()
#10 0x000055e5bcb1c37c in THD::raise_condition(unsigned int, char const*, Sql_state_errno_level::enum_warning_level, Sql_user_condition_identity const&, char const*) ()
#11 0x000055e5bca7cf57 in my_message_sql ()
#12 0x000055e5bd63bbd6 in my_error ()
...

To reproduce, run INSTALL SONAME 'ha_columnstore'
then restart the server with --plugin-load-add=ha_columnstore.

I have a debug build, not sure whether it's reproducible on a non-debug one.



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2019-12-26 ]

This is a duplicate of an MDEV that has affected other things but I don't have the MDEV number handy. IIRC the bug is in the audit plugin, not ColumnStore.

Comment by Volker Klasen [ 2020-03-31 ]

I guess it's MDEV-19918? I have the same issue with auth_pam when loading via --plugin-load-add and "INSTALL SONAME"

Generated at Thu Feb 08 02:44:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.