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

Mysqld crash in buf_page_t::is_accessed

    XMLWordPrintable

Details

    • Can result in hang or crash

    Description

      Mysqld crash found on debug build of 10.11

      origin/10.11 080d92a6217a757300b629360cacf625f3c7ea60

      # 2025-12-16T01:20:43 [636598] | #0  buf_page_t::is_accessed (this=this@entry=0x0) at /data/Server/10.11G/storage/innobase/include/buf0buf.h:868
      # 2025-12-16T01:20:43 [636598] | #1  0x00005f25317c8445 in buf_page_t::set_accessed (this=this@entry=0x0) at /data/Server/10.11G/storage/innobase/include/buf0buf.h:861
      # 2025-12-16T01:20:43 [636598] | #2  0x00005f25317de72d in buf_page_make_young_if_needed (bpage=bpage@entry=0x0) at /data/Server/10.11G/storage/innobase/buf/buf0lru.cc:719
      # 2025-12-16T01:20:43 [636598] | #3  0x00005f25317e6025 in dict_hdr_get (mtr=mtr@entry=0x350d196cb300) at /data/Server/10.11G/storage/innobase/dict/dict0boot.cc:47
      # 2025-12-16T01:20:43 [636598] | #4  0x00005f25317e7211 in dict_hdr_flush_row_id (id=id@entry=1280) at /data/Server/10.11G/storage/innobase/dict/dict0boot.cc:105
      # 2025-12-16T01:20:43 [636598] | #5  0x00005f25316df2b3 in dict_sys_t::get_new_row_id (this=<optimized out>) at /data/Server/10.11G/storage/innobase/include/dict0boot.h:54
      # 2025-12-16T01:20:43 [636598] | #6  0x00005f25316d6f7f in row_ins_alloc_row_id_step (node=0x5f253803cb00) at /data/Server/10.11G/storage/innobase/row/row0ins.cc:3680
      # 2025-12-16T01:20:43 [636598] | #7  0x00005f25316de9b0 in row_ins (node=node@entry=0x5f253803cb00, thr=thr@entry=0x5f253803cfe0) at /data/Server/10.11G/storage/innobase/row/row0ins.cc:3764
      # 2025-12-16T01:20:43 [636598] | #8  0x00005f25316ded83 in row_ins_step (thr=thr@entry=0x5f253803cfe0) at /data/Server/10.11G/storage/innobase/row/row0ins.cc:3916
      # 2025-12-16T01:20:43 [636598] | #9  0x00005f25316f7354 in row_insert_for_mysql (mysql_rec=mysql_rec@entry=0x5f253803ad28 "\360\023", prebuilt=0x5f253803c570, ins_mode=<optimized out>) at /data/Server/10.11G/storage/innobase/row/row0mysql.cc:1301
      # 2025-12-16T01:20:43 [636598] | #10 0x00005f25315b6143 in ha_innobase::write_row (this=0x5f253803a528, record=0x5f253803ad28 "\360\023") at /data/Server/10.11G/storage/innobase/handler/ha_innodb.cc:7776
      # 2025-12-16T01:20:43 [636598] | #11 0x00005f2531384977 in handler::ha_write_row (this=0x5f253803a528, buf=0x5f253803ad28 "\360\023") at /data/Server/10.11G/sql/handler.cc:7772
      # 2025-12-16T01:20:43 [636598] | #12 0x00005f25310d6031 in Write_record::single_insert (this=this@entry=0x350d196cbca0, inserted=inserted@entry=0x350d196cbb20) at /data/Server/10.11G/sql/sql_insert.cc:2320
      # 2025-12-16T01:20:43 [636598] | #13 0x00005f25310d664a in Write_record::write_record (this=this@entry=0x350d196cbca0) at /data/Server/10.11G/sql/sql_insert.cc:2362
      # 2025-12-16T01:20:43 [636598] | #14 0x00005f25310dc884 in mysql_insert (thd=thd@entry=0x5f2538002568, table_list=<optimized out>, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false, result=0x0) at /data/Server/10.11G/sql/sql_insert.cc:1216
      # 2025-12-16T01:20:43 [636598] | #15 0x00005f253110dad6 in mysql_execute_command (thd=thd@entry=0x5f2538002568, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/Server/10.11G/sql/sql_parse.cc:4643
      # 2025-12-16T01:20:43 [636598] | #16 0x00005f25311129a7 in mysql_parse (thd=thd@entry=0x5f2538002568, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x350d196cc3f0) at /data/Server/10.11G/sql/sql_parse.cc:8229
      # 2025-12-16T01:20:43 [636598] | #17 0x00005f2531114013 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x5f2538002568, packet=packet@entry=0x5f253800c879 "INSERT INTO t3 (col1,col2, col_int, col_string, col_text) VALUES ( 19, 19, 19, REPEAT(SUBSTR(CAST( 19 AS CHAR),1,1), 10), REPEAT(SUBSTR(CAST( 19 AS CHAR),1,1), @fill_amount) ) /* E_R Thread1 QNO 9254 CON_ID 17 */ ", packet_length=packet_length@entry=213, blocking=blocking@entry=true) at /data/Server/10.11G/sql/sql_parse.cc:1921
      # 2025-12-16T01:20:43 [636598] | #18 0x00005f25311154b1 in do_command (thd=thd@entry=0x5f2538002568, blocking=blocking@entry=true) at /data/Server/10.11G/sql/sql_parse.cc:1434
      # 2025-12-16T01:20:43 [636598] | #19 0x00005f253123888d in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5f25306aef08, put_in_cache=put_in_cache@entry=true) at /data/Server/10.11G/sql/sql_connect.cc:1475
      # 2025-12-16T01:20:43 [636598] | #20 0x00005f2531238a9e in handle_one_connection (arg=0x5f25306aef08) at /data/Server/10.11G/sql/sql_connect.cc:1387
      # 2025-12-16T01:20:43 [636598] | #21 0x0000000070138a94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
      # 2025-12-16T01:20:43 [636598] | #22 0x00000000701c5a34 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
      

      RR trace is present on SDP:-
      /data/results/1765876729/TBR-2353

      debug_debug parameer is used while testing:-

      SET DEBUG_DBUG='+d,page_intermittent_checksum_mismatch' ;
      

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              saahil Saahil Alam
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.