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

InnoDB: Failing assertion: bpage->can_relocate() in buf0lru.cc

    XMLWordPrintable

    Details

      Description

      origin/10.6 6c82ab4f726b83f09646c22afddd4c102e60607b 2022-06-14T15:33:11+03:00
       
      pluto:/data/results/1655224930/TBR-1523
      _RR_TRACE_DIR="./1/rr" rr replay --mark-stdio
       
      rr 1613722 294754]2022-06-14 18:13:34 0x7f16761f4700[rr 1613722 294757]  InnoDB: Assertion failure in file /data/Server/10.6R/storage/innobase/buf/buf0lru.cc line 1060
      [rr 1613722 294759]InnoDB: Failing assertion: bpage->can_relocate()
      (rr) bt
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1  0x00007f1687466859 in __GI_abort () at abort.c:79
      #2  0x000055b3ec40533c in ut_dbg_assertion_failed (expr=expr@entry=0x55b3ed333320 "bpage->can_relocate()", file=file@entry=0x55b3ed32fb80 "/data/Server/10.6R/storage/innobase/buf/buf0lru.cc", line=line@entry=1060)
          at /data/Server/10.6R/storage/innobase/ut/ut0dbg.cc:60
      #3  0x000055b3ec563c99 in buf_LRU_block_remove_hashed (bpage=bpage@entry=0x7f1679f9ed60, id=..., chain=..., zip=zip@entry=true) at /data/Server/10.6R/storage/innobase/buf/buf0lru.cc:1060
      #4  0x000055b3ec56d32f in buf_pool_t::corrupted_evict (this=this@entry=0x55b3edeb84c0 <buf_pool>, bpage=bpage@entry=0x7f1679f9ed60, state=state@entry=2147483648) at /data/Server/10.6R/storage/innobase/buf/buf0lru.cc:1236
      #5  0x000055b3ec4ff50b in buf_page_t::read_complete (this=0x7f1679f9ed60, node=...) at /data/Server/10.6R/storage/innobase/buf/buf0buf.cc:3693
      #6  0x000055b3ec686276 in fil_aio_callback (request=...) at /data/Server/10.6R/storage/innobase/fil/fil0fil.cc:2945
      #7  0x000055b3ec0a4669 in io_callback (cb=0x7f1684151508) at /data/Server/10.6R/storage/innobase/os/os0file.cc:3533
      #8  0x000055b3ec800143 in tpool::task_group::execute (this=0x612000022ed0, t=t@entry=0x7f1684151560) at /data/Server/10.6R/tpool/task_group.cc:55
      #9  0x000055b3ec8003b7 in tpool::task::execute (this=0x7f1684151560) at /data/Server/10.6R/tpool/task.cc:32
      #10 0x000055b3ec7f9094 in tpool::thread_pool_generic::worker_main (this=0x618000000880, thread_var=0x63000001fd80) at /data/Server/10.6R/tpool/tpool_generic.cc:584
      #11 0x000055b3ec7f9dae in std::__invoke_impl<void, void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__t=<optimized out>, __f=<optimized out>)
          at /usr/include/c++/9/bits/invoke.h:89
      #12 std::__invoke<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> (__fn=<optimized out>) at /usr/include/c++/9/bits/invoke.h:95
      #13 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::_M_invoke<0ul, 1ul, 2ul> (this=<optimized out>) at /usr/include/c++/9/thread:244
      #14 std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> >::operator() (this=<optimized out>) at /usr/include/c++/9/thread:251
      #15 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (tpool::thread_pool_generic::*)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*> > >::_M_run (this=<optimized out>)
          at /usr/include/c++/9/thread:195
      #16 0x00007f1687873de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
      #17 0x00007f168798e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #18 0x00007f1687563293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      (rr)
       
      RQG
      ===
      # git clone https://github.com/mleich1/rqg --branch experimental RQG
      #
      # GIT_SHOW: HEAD -> experimental, origin/experimental a32979c6d789ddf0982e6a56af687565be00590c 2022-06-14T17:21:56+02:00
      # rqg.pl  : Version 4.0.6 (2022-05)
      #
      # $RQG_HOME/rqg.pl \
      # --grammar=conf/mariadb/table_stress_innodb_nocopy2.yy \
      # --gendata=conf/mariadb/table_stress.zz \
      # --gendata_sql=conf/mariadb/table_stress.sql \
      # --reporters=RestartConsistency \
      # --mysqld=--loose-innodb_lock_schedule_algorithm=fcfs \
      # --mysqld=--loose-idle_write_transaction_timeout=0 \
      # --mysqld=--loose-idle_transaction_timeout=0 \
      # --mysqld=--loose-idle_readonly_transaction_timeout=0 \
      # --mysqld=--connect_timeout=60 \
      # --mysqld=--interactive_timeout=28800 \
      # --mysqld=--slave_net_timeout=60 \
      # --mysqld=--net_read_timeout=30 \
      # --mysqld=--net_write_timeout=60 \
      # --mysqld=--loose-table_lock_wait_timeout=50 \
      # --mysqld=--wait_timeout=28800 \
      # --mysqld=--lock-wait-timeout=86400 \
      # --mysqld=--innodb-lock-wait-timeout=50 \
      # --no-mask \
      # --queries=10000000 \
      # --seed=random \
      # --reporters=Backtrace \
      # --reporters=ErrorLog \
      # --reporters=Deadlock1 \
      # --validators=None \
      # --mysqld=--log_output=none \
      # --mysqld=--log_bin_trust_function_creators=1 \
      # --mysqld=--loose-debug_assert_on_not_freed_memory=0 \
      # --engine=InnoDB \
      # --restart_timeout=240 \
      # --mysqld=--plugin-load-add=file_key_management.so \
      # --mysqld=--loose-file-key-management-filename=$RQG_HOME/conf/mariadb/encryption_keys.txt \
      # --mysqld=--plugin-load-add=provider_lzo.so \
      # --mysqld=--plugin-load-add=provider_bzip2.so \
      # --mysqld=--plugin-load-add=provider_lzma.so \
      # --mysqld=--plugin-load-add=provider_snappy.so \
      # --mysqld=--plugin-load-add=provider_lz4.so \
      # --duration=300 \
      # --mysqld=--loose-innodb_fatal_semaphore_wait_threshold=300 \
      # --mysqld=--innodb_file_per_table=1 \
      # --mysqld=--loose-innodb_read_only_compressed=OFF \
      # --mysqld=--innodb_stats_persistent=on \
      # --mysqld=--innodb_adaptive_hash_index=on \
      # --mysqld=--loose-innodb_evict_tables_on_commit_debug=off \
      # --mysqld=--loose-max-statement-time=30 \
      # --threads=9 \
      # --mysqld=--innodb-use-native-aio=0 \
      # --mysqld=--loose-gdb \
      # --mysqld=--loose-debug-gdb \
      # --rr=Extended \
      # --rr_options=--wait \
      # --mysqld=--loose_innodb_change_buffering=deletes \
      # --mysqld=--innodb_rollback_on_timeout=OFF \
      # --vardir_type=fast \
      # --mysqld=--innodb_page_size=64K \
      # --mysqld=--innodb-buffer-pool-size=24M \
      # --no_mask \
      # --batch \
      # <local settings>
       
      Error pattern for RQG
      [ 'TBR-1523', 'InnoDB: Assertion failure in file .{1,250}buf0lru.cc.+InnoDB: Failing assertion: bpage->can_relocate\(\).+RESULT: The RQG run ended with status STATUS_SERVER_CRASHED' ],
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marko Marko Mäkelä
              Reporter:
              mleich Matthias Leich
              Votes:
              1 Vote for this issue
              Watchers:
              3 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.