[MDEV-10992] safe_mutex: Trying to lock unitialized mutex at /data/src/10.2/sql/session_tracker.cc, line 668 - tests in galera* and wsrep* suites fail Created: 2016-10-09  Updated: 2016-10-10  Resolved: 2016-10-10

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.2
Fix Version/s: 10.2.3

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

WSREP_PROVIDER=/galera-25.3.15-glibc_214-x86_64/usr/lib/libgalera_smm.so perl ./mtr galera.galera_binlog_checksum

2016-10-09 18:12:42 140167163701120 [Note] WSREP: Waiting for SST to complete.
2016-10-09 18:12:42 140166920398592 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 1
safe_mutex: Trying to lock unitialized mutex at /data/src/10.2/sql/session_tracker.cc, line 668
161009 18:12:42 [ERROR] mysqld got signal 6 ;
safe_mutex: Trying to lock unitialized mutex at /data/src/10.2/sql/session_tracker.cc, line 668
This could be because you hit a bug. It is also possible that this binary

#1  0x00007f7b325ce448 in __GI_abort () at abort.c:89
#2  0x00007f7b35844563 in safe_mutex_lock (mp=0x7f7b36309c80 <LOCK_plugin>, my_flags=0, file=0x7f7b358b1f98 "/data/src/10.2/sql/session_tracker.cc", line=668) at /data/src/10.2/mysys/thr_mutex.c:245
#3  0x00007f7b34da55f3 in inline_mysql_mutex_lock (that=0x7f7b36309c80 <LOCK_plugin>, src_file=0x7f7b358b1f98 "/data/src/10.2/sql/session_tracker.cc", src_line=668) at /data/src/10.2/include/mysql/psi/mysql_thread.h:681
#4  0x00007f7b34da617f in Session_sysvars_tracker::enable (this=0x7f7b25c54040, thd=0x7f7b25c16070) at /data/src/10.2/sql/session_tracker.cc:668
#5  0x00007f7b34da79af in Session_tracker::enable (this=0x7f7b25c1b378, thd=0x7f7b25c16070) at /data/src/10.2/sql/session_tracker.cc:1640
#6  0x00007f7b34e17385 in THD::init (this=0x7f7b25c16070) at /data/src/10.2/sql/sql_class.cc:1472
#7  0x00007f7b34e15af6 in THD::THD (this=0x7f7b25c16070, id=2, is_wsrep_applier=true) at /data/src/10.2/sql/sql_class.cc:1026
#8  0x00007f7b3502c67d in start_wsrep_THD (arg=0x7f7b3503de32 <wsrep_rollback_process(THD*)>) at /data/src/10.2/sql/wsrep_mysqld.cc:1802
#9  0x00007f7b344c80a4 in start_thread (arg=0x7f7b36004300) at pthread_create.c:309
#10 0x00007f7b3268087d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Same for other galera and wsrep tests.



 Comments   
Comment by Nirbhay Choubey (Inactive) [ 2016-10-10 ]

Fix for MDEV-9312 also fixes this.

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