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

SIGABRT in ib_counter_t from buf_inc_get

Details

    Description

      CS 11.8.1 6f1161aa34cbb178b00fc24cbc46e2e0e2af767a (Optimized) Build 05/03/2025

      Core was generated by `/test/MD050325-mariadb-11.8.1-linux-x86_64-opt/bin/mariadbd --no-defaults --max'.
      Program terminated with signal SIGABRT, Aborted.
      #0  ib_counter_t<unsigned long, ib_counter_element_t, 128>::add (this=<optimized out>, index=2070842638, n=1) at include/ut0counter.h:75
       
      [Current thread is 1 (Thread 0x270a1a0d16c0 (LWP 1213190))]
      (gdb) bt
      #0  ib_counter_t<unsigned long, ib_counter_element_t, 128>::add (this=<optimized out>, index=2070842638, n=1) at include/ut0counter.h:75
      #1  ib_counter_t<unsigned long, ib_counter_element_t, 128>::add (this=<optimized out>, n=1) at include/ut0counter.h:69
      #2  ib_counter_t<unsigned long, ib_counter_element_t, 128>::inc (this=<optimized out>) at include/ut0counter.h:60
      #3  ib_counter_t<unsigned long, ib_counter_element_t, 128>::operator++ (this=<optimized out>) at include/ut0counter.h:61
      #4  buf_inc_get (stats=0x0)at /test/11.8_opt/storage/innobase/buf/buf0buf.cc:2367
      #5  buf_page_get_gen (page_id={m_id = 21474836483}, zip_size=0, rw_latch=rw_latch@entry=RW_S_LATCH, guess=guess@entry=0x342d35012560, mode=mode@entry=10, mtr=mtr@entry=0x270a1a0cfe10, err=0x270a1a0cf594)at /test/11.8_opt/storage/innobase/buf/buf0buf.cc:2790
      #6  0x0000559db878642b in btr_cur_t::search_leaf (this=0x18152c0079c0, tuple=0x18152c005f78, mode=PAGE_CUR_LE, latch_mode=BTR_MODIFY_LEAF, mtr=0x270a1a0cfe10) at /test/11.8_opt/storage/innobase/btr/btr0cur.cc:1230
      #7  0x0000559db802b33e in btr_pcur_open_with_no_init (tuple=0x18152c005f78, mode=40777631, latch_mode=BTR_MODIFY_LEAF, cursor=0x18152c0079c0, mtr=0x270a1a0cfe10) at include/btr0pcur.inl:322
      #8  btr_pcur_t::restore_position (this=0x18152c0079c0, restore_latch_mode=BTR_MODIFY_LEAF, mtr=0x270a1a0cfe10)at /test/11.8_opt/storage/innobase/btr/btr0pcur.cc:424
      #9  0x0000559db8749a35 in row_upd_clust_step (node=0x18152c006d98, thr=0x18152c0086a8) at /test/11.8_opt/storage/innobase/row/row0upd.cc:2609
      #10 row_upd (node=0x18152c006d98, thr=0x18152c0086a8)at /test/11.8_opt/storage/innobase/row/row0upd.cc:2756
      #11 row_upd_step (thr=thr@entry=0x18152c0086a8)at /test/11.8_opt/storage/innobase/row/row0upd.cc:2898
      #12 0x0000559db86f8597 in que_thr_step (thr=0x18152c0086a8)at /test/11.8_opt/storage/innobase/que/que0que.cc:535
      #13 que_run_threads_low (thr=0x18152c0086a8)at /test/11.8_opt/storage/innobase/que/que0que.cc:609
      #14 que_run_threads (thr=0x18152c0086a8)at /test/11.8_opt/storage/innobase/que/que0que.cc:629
      #15 0x0000559db86f884a in que_eval_sql (info=info@entry=0x18152c001478, sql=<optimized out>, trx=0x14c84ddf3c80)at /test/11.8_opt/storage/innobase/que/que0que.cc:668
      #16 0x0000559db87c65ab in dict_stats_exec_sql (pinfo=0x18152c001478, trx=0x26e379f, sql=<optimized out>)at /test/11.8_opt/storage/innobase/dict/dict0stats.cc:556
      #17 dict_stats_save_index_stat (index=index@entry=0x8a2282028f8, last_update=last_update@entry=1741208087, stat_name=0x559db8b40ccc "size", stat_value=1, sample_size=sample_size@entry=0x0, stat_description=0x559db8b44201 "Number of pages in the index", trx=0x14c84ddf3c80)at /test/11.8_opt/storage/innobase/dict/dict0stats.cc:2773
      #18 0x0000559db87c8b1e in dict_stats_save (table=<optimized out>, only_for_index=0x0)at /test/11.8_opt/storage/innobase/dict/dict0stats.cc:3062
      #19 0x0000559db87cfc49 in dict_stats_process_entry_from_recalc_pool (thd=0x628748000d48)at /test/11.8_opt/storage/innobase/dict/dict0stats_bg.cc:342
      #20 dict_stats_func ()at /test/11.8_opt/storage/innobase/dict/dict0stats_bg.cc:387
      #21 0x0000559db882414d in tpool::thread_pool_generic::timer_generic::run (this=0x559dd4791500) at /test/11.8_opt/tpool/tpool_generic.cc:336
      #22 0x0000559db88249f7 in tpool::task::execute (this=0x559dd4791540)at /test/11.8_opt/tpool/task.cc:37
      #23 0x0000559db88224d6 in tpool::thread_pool_generic::worker_main (this=0x559dd43e8cb0, thread_var=0x559dd43e9020)at /test/11.8_opt/tpool/tpool_generic.cc:574
      #24 0x0000073b696a1db4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
      #25 0x0000320363d2baa4 in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:447
      #26 0x0000320363db8a34 in clone ()at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
      

      rr trace:

      rr:/data/MDEV-36231/rr$ rr replay ./latest-trace
      

      Attachments

        Activity

          People

            Roel Roel Van de Paar
            Roel Roel Van de Paar
            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.