Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13083

Assertion `prev == 0 && next == 0' or wrong usage of mutex 'LOCK_thread_count' and 'LOCK_status'

    XMLWordPrintable

Details

    Description

      scripts/mysql_install_db --no-defaults --plugin-load=handlersocket --handlersocket_port=9998
      

      10.1 3976ec1e8 debug

      handlersocket: terminated
      safe_mutex: Found wrong usage of mutex 'LOCK_thread_count' and 'LOCK_status'
      Mutex currently locked (in reverse order):
      LOCK_status                       /data/src/10.1/sql/sql_class.h  line 3853
      LOCK_thread_count                 /data/src/10.1/plugin/handler_socket/handlersocket/database.cpp  line 350
      

      10.2 7a12894de1 debug

      mysqld: /data/src/10.2/sql/sql_class.cc:1559: virtual THD::~THD(): Assertion `prev == 0 && next == 0' failed.
      170613 23:02:55 [ERROR] mysqld got signal 6 ;
       
      #3  0x00007f28a6c23ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #4  0x0000556b5a297d20 in THD::~THD (this=0x7f2884000b00, __in_chrg=<optimized out>) at /data/src/10.2/sql/sql_class.cc:1559
      #5  0x0000556b5a298478 in THD::~THD (this=0x7f2884000b00, __in_chrg=<optimized out>) at /data/src/10.2/sql/sql_class.cc:1636
      #6  0x00007f28a496b857 in dena::dbcontext::term_thread (this=0x556b5d1b5ce0) at /data/src/10.2/plugin/handler_socket/handlersocket/database.cpp:348
      #7  0x00007f28a497a75c in dena::(anonymous namespace)::thr_init::~thr_init (this=0x7f2893ffee90, __in_chrg=<optimized out>) at /data/src/10.2/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:322
      #8  0x00007f28a497a8ae in dena::hstcpsvr_worker::run (this=0x556b5d1b5c20) at /data/src/10.2/plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp:346
      #9  0x00007f28a498596f in dena::worker_throbj::operator() (this=0x556b5d1b5bf0) at /data/src/10.2/plugin/handler_socket/handlersocket/hstcpsvr.cpp:34
      #10 0x00007f28a49871a6 in dena::thread<dena::worker_throbj>::thread_main (arg=0x556b5d1b5bf0) at /data/src/10.2/plugin/handler_socket/libhsclient/thread.hpp:71
      #11 0x00007f28a8b68494 in start_thread (arg=0x7f2893fff700) at pthread_create.c:333
      #12 0x00007f28a6ce093f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.