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

InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.4.8/storage/innobase/trx/trx 0trx.cc line 1386

    XMLWordPrintable

Details

    Description

      2019-10-20 15:48:02 0x7f67756cb700  InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.4.8/storage/innobase/trx/trx
      0trx.cc line 1386
      InnoDB: Failing assertion: UT_LIST_GET_LEN(trx->lock.trx_locks) == 0
      InnoDB: We intentionally generate a memory trap.
      InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
      InnoDB: If you get repeated assertion failures or crashes, even
      InnoDB: immediately after the mysqld startup, there may be
      InnoDB: corruption in the InnoDB tablespace. Please refer to
      InnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/
      InnoDB: about forcing recovery.
      191020 15:48:02 [ERROR] mysqld got signal 6 ;
      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.8-MariaDB-log
      key_buffer_size=67108864
      read_buffer_size=2097152
      max_used_connections=169
      max_threads=2002
      thread_count=180
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 20615196 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f6698187cc8
      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 = 0x7f67756cacc0 thread_stack 0x30000
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x55aa1862a83e]
      /usr/sbin/mysqld(handle_fatal_signal+0x30f)[0x55aa180c0e0f]
      /lib64/libpthread.so.0(+0xf5d0)[0x7f6e0cb345d0]
      /lib64/libc.so.6(gsignal+0x37)[0x7f6e0ae072c7]
      /lib64/libc.so.6(abort+0x148)[0x7f6e0ae089b8]
      /usr/sbin/mysqld(+0x5a0542)[0x55aa17dbc542]
      /usr/sbin/mysqld(+0xb8905e)[0x55aa183a505e]
      /usr/sbin/mysqld(+0xb89217)[0x55aa183a5217]
      /usr/sbin/mysqld(+0xb89554)[0x55aa183a5554]
      /usr/sbin/mysqld(+0xa496fa)[0x55aa182656fa]
      /usr/sbin/mysqld(+0xa498eb)[0x55aa182658eb]
      /usr/sbin/mysqld(+0xa49b7b)[0x55aa18265b7b]
      /usr/sbin/mysqld(+0xa524a1)[0x55aa1826e4a1]
      /usr/sbin/mysqld(_ZN7handler16ha_external_lockEP3THDi+0x9f)[0x55aa180cc55f]
      /usr/sbin/mysqld(+0x9975fa)[0x55aa181b35fa]
      /usr/sbin/mysqld(_Z24mysql_unlock_read_tablesP3THDP13st_mysql_lock+0x68)[0x55aa181b3de8]
      /usr/sbin/mysqld(_ZN4JOIN9join_freeEv+0x169)[0x55aa17ef64c9]
      /usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0xb3f)[0x55aa17f1046f]
      /usr/sbin/mysqld(_ZN4JOIN4execEv+0x33)[0x55aa17f10723]
      /usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x186)[0x55aa17f0ea26]
      /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x1d7)[0x55aa17f0f597]
      /usr/sbin/mysqld(+0x58dd2a)[0x55aa17da9d2a]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x4591)[0x55aa17eb6641]
      /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x24b)[0x55aa17ebb51b]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1c3e)[0x55aa17ebe39e]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x11c)[0x55aa17ebfaac]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1fa)[0x55aa17f9d18a]
      /usr/sbin/mysqld(handle_one_connection+0x3d)[0x55aa17f9d26d]
      /usr/sbin/mysqld(+0xdc124d)[0x55aa185dd24d]
      /lib64/libpthread.so.0(+0x7dd5)[0x7f6e0cb2cdd5]
      /lib64/libc.so.6(clone+0x6d)[0x7f6e0aecf02d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f6698195f80): SELECT id          FROM          call_list          where 1 = 1            AND card_up = 0            AND count_call < 1            AND work_up = 0       
       ORDER BY dt_add asc
      Connection ID (thread ID): 241507
      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/mysql
      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             63375                63375                processes 
      Max open files            16364                16364                files     
      Max locked memory         65536                65536                bytes     
      Max address space         unlimited            unlimited            bytes     
      Max file locks            unlimited            unlimited            locks     
      Max pending signals       63375                63375                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
      

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              Magnum72 Evgene Kochergin
              Votes:
              0 Vote for this issue
              Watchers:
              11 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.