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

sig 11 thd_get_thread_id (thd=0x0) lock_wait_wsrep

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6.16, 11.2.1
    • None
    • wsrep
    • None

    Description

      Pstress load is running DML with rollbacks. Also node was killed and restarted. During IST

      #0 0x000056224d8e5464 in thd_get_thread_id (thd=0x0) at /home/rahul/MySQL/src/o84/sql/sql_class.cc:4880
      #1 0x000056224e27fa96 in lock_wait_wsrep (trx=0x7feb55cafb80) at /home/rahul/MySQL/src/o84/storage/innobase/lock/lock0lock.cc:1040
      #2 0x000056224e283a1c in lock_wait (thr=0x7feaec028e08) at /home/rahul/MySQL/src/o84/storage/innobase/lock/lock0lock.cc:1924
      #3 0x000056224e3a5f57 in row_mysql_handle_errors (new_err=0x7feb543beac4, trx=0x7feb55cafb80, thr=0x7feaec028e08, savept=0x7feb543beac8) at /home/rahul/MySQL/src/o84/storage/innobase/row/row0mysql.cc:688
      #4 0x000056224e3a79e1 in row_insert_for_mysql (mysql_rec=0x7feaec027a18 "\377\240\323\v", prebuilt=0x7feaec028728, ins_mode=ROW_INS_NORMAL) at /home/rahul/MySQL/src/o84/storage/innobase/row/row0mysql.cc:1326
      #5 0x000056224e1c86b1 in ha_innobase::write_row (this=0x7feaec027e80, record=0x7feaec027a18 "\377\240\323\v") at /home/rahul/MySQL/src/o84/storage/innobase/handler/ha_innodb.cc:7920
      #6 0x000056224dd3d2cb in handler::ha_write_row (this=0x7feaec027e80, buf=0x7feaec027a18 "\377\240\323\v") at /home/rahul/MySQL/src/o84/sql/handler.cc:7649
      #7 0x000056224dec1f18 in Rows_log_event::write_row (this=0x7feaec0231e8, rgi=0x7feaec0223c0, overwrite=false) at /home/rahul/MySQL/src/o84/sql/log_event_server.cc:7381
      #8 0x000056224dec25c5 in Write_rows_log_event::do_exec_row (this=0x7feaec0231e8, rgi=0x7feaec0223c0) at /home/rahul/MySQL/src/o84/sql/log_event_server.cc:7643
      #9 0x000056224debba81 in Rows_log_event::do_apply_event (this=0x7feaec0231e8, rgi=0x7feaec0223c0) at /home/rahul/MySQL/src/o84/sql/log_event_server.cc:5767
      #10 0x000056224d84ca5e in Log_event::apply_event (this=0x7feaec0231e8, rgi=0x7feaec0223c0) at /home/rahul/MySQL/src/o84/sql/log_event.h:1499
      #11 0x000056224e18a5af in wsrep_apply_events (thd=0x7feaec001008, rli=0x7feaec0167e0, events_buf=0x7feb7e5a42e0, buf_len=0) at /home/rahul/MySQL/src/o84/sql/wsrep_applier.cc:208
      #12 0x000056224e16434f in apply_events (thd=0x7feaec001008, rli=0x7feaec0167e0, data=..., err=...) at /home/rahul/MySQL/src/o84/sql/wsrep_high_priority_service.cc:128
      #13 0x000056224e1667fc in Wsrep_applier_service::apply_write_set (this=0x7feb543c0b20, ws_meta=..., data=..., err=...) at /home/rahul/MySQL/src/o84/sql/wsrep_high_priority_service.cc:595
      #14 0x000056224e784762 in apply_write_set (server_state=..., high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /home/rahul/MySQL/src/o84/wsrep-lib/src/server_state.cpp:332
      #15 0x000056224e788808 in wsrep::server_state::on_apply (this=0x562251747660, high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /home/rahul/MySQL/src/o84/wsrep-lib/src/server_state.cpp:1128
      #16 0x000056224e7a2f35 in wsrep::high_priority_service::apply (this=0x7feb543c0b20, ws_handle=..., ws_meta=..., data=...) at /home/rahul/MySQL/src/o84/wsrep-lib/include/wsrep/high_priority_service.hpp:47
      #17 0x000056224e79faeb in (anonymous namespace)::apply_cb (ctx=0x7feb543c0b20, wsh=0x7feb543bfa30, flags=65, buf=0x7feb543bfa40, meta=0x7feb543bfd10, exit_loop=0x7feb543bfccf)
      at /home/rahul/MySQL/src/o84/wsrep-lib/src/wsrep_provider_v26.cpp:507
      #18 0x00007feb84465c19 in galera::TrxHandleSlave::apply (this=this@entry=0x7feb5000f890, recv_ctx=recv_ctx@entry=0x7feb543c0b20,
      apply_cb=0x56224e79f8af <(anonymous namespace)::apply_cb(void*, wsrep_ws_handle_t const*, uint32_t, wsrep_buf_t const*, wsrep_trx_meta_t const*, wsrep_bool_t*)>, meta=...,
      exit_loop=exit_loop@entry=@0x7feb543bfccf: false) at /home/rahul/MySQL/src/o87/galera/src/trx_handle.cpp:396
      #19 0x00007feb8447a541 in galera::ReplicatorSMM::apply_trx (this=this@entry=0x56225175d3b0, recv_ctx=recv_ctx@entry=0x7feb543c0b20, ts=...) at /home/rahul/MySQL/src/o87/galera/src/replicator_smm.cpp:516
      #20 0x00007feb8448c5e2 in galera::ReplicatorSMM::process_IST_writeset (this=0x56225175d3b0, recv_ctx=0x7feb543c0b20, ts_ptr=...) at /home/rahul/MySQL/src/o87/galera/src/replicator_str.cpp:1146
      #21 0x00007feb8448d077 in galera::ReplicatorSMM::recv_IST (this=this@entry=0x56225175d3b0, recv_ctx=recv_ctx@entry=0x7feb543c0b20) at /home/rahul/MySQL/src/o87/galera/src/replicator_str.cpp:1192
      #22 0x00007feb8447c3b3 in galera::ReplicatorSMM::async_recv (this=0x56225175d3b0, recv_ctx=0x7feb543c0b20) at /home/rahul/MySQL/src/o87/galera/src/replicator_smm.cpp:405
      #23 0x00007feb84452371 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at /home/rahul/MySQL/src/o87/galera/src/wsrep_provider.cpp:264
      #24 0x000056224e7a1040 in wsrep::wsrep_provider_v26::run_applier (this=0x5622517475b0, applier_ctx=0x7feb543c0b20) at /home/rahul/MySQL/src/o84/wsrep-lib/src/wsrep_provider_v26.cpp:858
      #25 0x000056224e18b517 in wsrep_replication_process (thd=0x7feaec001008, arg=0x562251877590) at /home/rahul/MySQL/src/o84/sql/wsrep_thd.cc:57
      #26 0x000056224e17950b in start_wsrep_THD (arg=0x562251877590) at /home/rahul/MySQL/src/o84/sql/wsrep_mysqld.cc:3633
      #27 0x000056224e0d9ddd in pfs_spawn_thread (arg=0x5622520d7528) at /home/rahul/MySQL/src/o84/storage/perfschema/pfs.cc:2201
      #28 0x00007feb849b3ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
      #29 0x00007feb84a45a40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

      Attaching stack trace from all the ndes

      Attachments

        Activity

          People

            Unassigned Unassigned
            rahulmalik Rahul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.