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

buf_page_read_complete assertions during during innodb_init

    XMLWordPrintable

Details

    Description

      From: faf

      20 instances from last report 2022-02-15.

      Two stack traces, similar at frame 11 (buf_page_get_low) and lower.

      Example:

      faf report 314639

      Frame # 	Function 	Binary 	Source or offset 	Line
      1 	
      kill
      	/lib64/libc.so.6 	0x4298b
      Build id: 644dac2c66a6e0b32674f0ec71e7431bd0c06a63 	-
      2 	
      handle_fatal_signal
      	/usr/libexec/mariadbd 	0x98265d
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      3 	
      	/lib64/libc.so.6 	0x42750
      Build id: 644dac2c66a6e0b32674f0ec71e7431bd0c06a63 	-
      4 	
      __pthread_kill_implementation
      	/lib64/libc.so.6 	0x8f84c
      Build id: 644dac2c66a6e0b32674f0ec71e7431bd0c06a63 	-
      5 	
      raise
      	/lib64/libc.so.6 	0x426a6
      Build id: 644dac2c66a6e0b32674f0ec71e7431bd0c06a63 	-
      6 	
      abort
      	/lib64/libc.so.6 	0x2c7d3
      Build id: 644dac2c66a6e0b32674f0ec71e7431bd0c06a63 	-
      7 	
      ib_wqueue_add(ib_wqueue_t*, void*, mem_block_info_t*, bool) [clone .cold]
      	/usr/libexec/mariadbd 	0x598826
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      8 	
      buf_page_read_complete(buf_page_t*, fil_node_t const&) [clone .cold]
      	/usr/libexec/mariadbd 	0x59e056
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      9 	
      buf_read_page_low(dberr_t*, fil_space_t*, bool, unsigned long, page_id_t, unsigned long, bool) [clone .lto_priv.0]
      	/usr/libexec/mariadbd 	0xd5e967
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      10 	
      buf_read_page(page_id_t, unsigned long)
      	/usr/libexec/mariadbd 	0xd5f4c8
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      11 	
      buf_page_get_low(page_id_t, unsigned long, unsigned long, buf_block_t*, unsigned long, char const*, unsigned int, mtr_t*, dberr_t*, bool)
      	/usr/libexec/mariadbd 	0xd5f71f
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      12 	
      dict_boot()
      	/usr/libexec/mariadbd 	0x5a0910
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      13 	
      srv_start(bool)
      	/usr/libexec/mariadbd 	0x592326
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      14 	
      innodb_init(void*) [clone .lto_priv.0]
      	/usr/libexec/mariadbd 	0xc3b939
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      15 	
      ha_initialize_handlerton(st_plugin_int*)
      	/usr/libexec/mariadbd 	0x983902
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      16 	
      plugin_initialize(st_mem_root*, st_plugin_int*, int*, char**, bool)
      	/usr/libexec/mariadbd 	0x74a3fe
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      17 	
      plugin_init(int*, char**, int)
      	/usr/libexec/mariadbd 	0x74f334
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      18 	
      init_server_components()
      	/usr/libexec/mariadbd 	0x6050ab
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      19 	
      mysqld_main(int, char**)
      	/usr/libexec/mariadbd 	0x60a2fb
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      20 	
      __libc_start_call_main
      	/lib64/libc.so.6 	0x2d560
      Build id: 644dac2c66a6e0b32674f0ec71e7431bd0c06a63 	-
      21 	
      __libc_start_main@@GLIBC_2.34
      	/lib64/libc.so.6 	0x2d60c
      Build id: 644dac2c66a6e0b32674f0ec71e7431bd0c06a63 	-
      22 	
      _start
      	/usr/libexec/mariadbd 	0x5f5a35
      Build id: 7246c3e7348acc8b2e3e369599d9a84f006bae17 	-
      

      The assertion was added in 2d98b967e316 / MDEV-26865

      Report Build ID MariaDB version Stating point
      faf report 314639 7246c3e7348acc8b2e3e369599d9a84f006bae17 10.5.13 dict_boot
      faf report 352736 7246c3e7348acc8b2e3e369599d9a84f006bae17 10.5.13 trx_rseg_array_init

      BuildID to MariaDB version

      $ DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ debuginfod-find executable 7246c3e7348acc8b2e3e369599d9a84f006bae17
       
      /home/dan/.cache/debuginfod_client/7246c3e7348acc8b2e3e369599d9a84f006bae17/executable
       
      $ chmod a+x /home/dan/.cache/debuginfod_client/7246c3e7348acc8b2e3e369599d9a84f006bae17/executable
       
      $ /home/dan/.cache/debuginfod_client/7246c3e7348acc8b2e3e369599d9a84f006bae17/executable --version
      /home/dan/.cache/debuginfod_client/7246c3e7348acc8b2e3e369599d9a84f006bae17/executable  Ver 10.5.13-MariaDB for Linux on x86_64 (MariaDB Server)
      

      I don't have access to original stack traces. Just copying from faf with a little information extraction.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              danblack Daniel Black
              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.