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

SIGSEV in btr_sea::partition::erase<true>btr0sea.cc

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      MDEV-37482 CS 11.8.4 68fe6149ee348cd930039b70815c21f3b629572c (Optimized, Clang 18.1.3-11) Build 23/09/2025

      Core was generated by `/test/MDEV-37482-MD230925-mariadb-11.8.4-linux-x86_64-opt/bin/mariadbd --no-def'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  btr_sea::partition::erase<true>(unsigned int, unsigned char const*)::{lambda(ahi_node const*)#1}::operator()(ahi_node const*) const (node=0x0, this=<optimized out>)at /test/MDEV-37482_opt/storage/innobase/btr/btr0sea.cc:923
       
      warning: Source file is more recent than executable.
      923	  { return (!ex && !node) || node->rec == rec; });
      [Current thread is 1 (LWP 2491249)]
      (gdb) bt
      #0  btr_sea::partition::erase<true>(unsigned int, unsigned char const*)::{lambda(ahi_node const*)#1}::operator()(ahi_node const*) const (node=0x0, this=<optimized out>)at /test/MDEV-37482_opt/storage/innobase/btr/btr0sea.cc:923
      #1  btr_sea::hash_chain::search<btr_sea::partition::erase<true>(unsigned int, unsigned char const*)::{lambda(ahi_node const*)#1}>(btr_sea::partition::erase<true>(unsigned int, unsigned char const*)::{lambda(ahi_node const*)#1}) (u={rec = 0x720b4970f934 ""}, this=<optimized out>)at /test/MDEV-37482_opt/storage/innobase/btr/btr0sea.cc:79
      #2  btr_sea::partition::erase<true> (this=0x5cb142a29240 <btr_search+64>, fold=3904297136, rec=0x720b4970f934 "")at /test/MDEV-37482_opt/storage/innobase/btr/btr0sea.cc:922
      #3  btr_search_update_hash_on_delete (cursor=cursor@entry=0x5cb1460a1a50)at /test/MDEV-37482_opt/storage/innobase/btr/btr0sea.cc:1803
      #4  0x00005cb141e0a192 in btr_cur_optimistic_delete (cursor=0x5cb1460a1a50, flags=flags@entry=0, mtr=mtr@entry=0x720b23ffe380)at /test/MDEV-37482_opt/storage/innobase/btr/btr0cur.cc:4448
      #5  0x00005cb141db229f in row_purge_remove_clust_if_poss_low (node=node@entry=0x5cb1460a19c8, mode=mode@entry=BTR_MODIFY_LEAF)at /test/MDEV-37482_opt/storage/innobase/row/row0purge.cc:226
      #6  0x00005cb141daf7a1 in row_purge_remove_clust_if_poss (node=0x5cb1460a19c8)at /test/MDEV-37482_opt/storage/innobase/row/row0purge.cc:264
      #7  row_purge_del_mark (node=0x5cb1460a19c8)at /test/MDEV-37482_opt/storage/innobase/row/row0purge.cc:1022
      #8  row_purge_record_func (node=0x5cb1460a19c8, undo_rec=0x720b489a8d9b "", thr=0x5cb1460a17f0, updated_extern=<optimized out>)at /test/MDEV-37482_opt/storage/innobase/row/row0purge.cc:1517
      #9  row_purge (node=0x5cb1460a19c8, undo_rec=0x720b489a8d9b "", thr=0x5cb1460a17f0)at /test/MDEV-37482_opt/storage/innobase/row/row0purge.cc:1578
      #10 row_purge_step (thr=thr@entry=0x5cb1460a17f0)at /test/MDEV-37482_opt/storage/innobase/row/row0purge.cc:1641
      #11 0x00005cb141d768f5 in que_thr_step (thr=0x5cb1460a17f0)at /test/MDEV-37482_opt/storage/innobase/que/que0que.cc:553
      #12 que_run_threads_low (thr=0x5cb1460a17f0)at /test/MDEV-37482_opt/storage/innobase/que/que0que.cc:609
      #13 que_run_threads (thr=thr@entry=0x5cb1460a17f0)at /test/MDEV-37482_opt/storage/innobase/que/que0que.cc:629
      #14 0x00005cb141dd2183 in srv_task_execute ()at /test/MDEV-37482_opt/storage/innobase/srv/srv0srv.cc:1357
      #15 srv_purge_worker_task_low ()at /test/MDEV-37482_opt/storage/innobase/srv/srv0srv.cc:1488
      #16 0x00005cb1416a1476 in trx_purge (n_tasks=n_tasks@entry=4, history_size=<optimized out>)at /test/MDEV-37482_opt/storage/innobase/trx/trx0purge.cc:1443
      #17 0x00005cb141dd294b in purge_coordinator_state::do_purge (this=0x5cb143397e88 <purge_state>)at /test/MDEV-37482_opt/storage/innobase/srv/srv0srv.cc:1423
      #18 0x00005cb141dd171e in purge_coordinator_callback ()at /test/MDEV-37482_opt/storage/innobase/srv/srv0srv.cc:1507
      #19 0x00005cb141ea4f28 in tpool::task_group::execute (this=0x5cb143397c28 <purge_coordinator_task_group>, t=0x5cb143397cd0 <purge_coordinator_task>)at /test/MDEV-37482_opt/tpool/task_group.cc:73
      #20 0x00005cb141ea2cf6 in tpool::thread_pool_generic::worker_main (this=0x5cb145d49d50, thread_var=0x5cb145d49f80)at /test/MDEV-37482_opt/tpool/tpool_generic.cc:529
      #21 0x0000720ba64ecdb4 in std::execute_native_thread_routine (__p=0x720ba0000c50)at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:104
      #22 0x0000720ba609caa4 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
      #23 0x0000720ba6129c3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
      #24 0x0000000000000000 in ?? ()
      

      Core dump is present on SDP:-
      /data/results/MDEV-37716/mysqld

      Steps to generate stacktrace:-
      gdb -c core mariadbd

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              saahil Saahil Alam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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