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

Server crashes when resizing default innodb buffer pool after setting innodb-buffer-pool-chunk-size to 1M

Details

    Description

      The test fails sporadically

      ./mtr --mysqld=--innodb-buffer-pool-chunk-size=1M --mysqld=--innodb_buffer_pool_size=134217728
       
      --source include/have_innodb.inc
       
      SET GLOBAL innodb_buffer_pool_size=@@innodb_buffer_pool_size+1;
      

      Leads to

      10.5.26 c038b3c05ed90041333dc869e3435c301210a3c4 (Optimized)

      Core was generated by `/test/MD300724-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd --no-defaults --ma'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  buf_pool_t::resize (this=this@entry=0x55ba11195c40 <buf_pool>)at /test/10.5_opt/storage/innobase/buf/buf0buf.cc:1827
      [Current thread is 1 (Thread 0x1519eaef8700 (LWP 1351241))]
      (gdb) bt
      #0  buf_pool_t::resize (this=this@entry=0x55ba11195c40 <buf_pool>) at /test/10.5_opt/storage/innobase/buf/buf0buf.cc:1827
      #1  0x000055ba0fe0b25a in buf_resize_callback () at /test/10.5_opt/storage/innobase/buf/buf0buf.cc:2135
      #2  0x000055ba10743429 in tpool::task_group::execute (this=0x55ba11ae5400 <single_threaded_group>, t=0x55ba11ae5360 <buf_resize_task>) at /test/10.5_opt/tpool/task_group.cc:55
      #3  0x000055ba107410d7 in tpool::thread_pool_generic::worker_main (this=0x55ba12f83440, thread_var=0x55ba12f839f0) at /test/10.5_opt/tpool/tpool_generic.cc:599
      #4  0x0000151a10135de4 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #5  0x0000151a1024f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #6  0x0000151a0fe3b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            marko Marko Mäkelä
            ramesh Ramesh Sivaraman
            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.