Logging: /source/mysql-test/mysql-test-run.pl  --force --big-test --skip-test=gis.(geometry_property_function_issimple|gis_bugs_crashes|spatial_utility_function_simplify|spatial_analysis_functions_buffer|spatial_op_testingfunc_mix) --skip-test=parts.partition_alter2_1_myisam --skip-test=tokudb_parts.* --skip-test=tokudb.(rows-32m.*) --skip-test=connect.tbl --skip-test=spider/bg.spider_fixes --skip-test=encryption.innodb-encryption-disable
vardir: /build/build/mysql-test/var
Removing old var directory...
Creating var directory '/build/build/mysql-test/var'...
 - symlinking 'var' to '/dev/shm/var_auto_hNUV'
Checking supported features...
MariaDB Version 10.2.2-MariaDB-debug
 - SSL connections supported
 - binaries are debug compiled
Using suites: main-,archive-,binlog-,csv-,encryption-,federated-,funcs_1-,funcs_2-,handler-,heap-,innodb-,innodb_fts-,innodb_zip-,maria-,multi_source-,optimizer_unfixed_bugs-,parts-,percona-,perfschema-,plugins-,roles-,rpl-,sys_vars-,unit-,vcol-,wsrep-,connect,mroonga/storage,mroonga/wrapper,oqgraph,sequence,spider,spider/bg,sql_discovery,metadata_lock_info,query_response_time,user_variables
Collecting tests...
Installing system database...
Using parallel: 33

==============================================================================

TEST                                  WORKER RESULT   TIME (ms) or COMMENT
--------------------------------------------------------------------------

