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

random signal 11 with spider and replicated truncate

    XMLWordPrintable

Details

    Description

      Sometimes signal 11 happens with spider and truncate table with many replicated server.

      20191210 13:14:14 [INFO SPIDER RESULT] from [server23] 309 to 30:  affected_rows: 0  id: 0  status: 16386  warning_count: 0
      20191210 13:14:14 [RECV SPIDER SQL] from [oper][localhost] to 30:  sql: truncate table tmp.test_spider_replicated
      20191210 13:14:14 [SEND SPIDER SQL] from 30 to [server23] 309:  sql: truncate table `tmp`.`test_spider`
      20191210 13:14:14 [INFO SPIDER RESULT] from [server23] 309 to 30:  affected_rows: 0  id: 0  status: 2  warning_count: 0
      191210 13:14:14 [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.10-MariaDB-log
      key_buffer_size=134217728
      read_buffer_size=131072
      max_used_connections=1
      max_threads=2050
      thread_count=28
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4642264 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f4085812008
      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 = 0x7f40cd49ccf0 thread_stack 0x49000
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x56247c801f2e]
      /usr/sbin/mysqld(handle_fatal_signal+0x30f)[0x56247c2983af]
      sigaction.c:0(__restore_rt)[0x7f40ccf57630]
      /usr/lib64/mysql/plugin/ha_spider.so(_Z25spider_db_delete_all_rowsP9ha_spider+0x260)[0x7f40a0944790]
      /usr/lib64/mysql/plugin/ha_spider.so(_ZN9ha_spider8truncateEv+0xf1)[0x7f40a098d741]
      /usr/sbin/mysqld(_ZN22Sql_cmd_truncate_table16handler_truncateEP3THDP10TABLE_LISTb+0x3f0)[0x56247c18e090]
      /usr/sbin/mysqld(_ZN22Sql_cmd_truncate_table14truncate_tableEP3THDP10TABLE_LIST+0x200)[0x56247c18e5c0]
      /usr/sbin/mysqld(_ZN22Sql_cmd_truncate_table7executeEP3THD+0x5e)[0x56247c18e67e]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x19c8)[0x56247c08b098]
      /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x24b)[0x56247c092aeb]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1b5e)[0x56247c0958ee]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x11c)[0x56247c09707c]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1fa)[0x56247c172afa]
      /usr/sbin/mysqld(handle_one_connection+0x3d)[0x56247c172bdd]
      pthread_create.c:0(start_thread)[0x7f40ccf4fea5]
      /lib64/libc.so.6(clone+0x6d)[0x7f40cb2f08cd]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f4085840020): truncate table tmp.test_spider_replicated
      Connection ID (thread ID): 30
      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 http://dev.mysql.com/doc/mysql/en/crashing.html contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /var/lib/data/mysql/3306
      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        0                    unlimited            bytes     
      Max resident set          unlimited            unlimited            bytes     
      Max processes             385818               385818               processes 
      Max open files            200000               200000               files     
      Max locked memory         65536                65536                bytes     
      Max address space         unlimited            unlimited            bytes     
      Max file locks            unlimited            unlimited            locks     
      Max pending signals       385818               385818               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: core
       
      2019-12-10 13:14:20 0 [Note] mysqld: Aria engine: starting recovery
      recovered pages: 0% 11% 26% 53% 70% 80% 90% 100% (0.0 seconds); tables to flush: 4 3 2 1 0
       (0.0 seconds); 
      2019-12-10 13:14:20 0 [Note] mysqld: Aria engine: recovery done
      2019-12-10 13:14:20 0 [Note] InnoDB: Using Linux native AIO
      2019-12-10 13:14:20 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2019-12-10 13:14:20 0 [Note] InnoDB: Uses event mutexes
      2019-12-10 13:14:20 0 [Note] InnoDB: Compressed tables use zlib 1.2.7
      2019-12-10 13:14:20 0 [Note] InnoDB: Number of pools: 1
      2019-12-10 13:14:20 0 [Note] InnoDB: Using SSE2 crc32 instructions
      2019-12-10 13:14:20 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
      2019-12-10 13:14:20 0 [Note] InnoDB: Completed initialization of buffer pool
      2019-12-10 13:14:20 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
      2019-12-10 13:14:20 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=234536
      2019-12-10 13:14:20 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2019-12-10 13:14:20 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
      2019-12-10 13:14:20 0 [Note] InnoDB: Creating shared tablespace for temporary tables
      2019-12-10 13:14:20 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2019-12-10 13:14:20 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
      2019-12-10 13:14:20 0 [Note] InnoDB: Waiting for purge to start
      2019-12-10 13:14:20 0 [Note] InnoDB: 10.4.10 started; log sequence number 234545; transaction id 49
      2019-12-10 13:14:20 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/data/mysql/3306/ib_buffer_pool
      2019-12-10 13:14:20 0 [Note] Plugin 'FEEDBACK' is disabled.
      2019-12-10 13:14:20 0 [Note] InnoDB: Buffer pool(s) load completed at 191210 13:14:20
      2019-12-10 13:14:20 0 [Warning] Plugin 'FEDERATED' is of maturity level gamma while the server is stable
      2019-12-10 13:14:20 0 [Note] CONNECT: Version 1.06.0010 June 01, 2019
      2019-12-10 13:14:20 0 [Note] Recovering after a crash using tc.log
      2019-12-10 13:14:20 0 [Note] Starting crash recovery...
      2019-12-10 13:14:20 0 [Note] Crash recovery finished.
      2019-12-10 13:14:20 0 [Note] Server socket created on IP: '::'.
      2019-12-10 13:14:20 0 [Warning] 'user' entry 'root@hostname' ignored in --skip-name-resolve mode.
      2019-12-10 13:14:20 0 [Warning] 'proxies_priv' entry '@% root@hostname' ignored in --skip-name-resolve mode.
      2019-12-10 13:14:20 26 [Note] Event Scheduler: scheduler thread started with id 26
      2019-12-10 13:14:20 0 [Note] /usr/sbin/mysqld: ready for connections.
      Version: '10.4.10-MariaDB-log'  socket: '/var/run/mysql/3306.sock'  port: 3306  MariaDB Server
      20191210 13:14:21 [RECV SPIDER SQL] from [user][localhost] to 29:  sql: delete from tmp.test_spider_replicated
      20191210 13:14:21 [SEND SPIDER SQL] from 29 to [server03] 302:  sql: set session transaction isolation level repe
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Richard Richard Stracke
            Votes:
            0 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.