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

galera.galera_pk_bigint_unsigned MTR failed: mysqld got signal 6: Ha_trx_info::next() const: Assertion `is_started()' failed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.5.2
    • N/A
    • Galera, Tests
    • None
    • kvm-rpm-centos74-amd64-debug

    Description

      galera.galera_pk_bigint_unsigned failed on bb: mysqld got signal 6: Ha_trx_info::next() const: Assertion `is_started()' failed.

      stdio.log:

      10.5.2 95da2113a050ad739fdaf60ee871329468a01554

      galera.galera_pk_bigint_unsigned 'innodb' w1 [ fail ]
              Test ended at 2020-03-20 14:48:21
       
      CURRENT_TEST: galera.galera_pk_bigint_unsigned
      mysqltest: At line 42: query 'COMMIT' failed with wrong errno 2013: 'Lost connection to MySQL server during query', instead of 1213...
       
      The result from queries just before the failure was:
      < snip >
      f1 = 18446744073709551615
      1
      UPDATE t1 SET f2 = CONCAT(f2, '_');
      connection node_1;
      SELECT f1 = 18446744073709551615 FROM t1;
      f1 = 18446744073709551615
      1
      connection node_1;
      SET AUTOCOMMIT=OFF;
      START TRANSACTION;
      UPDATE t1 SET f2 = 'foo' WHERE f1 = 18446744073709551615;
      connection node_2;
      SET AUTOCOMMIT=OFF;
      START TRANSACTION;
      UPDATE t1 SET f2 = 'bar' WHERE f1 = 18446744073709551615;
      connection node_1;
      COMMIT;
      SET AUTOCOMMIT=ON;
      connection node_2;
      COMMIT;
       
      More results from queries before failure can be found in /dev/shm/var/1/log/galera_pk_bigint_unsigned.log
       
       
      Server [mysqld.2 - pid: 9619, winpid: 9619, exit: 256] failed during test run
      Server log from this test:
      ----------SERVER LOG START-----------
      mysqld: /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.5.2/sql/handler.h:1886: Ha_trx_info* Ha_trx_info::next() const: Assertion `is_started()' failed.
      200320 14:47:56 [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.5.2-MariaDB-debug-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=2
      max_threads=153
      thread_count=5
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63694 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f16f0000b18
      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 = 0x7f1754075cd8 thread_stack 0x49000
      /usr/sbin/mysqld(my_print_stacktrace+0x2b)[0x55b3e67591fc]
      /usr/sbin/mysqld(handle_fatal_signal+0x311)[0x55b3e5fe9707]
      addr2line: Dwarf Error: Offset (951452) greater than or equal to .debug_info size (850138).
      addr2line: Dwarf Error: Unable to read alt ref 951452.
      addr2line: Dwarf Error: Offset (989724) greater than or equal to .debug_info size (850138).
      addr2line: Dwarf Error: Unable to read alt ref 989724.
      addr2line: Dwarf Error: Offset (2550367489) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Could not find abbrev number 124.
      addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Could not find abbrev number 150.
      addr2line: Dwarf Error: Offset (7500912) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (2232320259) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (237780481) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1290743) greater than or equal to .debug_info size (850138).
      addr2line: Dwarf Error: Unable to read alt ref 1290743.
      addr2line: Dwarf Error: Offset (987797) greater than or equal to .debug_info size (850138).
      addr2line: Dwarf Error: Unable to read alt ref 987797.
      addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (16781081) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (6579297) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (7500912) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (7500912) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (7629154) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (362036748) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (365709580) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (374479715) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (19262208) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (7628135) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (2668043972) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Could not find abbrev number 161.
      addr2line: Dwarf Error: Offset (1091305) greater than or equal to .debug_info size (850138).
      addr2line: Dwarf Error: Unable to read alt ref 1091305.
      addr2line: Dwarf Error: Offset (1145849857) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (7628135) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (27722134) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (4144431536) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (27722134) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (4144431536) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1795368543) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (118116990) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (2113934108) greater than or equal to .debug_str size (4091225).
      sigaction.c:0(__restore_rt)[0x7f17700235e0]
      :0(__GI_raise)[0x7f176e2b81f7]
      :0(__GI_abort)[0x7f176e2b98e8]
      :0(__assert_fail_base)[0x7f176e2b1266]
      :0(__GI___assert_fail)[0x7f176e2b1312]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x111)[0x55b3e5d93c9f]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECTb+0x1e4)[0x55b3e5eaa754]
      /usr/sbin/mysqld(handle_one_connection+0x4d)[0x55b3e5eaa9fc]
      /usr/sbin/mysqld(+0xc1dc5e)[0x55b3e6273c5e]
      addr2line: Dwarf Error: Offset (951452) greater than or equal to .debug_info size (850138).
      addr2line: Dwarf Error: Unable to read alt ref 951452.
      addr2line: Dwarf Error: Offset (989724) greater than or equal to .debug_info size (850138).
      addr2line: Dwarf Error: Unable to read alt ref 989724.
      addr2line: Dwarf Error: Offset (2550367489) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Could not find abbrev number 124.
      addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Could not find abbrev number 150.
      addr2line: Dwarf Error: Offset (7500912) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (2232320259) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (237780481) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (1290743) greater than or equal to .debug_info size (850138).
      addr2line: Dwarf Error: Unable to read alt ref 1290743.
      addr2line: Dwarf Error: Offset (987797) greater than or equal to .debug_info size (850138).
      addr2line: Dwarf Error: Unable to read alt ref 987797.
      addr2line: Dwarf Error: Offset (6514020) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (6516329) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (16781081) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (6579297) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (7500912) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (7500912) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (7629154) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (362036748) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (365709580) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (374479715) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (19262208) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (7628147) greater than or equal to .debug_str size (4091225).
      addr2line: Dwarf Error: Offset (7628135) greater than or equal to .debug_str size (1511453).
      addr2line: Dwarf Error: Offset (2668043972) greater than or equal to .debug_str size (4091225).
      pthread_create.c:0(start_thread)[0x7f177001be25]
      ??:0(__clone)[0x7f176e37b34d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x0): 
      Connection ID (thread ID): 82
      Status: KILL_QUERY
       
      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,not_null_range_scan=off
       
      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 /dev/shm/var/1/mysqld.2/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             4096                 23142                processes 
      Max open files            1024                 1024                 files     
      Max locked memory         65536                65536                bytes     
      Max address space         unlimited            unlimited            bytes     
      Max file locks            unlimited            unlimited            locks     
      Max pending signals       23142                23142                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
       
      ----------SERVER LOG END-------------
       
       
       - found 'core.9620' (0/0)
       
      Trying 'dbx' to get a backtrace
      gdb not found, cannot get the stack trace
       
      Trying 'lldb' to get a backtrace from coredump /dev/shm/var/1/log/galera.galera_pk_bigint_unsigned-innodb/mysqld.2/data/core.9620
      Compressed file /dev/shm/var/1/log/galera.galera_pk_bigint_unsigned-innodb/mysqld.2/data/core.9620
       - saving '/dev/shm/var/1/log/galera.galera_pk_bigint_unsigned-innodb/' to '/dev/shm/var/log/galera.galera_pk_bigint_unsigned-innodb/'
       
      Retrying test galera.galera_pk_bigint_unsigned, attempt(2/3)...
       
      worker[1] > Restart  - not started
      worker[1] > Restart  - not started
      ***Warnings generated in error logs during shutdown after running tests: galera.galera_performance_schema galera.galera_many_indexes galera.galera_pk_bigint_unsigned galera.galera_nopk_blob galera.galera_parallel_apply_lock_table galera.galera_nopk_unicode galera.galera_nopk_large_varchar galera.galera_kill_smallchanges galera.galera_multi_database galera.galera_lock_table galera.galera_myisam_transactions galera.galera_pk_bigint_signed galera.galera_mdev_10812 galera.galera_myisam_autocommit galera.galera_nopk_bit
       
      mysqld: /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.5.2/sql/handler.h:1886: Ha_trx_info* Ha_trx_info::next() const: Assertion `is_started()' failed.
      Attempting backtrace. You can use the following information to find out
      

      Attachments

        Activity

          People

            stepan.patryshev Stepan Patryshev (Inactive)
            stepan.patryshev Stepan Patryshev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.