worker[12] Using MTR_BUILD_THREAD 301, with reserved ports 16020..16039
worker[29] Using MTR_BUILD_THREAD 306, with reserved ports 16120..16139
worker[23] Using MTR_BUILD_THREAD 303, with reserved ports 16060..16079
worker[32] Using MTR_BUILD_THREAD 305, with reserved ports 16100..16119
worker[24] Using MTR_BUILD_THREAD 302, with reserved ports 16040..16059
worker[27] Using MTR_BUILD_THREAD 304, with reserved ports 16080..16099
worker[3] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
worker[11] Using MTR_BUILD_THREAD 311, with reserved ports 16220..16239
worker[7] Using MTR_BUILD_THREAD 310, with reserved ports 16200..16219
worker[16] Using MTR_BUILD_THREAD 309, with reserved ports 16180..16199
worker[15] Using MTR_BUILD_THREAD 308, with reserved ports 16160..16179
worker[30] Using MTR_BUILD_THREAD 307, with reserved ports 16140..16159
worker[28] Using MTR_BUILD_THREAD 312, with reserved ports 16240..16259
worker[25] Using MTR_BUILD_THREAD 317, with reserved ports 16340..16359
worker[26] Using MTR_BUILD_THREAD 315, with reserved ports 16300..16319
worker[13] Using MTR_BUILD_THREAD 314, with reserved ports 16280..16299
worker[22] Using MTR_BUILD_THREAD 321, with reserved ports 16420..16439
worker[20] Using MTR_BUILD_THREAD 320, with reserved ports 16400..16419
worker[19] Using MTR_BUILD_THREAD 319, with reserved ports 16380..16399
worker[14] Using MTR_BUILD_THREAD 316, with reserved ports 16320..16339
worker[4] Using MTR_BUILD_THREAD 326, with reserved ports 16520..16539
worker[33] Using MTR_BUILD_THREAD 323, with reserved ports 16460..16479
worker[2] Using MTR_BUILD_THREAD 322, with reserved ports 16440..16459
worker[17] Using MTR_BUILD_THREAD 324, with reserved ports 16480..16499
worker[18] Using MTR_BUILD_THREAD 328, with reserved ports 16560..16579
worker[5] Using MTR_BUILD_THREAD 318, with reserved ports 16360..16379
worker[8] Using MTR_BUILD_THREAD 329, with reserved ports 16580..16599
worker[10] Using MTR_BUILD_THREAD 327, with reserved ports 16540..16559
worker[31] Using MTR_BUILD_THREAD 325, with reserved ports 16500..16519
worker[6] Using MTR_BUILD_THREAD 313, with reserved ports 16260..16279
worker[1] Using MTR_BUILD_THREAD 330, with reserved ports 16600..16619
worker[9] Using MTR_BUILD_THREAD 331, with reserved ports 16620..16639
worker[21] Using MTR_BUILD_THREAD 332, with reserved ports 16640..16659
mroonga/storage.alter_table_add_index_token_filters_one_token_filter [ disabled ]  Bundled Mroonga does not support token filter yet.
mroonga/storage.alter_table_change_token_filter [ disabled ]  Bundled Mroonga does not support token filter yet.
mroonga/storage.foreign_key_create       [ disabled ]  Bundled Mroonga does not support this test yet.
mroonga/storage.partition_insert         [ disabled ]  Bundled Mroonga does not support this test yet.
connect.jdbc                             [ disabled ]  Variable settings depend on machine configuration
connect.jdbc_new                         [ disabled ]  Variable settings depend on machine configuration
connect.jdbc_oracle                      [ disabled ]  Variable settings depend on machine configuration
connect.jdbc_postgresql                  [ disabled ]  Variable settings depend on machine configuration
binlog.binlog_spurious_ddl_errors        [ disabled ]  BUG#11761680 2013-01-18 astha Fixed on mysql-5.6 and trunk
binlog.binlog_truncate_innodb            [ disabled ]  BUG#11764459 2010-10-20 anitha Originally disabled due to BUG#42643. Product bug fixed, but test changes needed
encryption.innodb-encryption-disable     [ skipped ]
encryption.innodb_encryption-page-compression [ disabled ]  Fails with lost connection at line 156
encryption.innodb_scrub                  [ disabled ]  MDEV-8139
encryption.innodb_scrub_background       [ disabled ]  MDEV-8139
encryption.innodb_scrub_compressed       [ disabled ]  MDEV-8139
main.events_time_zone                    [ disabled ]  Test is not predictable as it depends on precise timing.
main.file_contents                       [ disabled ]  MDEV-6526 these files are not installed anymore
main.log_tables-big                      [ disabled ]  Bug#11756699 2010-11-15 mattiasj report already exists
main.max_statement_time                  [ disabled ]  cannot possibly work, depends on timing
main.mysql_embedded                      [ disabled ]  Bug#12561297 2011-05-14 Anitha Dependent on PB2 changes - eventum#41836
main.read_many_rows_innodb               [ disabled ]  Bug#11748886 2010-11-15 mattiasj report already exists
main.ssl_crl                             [ disabled ]  broken upstream
main.ssl_crl_clients_valid               [ disabled ]  broken upstream
main.ssl_crl_clrpath                     [ disabled ]  broken upstream
main.tablespace                          [ disabled ]  disabled in MariaDB (no TABLESPACE table attribute)
parts.partition_exchange_archive         [ disabled ]  MDEV-5077 2013-09-27 svoj Cannot exchange partition with archive table
parts.partition_mgm_lc0_archive          [ disabled ]  MDEV-5077 2013-09-27 svoj Cannot exchange partition with archive table
parts.partition_mgm_lc1_archive          [ disabled ]  MDEV-5077 2013-09-27 svoj Cannot exchange partition with archive table
parts.partition_mgm_lc2_archive          [ disabled ]  MDEV-5077 2013-09-27 svoj Cannot exchange partition with archive table
parts.partition_value_innodb             [ disabled ]  CAST() in partitioning function is currently not supported
parts.partition_value_myisam             [ disabled ]  CAST() in partitioning function is currently not supported
percona.percona_innodb_buffer_pool_shm   [ disabled ]  Requires big shmmax not default on many systems
percona.percona_innodb_expand_fast_index_creation [ disabled ]  Feature not merged into MariaDB
percona.percona_innodb_kill_idle_trx     [ disabled ]  Feature not merged into MariaDB
percona.percona_innodb_kill_idle_trx_locks [ disabled ]  Feature not merged into MariaDB
percona.percona_log_warnings_suppress    [ disabled ]  Feature not merged into MariaDB
percona.percona_processlist_row_stats    [ disabled ]  Feature not merged into MariaDB
percona.percona_query_response_time      [ disabled ]  Feature not merged into MariaDB
percona.percona_query_response_time-replication [ disabled ]  Feature not merged into MariaDB
percona.percona_query_response_time-stored [ disabled ]  Feature not merged into MariaDB
percona.percona_server_variables_debug   [ disabled ]  Feature not merged into MariaDB
percona.percona_server_variables_release [ disabled ]  Feature not merged into MariaDB
percona.percona_show_temp_tables         [ disabled ]  Feature not merged into MariaDB
percona.percona_slow_extended-slow_query_log_timestamp_always-cl [ disabled ]  Feature not merged into MariaDB
percona.percona_slow_extended-use_global_control [ disabled ]  Feature not merged into MariaDB
percona.percona_sync_flush               [ disabled ]  removed from XtraDB-26.0
percona.userstat_bug602047               [ disabled ]  Feature not merged into MariaDB
perfschema.binlog_edge_mix               [ disabled ]  needs slave_relay_log_info
perfschema.binlog_edge_row               [ disabled ]  needs slave_relay_log_info
perfschema.binlog_edge_stmt              [ disabled ]  needs slave_relay_log_info
perfschema.binlog_ok_mix                 [ disabled ]  needs slave_relay_log_info
perfschema.binlog_ok_row                 [ disabled ]  needs slave_relay_log_info
perfschema.binlog_ok_stmt                [ disabled ]  needs slave_relay_log_info
perfschema.sizing_default                [ disabled ]  not updated for 10.0 yet
perfschema.sizing_growth                 [ disabled ]  not updated for 10.0 yet
perfschema.sizing_high                   [ disabled ]  not updated for 10.0 yet
perfschema.sizing_low                    [ disabled ]  not updated for 10.0 yet
perfschema.sizing_med                    [ disabled ]  not updated for 10.0 yet
perfschema.sizing_off                    [ disabled ]  not updated for 10.0 yet
rpl.rpl_get_master_version_and_clock     [ disabled ]  Bug#11766137 Jan 05 2011 joro Valgrind warnings rpl_get_master_version_and_clock
rpl.rpl_partition_archive                [ disabled ]  MDEV-5077 2013-09-27 svoj Cannot exchange partition with archive table
rpl.rpl_spec_variables                   [ disabled ]  BUG#11755836 2009-10-27 jasonh rpl_spec_variables fails on PB2 hpux
sys_vars.all_vars                        [ disabled ]  obsolete, see sysvars_* tests
sys_vars.innodb_flush_checkpoint_debug_basic [ disabled ]  removed from XtraDB-26.0
sys_vars.table_open_cache_instances_basic [ disabled ]  no such variable in MariaDB
wsrep.alter_table_innodb                 [ skipped ]  No wsrep provider library
wsrep.binlog_format                      [ skipped ]  No wsrep provider library
wsrep.foreign_key                        [ disabled ]  MDEV-7915
wsrep.mdev_10186                         [ skipped ]  No wsrep provider library
wsrep.mdev_6832                          [ skipped ]  No wsrep provider library
wsrep.mdev_7798                          [ skipped ]  No wsrep provider library
wsrep.mysql_tzinfo_to_sql_symlink        [ skipped ]  No wsrep provider library
wsrep.plugin                             [ skipped ]  No wsrep provider library
wsrep.pool_of_threads                    [ skipped ]  No wsrep provider library
wsrep.trans                              [ skipped ]  No wsrep provider library
wsrep.variables                          [ skipped ]  No wsrep provider library
rpl-tokudb.rpl_tokudb_mixed_ddl          [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_tokudb_mixed_dml          [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_row_log_tokudb            [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_extra_col_slave_tokudb    [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_tokudb_read_only_ff       [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_read_only_tf       [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_read_only_ft       [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_tokudb_read_only_tt       [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_parallel_tokudb_delete_pk [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_parallel_tokudb_update_pk_uc0_lookup0 [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_tokudb_delete_pk          [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_update_pk_uc0_lookup0 [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_update_unique_uc0_lookup0 [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_update_pk_uc1_lookup0 [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_delete_pk_lookup1  [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_update_pk_uc0_lookup1 [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_update_unique_uc0_lookup1 [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_update_pk_uc1_lookup1 [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_write_pk_uc1       [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_parallel_tokudb_write_pk  [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_tokudb_write_pk           [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_write_unique       [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_tokudb_write_unique_uc1   [ disabled ]  unreliable, uses timestamp differences
rpl-tokudb.rpl_extra_col_master_tokudb   [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_not_null_tokudb           [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_row_basic_3tokudb         [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_row_blob_tokudb           [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_row_rec_comp_tokudb       [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_row_sp002_tokudb          [ disabled ]  tokudb does not support foreign keys
rpl-tokudb.rpl_row_sp007_tokudb          [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_row_tabledefs_3tokudb     [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_typeconv_tokudb           [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_stm_tokudb                [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_tokudb_bug28430           [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_partition_tokudb          [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_set_null_tokudb           [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_tokudb_bug30888           [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_parallel_tokudb           [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_deadlock_tokudb           [ skipped ]  No TokuDB engine
rpl-tokudb.tokudb_innodb_xa_crash        [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_foreign_key_tokudb        [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_relay_space_tokudb        [ skipped ]  No TokuDB engine
rpl-tokudb.rpl_truncate_3tokudb          [ skipped ]  No TokuDB engine
plugins.cassandra                        [ skipped ]  Cassandra is not running
plugins.cassandra_qcache                 [ skipped ]  Cassandra is not running
plugins.pam                              [ skipped ]  No pam setup for mtr
federated.assisted_discovery 'X'         w16 [ pass ]   2573
federated.federated_bug_13118 'X'        w28 [ pass ]   2861
federated.federated_innodb 'X,xtradb'    w23 [ pass ]   2575
federated.federated_maybe_16324629 'X'   w5 [ pass ]   2609
federated.federated_maybe_16324629 'old' w9 [ pass ]   2592
federated.federated_bug_35333 'old'      w4 [ pass ]   2675
federated.federated_innodb 'X,innodb_plugin' w29 [ pass ]   2559
federated.federated_bug_585688 'old'     w1 [ pass ]   2627
federated.federated 'X'                  w6 [ pass ]   2673
federated.federated_transactions 'X,xtradb' w7 [ pass ]   2597
federated.federated_innodb 'old,xtradb'  w11 [ pass ]   2605
federated.federated_innodb 'innodb_plugin,old' w12 [ pass ]   2603
federated.federated_archive 'X'          w26 [ pass ]   2828
federated.federated_bug_585688 'X'       w10 [ pass ]   2738
federated.federated_bug_32426 'old'      w17 [ pass ]   2698
federated.federated_bug_32426 'X'        w22 [ pass ]   2612
federated.federated_bug_35333 'X'        w14 [ pass ]   2774
federated.federated_partition 'X,xtradb' w3 [ pass ]   2613
federated.federated 'old'                w8 [ pass ]   2659
federated.federated_archive 'old'        w33 [ pass ]   2698
federated.federated_transactions 'X,innodb_plugin' w30 [ pass ]   2607
federated.federated_partition 'X,innodb_plugin' w24 [ pass ]   2629
federated.federated_bug_13118 'old'      w18 [ pass ]   2815
federated.federated_bug_25714 'X'        w13 [ pass ]   3564
federated.federated_debug 'X'            w15 [ pass ]   3186
federated.federated_debug 'old'          w27 [ pass ]   3376
federated.federated_bug_25714 'old'      w2 [ pass ]   3700
federated.federatedx 'X'                 w32 [ pass ]   6439
federated.error_on_close-8313 'X'        w19 [ pass ]   6339
federated.error_on_close-8313 'old'      w20 [ pass ]   6400
multi_source.gtid 'innodb_plugin'        w21 [ pass ]   6333
perfschema.cnf_option                    w11 [ pass ]      8
multi_source.info_logs                   w6 [ pass ]   2984
multi_source.load_data                   w7 [ pass ]    882
multi_source.gtid 'xtradb'               w16 [ pass ]   1661
multi_source.syntax 'stmt'               w4 [ pass ]   7854
multi_source.syntax 'mix'                w5 [ pass ]   7806
multi_source.syntax 'row'                w9 [ pass ]   7854
multi_source.relaylog_events             w7 [ pass ]   3801
rpl.rpl_loaddata_m 'mix'                 w15 [ pass ]   4372
rpl.rpl_special_charset 'mix'            w27 [ pass ]   4434
rpl.rpl_create_database 'row'            w18 [ pass ]   4434
rpl.rpl_create_database 'mix'            w24 [ pass ]   4483
rpl.rpl_create_database 'stmt'           w13 [ pass ]   4656
rpl.rpl_sporadic_master 'mix'            w2 [ pass ]   4805
federated.federated_server 'X'           w31 [ pass ]  15940
rpl.rpl_invoked_features 'innodb_plugin,mix' w19 [ pass ]   2588
multi_source.reset_slave                 w7 [ pass ]    210
rpl.rpl_auto_increment 'innodb_plugin,stmt' w22 [ pass ]   6540
rpl.rpl_auto_increment 'innodb_plugin,mix' w12 [ pass ]   6258
rpl.rpl_checksum 'mix'                   w3 [ pass ]   4547
multi_source.multisource 'xtradb'        w1 [ pass ]   8314
rpl.rpl_auto_increment 'mix,xtradb'      w26 [ pass ]   6506
rpl.rpl_auto_increment 'innodb_plugin,row' w10 [ pass ]   6471
federated.federated_server 'old'         w25 [ pass ]  17387
rpl.rpl_auto_increment 'stmt,xtradb'     w14 [ pass ]   6608
rpl.rpl_auto_increment 'row,xtradb'      w17 [ pass ]   6700
rpl.rpl_timezone 'mix'                   w11 [ pass ]   1983
rpl.rpl_corruption 'row'                 w33 [ pass ]   5928
rpl.rpl_corruption 'stmt'                w30 [ pass ]   6111
rpl.rpl_corruption 'mix'                 w8 [ pass ]   6444
rpl.rpl_invoked_features 'mix,xtradb'    w21 [ pass ]   2785
multi_source.multisource 'innodb_plugin' w29 [ pass ]   4002
multi_source.simple                      w7 [ pass ]    841
rpl.create_or_replace2 'innodb_plugin,mix' w9 [ skipped ]  Neither ROW nor STATEMENT binlog format
rpl.rpl_innodb_bug30888 'innodb_plugin,mix' w6 [ fail ]
        Test ended at 2016-07-07 02:22:24

CURRENT_TEST: rpl.rpl_innodb_bug30888


Server [mysqld.2 - pid: 24031, winpid: 24031, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:22:14 70366857116320 [Note] /build/build/sql/mysqld (mysqld 10.2.2-MariaDB-debug) starting as process 24032 ...
2016-07-07  2:22:14 70366857116320 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4162)
2016-07-07  2:22:14 70366857116320 [Note] Plugin 'partition' is disabled.
2016-07-07  2:22:14 70366857116320 [Note] Plugin 'SEQUENCE' is disabled.
2016-07-07  2:22:15 70366857116320 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-07  2:22:15 70366857116320 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:15 70366857116320 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:15 70366857116320 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-07  2:22:15 70366857116320 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-07-07  2:22:15 70366857116320 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-07-07  2:22:15 70366857116320 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-07  2:22:15 70366857116320 [Note] InnoDB: Using Linux native AIO
2016-07-07  2:22:15 70366857116320 [Note] InnoDB: Using POWER8 crc32 instructions
2016-07-07 02:22:15 3fff8f85baa0 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
InnoDB: Warning: io_setup() attempt 3 failed.
InnoDB: Warning: io_setup() attempt 4 failed.
InnoDB: Warning: io_setup() attempt 5 failed.
2016-07-07 02:22:17 3fff8f85baa0 InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts.
InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
2016-07-07  2:22:17 70366857116320 [Warning] InnoDB: Linux Native AIO disabled.
2016-07-07  2:22:17 70366857116320 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2016-07-07  2:22:17 70366857116320 [Note] InnoDB: Completed initialization of buffer pool
2016-07-07  2:22:17 70366857116320 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-07  2:22:18 70366857116320 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-07  2:22:18 70366857116320 [Note] InnoDB: Waiting for purge to start
2016-07-07  2:22:18 70366857116320 [Note] InnoDB: 5.6.31 started; log sequence number 1629546
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_CMP' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'XTRADB_RSEG' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2016-07-07  2:22:18 70366857116320 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2016-07-07  2:22:18 70366857116320 [Warning] /build/build/sql/mysqld: unknown option '--loose-skip-plugin-innodb-changed-pages'
2016-07-07  2:22:18 70366537969584 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-07  2:22:19 70366857116320 [Note] Server socket created on IP: '127.0.0.1'.
2016-07-07  2:22:19 70366857116320 [Note] /build/build/sql/mysqld: ready for connections.
Version: '10.2.2-MariaDB-debug'  socket: '/build/build/mysql-test/var/tmp/6/mysqld.2.sock'  port: 16261  MariaDB Server
2016-07-07  2:22:20 70366842354608 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16260', master_log_file='master-bin.000001', master_log_pos='4'.
2016-07-07  2:22:20 70366841174960 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 4, relay log './slave-relay-bin.000001' position: 4
2016-07-07  2:22:20 70366841568176 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16260',replication started in log 'master-bin.000001' at position 4
2016-07-07 02:22:23 3fff8e927bb0  InnoDB: Assertion failure in thread 70366841174960 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:22:23 [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.2.2-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=4
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 = 63022 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x3fff75e94070
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 = 0x3fff8e926790 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x2fd13b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x2f62c438]
[0x3fff8f7e04d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fff8ee3f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fff8ee419ec]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x316214)[0x3fff876b6214]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x312e70)[0x3fff876b2e70]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x7da94)[0x3fff8741da94]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x8e038)[0x3fff8742e038]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x322c20)[0x3fff876c2c20]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x353ed8)[0x3fff876f3ed8]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x345ed4)[0x3fff876e5ed4]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x3482d8)[0x3fff876e82d8]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x348560)[0x3fff876e8560]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x175044)[0x3fff87515044]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x175398)[0x3fff87515398]
/build/build/mysql-test/var/6/plugins/ha_innodb.so(+0x17b244)[0x3fff8751b244]
/build/build/sql/mysqld(_ZN6TC_LOG18run_commit_orderedEP3THDb+0x110)[0x2f743e28]
mysys/stacktrace.c:246(my_print_stacktrace)[0x2f74bca8]
/build/build/sql/mysqld(_ZN13MYSQL_BIN_LOG34write_transaction_to_binlog_eventsEPNS_18group_commit_entryE+0xd0)[0x2f74bfac]
sql/signal_handler.cc:159(handle_fatal_signal)[0x2f74c3ac]
/build/build/sql/mysqld(+0x7bc688)[0x2f74c688]
sql/log.cc:8534(TC_LOG::run_commit_ordered(THD*, bool))[0x2f74c924]
sql/log.cc:1754(binlog_flush_cache(THD*, binlog_cache_mngr*, Log_event*, bool, bool, bool))[0x2f631b14]
/build/build/sql/mysqld(_Z12trans_commitP3THD+0xac)[0x2f52ab5c]
sql/handler.cc:1445(ha_commit_trans(THD*, bool))[0x2f757444]
sql/transaction.cc:236(trans_commit(THD*))[0x2f3688ec]
/build/build/sql/mysqld(+0x3db5a8)[0x2f36b5a8]
sql/log_event.cc:7624(Xid_log_event::do_apply_event(rpl_group_info*))[0x2f36d0a8]
sql/log_event.h:1343(Log_event::apply_event(rpl_group_info*))[0x2f90e41c]
perfschema/pfs.cc:1862(pfs_spawn_thread)[0x3fff8f3a84a0]
/lib/powerpc64le-linux-gnu/libc.so.6(clone+0xe4)[0x3fff8ef27e74]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x0): 
Connection ID (thread ID): 7
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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=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
----------SERVER LOG END-------------
mysqltest failed but provided no output
The result from queries just before the failure was:
< snip >
DECLARE ins_count INT DEFAULT 1000; 
DECLARE del_count INT;
DECLARE cur_user VARCHAR(255);
DECLARE local_uuid VARCHAR(255);
DECLARE local_time TIMESTAMP;
SET local_time= NOW();
SET cur_user= CURRENT_USER();
SET local_uuid= UUID();
WHILE ins_count > 0 DO
INSERT INTO test.regular_tbl VALUES (NULL, NOW(), USER() , UUID(),
ins_count,'Going to test MBR for MySQL');
SET ins_count = ins_count - 1;
END WHILE;
SELECT MAX(id) FROM test.regular_tbl INTO del_count;
WHILE del_count > 0 DO
DELETE FROM test.regular_tbl WHERE id = del_count;
SET del_count = del_count - 2;
END WHILE;
END|
CALL test.proc_norm();



 - saving '/build/build/mysql-test/var/6/log/rpl.rpl_innodb_bug30888-innodb_plugin,mix/' to '/build/build/mysql-test/var/log/rpl.rpl_innodb_bug30888-innodb_plugin,mix/'
 - found 'core' (0/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
Compressed file /build/build/mysql-test/var/log/rpl.rpl_innodb_bug30888-innodb_plugin,mix/mysqld.2/data/core
 - found 'core' (1/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
Compressed file /build/build/mysql-test/var/log/rpl.rpl_innodb_bug30888-innodb_plugin,mix/mysqld.1/data/core
rpl.rpl_ddl 'innodb_plugin,mix'          w3 [ pass ]   1728
rpl.rpl_semi_sync_event 'innodb_plugin,mix' w24 [ fail ]
        Test ended at 2016-07-07 02:22:35

CURRENT_TEST: rpl.rpl_semi_sync_event
mysqltest: At line 65: query 'reap' failed: 2013: Lost connection to MySQL server during query

The result from queries just before the failure was:
< snip >
connection master;
connect  m$run,localhost,root,,;
connection m4;
UPDATE t1 SET f = CONCAT('up_',CONNECTION_ID()) WHERE i = 4;
connection master;
connect  m$run,localhost,root,,;
connection m3;
UPDATE t1 SET f = CONCAT('up_',CONNECTION_ID()) WHERE i = 3;
connection master;
connect  m$run,localhost,root,,;
connection m2;
UPDATE t1 SET f = CONCAT('up_',CONNECTION_ID()) WHERE i = 2;
connection master;
connect  m$run,localhost,root,,;
connection m1;
UPDATE t1 SET f = CONCAT('up_',CONNECTION_ID()) WHERE i = 1;
connection master;
connection master;
SET GLOBAL event_scheduler = OFF;
connection m20;

More results from queries before failure can be found in /build/build/mysql-test/var/24/log/rpl_semi_sync_event.log


Server [mysqld.1 - pid: 25568, winpid: 25568, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:22:22 70366567774880 [Note] /build/build/sql/mysqld (mysqld 10.2.2-MariaDB-debug) starting as process 25573 ...
2016-07-07  2:22:22 70366567774880 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4051)
2016-07-07  2:22:22 70366567774880 [Note] Plugin 'partition' is disabled.
2016-07-07  2:22:23 70366567774880 [Note] Plugin 'SEQUENCE' is disabled.
2016-07-07  2:22:23 70366567774880 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-07  2:22:23 70366567774880 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:23 70366567774880 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:23 70366567774880 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-07  2:22:23 70366567774880 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-07-07  2:22:23 70366567774880 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-07-07  2:22:23 70366567774880 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-07  2:22:23 70366567774880 [Note] InnoDB: Using Linux native AIO
2016-07-07  2:22:23 70366567774880 [Note] InnoDB: Using POWER8 crc32 instructions
2016-07-07 02:22:23 3fff7e46baa0 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
2016-07-07  2:22:24 70366567774880 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2016-07-07  2:22:24 70366567774880 [Note] InnoDB: Completed initialization of buffer pool
2016-07-07  2:22:24 70366567774880 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-07  2:22:25 70366567774880 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-07  2:22:25 70366567774880 [Note] InnoDB: Waiting for purge to start
2016-07-07  2:22:25 70366567774880 [Note] InnoDB: 5.6.31 started; log sequence number 1629546
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2016-07-07  2:22:25 70366252756912 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_CMP' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'XTRADB_RSEG' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2016-07-07  2:22:25 70366567774880 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2016-07-07  2:22:25 70366567774880 [Warning] /build/build/sql/mysqld: unknown option '--loose-skip-plugin-innodb-changed-pages'
2016-07-07  2:22:25 70366567774880 [Note] Server socket created on IP: '127.0.0.1'.
2016-07-07  2:22:25 70366567774880 [Note] /build/build/sql/mysqld: ready for connections.
Version: '10.2.2-MariaDB-debug'  socket: '/build/build/mysql-test/var/tmp/24/mysqld.1.sock'  port: 16040  MariaDB Server
2016-07-07  2:22:26 70366550981552 [Note] Start asynchronous binlog_dump to slave (server_id: 2), pos(master-bin.000001, 4)
2016-07-07  2:22:26 70366428494768 [Note] Semi-sync replication initialized for transactions.
2016-07-07  2:22:26 70366428494768 [Note] Semi-sync replication enabled on the master.
2016-07-07  2:22:26 70366550981552 [Note] Stop asynchronous binlog_dump to slave (server_id: 2)
2016-07-07  2:22:26 70366427708336 [Note] Start semi-sync binlog_dump to slave (server_id: 2), pos(master-bin.000001, 1674)
2016-07-07  2:22:26 70366427315120 [Note] Event Scheduler: scheduler thread started with id 11
2016-07-07  2:22:26 70366427708336 [ERROR] Read semi-sync reply network error:  (errno: 1158)
2016-07-07  2:22:26 70366427708336 [Note] Stop semi-sync binlog_dump to slave (server_id: 2)
2016-07-07  2:22:27 70366428494768 [Note] Event Scheduler: Killing the scheduler thread, thread id 11
2016-07-07  2:22:27 70366428494768 [Note] Event Scheduler: Waiting for the scheduler thread to reply
2016-07-07  2:22:27 70366428494768 [Note] Event Scheduler: Stopped
2016-07-07 02:22:27 3fff6d3fefb0  InnoDB: Assertion failure in thread 70366282117040 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:22:27 [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.2.2-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=25
max_threads=42
thread_count=30
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 18027 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x0
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 = 0x0 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x3b7a3b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x3b0bc438]
[0x3fff7e3f04d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fff7da4f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fff7da519ec]
/build/build/mysql-test/var/24/plugins/ha_innodb.so(+0x316bac)[0x3fff762b6bac]
/build/build/mysql-test/var/24/plugins/ha_innodb.so(+0x255960)[0x3fff761f5960]
/build/build/mysql-test/var/24/plugins/ha_innodb.so(+0x3244a8)[0x3fff762c44a8]
/build/build/mysql-test/var/24/plugins/ha_innodb.so(+0x305a28)[0x3fff762a5a28]
/lib/powerpc64le-linux-gnu/libpthread.so.0(+0x84a0)[0x3fff7dfb84a0]
/lib/powerpc64le-linux-gnu/libc.so.6(clone+0xe4)[0x3fff7db37e74]
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
----------SERVER LOG END-------------


 - saving '/build/build/mysql-test/var/24/log/rpl.rpl_semi_sync_event-innodb_plugin,mix/' to '/build/build/mysql-test/var/log/rpl.rpl_semi_sync_event-innodb_plugin,mix/'
 - found 'core' (2/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
Compressed file /build/build/mysql-test/var/log/rpl.rpl_semi_sync_event-innodb_plugin,mix/mysqld.1/data/core
rpl.rpl_parallel_partition 'mix,xtradb'  w30 [ pass ]   6251
multi_source.skip_counter                w7 [ pass ]    447
multi_source.gtid_ignore_duplicates 'xtradb' w23 [ pass ]   8909
rpl.create_or_replace2 'mix,xtradb'      w11 [ skipped ]  Neither ROW nor STATEMENT binlog format
rpl.rpl_bug26395 'innodb_plugin,mix'     w26 [ pass ]    721
rpl.rpl_mixed_drop_create_temp_table 'innodb_plugin,mix' w15 [ fail ]
        Test ended at 2016-07-07 02:22:42

CURRENT_TEST: rpl.rpl_mixed_drop_create_temp_table


Server [mysqld.1 - pid: 25566, winpid: 25566, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:22:22 70367434095264 [Note] /build/build/sql/mysqld (mysqld 10.2.2-MariaDB-debug) starting as process 25571 ...
2016-07-07  2:22:22 70367434095264 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4162)
2016-07-07  2:22:22 70367434095264 [Note] Plugin 'partition' is disabled.
2016-07-07  2:22:22 70367434095264 [Note] Plugin 'SEQUENCE' is disabled.
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-07  2:22:23 70367434095264 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:23 70367434095264 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: Using Linux native AIO
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: Using POWER8 crc32 instructions
2016-07-07 02:22:23 3fffb1e9baa0 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: Completed initialization of buffer pool
2016-07-07  2:22:23 70367434095264 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-07  2:22:24 70367434095264 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-07  2:22:24 70367434095264 [Note] InnoDB: Waiting for purge to start
2016-07-07  2:22:24 70367434095264 [Note] InnoDB: 5.6.31 started; log sequence number 1629546
2016-07-07  2:22:24 70367116783536 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_CMP' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'XTRADB_RSEG' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2016-07-07  2:22:24 70367434095264 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2016-07-07  2:22:24 70367434095264 [Warning] /build/build/sql/mysqld: unknown option '--loose-skip-plugin-innodb-changed-pages'
2016-07-07  2:22:24 70367434095264 [Note] Server socket created on IP: '127.0.0.1'.
2016-07-07  2:22:24 70367434095264 [Note] /build/build/sql/mysqld: ready for connections.
Version: '10.2.2-MariaDB-debug'  socket: '/build/build/mysql-test/var/tmp/15/mysqld.1.sock'  port: 16160  MariaDB Server
2016-07-07 02:22:33 3fffa1bfefb0  InnoDB: Assertion failure in thread 70367162920880 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:22:33 [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.2.2-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=7
max_threads=153
thread_count=8
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63022 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x0
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 = 0x0 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x600d3b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x5f9ec438]
[0x3fffb1e204d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fffb147f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fffb14819ec]
/build/build/mysql-test/var/15/plugins/ha_innodb.so(+0x316bac)[0x3fffaa2b6bac]
/build/build/mysql-test/var/15/plugins/ha_innodb.so(+0x106c28)[0x3fffaa0a6c28]
/build/build/mysql-test/var/15/plugins/ha_innodb.so(+0x110ed8)[0x3fffaa0b0ed8]
/build/build/mysql-test/var/15/plugins/ha_innodb.so(+0x1e6604)[0x3fffaa186604]
mysys/stacktrace.c:246(my_print_stacktrace)[0x3fffaa1871c0]
/build/build/mysql-test/var/15/plugins/ha_innodb.so(+0x2fe2c8)[0x3fffaa29e2c8]
/build/build/mysql-test/var/15/plugins/ha_innodb.so(+0x303f40)[0x3fffaa2a3f40]
/lib/powerpc64le-linux-gnu/libpthread.so.0(+0x84a0)[0x3fffb19e84a0]
/lib/powerpc64le-linux-gnu/libc.so.6(clone+0xe4)[0x3fffb1567e74]
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
----------SERVER LOG END-------------
mysqltest failed but provided no output
The result from queries just before the failure was:
< snip >
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
SET @commands= 'B T Drop-Temp-If-TXe-Temp N Drop-Temp-If-TXe-Temp C';
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away
ERROR HY000: MySQL server has gone away



 - saving '/build/build/mysql-test/var/15/log/rpl.rpl_mixed_drop_create_temp_table-innodb_plugin,mix/' to '/build/build/mysql-test/var/log/rpl.rpl_mixed_drop_create_temp_table-innodb_plugin,mix/'
 - found 'core' (3/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
Compressed file /build/build/mysql-test/var/log/rpl.rpl_mixed_drop_create_temp_table-innodb_plugin,mix/mysqld.1/data/core
rpl.rpl_parallel_partition 'innodb_plugin,mix' w27 [ pass ]   6613
rpl.rpl_partition_innodb 'innodb_plugin,mix' w16 [ pass ]   2182
rpl.rpl_sync 'innodb_plugin,mix'         w32 [ pass ]  11621
rpl.rpl_gtid_crash 'innodb_plugin,mix'   w31 [ fail ]
        Test ended at 2016-07-07 02:22:46

CURRENT_TEST: rpl.rpl_gtid_crash


Server [mysqld.2 - pid: 25347, winpid: 25347, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:22:21 70367343000224 [Note] /build/build/sql/mysqld (mysqld 10.2.2-MariaDB-debug) starting as process 25357 ...
2016-07-07  2:22:21 70367343000224 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4162)
2016-07-07  2:22:21 70367343000224 [Note] Plugin 'partition' is disabled.
2016-07-07  2:22:21 70367343000224 [Note] Plugin 'SEQUENCE' is disabled.
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-07  2:22:21 70367343000224 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:21 70367343000224 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: Using Linux native AIO
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: Using POWER8 crc32 instructions
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: Completed initialization of buffer pool
2016-07-07  2:22:21 70367343000224 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-07  2:22:23 70367343000224 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-07  2:22:23 70367343000224 [Note] InnoDB: Waiting for purge to start
2016-07-07  2:22:23 70367343000224 [Note] InnoDB: 5.6.31 started; log sequence number 1629546
2016-07-07  2:22:23 70367024508848 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_CMP' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'XTRADB_RSEG' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2016-07-07  2:22:23 70367343000224 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2016-07-07  2:22:23 70367343000224 [Warning] /build/build/sql/mysqld: unknown option '--loose-skip-plugin-innodb-changed-pages'
2016-07-07  2:22:23 70367343000224 [Note] Server socket created on IP: '127.0.0.1'.
2016-07-07  2:22:23 70367343000224 [Note] /build/build/sql/mysqld: ready for connections.
Version: '10.2.2-MariaDB-debug'  socket: '/build/build/mysql-test/var/tmp/31/mysqld.2.sock'  port: 16501  MariaDB Server
2016-07-07  2:22:24 70367327779760 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16500', master_log_file='master-bin.000001', master_log_pos='4'.
2016-07-07  2:22:24 70367204441008 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 4, relay log './slave-relay-bin.000001' position: 4
2016-07-07  2:22:24 70367326993328 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16500',replication started in log 'master-bin.000001' at position 4
2016-07-07  2:22:24 70367204441008 [Note] Error reading relay log event: slave SQL thread was killed
2016-07-07  2:22:24 70367326993328 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
2016-07-07  2:22:24 70367326993328 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 2259
2016-07-07  2:22:24 70367327779760 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='127.0.0.1', master_port='16500', master_log_file='master-bin.000001', master_log_pos='2259'. New state master_host='127.0.0.1', master_port='16500', master_log_file='', master_log_pos='4'.
2016-07-07  2:22:24 70367327779760 [Note] Previous Using_Gtid=No. New Using_Gtid=Current_Pos
2016-07-07  2:22:24 70367326993328 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 4, relay log './slave-relay-bin.000001' position: 4; GTID position '0-1-8'
2016-07-07  2:22:25 70367204441008 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16500',replication starts at GTID position '0-1-8'
2016-07-07  2:22:25 70367204441008 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
2016-07-07  2:22:25 70367204441008 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'master-bin.000001' at position 37485; GTID position '0-1-210'
2016-07-07  2:22:25 70367204441008 [ERROR] Slave I/O: error reconnecting to master 'root@127.0.0.1:16500' - retry-time: 1  retries: 100  message: Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused"), Internal MariaDB error code: 2003
2016-07-07 02:22:27 3fff9f38efb0  InnoDB: Assertion failure in thread 70367120519088 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:22:27 [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.2.2-MariaDB-debug
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 = 63022 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x0
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 = 0x0 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x45dc3b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x456dc438]
[0x3fffac7404d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fffabd9f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fffabda19ec]
/build/build/mysql-test/var/31/plugins/ha_innodb.so(+0x316214)[0x3fffa46b6214]
/build/build/mysql-test/var/31/plugins/ha_innodb.so(+0x316284)[0x3fffa46b6284]
/build/build/mysql-test/var/31/plugins/ha_innodb.so(+0x90818)[0x3fffa4430818]
/build/build/mysql-test/var/31/plugins/ha_innodb.so(+0xa3880)[0x3fffa4443880]
/build/build/mysql-test/var/31/plugins/ha_innodb.so(+0x89144)[0x3fffa4429144]
/build/build/mysql-test/var/31/plugins/ha_innodb.so(+0x116c1c)[0x3fffa44b6c1c]
/build/build/mysql-test/var/31/plugins/ha_innodb.so(+0x30826c)[0x3fffa46a826c]
mysys/stacktrace.c:246(my_print_stacktrace)[0x3fffac3084a0]
/lib/powerpc64le-linux-gnu/libc.so.6(clone+0xe4)[0x3fffabe87e74]
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
----------SERVER LOG END-------------
mysqltest failed but provided no output
The result from queries just before the failure was:
< snip >
call mtr.add_suppression("Table .* is marked as crashed and should be repaired");
call mtr.add_suppression("InnoDB: Warning: database page corruption or a failed");
flush tables;
ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1, 0);
connection server_2;
include/stop_slave.inc
CHANGE MASTER TO master_host = '127.0.0.1', master_port = MASTER_PORT,
MASTER_USE_GTID=CURRENT_POS;
connection server_1;
INSERT INTO t1 VALUES (2,1);
INSERT INTO t1 VALUES (3,1);
connection server_2;
include/start_slave.inc
connection server_1;
include/save_master_gtid.inc
SET SESSION debug_dbug="+d,crash_dispatch_command_before";
SELECT 1;
Got one of the listed errors



 - saving '/build/build/mysql-test/var/31/log/rpl.rpl_gtid_crash-innodb_plugin,mix/' to '/build/build/mysql-test/var/log/rpl.rpl_gtid_crash-innodb_plugin,mix/'
 - found 'core' (4/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
Compressed file /build/build/mysql-test/var/log/rpl.rpl_gtid_crash-innodb_plugin,mix/mysqld.2/data/core
rpl.rpl_mdev6386 'innodb_plugin,mix'     w19 [ fail ]
        Test ended at 2016-07-07 02:22:50

CURRENT_TEST: rpl.rpl_mdev6386
mysqltest: In included file "./include/wait_for_slave_param.inc": 
included from ./include/wait_for_slave_sql_error.inc at line 41:
included from /source/mysql-test/suite/rpl/t/rpl_mdev6386.test at line 48:
At line 115: query 'let $_show_slave_status_value= query_get_value("SHOW SLAVE STATUS", $slave_param, 1)' failed: 2013: Lost connection to MySQL server during query

The result from queries just before the failure was:
< snip >
CREATE TEMPORARY TABLE t2 LIKE t1;
INSERT INTO t2 VALUE (1, 1);
INSERT INTO t2 VALUE (2, 1);
INSERT INTO t2 VALUE (3, 1);
INSERT INTO t2 VALUE (4, 1);
INSERT INTO t2 VALUE (5, 1);
INSERT INTO t1 SELECT * FROM t2;
DROP TEMPORARY TABLE t2;
include/save_master_gtid.inc
Contents on master:
SELECT * FROM t1 ORDER BY a;
a	b
1	1
2	1
3	1
4	1
5	1
connection slave;
START SLAVE;
include/wait_for_slave_sql_error.inc [errno=1062]

More results from queries before failure can be found in /build/build/mysql-test/var/19/log/rpl_mdev6386.log


Server [mysqld.2 - pid: 25605, winpid: 25605, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:22:23 70367439207072 [Note] /build/build/sql/mysqld (mysqld 10.2.2-MariaDB-debug) starting as process 25607 ...
2016-07-07  2:22:23 70367439207072 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4162)
2016-07-07  2:22:23 70367439207072 [Note] Plugin 'partition' is disabled.
2016-07-07  2:22:23 70367439207072 [Note] Plugin 'SEQUENCE' is disabled.
2016-07-07  2:22:23 70367439207072 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-07  2:22:23 70367439207072 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:23 70367439207072 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:23 70367439207072 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-07  2:22:23 70367439207072 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-07-07  2:22:23 70367439207072 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-07-07  2:22:23 70367439207072 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-07  2:22:23 70367439207072 [Note] InnoDB: Using Linux native AIO
2016-07-07  2:22:23 70367439207072 [Note] InnoDB: Using POWER8 crc32 instructions
2016-07-07 02:22:23 3fffb237baa0 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
2016-07-07 02:22:23 3fffb237baa0 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
2016-07-07  2:22:24 70367439207072 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2016-07-07  2:22:24 70367439207072 [Note] InnoDB: Completed initialization of buffer pool
2016-07-07  2:22:24 70367439207072 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-07  2:22:26 70367439207072 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-07  2:22:26 70367439207072 [Note] InnoDB: Waiting for purge to start
2016-07-07  2:22:26 70367439207072 [Note] InnoDB: 5.6.31 started; log sequence number 1629546
2016-07-07  2:22:26 70367120977840 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_CMP' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'XTRADB_RSEG' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2016-07-07  2:22:26 70367439207072 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2016-07-07  2:22:26 70367439207072 [Warning] /build/build/sql/mysqld: unknown option '--loose-skip-plugin-innodb-changed-pages'
2016-07-07  2:22:26 70367439207072 [Note] Server socket created on IP: '127.0.0.1'.
2016-07-07  2:22:26 70367439207072 [Note] /build/build/sql/mysqld: ready for connections.
Version: '10.2.2-MariaDB-debug'  socket: '/build/build/mysql-test/var/tmp/19/mysqld.2.sock'  port: 16381  MariaDB Server
2016-07-07  2:22:26 70367423986608 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16380', master_log_file='master-bin.000001', master_log_pos='4'.
2016-07-07  2:22:26 70367300516784 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 4, relay log './slave-relay-bin.000001' position: 4
2016-07-07  2:22:26 70367300910000 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16380',replication started in log 'master-bin.000001' at position 4
2016-07-07  2:22:27 70367300516784 [Note] Slave SQL thread exiting, replication stopped in log 'master-bin.000002' at position 545
2016-07-07  2:22:27 70367300910000 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
2016-07-07  2:22:27 70367300910000 [Note] Slave I/O thread exiting, read up to log 'master-bin.000002', position 545
2016-07-07  2:22:27 70367300123568 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='127.0.0.1', master_port='16380', master_log_file='master-bin.000002', master_log_pos='545'. New state master_host='127.0.0.1', master_port='16380', master_log_file='master-bin.000002', master_log_pos='545'.
2016-07-07  2:22:27 70367300123568 [Note] Previous Using_Gtid=No. New Using_Gtid=Current_Pos
2016-07-07  2:22:27 70367300516784 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16380',replication starts at GTID position '0-1-2'
2016-07-07  2:22:27 70367207783344 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000002' at position 545, relay log './slave-relay-bin.000001' position: 4; GTID position '0-1-2'
2016-07-07 02:22:27 3fffa4727bb0  InnoDB: Assertion failure in thread 70367208176560 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:22:27 [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.2.2-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=4
max_threads=153
thread_count=15
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63022 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x3fff94e64070
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 = 0x3fffa4726fe8 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x33313b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x32c2c438]
[0x3fffb23004d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fffb195f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fffb19619ec]
/build/build/mysql-test/var/19/plugins/ha_innodb.so(+0x316214)[0x3fffaa2b6214]
/build/build/mysql-test/var/19/plugins/ha_innodb.so(+0x316284)[0x3fffaa2b6284]
/build/build/mysql-test/var/19/plugins/ha_innodb.so(+0x347220)[0x3fffaa2e7220]
/build/build/mysql-test/var/19/plugins/ha_innodb.so(+0x3482d8)[0x3fffaa2e82d8]
/build/build/mysql-test/var/19/plugins/ha_innodb.so(+0x348560)[0x3fffaa2e8560]
mysys/stacktrace.c:246(my_print_stacktrace)[0x3fffaa115044]
sql/signal_handler.cc:159(handle_fatal_signal)[0x3fffaa115398]
/build/build/mysql-test/var/19/plugins/ha_innodb.so(+0x17bd24)[0x3fffaa11bd24]
/build/build/sql/mysqld(+0x69f048)[0x32c2f048]
sql/handler.cc:1552(commit_one_phase_2(THD*, bool, THD_TRANS*, bool))[0x32c30c94]
sql/handler.cc:1400(ha_commit_trans(THD*, bool))[0x32c317d4]
sql/rpl_gtid.cc:693(rpl_slave_state::record_gtid(THD*, rpl_gtid const*, unsigned long long, bool, bool))[0x32b7bef4]
sql/rpl_gtid.cc:80(rpl_slave_state::record_and_update_gtid(THD*, rpl_group_info*))[0x32b7c07c]
sql/rpl_rli.cc:1361(Relay_log_info::stmt_done(unsigned long long, THD*, rpl_group_info*))[0x32b09da8]
/build/build/sql/mysqld(_ZN9Log_event13do_update_posEP14rpl_group_info+0x7c)[0x32d546d4]
sql/log_event.cc:989(Log_event::do_update_pos(rpl_group_info*))[0x32968a8c]
sql/log_event.h:1359(Log_event::update_pos(rpl_group_info*))[0x32b823cc]
/build/build/sql/mysqld(handle_rpl_parallel_thread+0x10ec)[0x32b88468]
sql/rpl_parallel.cc:52(rpt_handle_event(rpl_parallel_thread::queued_event*, rpl_parallel_thread*))[0x32f0e41c]
perfschema/pfs.cc:1862(pfs_spawn_thread)[0x3fffb1ec84a0]
/lib/powerpc64le-linux-gnu/libc.so.6(clone+0xe4)[0x3fffb1a47e74]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x0): 
Connection ID (thread ID): 18
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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=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
----------SERVER LOG END-------------


 - saving '/build/build/mysql-test/var/19/log/rpl.rpl_mdev6386-innodb_plugin,mix/' to '/build/build/mysql-test/var/log/rpl.rpl_mdev6386-innodb_plugin,mix/'
 - found 'core' (5/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
 - deleting it, already saved 5
multi_source.gtid_ignore_duplicates 'innodb_plugin' w28 [ pass ]  11917
rpl.rpl_relayrotate 'innodb_plugin,mix'  w22 [ pass ]   6888
rpl.rpl_innodb_bug28430 'mix,xtradb'     w14 [ pass ]   3732
rpl.rpl_innodb_bug30888 'mix,xtradb'     w10 [ pass ]   3116
rpl.rpl_mdev6020 'innodb_plugin,mix'     w5 [ fail ]
        Test ended at 2016-07-07 02:22:50

CURRENT_TEST: rpl.rpl_mdev6020
mysqltest: At line 43: failed in 'select master_pos_wait('master-bin.000002', 336, 300, '')': 2013: Lost connection to MySQL server during query

The result from queries just before the failure was:
< snip >
connection slave;
include/stop_slave.inc
connection master;
include/rpl_stop_server.inc [server_number=1]
include/rpl_start_server.inc [server_number=1]
connection slave;
SET SQL_LOG_BIN=0;
ALTER TABLE mysql.gtid_slave_pos ENGINE = InnoDB;
SET SQL_LOG_BIN=1;
SET @old_engine= @@GLOBAL.default_storage_engine;
SET GLOBAL default_storage_engine=InnoDB;
SET @old_parallel= @@GLOBAL.slave_parallel_threads;
SET GLOBAL slave_parallel_threads=12;
CHANGE MASTER TO master_host='127.0.0.1', master_port=SERVER_MYPORT_1, master_user='root', master_log_file='master-bin.000001', master_log_pos=4;
include/start_slave.inc
connection master;
SET SQL_LOG_BIN=0;
ALTER TABLE mysql.gtid_slave_pos ENGINE = InnoDB;
SET SQL_LOG_BIN=1;
connection slave;

More results from queries before failure can be found in /build/build/mysql-test/var/5/log/rpl_mdev6020.log


Server [mysqld.2 - pid: 25194, winpid: 25194, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:22:20 70367000050336 [Note] /build/build/sql/mysqld (mysqld 10.2.2-MariaDB-debug) starting as process 25196 ...
2016-07-07  2:22:20 70367000050336 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4162)
2016-07-07  2:22:20 70367000050336 [Note] Plugin 'SEQUENCE' is disabled.
2016-07-07  2:22:21 70367000050336 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-07  2:22:21 70367000050336 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:21 70367000050336 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:21 70367000050336 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-07  2:22:21 70367000050336 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-07-07  2:22:21 70367000050336 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-07-07  2:22:21 70367000050336 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-07  2:22:21 70367000050336 [Note] InnoDB: Using Linux native AIO
2016-07-07  2:22:21 70367000050336 [Note] InnoDB: Using POWER8 crc32 instructions
2016-07-07 02:22:21 3fff980abaa0 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
2016-07-07  2:22:22 70367000050336 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2016-07-07  2:22:22 70367000050336 [Note] InnoDB: Completed initialization of buffer pool
2016-07-07  2:22:22 70367000050336 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-07  2:22:23 70367000050336 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-07  2:22:23 70367000050336 [Note] InnoDB: Waiting for purge to start
2016-07-07  2:22:23 70367000050336 [Note] InnoDB: 5.6.31 started; log sequence number 1629546
2016-07-07  2:22:23 70366680575920 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_CMP' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'XTRADB_RSEG' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2016-07-07  2:22:23 70367000050336 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2016-07-07  2:22:23 70367000050336 [Warning] /build/build/sql/mysqld: unknown option '--loose-skip-plugin-innodb-changed-pages'
2016-07-07  2:22:23 70367000050336 [Note] Server socket created on IP: '127.0.0.1'.
2016-07-07  2:22:23 70367000050336 [Note] /build/build/sql/mysqld: ready for connections.
Version: '10.2.2-MariaDB-debug'  socket: '/build/build/mysql-test/var/tmp/5/mysqld.2.sock'  port: 16361  MariaDB Server
2016-07-07  2:22:24 70366984829872 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16360', master_log_file='master-bin.000001', master_log_pos='4'.
2016-07-07  2:22:24 70366983650224 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 4, relay log './slave-relay-bin.000001' position: 4
2016-07-07  2:22:24 70366984043440 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16360',replication started in log 'master-bin.000001' at position 4
2016-07-07  2:22:24 70366983650224 [Note] Error reading relay log event: slave SQL thread was killed
2016-07-07  2:22:24 70366984043440 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
2016-07-07  2:22:24 70366984043440 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 322
2016-07-07  2:22:30 70366983257008 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='127.0.0.1', master_port='16360', master_log_file='master-bin.000001', master_log_pos='322'. New state master_host='127.0.0.1', master_port='16360', master_log_file='master-bin.000001', master_log_pos='4'.
2016-07-07  2:22:30 70366983650224 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16360',replication started in log 'master-bin.000001' at position 4
2016-07-07  2:22:30 70366766988208 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 4, relay log './slave-relay-bin.000001' position: 4
2016-07-07 02:22:31 3fff8fdb7bb0  InnoDB: Assertion failure in thread 70366862736304 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:22:31 [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.2.2-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=4
max_threads=153
thread_count=19
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63022 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x3fff7aa64070
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 = 0x3fff8fdb6fe8 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x5f353b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x5ec6c438]
[0x3fff980304d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fff9768f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fff976919ec]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x316bac)[0x3fff902b6bac]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x7cd94)[0x3fff9001cd94]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x84bdc)[0x3fff90024bdc]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x84f0c)[0x3fff90024f0c]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x20be54)[0x3fff901abe54]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x12b560)[0x3fff900cb560]
mysys/stacktrace.c:246(my_print_stacktrace)[0x3fff900cbc64]
sql/signal_handler.cc:159(handle_fatal_signal)[0x3fff900cc870]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x1314c8)[0x3fff900d14c8]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x353328)[0x3fff902f3328]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x32e4fc)[0x3fff902ce4fc]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x54a58)[0x3fff8fff4a58]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x2ecb78)[0x3fff9028cb78]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x2ee8a8)[0x3fff9028e8a8]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x2a4644)[0x3fff90244644]
/build/build/mysql-test/var/5/plugins/ha_innodb.so(+0x18c2a4)[0x3fff9012c2a4]
/build/build/sql/mysqld(_ZN7handler13ha_delete_rowEPKh+0x268)[0x5ec7d5ac]
/build/build/sql/mysqld(_ZN15rpl_slave_state11record_gtidEP3THDPK8rpl_gtidybb+0x9d8)[0x5ebbbd68]
sql/handler.cc:5952(handler::ha_delete_row(unsigned char const*))[0x5ed972f8]
sql/rpl_gtid.cc:670(rpl_slave_state::record_gtid(THD*, rpl_gtid const*, unsigned long long, bool, bool))[0x5e9a88ec]
/build/build/sql/mysqld(+0x5f23cc)[0x5ebc23cc]
/build/build/sql/mysqld(handle_rpl_parallel_thread+0x10ec)[0x5ebc8468]
sql/log_event.cc:7595(Xid_log_event::do_apply_event(rpl_group_info*))[0x5ef4e41c]
/lib/powerpc64le-linux-gnu/libpthread.so.0(+0x84a0)[0x3fff97bf84a0]
sql/log_event.h:1343(Log_event::apply_event(rpl_group_info*))[0x3fff97777e74]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x0): 
Connection ID (thread ID): 17
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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=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
----------SERVER LOG END-------------


 - saving '/build/build/mysql-test/var/5/log/rpl.rpl_mdev6020-innodb_plugin,mix/' to '/build/build/mysql-test/var/log/rpl.rpl_mdev6020-innodb_plugin,mix/'
 - found 'core' (6/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
 - deleting it, already saved 5
rpl.rpl_partition_innodb 'mix,xtradb'    w25 [ pass ]   1135
rpl.rpl_sync 'mix,xtradb'                w20 [ pass ]  14006
rpl.rpl_innodb_bug28430 'innodb_plugin,mix' w4 [ fail ]
        Test ended at 2016-07-07 02:22:50

CURRENT_TEST: rpl.rpl_innodb_bug28430
mysqltest: At line 142: query 'CALL test.proc_byrange()' failed: 2013: Lost connection to MySQL server during query

The result from queries just before the failure was:
< snip >
SET ins_count = ins_count - 1;
END WHILE;
SELECT MAX(id) FROM test.byrange_tbl INTO del_count;
WHILE del_count > 0 DO
DELETE FROM test.byrange_tbl WHERE id = del_count;
SET del_count = del_count - 2;
END WHILE;
END|
begin;
CALL test.proc_norm();
commit;
SELECT count(*) as "Master regular" FROM test.regular_tbl;
Master regular	500
begin;
CALL test.proc_bykey();
commit;
SELECT count(*) as "Master bykey" FROM test.bykey_tbl;
Master bykey	500
begin;
CALL test.proc_byrange();

More results from queries before failure can be found in /build/build/mysql-test/var/4/log/rpl_innodb_bug28430.log


Server [mysqld.1 - pid: 25143, winpid: 25143, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:22:20 70367030196896 [Note] /build/build/sql/mysqld (mysqld 10.2.2-MariaDB-debug) starting as process 25145 ...
2016-07-07  2:22:20 70367030196896 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4162)
2016-07-07  2:22:20 70367030196896 [Note] Plugin 'SEQUENCE' is disabled.
2016-07-07  2:22:20 70367030196896 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-07  2:22:20 70367030196896 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:20 70367030196896 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
2016-07-07  2:22:20 70367030196896 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-07  2:22:20 70367030196896 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-07-07  2:22:20 70367030196896 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-07-07  2:22:20 70367030196896 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-07  2:22:20 70367030196896 [Note] InnoDB: Using Linux native AIO
2016-07-07  2:22:20 70367030196896 [Note] InnoDB: Using POWER8 crc32 instructions
2016-07-07 02:22:20 3fff99d6baa0 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
InnoDB: Warning: io_setup() attempt 3 failed.
2016-07-07  2:22:22 70367030196896 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2016-07-07  2:22:22 70367030196896 [Note] InnoDB: Completed initialization of buffer pool
2016-07-07  2:22:22 70367030196896 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-07  2:22:23 70367030196896 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-07  2:22:23 70367030196896 [Note] InnoDB: Waiting for purge to start
2016-07-07  2:22:23 70367030196896 [Note] InnoDB: 5.6.31 started; log sequence number 1629546
2016-07-07  2:22:23 70366714130352 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_CMP' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'XTRADB_RSEG' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2016-07-07  2:22:23 70367030196896 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2016-07-07  2:22:23 70367030196896 [Warning] /build/build/sql/mysqld: unknown option '--loose-skip-plugin-innodb-changed-pages'
2016-07-07  2:22:23 70367030196896 [Note] Server socket created on IP: '127.0.0.1'.
2016-07-07  2:22:23 70367030196896 [Note] /build/build/sql/mysqld: ready for connections.
Version: '10.2.2-MariaDB-debug'  socket: '/build/build/mysql-test/var/tmp/4/mysqld.1.sock'  port: 16520  MariaDB Server
2016-07-07 02:22:27 3fff893fefb0  InnoDB: Assertion failure in thread 70366751879088 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:22:27 [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.2.2-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=6
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 = 63022 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x0
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 = 0x0 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x4e753b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x4e06c438]
[0x3fff99cf04d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fff9934f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fff993519ec]
/build/build/mysql-test/var/4/plugins/ha_innodb.so(+0x316bac)[0x3fff922b6bac]
/build/build/mysql-test/var/4/plugins/ha_innodb.so(+0x3133bc)[0x3fff922b33bc]
/build/build/mysql-test/var/4/plugins/ha_innodb.so(+0x209614)[0x3fff921a9614]
/build/build/mysql-test/var/4/plugins/ha_innodb.so(+0x20baa8)[0x3fff921abaa8]
/build/build/mysql-test/var/4/plugins/ha_innodb.so(+0x2bb854)[0x3fff9225b854]
/build/build/mysql-test/var/4/plugins/ha_innodb.so(+0x2bdd88)[0x3fff9225dd88]
/build/build/mysql-test/var/4/plugins/ha_innodb.so(+0x2557b0)[0x3fff921f57b0]
/build/build/mysql-test/var/4/plugins/ha_innodb.so(+0x3244a8)[0x3fff922c44a8]
mysys/stacktrace.c:246(my_print_stacktrace)[0x3fff922a5a28]
sql/signal_handler.cc:159(handle_fatal_signal)[0x3fff998b84a0]
/lib/powerpc64le-linux-gnu/libc.so.6(clone+0xe4)[0x3fff99437e74]
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
----------SERVER LOG END-------------


 - saving '/build/build/mysql-test/var/4/log/rpl.rpl_innodb_bug28430-innodb_plugin,mix/' to '/build/build/mysql-test/var/log/rpl.rpl_innodb_bug28430-innodb_plugin,mix/'
 - found 'core' (7/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
 - deleting it, already saved 5
rpl.rpl_skip_error 'innodb_plugin,mix'   w1 [ pass ]    747
rpl.rpl_mdev6386 'mix,xtradb'            w3 [ pass ]    578
***Warnings generated in error logs during shutdown after running tests: rpl.rpl_semi_sync_event

2016-07-07  2:22:26 70366427708336 [ERROR] Read semi-sync reply network error:  (errno: 1158)
Attempting backtrace. You can use the following information to find out

multi_source.status_vars                 w7 [ pass ]   4514
rpl.rpl_ddl 'mix,xtradb'                 w23 [ pass ]   1120
rpl.rpl_skip_error 'mix,xtradb'          w11 [ pass ]    490
rpl.rpl_checksum_cache 'innodb_plugin,mix' w26 [ fail ]
        Test ended at 2016-07-07 02:22:50

CURRENT_TEST: rpl.rpl_checksum_cache
mysqltest: At line 127: failed in 'select master_pos_wait('master-bin.000002', 1434362, 300, '')': 2013: Lost connection to MySQL server during query

The result from queries just before the failure was:
< snip >
show status like "binlog_cache_disk_use";
Variable_name	Value
Binlog_cache_disk_use	1
connection slave;
include/diff_tables.inc [master:test.t1, slave:test.t1]
connection master;
begin;
delete from t1;
commit;
connection slave;
connection master;
flush status;
create table t2(a int auto_increment primary key, data VARCHAR(12288)) ENGINE=Innodb;
show status like "binlog_cache_use";
Variable_name	Value
Binlog_cache_use	1
*** binlog_cache_disk_use must be non-zero ***
show status like "binlog_cache_disk_use";
Variable_name	Value
Binlog_cache_disk_use	1

More results from queries before failure can be found in /build/build/mysql-test/var/26/log/rpl_checksum_cache.log


Server [mysqld.2 - pid: 26079, winpid: 26079, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:22:42 70366526340016 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='127.0.0.1', master_port='16300', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16300', master_log_file='master-bin.000001', master_log_pos='4'.
2016-07-07  2:22:42 70366527126448 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 4, relay log './slave-relay-bin.000001' position: 4
2016-07-07  2:22:42 70366526733232 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16300',replication started in log 'master-bin.000001' at position 4
2016-07-07  2:22:43 70366527126448 [Note] Error reading relay log event: slave SQL thread was killed
2016-07-07  2:22:43 70366526733232 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
2016-07-07  2:22:43 70366526733232 [Note] Slave I/O thread exiting, read up to log 'master-bin.000002', position 380
2016-07-07  2:22:43 70366526733232 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000002' at position 380, relay log './slave-relay-bin.000004' position: 673
2016-07-07  2:22:43 70366527126448 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16300',replication started in log 'master-bin.000002' at position 380
2016-07-07 02:22:45 3fff7bd47bb0  InnoDB: Assertion failure in thread 70366526733232 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:22:45 [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.2.2-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=4
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 = 63022 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x3fff65a94070
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 = 0x3fff7bd46790 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x2f463b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x2ed7c438]
[0x3fff840d04d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fff8372f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fff837319ec]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x316214)[0x3fff7c2b6214]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x312e70)[0x3fff7c2b2e70]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x7e144)[0x3fff7c01e144]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x8d358)[0x3fff7c02d358]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x5136c)[0x3fff7bff136c]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x285b28)[0x3fff7c225b28]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x286804)[0x3fff7c226804]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x28a324)[0x3fff7c22a324]
mysys/stacktrace.c:246(my_print_stacktrace)[0x3fff7c22b9b8]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x2a3ee0)[0x3fff7c243ee0]
/build/build/mysql-test/var/26/plugins/ha_innodb.so(+0x192ec4)[0x3fff7c132ec4]
sql/handler.cc:5892(handler::ha_write_row(unsigned char*))[0x2ed8ce1c]
sql/sql_insert.cc:1860(write_record(THD*, TABLE*, st_copy_info*))[0x2eb2ddd4]
sql/sql_insert.cc:983(mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool))[0x2eb33898]
/build/build/sql/mysqld(_Z21mysql_execute_commandP3THD+0x44ac)[0x2eb535b8]
sql/sql_parse.cc:4288(mysql_execute_command(THD*))[0x2eb5a0c0]
/build/build/sql/mysqld(_ZN15Query_log_event14do_apply_eventEP14rpl_group_infoPKcj+0xfb4)[0x2eeb5708]
sql/log_event.cc:4459(Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int))[0x2eeb6514]
sql/log_event.h:1343(Log_event::apply_event(rpl_group_info*))[0x2eab88ec]
sql/slave.cc:3696(exec_relay_log_event(THD*, Relay_log_info*, rpl_group_info*))[0x2eabb5a8]
sql/slave.cc:4766(handle_slave_sql)[0x2eabd0a8]
perfschema/pfs.cc:1862(pfs_spawn_thread)[0x2f05e41c]
/lib/powerpc64le-linux-gnu/libpthread.so.0(+0x84a0)[0x3fff83c984a0]
/lib/powerpc64le-linux-gnu/libc.so.6(clone+0xe4)[0x3fff83817e74]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x3fff656708fb): insert into t2 set data = @data
Connection ID (thread ID): 20
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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=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
----------SERVER LOG END-------------


 - saving '/build/build/mysql-test/var/26/log/rpl.rpl_checksum_cache-innodb_plugin,mix/' to '/build/build/mysql-test/var/log/rpl.rpl_checksum_cache-innodb_plugin,mix/'
 - found 'core' (8/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
 - deleting it, already saved 5
***Warnings generated in error logs during shutdown after running tests: rpl.rpl_mixed_drop_create_temp_table

Attempting backtrace. You can use the following information to find out

***Warnings generated in error logs during shutdown after running tests: rpl.rpl_gtid_crash

Attempting backtrace. You can use the following information to find out

***Warnings generated in error logs during shutdown after running tests: rpl.rpl_mdev6386

Attempting backtrace. You can use the following information to find out

***Warnings generated in error logs during shutdown after running tests: rpl.rpl_innodb_bug30888

Attempting backtrace. You can use the following information to find out
Attempting backtrace. You can use the following information to find out

***Warnings generated in error logs during shutdown after running tests: rpl.rpl_mdev6020

Attempting backtrace. You can use the following information to find out

rpl.rpl_semi_sync_event_after_sync 'mix,xtradb' w8 [ pass ]  10795
rpl.rpl_semi_sync_event_after_sync 'innodb_plugin,mix' w18 [ pass ]  10715
rpl.rpl_mdev6020 'mix,xtradb'            w17 [ pass ]  11064
rpl.rpl_semi_sync_event 'mix,xtradb'     w21 [ pass ]  10748
***Warnings generated in error logs during shutdown after running tests: rpl.rpl_checksum_cache rpl.rpl_bug26395

Attempting backtrace. You can use the following information to find out

***Warnings generated in error logs during shutdown after running tests: rpl.rpl_innodb_bug28430

Attempting backtrace. You can use the following information to find out

rpl.rpl_sp 'mix'                         w16 [ pass ]   1822
rpl.rpl_relayrotate 'mix,xtradb'         w24 [ pass ]   6351
worker[24] mysql-test-run: WARNING: Test reserved for w3 picked up by w24
rpl.rpl_mdev359 'mix'                    w32 [ pass ]    598
rpl.rpl_commit_after_flush 'innodb_plugin,mix' w26 [ pass ]    405
rpl.rpl_bug26395 'mix,xtradb'            w27 [ pass ]    549
rpl.rpl_server_id_ignore 'mix'           w19 [ pass ]    753
worker[19] mysql-test-run: WARNING: Test reserved for w26 picked up by w19
rpl.rpl_skip_incident 'mix'              w1 [ pass ]    580
rpl.rpl_loaddata_s 'mix'                 w31 [ pass ]    943
worker[31] mysql-test-run: WARNING: Test reserved for w26 picked up by w31
rpl.rpl_flushlog_loop 'mix'              w23 [ pass ]    952
rpl.kill_hard-6290 'mix'                 w5 [ pass ]    796
worker[5] mysql-test-run: WARNING: Test reserved for w26 picked up by w5
rpl.rpl_rewrt_db 'mix'                   w14 [ pass ]   1318
rpl.rpl_blackhole 'mix'                  w20 [ pass ]    963
rpl.rpl_sp_effects 'mix'                 w25 [ pass ]   1075
rpl.rpl_cross_version 'mix'              w11 [ pass ]   1085
rpl.rpl_start_stop_slave 'mix'           w28 [ pass ]    920
rpl.rpl_000010 'mix'                     w18 [ pass ]    966
rpl.rpl_drop_temp 'mix'                  w22 [ pass ]   1810
rpl.rpl_partition_memory 'mix'           w3 [ pass ]   1183
rpl.rpl_server_id2 'mix'                 w17 [ pass ]   1151
rpl.rpl_slave_load_tmpdir_not_exist 'mix' w10 [ pass ]    769
rpl.rpl_init_slave 'mix'                 w21 [ pass ]    990
rpl.rpl_replicate_do 'mix'               w32 [ pass ]    797
rpl.rpl_gtid_crash_myisam 'mix'          w8 [ pass ]   2285
rpl.rpl_partition_myisam 'mix'           w24 [ pass ]   1318
rpl.rpl_relayspace 'mix'                 w16 [ pass ]   1045
rpl.rpl_err_ignoredtable 'mix'           w23 [ pass ]    707
rpl.rpl_ignore_table_update 'mix'        w1 [ pass ]    648
rpl.rpl_drop_db_fail 'innodb_plugin,mix' w5 [ pass ]    717
rpl.rpl_report 'mix'                     w18 [ pass ]    489
rpl.rpl_multi_update4 'mix'              w14 [ pass ]    848
rpl.rpl_000011 'mix'                     w22 [ pass ]    909
rpl.failed_create_view-6409 'mix'        w3 [ pass ]    743
rpl.rpl_domain_id_filter_io_crash 'innodb_plugin,mix' w31 [ pass ]   2733
rpl.rpl_mixed_drop_create_temp_table 'mix,xtradb' w33 [ pass ]  32949
rpl.rpl_loaddata_m 'row'                 w10 [ pass ]    737
rpl.rpl_deadlock_innodb 'innodb_plugin,mix' w12 [ pass ]  37822
rpl.semisync_future-7591 'mix'           w7 [ pass ]  11074
rpl.rpl_ignore_grant 'mix'               w25 [ pass ]    759
rpl.ignore_table_autoinc-9737 'mix'      w3 [ pass ]    678
rpl.rpl_multi_delete 'mix'               w20 [ pass ]    849
rpl.rpl_free_items 'mix'                 w11 [ pass ]   1573
rpl.rpl_row_to_stmt 'row'                w17 [ pass ]   1101
rpl.rpl_replicate_ignore_db 'mix'        w28 [ pass ]    646
rpl.rpl_ignore_revoke 'mix'              w25 [ pass ]    544
rpl.rpl_special_charset 'row'            w8 [ pass ]    849
rpl.replace 'mix'                        w3 [ pass ]    740
rpl.rpl_multi_delete2 'mix'              w24 [ pass ]    786
rpl.rpl_killed_ddl 'mix'                 w4 [ pass ]  13339
rpl.rpl_domain_id_filter_master_crash 'innodb_plugin,mix' w19 [ pass ]   8347
rpl.rpl_row_basic_11bugs 'row,xtradb'    w32 [ pass ]   3808
rpl.rpl_000017 'mix'                     w3 [ pass ]    668
rpl.rpl_invoked_features 'innodb_plugin,row' w1 [ pass ]   1515
rpl.rpl_row_basic_11bugs 'innodb_plugin,row' w21 [ pass ]   3586
rpl.rpl_000013 'mix'                     w5 [ pass ]    836
rpl.rpl_ignore_table 'mix'               w31 [ pass ]    830
rpl.rpl_bug38694 'mix'                   w26 [ pass ]  10873
rpl.rpl_EE_err 'mix'                     w3 [ pass ]    751
rpl.rpl_bug31076 'mix'                   w5 [ pass ]    715
rpl.rpl_checksum_cache 'mix,xtradb'      w27 [ pass ]  15930
rpl.rpl_invoked_features 'row,xtradb'    w22 [ pass ]   1617
rpl.rpl_LD_INFILE 'mix'                  w3 [ pass ]    592
rpl.temporal_row-9560 'old2old,row'      w10 [ pass ]    935
rpl.temporal_row-9560 'old2new,row'      w12 [ pass ]   1055
rpl.rpl_rotate_purge_deadlock 'row,xtradb' w20 [ pass ]   1327
rpl.rpl_rotate_purge_deadlock 'innodb_plugin,row' w7 [ pass ]   1240
rpl.rpl_innodb_bug30888 'innodb_plugin,row' w11 [ fail ]
        Test ended at 2016-07-07 02:23:16

CURRENT_TEST: rpl.rpl_innodb_bug30888
mysqltest: At line 55: query 'CALL test.proc_norm()' failed: 2013: Lost connection to MySQL server during query

The result from queries just before the failure was:
< snip >
DECLARE ins_count INT DEFAULT 1000; 
DECLARE del_count INT;
DECLARE cur_user VARCHAR(255);
DECLARE local_uuid VARCHAR(255);
DECLARE local_time TIMESTAMP;
SET local_time= NOW();
SET cur_user= CURRENT_USER();
SET local_uuid= UUID();
WHILE ins_count > 0 DO
INSERT INTO test.regular_tbl VALUES (NULL, NOW(), USER() , UUID(),
ins_count,'Going to test MBR for MySQL');
SET ins_count = ins_count - 1;
END WHILE;
SELECT MAX(id) FROM test.regular_tbl INTO del_count;
WHILE del_count > 0 DO
DELETE FROM test.regular_tbl WHERE id = del_count;
SET del_count = del_count - 2;
END WHILE;
END|
CALL test.proc_norm();

More results from queries before failure can be found in /build/build/mysql-test/var/11/log/rpl_innodb_bug30888.log


Server [mysqld.1 - pid: 1904, winpid: 1904, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:23:09 70366897224352 [Note] /build/build/sql/mysqld (mysqld 10.2.2-MariaDB-debug) starting as process 1905 ...
2016-07-07  2:23:09 70366897224352 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4162)
2016-07-07  2:23:09 70366897224352 [Note] Plugin 'partition' is disabled.
2016-07-07  2:23:09 70366897224352 [Note] Plugin 'SEQUENCE' is disabled.
2016-07-07  2:23:09 70366897224352 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-07  2:23:09 70366897224352 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
2016-07-07  2:23:09 70366897224352 [Note] InnoDB:  InnoDB: !!!!!!!! UNIV_SYNC_DEBUG switched on !!!!!!!!!
2016-07-07  2:23:09 70366897224352 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-07  2:23:09 70366897224352 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-07-07  2:23:09 70366897224352 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-07-07  2:23:09 70366897224352 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-07  2:23:09 70366897224352 [Note] InnoDB: Using Linux native AIO
2016-07-07  2:23:09 70366897224352 [Note] InnoDB: Using POWER8 crc32 instructions
2016-07-07 02:23:09 3fff91e9baa0 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
2016-07-07  2:23:10 70366897224352 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2016-07-07  2:23:10 70366897224352 [Note] InnoDB: Completed initialization of buffer pool
2016-07-07  2:23:10 70366897224352 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-07  2:23:11 70366897224352 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-07  2:23:11 70366897224352 [Note] InnoDB: Waiting for purge to start
2016-07-07  2:23:11 70366897224352 [Note] InnoDB: 5.6.31 started; log sequence number 1629546
2016-07-07  2:23:11 70366579912624 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_CMP' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'XTRADB_RSEG' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2016-07-07  2:23:11 70366897224352 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2016-07-07  2:23:11 70366897224352 [Warning] /build/build/sql/mysqld: unknown option '--loose-skip-plugin-innodb-changed-pages'
2016-07-07  2:23:11 70366897224352 [Note] Server socket created on IP: '127.0.0.1'.
2016-07-07  2:23:11 70366897224352 [Note] /build/build/sql/mysqld: ready for connections.
Version: '10.2.2-MariaDB-debug'  socket: '/build/build/mysql-test/var/tmp/11/mysqld.1.sock'  port: 16220  MariaDB Server
2016-07-07 02:23:15 3fff813fefb0  InnoDB: Assertion failure in thread 70366617661360 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:23:15 [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.2.2-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=6
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 = 63022 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x0
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 = 0x0 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x21bb3b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x214cc438]
[0x3fff91e204d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fff9147f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fff914819ec]
/build/build/mysql-test/var/11/plugins/ha_innodb.so(+0x316214)[0x3fff89eb6214]
/build/build/mysql-test/var/11/plugins/ha_innodb.so(+0x316284)[0x3fff89eb6284]
/build/build/mysql-test/var/11/plugins/ha_innodb.so(+0x2532bc)[0x3fff89df32bc]
/build/build/mysql-test/var/11/plugins/ha_innodb.so(+0x323b3c)[0x3fff89ec3b3c]
/build/build/mysql-test/var/11/plugins/ha_innodb.so(+0x305a28)[0x3fff89ea5a28]
/lib/powerpc64le-linux-gnu/libpthread.so.0(+0x84a0)[0x3fff919e84a0]
/lib/powerpc64le-linux-gnu/libc.so.6(clone+0xe4)[0x3fff91567e74]
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
----------SERVER LOG END-------------


 - saving '/build/build/mysql-test/var/11/log/rpl.rpl_innodb_bug30888-innodb_plugin,row/' to '/build/build/mysql-test/var/log/rpl.rpl_innodb_bug30888-innodb_plugin,row/'
 - found 'core' (9/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
 - deleting it, already saved 5
rpl.rpl_row_log_innodb 'row,xtradb'      w18 [ pass ]   4252
***Warnings generated in error logs during shutdown after running tests: rpl.rpl_innodb_bug30888

Attempting backtrace. You can use the following information to find out

rpl.rpl_alter 'mix'                      w3 [ pass ]   1060
rpl.rpl_binlog_errors 'innodb_plugin,mix' w2 [ pass ]  46099
rpl.rpl_partition_innodb 'innodb_plugin,row' w17 [ pass ]   2139
rpl.rpl_bug41902 'mix'                   w4 [ pass ]    980
rpl.rpl_multi_update2 'mix'              w19 [ pass ]    931
rpl.rpl_sporadic_master 'row'            w24 [ pass ]   1329
rpl.rpl_row_log_innodb 'innodb_plugin,row' w16 [ pass ]   5243
rpl.rpl_alter_db 'mix'                   w3 [ pass ]    865
rpl.rpl_row_loaddata_concurrent 'innodb_plugin,row' w28 [ pass ]   2767
rpl.rpl_timezone 'row'                   w31 [ pass ]   1388
rpl.rpl_sync 'row,xtradb'                w14 [ pass ]   9757
rpl.rpl_commit_after_flush 'mix,xtradb'  w27 [ pass ]    809
rpl.rpl_dual_pos_advance 'innodb_plugin,mix' w26 [ pass ]   1220
rpl.rpl_auto_increment_11932 'mix'       w3 [ pass ]    834
rpl.rpl_innodb_bug28430 'innodb_plugin,row' w25 [ pass ]   6787
rpl.rpl_extra_col_slave_innodb 'innodb_plugin,row' w8 [ pass ]   5436
rpl.rpl_sync 'innodb_plugin,row'         w23 [ pass ]  11131
rpl.rpl_failed_optimize 'innodb_plugin,mix' w26 [ pass ]    616
rpl.rpl_mdev6386 'innodb_plugin,row'     w20 [ pass ]   1221
rpl.rpl_auto_increment_bug33029 'mix'    w3 [ pass ]    618
rpl.rpl_ddl 'innodb_plugin,row'          w18 [ pass ]   1787
rpl.rpl_foreign_key_innodb 'innodb_plugin,mix' w26 [ pass ]    807
rpl.rpl_autogen_query_multi_byte_char 'mix' w3 [ pass ]    677
rpl.rpl_domain_id_filter 'mix,xtradb'    w27 [ pass ]   2782
rpl.rpl_cant_read_event_incident 'mix'   w5 [ pass ]   3959
rpl.rpl_temporary_errors 'innodb_plugin,row' w19 [ pass ]    681
rpl.rpl_bug26395 'innodb_plugin,row'     w2 [ pass ]    852
rpl.rpl_binlog_errors 'mix,xtradb'       w9 [ pass ]  51797
rpl.rpl_binlog_corruption 'mix'          w3 [ pass ]    809
rpl.rpl_parallel_partition 'innodb_plugin,row' w1 [ pass ]   9178
rpl.create_or_replace2 'row,xtradb'      w28 [ pass ]   2849
rpl.rpl_deadlock_innodb 'mix,xtradb'     w30 [ pass ]  37666
rpl.create_or_replace2 'innodb_plugin,row' w24 [ pass ]   2853
rpl.rpl_semi_sync_event_after_sync 'innodb_plugin,row' w21 [ pass ]  11452
rpl.rpl_temporary_errors 'row,xtradb'    w14 [ pass ]   1046
rpl.rpl_innodb_bug30888 'row,xtradb'     w17 [ pass ]   4249
rpl.rpl_bit 'mix'                        w3 [ pass ]    883
rpl.rpl_gtid_errorhandling 'innodb_plugin,mix' w26 [ pass ]   3431
rpl.rpl_domain_id_filter_io_crash 'mix,xtradb' w27 [ pass ]   3773
rpl.rpl_bit_npk 'mix'                    w3 [ pass ]    681
rpl.rpl_connection 'mix'                 w5 [ pass ]    972
rpl.rpl_bug33931 'mix'                   w3 [ pass ]    868
rpl.rpl_checksum_cache 'innodb_plugin,row' w2 [ fail ]
        Test ended at 2016-07-07 02:23:33

CURRENT_TEST: rpl.rpl_checksum_cache
mysqltest: At line 127: failed in 'select master_pos_wait('master-bin.000002', 1520984, 300, '')': 2013: Lost connection to MySQL server during query

The result from queries just before the failure was:
< snip >
show status like "binlog_cache_disk_use";
Variable_name	Value
Binlog_cache_disk_use	1
connection slave;
include/diff_tables.inc [master:test.t1, slave:test.t1]
connection master;
begin;
delete from t1;
commit;
connection slave;
connection master;
flush status;
create table t2(a int auto_increment primary key, data VARCHAR(12288)) ENGINE=Innodb;
show status like "binlog_cache_use";
Variable_name	Value
Binlog_cache_use	1
*** binlog_cache_disk_use must be non-zero ***
show status like "binlog_cache_disk_use";
Variable_name	Value
Binlog_cache_disk_use	1

More results from queries before failure can be found in /build/build/mysql-test/var/2/log/rpl_checksum_cache.log


Server [mysqld.2 - pid: 4722, winpid: 4722, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2016-07-07  2:23:26 70366889474992 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='127.0.0.1', master_port='16440', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='16440', master_log_file='master-bin.000001', master_log_pos='4'.
2016-07-07  2:23:26 70367012420528 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000001' at position 4, relay log './slave-relay-bin.000001' position: 4
2016-07-07  2:23:26 70366889868208 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16440',replication started in log 'master-bin.000001' at position 4
2016-07-07  2:23:26 70367012420528 [Note] Error reading relay log event: slave SQL thread was killed
2016-07-07  2:23:26 70366889868208 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
2016-07-07  2:23:26 70366889868208 [Note] Slave I/O thread exiting, read up to log 'master-bin.000002', position 380
2016-07-07  2:23:26 70366889868208 [Note] Slave SQL thread initialized, starting replication in log 'master-bin.000002' at position 380, relay log './slave-relay-bin.000004' position: 673
2016-07-07  2:23:26 70367012420528 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:16440',replication started in log 'master-bin.000002' at position 380
2016-07-07 02:23:33 3fff91797bb0  InnoDB: Assertion failure in thread 70366889868208 in file sync0sync.ic line 160
InnoDB: Failing assertion: mutex_own(mutex)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
160707  2:23:33 [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.2.2-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=4
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 = 63022 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x3fff80294070
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 = 0x3fff91796790 thread_stack 0x48c00
/build/build/sql/mysqld(my_print_stacktrace+0x64)[0x34593b2c]
/build/build/sql/mysqld(handle_fatal_signal+0x3fc)[0x33eac438]
[0x3fff99ad04d8]
/lib/powerpc64le-linux-gnu/libc.so.6(gsignal+0xac)[0x3fff9912f27c]
/lib/powerpc64le-linux-gnu/libc.so.6(abort+0x2ec)[0x3fff991319ec]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x316214)[0x3fff91ab6214]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x316284)[0x3fff91ab6284]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x7dd70)[0x3fff9181dd70]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x8d5d0)[0x3fff9182d5d0]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x49ff4)[0x3fff917e9ff4]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x4a3e8)[0x3fff917ea3e8]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x51230)[0x3fff917f1230]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x285fc4)[0x3fff91a25fc4]
mysys/stacktrace.c:246(my_print_stacktrace)[0x3fff91a2a544]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x28b9b8)[0x3fff91a2b9b8]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x2a3ee0)[0x3fff91a43ee0]
/build/build/mysql-test/var/2/plugins/ha_innodb.so(+0x192ec4)[0x3fff91932ec4]
/build/build/sql/mysqld(_ZN7handler12ha_write_rowEPh+0x164)[0x33ebce1c]
/build/build/sql/mysqld(_ZN14Rows_log_event9write_rowEP14rpl_group_infob+0xa5c)[0x33fef138]
sql/handler.cc:5892(handler::ha_write_row(unsigned char*))[0x33fef450]
/build/build/sql/mysqld(_ZN14Rows_log_event14do_apply_eventEP14rpl_group_info+0x2048)[0x33fddf28]
sql/log_event.cc:11596(Rows_log_event::write_row(rpl_group_info*, bool))[0x33be88ec]
sql/log_event.cc:11780(Write_rows_log_event::do_exec_row(rpl_group_info*))[0x33beb5a8]
/build/build/sql/mysqld(handle_slave_sql+0xdf8)[0x33bed0a8]
sql/log_event.h:1343(Log_event::apply_event(rpl_group_info*))[0x3418e41c]
perfschema/pfs.cc:1862(pfs_spawn_thread)[0x3fff996984a0]
/lib/powerpc64le-linux-gnu/libc.so.6(clone+0xe4)[0x3fff99217e74]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x0): 
Connection ID (thread ID): 20
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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=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
----------SERVER LOG END-------------


 - saving '/build/build/mysql-test/var/2/log/rpl.rpl_checksum_cache-innodb_plugin,row/' to '/build/build/mysql-test/var/log/rpl.rpl_checksum_cache-innodb_plugin,row/'
 - found 'core' (10/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
 - deleting it, already saved 5
Too many tests(10) failed! Terminating...

Only  329  of 5729 completed.
--------------------------------------------------------------------------
The servers were restarted 145 times
Spent 854.614 of 142 seconds executing testcases

Too many failed: Failed 10/205 tests, 95.12% were successful.

Failing test(s): rpl.rpl_innodb_bug30888 rpl.rpl_semi_sync_event rpl.rpl_mixed_drop_create_temp_table rpl.rpl_gtid_crash rpl.rpl_mdev6386 rpl.rpl_mdev6020 rpl.rpl_innodb_bug28430 rpl.rpl_checksum_cache

The log files in var/log may give you some hint of what went wrong.

If you want to report this error, please read first the documentation
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html

Errors/warnings were found in logfiles during server shutdown after running the
following sequence(s) of tests:
    rpl.rpl_semi_sync_event
    rpl.rpl_mixed_drop_create_temp_table
    rpl.rpl_gtid_crash
    rpl.rpl_mdev6386
    rpl.rpl_innodb_bug30888
    rpl.rpl_mdev6020
    rpl.rpl_checksum_cache rpl.rpl_bug26395
    rpl.rpl_innodb_bug28430
    rpl.rpl_innodb_bug30888
43 tests were skipped, 2 by the test itself.

mysql-test-run: *** ERROR: there were failing test cases
