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

innodb_gis.rtree_purge failed in bb, crash after "delete from t"

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.2(EOL), 10.4(EOL)
    • 10.5
    • None
    • None

    Description

      https://buildbot.askmonty.org/buildbot/builders/kvm-deb-bionic-amd64/builds/6306/steps/mtr/logs/stdio

      innodb_gis.rtree_purge '8k,innodb'       w1 [ fail ]
              Test ended at 2020-11-19 07:17:59
       
      CURRENT_TEST: innodb_gis.rtree_purge
      mysqltest: At line 25: query 'delete from t' failed: 2013: Lost connection to MySQL server during query
       
      The result from queries just before the failure was:
      SET @saved_frequency = @@GLOBAL.innodb_purge_rseg_truncate_frequency;
      SET GLOBAL innodb_purge_rseg_truncate_frequency = 1;
      create table t (
      b point not null,d point not null, spatial key (d),spatial key (b)
      ) engine=innodb;
       
       
      Server [mysqld.1 - pid: 28434, winpid: 28434, exit: 256] failed during test run
      Server log from this test:
      ----------SERVER LOG START-----------
      2020-11-19  7:17:54 0 [Note] /usr/sbin/mysqld (mysqld 10.4.18-MariaDB-1:10.4.18+maria~bionic-log) starting as process 28435 ...
      2020-11-19  7:17:54 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 32186)
      2020-11-19  7:17:54 0 [Warning] Changed limits: max_open_files: 1024  max_connections: 151 (was 151)  table_cache: 421 (was 2000)
      2020-11-19  7:17:54 0 [Note] Plugin 'partition' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'SEQUENCE' is disabled.
      2020-11-19  7:17:54 0 [Note] InnoDB: innodb_page_size=8192
      2020-11-19  7:17:54 0 [Note] InnoDB: Using Linux native AIO
      2020-11-19  7:17:54 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2020-11-19  7:17:54 0 [Note] InnoDB: Uses event mutexes
      2020-11-19  7:17:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
      2020-11-19  7:17:54 0 [Note] InnoDB: Number of pools: 1
      2020-11-19  7:17:54 0 [Note] InnoDB: Using generic crc32 instructions
      2020-11-19  7:17:54 0 [Note] mysqld: O_TMPFILE is not supported on /dev/shm/var/tmp/1/mysqld.1 (disabling future attempts)
      2020-11-19  7:17:54 0 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
      2020-11-19  7:17:54 0 [Note] InnoDB: Completed initialization of buffer pool
      2020-11-19  7:17:54 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
      2020-11-19  7:17:54 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2020-11-19  7:17:54 0 [Note] InnoDB: Creating shared tablespace for temporary tables
      2020-11-19  7:17:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2020-11-19  7:17:54 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
      2020-11-19  7:17:54 0 [Note] InnoDB: Waiting for purge to start
      2020-11-19  7:17:54 0 [Note] InnoDB: 10.4.18 started; log sequence number 70507; transaction id 33
      2020-11-19  7:17:54 0 [Note] InnoDB: Loading buffer pool(s) from /dev/shm/var/1/mysqld.1/data/ib_buffer_pool
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_MUTEXES' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_CMP' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'FEEDBACK' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'user_variables' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
      2020-11-19  7:17:54 0 [Note] Plugin 'unix_socket' is disabled.
      2020-11-19  7:17:54 0 [Note] InnoDB: Buffer pool(s) load completed at 201119  7:17:54
      2020-11-19  7:17:54 0 [Warning] /usr/sbin/mysqld: unknown variable 'loose-feedback-debug-startup-interval=20'
      2020-11-19  7:17:54 0 [Warning] /usr/sbin/mysqld: unknown variable 'loose-feedback-debug-first-interval=60'
      2020-11-19  7:17:54 0 [Warning] /usr/sbin/mysqld: unknown variable 'loose-feedback-debug-interval=60'
      2020-11-19  7:17:54 0 [Warning] /usr/sbin/mysqld: unknown option '--loose-pam-debug'
      2020-11-19  7:17:54 0 [Warning] /usr/sbin/mysqld: unknown option '--loose-aria'
      2020-11-19  7:17:54 0 [Warning] /usr/sbin/mysqld: unknown variable 'loose-debug-sync-timeout=300'
      2020-11-19  7:17:54 0 [Note] Server socket created on IP: '127.0.0.1'.
      2020-11-19  7:17:54 0 [Note] Reading of all Master_info entries succeeded
      2020-11-19  7:17:54 0 [Note] Added new Master_info '' to hash table
      2020-11-19  7:17:54 0 [Note] /usr/sbin/mysqld: ready for connections.
      Version: '10.4.18-MariaDB-1:10.4.18+maria~bionic-log'  socket: '/dev/shm/var/tmp/1/mysqld.1.sock'  port: 16000  mariadb.org binary distribution
      201119  7:17:56 [ERROR] mysqld got signal 11 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.4.18-MariaDB-1:10.4.18+maria~bionic-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=1
      max_threads=153
      thread_count=7
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63536 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7efec8000c08
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 0x7eff16d67da8 thread_stack 0x49000
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x5599973456fe]
      /usr/sbin/mysqld(handle_fatal_signal+0x515)[0x559996dbbbc5]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7eff23c5e980]
      /usr/sbin/mysqld(+0xc75a82)[0x5599971aea82]
      /usr/sbin/mysqld(+0xb0f460)[0x559997048460]
      /usr/sbin/mysqld(+0xb21cc1)[0x55999705acc1]
      /usr/sbin/mysqld(+0xb22ba7)[0x55999705bba7]
      /usr/sbin/mysqld(+0xaf92b4)[0x5599970322b4]
      /usr/sbin/mysqld(+0xa2e51c)[0x559996f6751c]
      /usr/sbin/mysqld(_ZN7handler13ha_delete_rowEPKh+0x9f)[0x559996dc720f]
      /usr/sbin/mysqld(_Z12mysql_deleteP3THDP10TABLE_LISTP4ItemP10SQL_I_ListI8st_orderEyyP13select_result+0x12c6)[0x559996f001c6]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1e4d)[0x559996ba88cd]
      /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x1ea)[0x559996baef8a]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x13c5)[0x559996bb13b5]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x104)[0x559996bb2b34]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x25e)[0x559996c90a1e]
      /usr/sbin/mysqld(handle_one_connection+0x3d)[0x559996c90add]
      /usr/sbin/mysqld(+0xdb70aa)[0x5599972f00aa]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7eff23c536db]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7eff2267571f]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7efec8010040): delete from t
       
      Connection ID (thread ID): 9
      Status: NOT_KILLED
       
      Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on
       
      The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /dev/shm/var/1/mysqld.1/data
      Resource Limits:
      Limit                     Soft Limit           Hard Limit           Units     
      Max cpu time              unlimited            unlimited            seconds   
      Max file size             unlimited            unlimited            bytes     
      Max data size             unlimited            unlimited            bytes     
      Max stack size            8388608              unlimited            bytes     
      Max core file size        unlimited            unlimited            bytes     
      Max resident set          unlimited            unlimited            bytes     
      Max processes             23610                23610                processes 
      Max open files            1024                 1024                 files     
      Max locked memory         16777216             16777216             bytes     
      Max address space         unlimited            unlimited            bytes     
      Max file locks            unlimited            unlimited            locks     
      Max pending signals       23610                23610                signals   
      Max msgqueue size         819200               819200               bytes     
      Max nice priority         0                    0                    
      Max realtime priority     0                    0                    
      Max realtime timeout      unlimited            unlimited            us        
      Core pattern: |/usr/share/apport/apport %p %s %c %d %P
       
      ----------SERVER LOG END-------------
       
       
       - found 'core' (0/0)
       
      Trying 'dbx' to get a backtrace
       
      Trying 'gdb' to get a backtrace from coredump /dev/shm/var/1/log/innodb_gis.rtree_purge-8k,innodb/mysqld.1/data/core
       
      Trying 'lldb' to get a backtrace from coredump /dev/shm/var/1/log/innodb_gis.rtree_purge-8k,innodb/mysqld.1/data/core
       - deleting it, already saved 0
       - saving '/dev/shm/var/1/log/innodb_gis.rtree_purge-8k,innodb/' to '/dev/shm/var/log/innodb_gis.rtree_purge-8k,innodb/'
       
      Retrying test innodb_gis.rtree_purge, attempt(2/3)...
       
      worker[1] > Restart  - not started
      ***Warnings generated in error logs during shutdown after running tests: innodb_gis.rtree_purge
       
      201119  7:17:56 [ERROR] mysqld got signal 11 ;
      Attempting backtrace. You can use the following information to find out
      

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              alice Alice Sherepa
              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.