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

buf_page_t* buf_page_get_zip(page_id_t): Assertion `bpage->state() >= buf_page_t::UNFIXED' failed

    XMLWordPrintable

Details

    Description

      Assertion found while testing origin/MDEV-37994
      Leads to :-

      origin/MDEV-37994 8b3e0d97ad028378d8eb2a2586e28a8ddfaa650f

      # 2025-11-04T03:41:59 [3808403] | mariadbd: /data/Server/MDEV-37994/storage/innobase/buf/buf0buf.cc:2290: buf_page_t* buf_page_get_zip(page_id_t): Assertion `bpage->state() >= buf_page_t::UNFIXED' failed.
      

      StackTrace

      # 2025-11-04T03:43:17 [3808403] Thread 1 (Thread 0x7c183c7b46c0 (LWP 3819600)):
      # 2025-11-04T03:43:17 [3808403] #0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
      # 2025-11-04T03:43:17 [3808403] #1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
      # 2025-11-04T03:43:17 [3808403] #2  __GI___pthread_kill (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89
      # 2025-11-04T03:43:17 [3808403] #3  0x00006004f075bf87 in my_write_core (sig=6) at /data/Server/MDEV-37994/mysys/stacktrace.c:424
      # 2025-11-04T03:43:17 [3808403] #4  0x00006004f01db9f0 in handle_fatal_signal (sig=6) at /data/Server/MDEV-37994/sql/signal_handler.cc:298
      # 2025-11-04T03:43:17 [3808403] #5  <signal handler called>
      # 2025-11-04T03:43:17 [3808403] #6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
      # 2025-11-04T03:43:17 [3808403] #7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
      # 2025-11-04T03:43:17 [3808403] #8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
      # 2025-11-04T03:43:17 [3808403] #9  0x00007c184ce4526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      # 2025-11-04T03:43:17 [3808403] #10 0x00007c184ce288ff in __GI_abort () at ./stdlib/abort.c:79
      # 2025-11-04T03:43:17 [3808403] #11 0x00007c184ce2881b in __assert_fail_base (fmt=0x7c184cfd01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x6004f0935100 "bpage->state() >= buf_page_t::UNFIXED", file=file@entry=0x6004f0934218 "/data/Server/MDEV-37994/storage/innobase/buf/buf0buf.cc", line=line@entry=2290, function=function@entry=0x6004f09350b0 "buf_page_t* buf_page_get_zip(page_id_t)") at ./assert/assert.c:94
      # 2025-11-04T03:43:17 [3808403] #12 0x00007c184ce3b507 in __assert_fail (assertion=0x6004f0935100 "bpage->state() >= buf_page_t::UNFIXED", file=0x6004f0934218 "/data/Server/MDEV-37994/storage/innobase/buf/buf0buf.cc", line=2290, function=0x6004f09350b0 "buf_page_t* buf_page_get_zip(page_id_t)") at ./assert/assert.c:103
      # 2025-11-04T03:43:17 [3808403] #13 0x00006004f063e06d in buf_page_get_zip (page_id=...) at /data/Server/MDEV-37994/storage/innobase/buf/buf0buf.cc:2290
      # 2025-11-04T03:43:17 [3808403] #14 0x00006004f061f1c4 in btr_copy_zblob_prefix (buf=buf@entry=0x7c183c7b0f90 "000000000", len=len@entry=9, zip_size=zip_size@entry=2048, id=..., offset=12) at /data/Server/MDEV-37994/storage/innobase/btr/btr0cur.cc:6864
      # 2025-11-04T03:43:17 [3808403] #15 0x00006004f061f69e in btr_copy_externally_stored_field_prefix_low (buf=buf@entry=0x7c183c7b0f90 "000000000", len=len@entry=9, zip_size=zip_size@entry=2048, id=..., offset=<optimized out>) at /data/Server/MDEV-37994/storage/innobase/btr/btr0cur.cc:6978
      # 2025-11-04T03:43:17 [3808403] #16 0x00006004f061f7f0 in btr_copy_externally_stored_field_prefix (buf=buf@entry=0x7c183c7b0f90 "000000000", len=9, zip_size=2048, data=data@entry=0x7c172c0dd244 "", local_len=0, local_len@entry=20) at /data/Server/MDEV-37994/storage/innobase/btr/btr0cur.cc:7030
      # 2025-11-04T03:43:17 [3808403] #17 0x00006004f058f594 in row_sel_sec_rec_is_for_blob (mtype=5, prtype=524540, mbminlen=1, mbmaxlen=1, clust_field=clust_field@entry=0x7c172c0dd244 "", clust_len=20, sec_field=0x7c183b1f185f "111111111\200", sec_len=9, prefix_len=9, table=0x7c17bc088ea0) at /data/Server/MDEV-37994/storage/innobase/row/row0sel.cc:124
      # 2025-11-04T03:43:17 [3808403] #18 0x00006004f0594a40 in row_check_index_match (prebuilt=prebuilt@entry=0x7c167009e4f0, clust_rec=clust_rec@entry=0x7c172c0dd218 "\200", clust_index=clust_index@entry=0x7c173c09c970, clust_offsets=clust_offsets@entry=0x7c172c0ce8f0, rec=rec@entry=0x7c183b1f185f "111111111\200", index=index@entry=0x7c173c0b3aa0, offsets=0x7c183c7b1df0) at /data/Server/MDEV-37994/storage/innobase/row/row0sel.cc:6193
      # 2025-11-04T03:43:17 [3808403] #19 0x00006004f059dea0 in row_check_index (prebuilt=<optimized out>, n_rows=n_rows@entry=0x7c183c7b25d8) at /data/Server/MDEV-37994/storage/innobase/row/row0sel.cc:6692
      # 2025-11-04T03:43:17 [3808403] #20 0x00006004f0438678 in ha_innobase::check (this=0x7c167009b358, thd=0x7c172c000d58, check_opt=0x7c172c006258) at /data/Server/MDEV-37994/storage/innobase/handler/ha_innodb.cc:15382
      # 2025-11-04T03:43:17 [3808403] #21 0x00006004f01e5617 in handler::ha_check (this=0x7c167009b358, thd=thd@entry=0x7c172c000d58, check_opt=check_opt@entry=0x7c172c006258) at /data/Server/MDEV-37994/sql/handler.cc:5153
      # 2025-11-04T03:43:17 [3808403] #22 0x00006004f00b8225 in mysql_admin_table (thd=thd@entry=0x7c172c000d58, tables=tables@entry=0x7c172c013628, check_opt=check_opt@entry=0x7c172c006258, operator_name=operator_name@entry=0x6004f1121be0 <msg_check>, lock_type=lock_type@entry=TL_READ_NO_INSERT, org_open_for_modify=org_open_for_modify@entry=false, repair_table_use_frm=false, extra_open_options=32, prepare_func=0x0, operator_func=<optimized out>, view_operator_func=0x6004f006449c <view_check(THD*, TABLE_LIST*, st_ha_check_opt*)>, is_cmd_replicated=false) at /data/Server/MDEV-37994/sql/sql_admin.cc:918
      # 2025-11-04T03:43:17 [3808403] #23 0x00006004f00b9b55 in Sql_cmd_check_table::execute (this=<optimized out>, thd=0x7c172c000d58) at /data/Server/MDEV-37994/sql/sql_admin.cc:1592
      # 2025-11-04T03:43:17 [3808403] #24 0x00006004eff97ddd in mysql_execute_command (thd=thd@entry=0x7c172c000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/Server/MDEV-37994/sql/sql_parse.cc:6167
      # 2025-11-04T03:43:17 [3808403] #25 0x00006004eff98906 in mysql_parse (thd=thd@entry=0x7c172c000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7c183c7b3410) at /data/Server/MDEV-37994/sql/sql_parse.cc:8200
      # 2025-11-04T03:43:17 [3808403] #26 0x00006004eff99f72 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7c172c000d58, packet=packet@entry=0x7c172c00af69 "", packet_length=packet_length@entry=64, blocking=blocking@entry=true) at /data/Server/MDEV-37994/sql/sql_parse.cc:1908
      # 2025-11-04T03:43:17 [3808403] #27 0x00006004eff9b410 in do_command (thd=thd@entry=0x7c172c000d58, blocking=blocking@entry=true) at /data/Server/MDEV-37994/sql/sql_parse.cc:1421
      # 2025-11-04T03:43:17 [3808403] #28 0x00006004f00a9883 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x6004f33e09d8, put_in_cache=put_in_cache@entry=true) at /data/Server/MDEV-37994/sql/sql_connect.cc:1386
      # 2025-11-04T03:43:17 [3808403] #29 0x00006004f00a9a94 in handle_one_connection (arg=0x6004f33e09d8) at /data/Server/MDEV-37994/sql/sql_connect.cc:1298
      # 2025-11-04T03:43:17 [3808403] #30 0x00007c184ce9ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
      # 2025-11-04T03:43:17 [3808403] #31 0x00007c184cf29c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
      

      Core dump is present on SDP:-
      /data/results/1762249780/TBR-2341

      Attachments

        Issue Links

          Activity

            People

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