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

Getting Shutdown server hang

    XMLWordPrintable

Details

    Description

      Stacktrace

      # 2026-06-23T01:22:42 [1130404] | #0  0x0000000070000002 in syscall_traced ()
      # 2026-06-23T01:22:42 [1130404] | #1  0x00007ffc79bd9018 in _raw_syscall () at /home/ubuntu/rr/src/preload/raw_syscall.S:120
      # 2026-06-23T01:22:42 [1130404] | #2  0x00007ffc79bd2909 in traced_raw_syscall (call=0x681fffa0) at /home/ubuntu/rr/src/preload/syscallbuf.c:379
      # 2026-06-23T01:22:42 [1130404] | #3  0x00007ffc79bd7ee8 in sys_futex (call=<optimized out>) at /home/ubuntu/rr/src/preload/syscallbuf.c:2057
      # 2026-06-23T01:22:42 [1130404] | #4  syscall_hook_internal (call=call@entry=0x681fffa0) at /home/ubuntu/rr/src/preload/syscallbuf.c:4203
      # 2026-06-23T01:22:42 [1130404] | #5  0x00007ffc79bd8da4 in syscall_hook (call=0x681fffa0) at /home/ubuntu/rr/src/preload/syscallbuf.c:4387
      # 2026-06-23T01:22:42 [1130404] | #6  syscall_hook (call=0x681fffa0) at /home/ubuntu/rr/src/preload/syscallbuf.c:4371
      # 2026-06-23T01:22:42 [1130404] | #7  0x00007ffc79bd2323 in _syscall_hook_trampoline () at /home/ubuntu/rr/src/preload/syscall_hook.S:308
      # 2026-06-23T01:22:42 [1130404] | #8  0x00007ffc79bd238d in __morestack () at /home/ubuntu/rr/src/preload/syscall_hook.S:443
      # 2026-06-23T01:22:42 [1130404] | #9  0x00007ffc79bd26da in _syscall_hook_trampoline_b8_ca_00_00_00 () at /home/ubuntu/rr/src/preload/syscall_hook.S:634
      # 2026-06-23T01:22:42 [1130404] | #10 0x000070e803354d61 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5963489ba1cc <fil_crypt_cond+44>) at ./nptl/futex-internal.c:57
      # 2026-06-23T01:22:42 [1130404] | #11 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x5963489ba1cc <fil_crypt_cond+44>) at ./nptl/futex-internal.c:87
      # 2026-06-23T01:22:42 [1130404] | #12 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5963489ba1cc <fil_crypt_cond+44>, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
      # 2026-06-23T01:22:42 [1130404] | #13 0x000070e8033577dd in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5963489ba048 <fil_crypt_threads_mutex+40>, cond=0x5963489ba1a0 <fil_crypt_cond>) at ./nptl/pthread_cond_wait.c:503
      # 2026-06-23T01:22:42 [1130404] | #14 ___pthread_cond_wait (cond=cond@entry=0x5963489ba1a0 <fil_crypt_cond>, mutex=mutex@entry=0x5963489ba048 <fil_crypt_threads_mutex+40>) at ./nptl/pthread_cond_wait.c:627
      # 2026-06-23T01:22:42 [1130404] | #15 0x00005963475678ed in safe_cond_wait (cond=0x5963489ba1a0 <fil_crypt_cond>, mp=0x5963489ba020 <fil_crypt_threads_mutex>, file=0x59634777d128 "/data/Server/11.4ES/storage/innobase/fil/fil0crypt.cc", line=2369) at /data/Server/11.4ES/mysys/thr_mutex.c:489
      # 2026-06-23T01:22:42 [1130404] | #16 0x00005963474a677c in fil_crypt_set_thread_cnt (new_cnt=<optimized out>, new_cnt@entry=0) at /data/Server/11.4ES/storage/innobase/fil/fil0crypt.cc:2369
      # 2026-06-23T01:22:42 [1130404] | #17 0x00005963473c3812 in innodb_preshutdown () at /data/Server/11.4ES/storage/innobase/srv/srv0start.cc:2020
      # 2026-06-23T01:22:42 [1130404] | #18 0x0000596346ff2fbc in plugin_pre_shutdown (plugin=<optimized out>) at /data/Server/11.4ES/sql/handler.cc:1127
      # 2026-06-23T01:22:42 [1130404] | #19 0x0000596346d78b04 in plugin_foreach_with_mask (thd=thd@entry=0x0, func=func@entry=0x596346ff2f9f <plugin_pre_shutdown(THD*, plugin_ref, void*)>, type=type@entry=1, state_mask=state_mask@entry=10, arg=arg@entry=0x0) at /data/Server/11.4ES/sql/sql_plugin.cc:2574
      # 2026-06-23T01:22:42 [1130404] | #20 0x0000596346ff7ac1 in ha_pre_shutdown () at /data/Server/11.4ES/sql/handler.cc:1134
      # 2026-06-23T01:22:42 [1130404] | #21 0x0000596346c64696 in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /data/Server/11.4ES/sql/mysqld.cc:6271
      # 2026-06-23T01:22:42 [1130404] | #22 0x0000596346c581a6 in main (argc=<optimized out>, argv=<optimized out>) at /data/Server/11.4ES/sql/main.cc:34
      

      RR trace is present on SDP:-
      /data/results/1782199370/001912

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              saahil Saahil Alam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1h
                  1h

                  Git Integration

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