Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-2436

Assertion `trx_map_.size() == 0' failed in galera/src/wsdb.cpp:54: galera::Wsdb::~Wsdb()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.6.x, 5.7.x
    • Fix Version/s: 5.6.44-28.34, 5.7.26-31.37
    • Component/s: None
    • Labels:

      Description

      GDB Info

      #0  __pthread_kill (threadid=<optimized out>, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:62
      #1  0x0000000000b55cc4 in my_write_core (sig=6) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/mysys/stacktrace.c:424
      #2  0x000000000077d9b8 in handle_fatal_signal (sig=6) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/signal_handler.cc:248
      #3  <signal handler called>
      #4  0x00007fc0e9aeb428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
      #5  0x00007fc0e9aed02a in __GI_abort () at abort.c:89
      #6  0x00007fc0e9ae3bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7fc0cd126148 "trx_map_.size() == 0", file=file@entry=0x7fc0cd126109 "galera/src/wsdb.cpp", line=line@entry=54, function=function@entry=0x7fc0cd126400 <galera::Wsdb::~Wsdb()::__PRETTY_FUNCTION__> "galera::Wsdb::~Wsdb()") at assert.c:92
      #7  0x00007fc0e9ae3c82 in __GI___assert_fail (assertion=0x7fc0cd126148 "trx_map_.size() == 0", file=0x7fc0cd126109 "galera/src/wsdb.cpp", line=54, function=0x7fc0cd126400 <galera::Wsdb::~Wsdb()::__PRETTY_FUNCTION__> "galera::Wsdb::~Wsdb()") at assert.c:101
      #8  0x00007fc0cd09ac84 in galera::Wsdb::~Wsdb (this=0x7fc0d03719e8, __in_chrg=<optimized out>) at galera/src/wsdb.cpp:54
      #9  0x00007fc0cd0d7232 in galera::ReplicatorSMM::~ReplicatorSMM (this=0x7fc0d0371000, __in_chrg=<optimized out>) at galera/src/replicator_smm.cpp:274
      #10 0x00007fc0cd0d7652 in galera::ReplicatorSMM::~ReplicatorSMM (this=0x7fc0d0371000, __in_chrg=<optimized out>) at galera/src/replicator_smm.cpp:294
      #11 0x00007fc0cd0f71d8 in galera_tear_down (gh=0x7fc0d035e140) at galera/src/wsrep_provider.cpp:103
      #12 0x0000000000f65a6f in wsrep_unload (hptr=0x7fc0d035e140) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/wsrep/src/wsrep_loader.c:222
      #13 0x00000000006603d8 in wsrep_deinit () at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/wsrep_mysqld.cc:713
      #14 0x000000000066c1a8 in wsrep_provider_update (self=0x18c2e60 <Sys_wsrep_provider>, thd=0x7fc0b5e97000, type=OPT_GLOBAL) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/wsrep_var.cc:368
      #15 0x000000000077b2d7 in sys_var::update (this=0x18c2e60 <Sys_wsrep_provider>, thd=0x7fc0b5e97000, var=0x7fc0a681f0e0) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/set_var.cc:194
      #16 0x000000000077b836 in sys_var::set_default (this=0x18c2e60 <Sys_wsrep_provider>, thd=0x7fc0b5e97000, var=0x7fc0a681f0e0) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/set_var.cc:258
      #17 0x000000000077c534 in set_var::update (this=0x7fc0a681f0e0, thd=0x7fc0b5e97000) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/set_var.cc:683
      #18 0x000000000077c092 in sql_set_variables (thd=0x7fc0b5e97000, var_list=0x7fc0b5e9a0f0, free_joins=true) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/set_var.cc:582
      #19 0x0000000000845036 in mysql_execute_command (thd=0x7fc0b5e97000) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/sql_parse.cc:4712
      #20 0x000000000084eb6e in mysql_parse (thd=0x7fc0b5e97000, rawbuf=0x7fc0a681f010 "SET @@global.wsrep_provider=default", length=35, parser_state=0x7fc0ebf776d0, update_userstat=false) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/sql_parse.cc:7911
      #21 0x000000000084de8b in wsrep_mysql_parse (thd=0x7fc0b5e97000, rawbuf=0x7fc0a681f010 "SET @@global.wsrep_provider=default", length=35, parser_state=0x7fc0ebf776d0, update_userstat=false) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/sql_parse.cc:7625
      #22 0x000000000083cbad in dispatch_command (command=COM_QUERY, thd=0x7fc0b5e97000, packet=0x7fc0b5e9b001 "SET @@global.wsrep_provider=default;", packet_length=36) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/sql_parse.cc:1797
      #23 0x000000000083b154 in do_command (thd=0x7fc0b5e97000) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/sql_parse.cc:1218
      #24 0x00000000007ff27c in do_handle_one_connection (thd_arg=0x7fc0cfb76000) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/sql_connect.cc:1620
      #25 0x00000000007fef49 in handle_one_connection (arg=0x7fc0cfb76000) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/sql/sql_connect.cc:1517
      #26 0x0000000000b9cad0 in pfs_spawn_thread (arg=0x7fc0d83fae20) at /mnt/workspace/pxc56.build/BUILD_TYPE/debug/label_exp/min-xenial-x64/storage/perfschema/pfs.cc:1861
      #27 0x00007fc0ea7346ba in start_thread (arg=0x7fc0ebf79700) at pthread_create.c:333
      #28 0x00007fc0e9bbd41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ramesh.sivaraman Ramesh Sivaraman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Smart Checklist