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

InnoDB: assertion on trx->state because of deadlock error ignored

Details

    Description

      https://api.travis-ci.org/v3/job/323618305/log.txt

      InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))

      Version: '10.3.4-MariaDB-debug-log'  socket: '/home/travis/logs/vardir1_1/mysql.sock'  port: 19300  Source distribution
      2018-01-01 15:33:47 0x7f22e9475700  InnoDB: Assertion failure in file /home/travis/src/storage/innobase/include/trx0trx.ic line 73
      InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))
      InnoDB: We intentionally generate a memory trap.
      InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
      InnoDB: If you get repeated assertion failures or crashes, even
      InnoDB: immediately after the mysqld startup, there may be
      InnoDB: corruption in the InnoDB tablespace. Please refer to
      InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
      InnoDB: about forcing recovery.
      180101 15:33:47 [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.3.4-MariaDB-debug-log
      key_buffer_size=134217728
      read_buffer_size=131072
      max_used_connections=5
      max_threads=153
      thread_count=11
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467417 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
      Thread pointer: 0x7f22ac00b060
      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 = 0x7f22e9474e48 thread_stack 0x49000
      /home/travis/server/bin/mysqld(my_print_stacktrace+0x3d)[0x1245f87]
      /home/travis/server/bin/mysqld(handle_fatal_signal+0x3a3)[0xa75719]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f22ec976cb0]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f22ebdca035]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f22ebdcd79b]
      /home/travis/server/bin/mysqld[0xff17af]
      /home/travis/server/bin/mysqld[0xdaa066]
      /home/travis/server/bin/mysqld[0xdbb614]
      /home/travis/server/bin/mysqld(_Z13rr_unlock_rowP13st_join_table+0x41)[0x7fdf02]
      /home/travis/server/bin/mysqld[0x811d72]
      /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
      /home/travis/server/bin/mysqld[0x811c70]
      /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
      /home/travis/server/bin/mysqld[0x810ab2]
      /home/travis/server/bin/mysqld(_ZN4JOIN10exec_innerEv+0xacd)[0x7eb29b]
      /home/travis/server/bin/mysqld(_ZN4JOIN4execEv+0xcc)[0x7ea730]
      /home/travis/server/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x330)[0x7eb9a6]
      /home/travis/server/bin/mysqld(_Z18mysql_multi_updateP3THDP10TABLE_LISTP4ListI4ItemES6_PS4_y15enum_duplicatesbP18st_select_lex_unitP13st_select_lexPP12multi_update+0x1ae)[0x89344b]
      /home/travis/server/bin/mysqld(_Z21mysql_execute_commandP3THD+0x4203)[0x7a4292]
      /home/travis/server/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x2a4)[0x7aee67]
      /home/travis/server/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xfd0)[0x79c53a]
      /home/travis/server/bin/mysqld(_Z10do_commandP3THD+0x63c)[0x79af61]
      /home/travis/server/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1c8)[0x8f239f]
      /home/travis/server/bin/mysqld(handle_one_connection+0x30)[0x8f2121]
      mysys/stacktrace.c:269(my_print_stacktrace)[0x7f22ec96ee9a]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f22ebe8a2ed]
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f22ac01f688): UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null` > alias1.`col_varchar_10_not_null_key` ) ) ) SET alias1.`col_int_unsigned_null` = -85 WHERE EXISTS ( SELECT SQ1_alias1.`col_varchar_10_null` AS SQ1_cfield1 FROM ( `view_table15_innodb_int_autoinc_1` AS SQ1_alias1 INNER JOIN `table5_innodb_int_autoinc` AS SQ1_alias2 ON (SQ1_alias2.`col_int_not_null_key` = SQ1_alias1.`pk` ) ) WHERE SQ1_alias2.`col_int_null` <> alias2.`col_int_null_key` OR SQ1_alias2.`col_varchar_10_not_null` >= alias1.`col_varchar_10_not_null` ) /* QNO 2277 CON_ID 17 */
      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=on,condition_pushdown_for_derived=on,split_materialized=on
      The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
      information that should help you find out what is causing the crash.
      Writing a core file
      Aborted (core dumped)
      

      warning: Can't read pathname for load map: Input/output error.
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
       
      warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffcea993000
      Core was generated by `/home/travis/server/bin/mysqld --no-defaults --basedir=/home/travis/server --lc'.
      Program terminated with signal 6, Aborted.
      #0  0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0
       
      Thread 35 (Thread 0x7f22e94bf700 (LWP 25201)):
      #0  0x0000000000ec621c in rec_offs_validate (rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/rem/rem0rec.cc:554
      #1  0x0000000000f4c6bc in row_sel_store_mysql_field_func (mysql_rec=0x7f229c006988  <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30, field_no=8, templ=0x7f22884143c0) at /home/travis/src/storage/innobase/row/row0sel.cc:3012
      #2  0x0000000000f4d18c in row_sel_store_mysql_rec (mysql_rec=0x7f229c006988  <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", vrow=0x0, rec_clust=false, index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/row/row0sel.cc:3253
      #3  0x0000000000f52b65 in row_search_mvcc (buf=0x7f229c006988  <incomplete sequence \360\200>, mode=PAGE_CUR_G, prebuilt=0x7f229c037608, match_mode=0, direction=1) at /home/travis/src/storage/innobase/row/row0sel.cc:5524
      #4  0x0000000000dbce77 in ha_innobase::general_fetch (this=0x7f229c034828, buf=0x7f229c006988  <incomplete sequence \360\200>, direction=1, match_mode=0) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9943
      #5  0x0000000000dbd46b in ha_innobase::rnd_next (this=0x7f229c034828, buf=0x7f229c006988  <incomplete sequence \360\200>) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10156
      #6  0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f229c034828, buf=0x7f229c006988  <incomplete sequence \360\200>) at /home/travis/src/sql/handler.cc:2723
      #7  0x0000000000bf3f74 in rr_sequential (info=0x7f22a01307d0) at /home/travis/src/sql/records.cc:485
      #8  0x0000000000716423 in READ_RECORD::read_record (this=0x7f22a01307d0) at /home/travis/src/sql/records.h:73
      #9  0x00000000008115fd in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130708, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18802
      #10 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, error=0) at /home/travis/src/sql/sql_select.cc:19003
      #11 0x00000000008116db in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18822
      #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, error=0) at /home/travis/src/sql/sql_select.cc:19003
      #13 0x0000000000811550 in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
      #14 0x0000000000810ab2 in do_select (join=0x7f22a00aedd8, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
      #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3620
      #16 0x00000000007ea730 in JOIN::exec (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3415
      #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22a0000d90, tables=0x7f22a00145e8, wild_num=0, fields=..., conds=0x7f22a001d968, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22a00aed10, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200) at /home/travis/src/sql/sql_select.cc:3819
      #18 0x000000000089344b in mysql_multi_update (thd=0x7f22a0000d90, table_list=0x7f22a00145e8, fields=0x7f22a0005320, values=0x7f22a0005808, conds=0x7f22a001d968, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200, result=0x7f22e94bd5f0) at /home/travis/src/sql/sql_update.cc:1677
      #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:4618
      #20 0x00000000007aee67 in mysql_parse (thd=0x7f22a0000d90, rawbuf=0x7f22a00138f8 "UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ1"..., length=668, parser_state=0x7f22e94be490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
      #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22a0000d90, packet=0x7f22a000b131 " UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ"..., packet_length=670, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
      #22 0x000000000079af61 in do_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:1369
      #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
      #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
      #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #27 0x0000000000000000 in ?? ()
       
      Thread 34 (Thread 0x7f22ee25a740 (LWP 25158)):
      #0  0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x00000000006b2cf6 in handle_connections_sockets () at /home/travis/src/sql/mysqld.cc:6688
      #2  0x00000000006b1f78 in mysqld_main (argc=16, argv=0x2ac1dc0) at /home/travis/src/sql/mysqld.cc:6153
      #3  0x00000000006a62b4 in main (argc=16, argv=0x7ffcea970438) at /home/travis/src/sql/main.cc:25
       
      Thread 33 (Thread 0x7f22e9553700 (LWP 25193)):
      #0  0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x00000000012abe58 in vio_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
      #2  0x00000000012aa54c in vio_socket_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
      #3  0x00000000012aa72e in vio_read (vio=0x3565870, buf=0x7f228801d610 "?", size=4) at /home/travis/src/vio/viosocket.c:196
      #4  0x00000000006bc10b in my_real_read (net=0x7f22880021e8, complen=0x7f22e9552d18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
      #5  0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22880021e8, read_from_server=1 '\001', reallen=0x7f22e9552d98) at /home/travis/src/sql/net_serv.cc:1233
      #6  0x00000000006bc935 in my_net_read_packet (net=0x7f22880021e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
      #7  0x000000000079aaa7 in do_command (thd=0x7f2288001f20) at /home/travis/src/sql/sql_parse.cc:1250
      #8  0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
      #9  0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
      #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #12 0x0000000000000000 in ?? ()
       
      Thread 32 (Thread 0x7f22e9509700 (LWP 25199)):
      #0  0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86f9f in os_event::wait (this=0x7f2288534960) at /home/travis/src/storage/innobase/os/os0event.cc:166
      #2  0x0000000000e86985 in os_event::wait_low (this=0x7f2288534960, reset_sig_count=757) at /home/travis/src/storage/innobase/os/os0event.cc:336
      #3  0x0000000000e86d55 in os_event_wait_low (event=0x7f2288534960, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
      #4  0x0000000000e52474 in lock_wait_suspend_thread (thr=0x7f2288403118) at /home/travis/src/storage/innobase/lock/lock0wait.cc:355
      #5  0x0000000000f0f686 in row_mysql_handle_errors (new_err=0x7f22e95066a4, trx=0x7f22e993d938, thr=0x7f2288403118, savept=0x0) at /home/travis/src/storage/innobase/row/row0mysql.cc:782
      #6  0x0000000000f52fab in row_search_mvcc (buf=0x7f22883ae898 "\377\377\200", mode=PAGE_CUR_G, prebuilt=0x7f22884025a8, match_mode=0, direction=0) at /home/travis/src/storage/innobase/row/row0sel.cc:5685
      #7  0x0000000000dbbe21 in ha_innobase::index_read (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9614
      #8  0x0000000000dbd1b6 in ha_innobase::index_first (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10052
      #9  0x0000000000dbd434 in ha_innobase::rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10148
      #10 0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/sql/handler.cc:2723
      #11 0x0000000000bf3f74 in rr_sequential (info=0x7f22e9506ea0) at /home/travis/src/sql/records.cc:485
      #12 0x0000000000716423 in READ_RECORD::read_record (this=0x7f22e9506ea0) at /home/travis/src/sql/records.h:73
      #13 0x0000000000891573 in mysql_update (thd=0x7f229c000c00, table_list=0x7f229c013aa8, fields=..., values=..., conds=0x7f229c0144f0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f22e95075e8, updated_return=0x7f22e95075f0) at /home/travis/src/sql/sql_update.cc:809
      #14 0x00000000007a3f7b in mysql_execute_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:4550
      #15 0x00000000007aee67 in mysql_parse (thd=0x7f229c000c00, rawbuf=0x7f229c013828 "UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */", length=157, parser_state=0x7f22e9508490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
      #16 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f229c000c00, packet=0x7f229c00b061 " UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */ ", packet_length=159, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
      #17 0x000000000079af61 in do_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:1369
      #18 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
      #19 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
      #20 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #21 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #22 0x0000000000000000 in ?? ()
       
      Thread 31 (Thread 0x7f22e959d700 (LWP 25192)):
      #0  0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x00000000012abe58 in vio_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
      #2  0x00000000012aa54c in vio_socket_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
      #3  0x00000000012aa72e in vio_read (vio=0x35643b0, buf=0x7f228000b780 "\a", size=4) at /home/travis/src/vio/viosocket.c:196
      #4  0x00000000006bc10b in my_real_read (net=0x7f22800015e8, complen=0x7f22e959cd18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
      #5  0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22800015e8, read_from_server=1 '\001', reallen=0x7f22e959cd98) at /home/travis/src/sql/net_serv.cc:1233
      #6  0x00000000006bc935 in my_net_read_packet (net=0x7f22800015e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
      #7  0x000000000079aaa7 in do_command (thd=0x7f2280001320) at /home/travis/src/sql/sql_parse.cc:1250
      #8  0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
      #9  0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
      #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #12 0x0000000000000000 in ?? ()
       
      Thread 30 (Thread 0x7f22e95e7700 (LWP 25188)):
      #0  0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x000000000124b7c4 in safe_cond_wait (cond=0x1ec96a0, mp=0x1ecc980, file=0x12e9c80 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
      #2  0x00000000006d5dc3 in inline_mysql_cond_wait (that=0x1ec96a0, mutex=0x1ecc980, src_file=0x12ea5dd "/home/travis/src/sql/slave.cc", src_line=506) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
      #3  0x00000000006d7210 in handle_slave_background (arg=0x0) at /home/travis/src/sql/slave.cc:506
      #4  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #5  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #6  0x0000000000000000 in ?? ()
       
      Thread 29 (Thread 0x7f22e9631700 (LWP 25187)):
      #0  0x00007f22ec9769f7 in do_sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x00007f22ec976a79 in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
      #2  0x00000000006acc93 in signal_hand (arg=0x0) at /home/travis/src/sql/mysqld.cc:3537
      #3  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #4  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #5  0x0000000000000000 in ?? ()
       
      Thread 28 (Thread 0x7f22a77fe700 (LWP 25184)):
      #0  0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86f9f in os_event::wait (this=0x2b770b0) at /home/travis/src/storage/innobase/os/os0event.cc:166
      #2  0x0000000000e86985 in os_event::wait_low (this=0x2b770b0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
      #3  0x0000000000e86d55 in os_event_wait_low (event=0x2b770b0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
      #4  0x000000000105ada3 in buf_resize_thread () at /home/travis/src/storage/innobase/buf/buf0buf.cc:3076
      #5  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #6  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #7  0x0000000000000000 in ?? ()
       
      Thread 27 (Thread 0x7f22a67fc700 (LWP 25186)):
      #0  0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x000000000124bace in safe_cond_timedwait (cond=0x26fe720, mp=0x26fe660, abstime=0x7f22a67fbdf0, file=0x14b5b30 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
      #2  0x0000000000ce5060 in inline_mysql_cond_timedwait (that=0x26fe720, mutex=0x26fe660, abstime=0x7f22a67fbdf0, src_file=0x14b5b68 "/home/travis/src/storage/maria/ma_servicethread.c", src_line=116) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
      #3  0x0000000000ce5535 in my_service_thread_sleep (control=0x1cfd360, sleep_time=30000000000) at /home/travis/src/storage/maria/ma_servicethread.c:115
      #4  0x0000000000cd9dbc in ma_checkpoint_background (arg=0x1e) at /home/travis/src/storage/maria/ma_checkpoint.c:709
      #5  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #6  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #7  0x0000000000000000 in ?? ()
       
      Thread 26 (Thread 0x7f22c4ff9700 (LWP 25182)):
      #0  0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86f9f in os_event::wait (this=0x2b76fb0) at /home/travis/src/storage/innobase/os/os0event.cc:166
      #2  0x0000000000e86985 in os_event::wait_low (this=0x2b76fb0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
      #3  0x0000000000e86d55 in os_event_wait_low (event=0x2b76fb0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
      #4  0x0000000001072a56 in buf_dump_thread () at /home/travis/src/storage/innobase/buf/buf0dump.cc:777
      #5  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #6  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #7  0x0000000000000000 in ?? ()
       
      Thread 25 (Thread 0x7f22a6ffd700 (LWP 25185)):
      #0  0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x000000000124b7c4 in safe_cond_wait (cond=0x7f22a6ffce60, mp=0x7f22a6ffcdb0, file=0x14da9e0 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
      #2  0x0000000000da5920 in inline_mysql_cond_wait (that=0x7f22a6ffce60, mutex=0x7f22a6ffcdb0, src_file=0x14dc140 "/home/travis/src/storage/innobase/handler/ha_innodb.cc", src_line=317) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
      #3  0x0000000000daaa5a in thd_destructor_proxy () at /home/travis/src/storage/innobase/handler/ha_innodb.cc:317
      #4  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #5  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #6  0x0000000000000000 in ?? ()
       
      Thread 24 (Thread 0x7f22c57fa700 (LWP 25181)):
      #0  0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86f9f in os_event::wait (this=0x2b76d30) at /home/travis/src/storage/innobase/os/os0event.cc:166
      #2  0x0000000000e86985 in os_event::wait_low (this=0x2b76d30, reset_sig_count=9384) at /home/travis/src/storage/innobase/os/os0event.cc:336
      #3  0x0000000000e86d55 in os_event_wait_low (event=0x2b76d30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
      #4  0x0000000000f85189 in srv_resume_thread (slot=0x1d0c900, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
      #5  0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
      #6  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #7  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000000000000000 in ?? ()
       
      Thread 23 (Thread 0x7f22a7fff700 (LWP 25183)):
      #0  0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
      #2  0x000000000104ccad in btr_defragment_thread () at /home/travis/src/storage/innobase/btr/btr0defragment.cc:762
      #3  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #4  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #5  0x0000000000000000 in ?? ()
       
      Thread 22 (Thread 0x7f22c5ffb700 (LWP 25180)):
      #0  0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86f9f in os_event::wait (this=0x2b76db0) at /home/travis/src/storage/innobase/os/os0event.cc:166
      #2  0x0000000000e86985 in os_event::wait_low (this=0x2b76db0, reset_sig_count=8526) at /home/travis/src/storage/innobase/os/os0event.cc:336
      #3  0x0000000000e86d55 in os_event_wait_low (event=0x2b76db0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
      #4  0x0000000000f85189 in srv_resume_thread (slot=0x1d0c938, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
      #5  0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
      #6  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #7  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000000000000000 in ?? ()
       
      Thread 21 (Thread 0x7f22c6ffd700 (LWP 25178)):
      #0  0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86828 in os_event::timed_wait (this=0x2b76cb0, abstime=0x7f22c6ffcd70) at /home/travis/src/storage/innobase/os/os0event.cc:286
      #2  0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:413
      #3  0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:518
      #4  0x0000000000f85162 in srv_resume_thread (slot=0x1d0c8c8, sig_count=4407, wait=true, timeout_usec=10000) at /home/travis/src/storage/innobase/srv/srv0srv.cc:913
      #5  0x0000000000f891d4 in srv_purge_coordinator_suspend (slot=0x1d0c8c8, rseg_history_len=7) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2735
      #6  0x0000000000f8959f in srv_purge_coordinator_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2822
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 20 (Thread 0x7f22c67fc700 (LWP 25179)):
      #0  0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86f9f in os_event::wait (this=0x2b76e30) at /home/travis/src/storage/innobase/os/os0event.cc:166
      #2  0x0000000000e86985 in os_event::wait_low (this=0x2b76e30, reset_sig_count=7949) at /home/travis/src/storage/innobase/os/os0event.cc:336
      #3  0x0000000000e86d55 in os_event_wait_low (event=0x2b76e30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
      #4  0x0000000000f85189 in srv_resume_thread (slot=0x1d0c970, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
      #5  0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
      #6  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #7  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000000000000000 in ?? ()
       
      Thread 19 (Thread 0x7f22c77fe700 (LWP 25177)):
      #0  0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
      #2  0x0000000000f886c3 in srv_master_sleep () at /home/travis/src/storage/innobase/srv/srv0srv.cc:2393
      #3  0x0000000000f88804 in srv_master_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2438
      #4  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #5  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #6  0x0000000000000000 in ?? ()
       
      Thread 18 (Thread 0x7f22ccf46700 (LWP 25175)):
      #0  0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86828 in os_event::timed_wait (this=0x3117bc0, abstime=0x7f22ccf45e00) at /home/travis/src/storage/innobase/os/os0event.cc:286
      #2  0x0000000000e86b53 in os_event::wait_time_low (this=0x3117bc0, time_in_usec=10000000, reset_sig_count=46) at /home/travis/src/storage/innobase/os/os0event.cc:413
      #3  0x0000000000e86d30 in os_event_wait_time_low (event=0x3117bc0, time_in_usec=10000000, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:518
      #4  0x00000000010df4ea in dict_stats_thread () at /home/travis/src/storage/innobase/dict/dict0stats_bg.cc:458
      #5  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #6  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #7  0x0000000000000000 in ?? ()
       
      Thread 17 (Thread 0x7f22c7fff700 (LWP 25176)):
      #0  0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86828 in os_event::timed_wait (this=0x3144790, abstime=0x7f22c7ffec00) at /home/travis/src/storage/innobase/os/os0event.cc:286
      #2  0x0000000000e86b53 in os_event::wait_time_low (this=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
      #3  0x0000000000e86d30 in os_event_wait_time_low (event=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
      #4  0x0000000000ff55a8 in ib_wqueue_timedwait (wq=0x3144700, wait_in_usecs=5000000) at /home/travis/src/storage/innobase/ut/ut0wqueue.cc:163
      #5  0x0000000001142d62 in fts_optimize_thread (arg=0x3144700) at /home/travis/src/storage/innobase/fts/fts0opt.cc:3032
      #6  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #7  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000000000000000 in ?? ()
       
      Thread 16 (Thread 0x7f22cd747700 (LWP 25174)):
      #0  0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86828 in os_event::timed_wait (this=0x2b76f30, abstime=0x7f22cd746dd0) at /home/travis/src/storage/innobase/os/os0event.cc:286
      #2  0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
      #3  0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
      #4  0x0000000000f87061 in srv_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1735
      #5  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #6  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #7  0x0000000000000000 in ?? ()
       
      Thread 15 (Thread 0x7f22cf14f700 (LWP 25170)):
      #0  0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86828 in os_event::timed_wait (this=0x2b77030, abstime=0x7f22cf14e8d0) at /home/travis/src/storage/innobase/os/os0event.cc:286
      #2  0x0000000000e86b53 in os_event::wait_time_low (this=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:413
      #3  0x0000000000e86d30 in os_event_wait_time_low (event=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:518
      #4  0x000000000107cf1c in pc_sleep_if_needed (next_loop_time=1514820827834, sig_count=2, cur_time=1514820827377) at /home/travis/src/storage/innobase/buf/buf0flu.cc:2711
      #5  0x000000000107e139 in buf_flush_page_cleaner_coordinator () at /home/travis/src/storage/innobase/buf/buf0flu.cc:3209
      #6  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #7  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x0000000000000000 in ?? ()
       
      Thread 14 (Thread 0x7f22cdf48700 (LWP 25173)):
      #0  0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86828 in os_event::timed_wait (this=0x2b76eb0, abstime=0x7f22cdf47af0) at /home/travis/src/storage/innobase/os/os0event.cc:286
      #2  0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
      #3  0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
      #4  0x0000000000f87548 in srv_error_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1904
      #5  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #6  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #7  0x0000000000000000 in ?? ()
       
      Thread 13 (Thread 0x7f22d0952700 (LWP 25167)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0951be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0951be0, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=7) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x2749298) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 12 (Thread 0x7f22ce749700 (LWP 25172)):
      #0  0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x0000000000e86828 in os_event::timed_wait (this=0x3114450, abstime=0x7f22ce748df0) at /home/travis/src/storage/innobase/os/os0event.cc:286
      #2  0x0000000000e86b53 in os_event::wait_time_low (this=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
      #3  0x0000000000e86d30 in os_event_wait_time_low (event=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
      #4  0x0000000000e52c3d in lock_wait_timeout_thread () at /home/travis/src/storage/innobase/lock/lock0wait.cc:547
      #5  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #6  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #7  0x0000000000000000 in ?? ()
       
      Thread 11 (Thread 0x7f22d1153700 (LWP 25166)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1152be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1152be0, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=6) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x2749290) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 10 (Thread 0x7f22cf950700 (LWP 25169)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22cf94fbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22cf94fbe0, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=9) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x27492a8) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 9 (Thread 0x7f22d1954700 (LWP 25165)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1953be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1953be0, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=5) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x2749288) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 8 (Thread 0x7f22d0151700 (LWP 25168)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0150be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0150be0, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=8) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x27492a0) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 7 (Thread 0x7f22d2155700 (LWP 25164)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2154be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2154be0, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=4) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x2749280) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 6 (Thread 0x7f22d2956700 (LWP 25163)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2955be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2955be0, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=3) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x2749278) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 5 (Thread 0x7f22d3157700 (LWP 25162)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d3156be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d3156be0, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=2) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x2749270) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 4 (Thread 0x7f22e891c700 (LWP 25161)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e891bbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e891bbe0, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=1) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x2749268) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 3 (Thread 0x7f22e911d700 (LWP 25160)):
      #0  0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
      #1  0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e911cbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
      #2  0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e911cbe0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
      #3  0x0000000000e7a91e in os_aio_linux_handler (global_segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
      #4  0x0000000000e7f213 in os_aio_handler (segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
      #5  0x00000000010f916c in fil_aio_wait (segment=0) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
      #6  0x0000000000f8c064 in io_handler_thread (arg=0x2749260) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
      #7  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #8  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #9  0x0000000000000000 in ?? ()
       
      Thread 2 (Thread 0x7f22ebc97700 (LWP 25159)):
      #0  0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x000000000124bace in safe_cond_timedwait (cond=0x2760880, mp=0x27607c0, abstime=0x7f22ebc96e70, file=0x164a680 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
      #2  0x000000000124cac4 in inline_mysql_cond_timedwait (that=0x2760880, mutex=0x27607c0, abstime=0x7f22ebc96e70, src_file=0x164a6b8 "/home/travis/src/mysys/thr_timer.c", src_line=292) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
      #3  0x000000000124d62a in timer_handler (arg=0x0) at /home/travis/src/mysys/thr_timer.c:292
      #4  0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #5  0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #6  0x0000000000000000 in ?? ()
       
      Thread 1 (Thread 0x7f22e9475700 (LWP 25203)):
      #0  0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x000000000124605b in my_write_core (sig=6) at /home/travis/src/mysys/stacktrace.c:481
      #2  0x0000000000a75ac7 in handle_fatal_signal (sig=6) at /home/travis/src/sql/signal_handler.cc:303
      #3  <signal handler called>
      #4  0x00007f22ebdca035 in raise () from /lib/x86_64-linux-gnu/libc.so.6
      #5  0x00007f22ebdcd79b in abort () from /lib/x86_64-linux-gnu/libc.so.6
      #6  0x0000000000ff17af in ut_dbg_assertion_failed (expr=0x14dbe88 "state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))", file=0x14dbd28 "/home/travis/src/storage/innobase/include/trx0trx.ic", line=73) at /home/travis/src/storage/innobase/ut/ut0dbg.cc:61
      #7  0x0000000000daa066 in trx_state_eq (trx=0x7f22e993e198, state=TRX_STATE_ACTIVE, relaxed=false) at /home/travis/src/storage/innobase/include/trx0trx.ic:70
      #8  0x0000000000dbb614 in ha_innobase::unlock_row (this=0x7f22a00ceac8) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9322
      #9  0x00000000007fdf02 in rr_unlock_row (tab=0x7f22ac17b648) at /home/travis/src/sql/sql_select.cc:10821
      #10 0x0000000000811d72 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, error=0) at /home/travis/src/sql/sql_select.cc:19027
      #11 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
      #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, error=0) at /home/travis/src/sql/sql_select.cc:19003
      #13 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
      #14 0x0000000000810ab2 in do_select (join=0x7f22ac0b9f48, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
      #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3620
      #16 0x00000000007ea730 in JOIN::exec (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3415
      #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22ac00b060, tables=0x7f22ac0203a8, wild_num=0, fields=..., conds=0x7f22ac04b038, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22ac0b9e80, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0) at /home/travis/src/sql/sql_select.cc:3819
      #18 0x000000000089344b in mysql_multi_update (thd=0x7f22ac00b060, table_list=0x7f22ac0203a8, fields=0x7f22ac00f5f0, values=0x7f22ac00fad8, conds=0x7f22ac04b038, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0, result=0x7f22e94735f0) at /home/travis/src/sql/sql_update.cc:1677
      #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:4618
      #20 0x00000000007aee67 in mysql_parse (thd=0x7f22ac00b060, rawbuf=0x7f22ac01f688 "UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null"..., length=691, parser_state=0x7f22e9474490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
      #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22ac00b060, packet=0x7f22ac017551 " UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_nul"..., packet_length=693, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
      #22 0x000000000079af61 in do_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:1369
      #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
      #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
      #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
      #27 0x0000000000000000 in ?? ()
      

      No command line yet, but should be similar to

      perl ./runall-new.pl --mysqld=--max-statement-time=30 --seed=1514825335 --threads=4 --duration=350 --reporters=Backtrace,ErrorLog,Deadlock --transformers=ExecuteAsIntersect,ExecuteAsExcept --validators=TransformerNoComparator --grammar=conf/mariadb/multi_update.yy --gendata=conf/mariadb/multi_update.zz --engine=InnoDB --basedir1=/data/bld/10.3 --vardir=/dev/shm/vardir
      

      Not easily reproducible.

      Attachments

        Issue Links

          Activity

            elenst Elena Stepanova created issue -
            elenst Elena Stepanova added a comment - On 10.1.26: https://api.travis-ci.org/v3/job/331861282/log.txt

            Slightly different but similar on 10.1: https://api.travis-ci.org/v3/job/332523380/log.txt

            InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || (relaxed && thd_get_error_number(trx->mysql_thd))
            InnoDB: We intentionally generate a memory trap.
            

            elenst Elena Stepanova added a comment - Slightly different but similar on 10.1: https://api.travis-ci.org/v3/job/332523380/log.txt InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || (relaxed && thd_get_error_number(trx->mysql_thd)) InnoDB: We intentionally generate a memory trap.
            elenst Elena Stepanova made changes -
            Field Original Value New Value
            Description https://api.travis-ci.org/v3/job/323618305/log.txt
            {noformat}
            Version: '10.3.4-MariaDB-debug-log' socket: '/home/travis/logs/vardir1_1/mysql.sock' port: 19300 Source distribution
            2018-01-01 15:33:47 0x7f22e9475700 InnoDB: Assertion failure in file /home/travis/src/storage/innobase/include/trx0trx.ic line 73
            InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))
            InnoDB: We intentionally generate a memory trap.
            InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
            InnoDB: If you get repeated assertion failures or crashes, even
            InnoDB: immediately after the mysqld startup, there may be
            InnoDB: corruption in the InnoDB tablespace. Please refer to
            InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
            InnoDB: about forcing recovery.
            180101 15:33:47 [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.3.4-MariaDB-debug-log
            key_buffer_size=134217728
            read_buffer_size=131072
            max_used_connections=5
            max_threads=153
            thread_count=11
            It is possible that mysqld could use up to
            key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467417 K bytes of memory
            Hope that's ok; if not, decrease some variables in the equation.
            Thread pointer: 0x7f22ac00b060
            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 = 0x7f22e9474e48 thread_stack 0x49000
            /home/travis/server/bin/mysqld(my_print_stacktrace+0x3d)[0x1245f87]
            /home/travis/server/bin/mysqld(handle_fatal_signal+0x3a3)[0xa75719]
            /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f22ec976cb0]
            /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f22ebdca035]
            /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f22ebdcd79b]
            /home/travis/server/bin/mysqld[0xff17af]
            /home/travis/server/bin/mysqld[0xdaa066]
            /home/travis/server/bin/mysqld[0xdbb614]
            /home/travis/server/bin/mysqld(_Z13rr_unlock_rowP13st_join_table+0x41)[0x7fdf02]
            /home/travis/server/bin/mysqld[0x811d72]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
            /home/travis/server/bin/mysqld[0x811c70]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
            /home/travis/server/bin/mysqld[0x810ab2]
            /home/travis/server/bin/mysqld(_ZN4JOIN10exec_innerEv+0xacd)[0x7eb29b]
            /home/travis/server/bin/mysqld(_ZN4JOIN4execEv+0xcc)[0x7ea730]
            /home/travis/server/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x330)[0x7eb9a6]
            /home/travis/server/bin/mysqld(_Z18mysql_multi_updateP3THDP10TABLE_LISTP4ListI4ItemES6_PS4_y15enum_duplicatesbP18st_select_lex_unitP13st_select_lexPP12multi_update+0x1ae)[0x89344b]
            /home/travis/server/bin/mysqld(_Z21mysql_execute_commandP3THD+0x4203)[0x7a4292]
            /home/travis/server/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x2a4)[0x7aee67]
            /home/travis/server/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xfd0)[0x79c53a]
            /home/travis/server/bin/mysqld(_Z10do_commandP3THD+0x63c)[0x79af61]
            /home/travis/server/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1c8)[0x8f239f]
            /home/travis/server/bin/mysqld(handle_one_connection+0x30)[0x8f2121]
            mysys/stacktrace.c:269(my_print_stacktrace)[0x7f22ec96ee9a]
            /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f22ebe8a2ed]
            Trying to get some variables.
            Some pointers may be invalid and cause the dump to abort.
            Query (0x7f22ac01f688): UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null` > alias1.`col_varchar_10_not_null_key` ) ) ) SET alias1.`col_int_unsigned_null` = -85 WHERE EXISTS ( SELECT SQ1_alias1.`col_varchar_10_null` AS SQ1_cfield1 FROM ( `view_table15_innodb_int_autoinc_1` AS SQ1_alias1 INNER JOIN `table5_innodb_int_autoinc` AS SQ1_alias2 ON (SQ1_alias2.`col_int_not_null_key` = SQ1_alias1.`pk` ) ) WHERE SQ1_alias2.`col_int_null` <> alias2.`col_int_null_key` OR SQ1_alias2.`col_varchar_10_not_null` >= alias1.`col_varchar_10_not_null` ) /* QNO 2277 CON_ID 17 */
            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=on,condition_pushdown_for_derived=on,split_materialized=on
            The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
            information that should help you find out what is causing the crash.
            Writing a core file
            Aborted (core dumped)
            {noformat}
            {noformat}
            warning: Can't read pathname for load map: Input/output error.
            [Thread debugging using libthread_db enabled]
            Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

            warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffcea993000
            Core was generated by `/home/travis/server/bin/mysqld --no-defaults --basedir=/home/travis/server --lc'.
            Program terminated with signal 6, Aborted.
            #0 0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0

            Thread 35 (Thread 0x7f22e94bf700 (LWP 25201)):
            #0 0x0000000000ec621c in rec_offs_validate (rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/rem/rem0rec.cc:554
            #1 0x0000000000f4c6bc in row_sel_store_mysql_field_func (mysql_rec=0x7f229c006988 <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30, field_no=8, templ=0x7f22884143c0) at /home/travis/src/storage/innobase/row/row0sel.cc:3012
            #2 0x0000000000f4d18c in row_sel_store_mysql_rec (mysql_rec=0x7f229c006988 <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", vrow=0x0, rec_clust=false, index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/row/row0sel.cc:3253
            #3 0x0000000000f52b65 in row_search_mvcc (buf=0x7f229c006988 <incomplete sequence \360\200>, mode=PAGE_CUR_G, prebuilt=0x7f229c037608, match_mode=0, direction=1) at /home/travis/src/storage/innobase/row/row0sel.cc:5524
            #4 0x0000000000dbce77 in ha_innobase::general_fetch (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>, direction=1, match_mode=0) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9943
            #5 0x0000000000dbd46b in ha_innobase::rnd_next (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10156
            #6 0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>) at /home/travis/src/sql/handler.cc:2723
            #7 0x0000000000bf3f74 in rr_sequential (info=0x7f22a01307d0) at /home/travis/src/sql/records.cc:485
            #8 0x0000000000716423 in READ_RECORD::read_record (this=0x7f22a01307d0) at /home/travis/src/sql/records.h:73
            #9 0x00000000008115fd in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130708, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18802
            #10 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #11 0x00000000008116db in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18822
            #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #13 0x0000000000811550 in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #14 0x0000000000810ab2 in do_select (join=0x7f22a00aedd8, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
            #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3620
            #16 0x00000000007ea730 in JOIN::exec (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3415
            #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22a0000d90, tables=0x7f22a00145e8, wild_num=0, fields=..., conds=0x7f22a001d968, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22a00aed10, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200) at /home/travis/src/sql/sql_select.cc:3819
            #18 0x000000000089344b in mysql_multi_update (thd=0x7f22a0000d90, table_list=0x7f22a00145e8, fields=0x7f22a0005320, values=0x7f22a0005808, conds=0x7f22a001d968, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200, result=0x7f22e94bd5f0) at /home/travis/src/sql/sql_update.cc:1677
            #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:4618
            #20 0x00000000007aee67 in mysql_parse (thd=0x7f22a0000d90, rawbuf=0x7f22a00138f8 "UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ1"..., length=668, parser_state=0x7f22e94be490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22a0000d90, packet=0x7f22a000b131 " UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ"..., packet_length=670, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #22 0x000000000079af61 in do_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:1369
            #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #27 0x0000000000000000 in ?? ()

            Thread 34 (Thread 0x7f22ee25a740 (LWP 25158)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000006b2cf6 in handle_connections_sockets () at /home/travis/src/sql/mysqld.cc:6688
            #2 0x00000000006b1f78 in mysqld_main (argc=16, argv=0x2ac1dc0) at /home/travis/src/sql/mysqld.cc:6153
            #3 0x00000000006a62b4 in main (argc=16, argv=0x7ffcea970438) at /home/travis/src/sql/main.cc:25

            Thread 33 (Thread 0x7f22e9553700 (LWP 25193)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000012abe58 in vio_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
            #2 0x00000000012aa54c in vio_socket_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
            #3 0x00000000012aa72e in vio_read (vio=0x3565870, buf=0x7f228801d610 "?", size=4) at /home/travis/src/vio/viosocket.c:196
            #4 0x00000000006bc10b in my_real_read (net=0x7f22880021e8, complen=0x7f22e9552d18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
            #5 0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22880021e8, read_from_server=1 '\001', reallen=0x7f22e9552d98) at /home/travis/src/sql/net_serv.cc:1233
            #6 0x00000000006bc935 in my_net_read_packet (net=0x7f22880021e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
            #7 0x000000000079aaa7 in do_command (thd=0x7f2288001f20) at /home/travis/src/sql/sql_parse.cc:1250
            #8 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #9 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #12 0x0000000000000000 in ?? ()

            Thread 32 (Thread 0x7f22e9509700 (LWP 25199)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x7f2288534960) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x7f2288534960, reset_sig_count=757) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x7f2288534960, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000e52474 in lock_wait_suspend_thread (thr=0x7f2288403118) at /home/travis/src/storage/innobase/lock/lock0wait.cc:355
            #5 0x0000000000f0f686 in row_mysql_handle_errors (new_err=0x7f22e95066a4, trx=0x7f22e993d938, thr=0x7f2288403118, savept=0x0) at /home/travis/src/storage/innobase/row/row0mysql.cc:782
            #6 0x0000000000f52fab in row_search_mvcc (buf=0x7f22883ae898 "\377\377\200", mode=PAGE_CUR_G, prebuilt=0x7f22884025a8, match_mode=0, direction=0) at /home/travis/src/storage/innobase/row/row0sel.cc:5685
            #7 0x0000000000dbbe21 in ha_innobase::index_read (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9614
            #8 0x0000000000dbd1b6 in ha_innobase::index_first (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10052
            #9 0x0000000000dbd434 in ha_innobase::rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10148
            #10 0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/sql/handler.cc:2723
            #11 0x0000000000bf3f74 in rr_sequential (info=0x7f22e9506ea0) at /home/travis/src/sql/records.cc:485
            #12 0x0000000000716423 in READ_RECORD::read_record (this=0x7f22e9506ea0) at /home/travis/src/sql/records.h:73
            #13 0x0000000000891573 in mysql_update (thd=0x7f229c000c00, table_list=0x7f229c013aa8, fields=..., values=..., conds=0x7f229c0144f0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f22e95075e8, updated_return=0x7f22e95075f0) at /home/travis/src/sql/sql_update.cc:809
            #14 0x00000000007a3f7b in mysql_execute_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:4550
            #15 0x00000000007aee67 in mysql_parse (thd=0x7f229c000c00, rawbuf=0x7f229c013828 "UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */", length=157, parser_state=0x7f22e9508490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #16 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f229c000c00, packet=0x7f229c00b061 " UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */ ", packet_length=159, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #17 0x000000000079af61 in do_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:1369
            #18 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #19 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #20 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #21 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #22 0x0000000000000000 in ?? ()

            Thread 31 (Thread 0x7f22e959d700 (LWP 25192)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000012abe58 in vio_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
            #2 0x00000000012aa54c in vio_socket_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
            #3 0x00000000012aa72e in vio_read (vio=0x35643b0, buf=0x7f228000b780 "\a", size=4) at /home/travis/src/vio/viosocket.c:196
            #4 0x00000000006bc10b in my_real_read (net=0x7f22800015e8, complen=0x7f22e959cd18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
            #5 0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22800015e8, read_from_server=1 '\001', reallen=0x7f22e959cd98) at /home/travis/src/sql/net_serv.cc:1233
            #6 0x00000000006bc935 in my_net_read_packet (net=0x7f22800015e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
            #7 0x000000000079aaa7 in do_command (thd=0x7f2280001320) at /home/travis/src/sql/sql_parse.cc:1250
            #8 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #9 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #12 0x0000000000000000 in ?? ()

            Thread 30 (Thread 0x7f22e95e7700 (LWP 25188)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124b7c4 in safe_cond_wait (cond=0x1ec96a0, mp=0x1ecc980, file=0x12e9c80 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
            #2 0x00000000006d5dc3 in inline_mysql_cond_wait (that=0x1ec96a0, mutex=0x1ecc980, src_file=0x12ea5dd "/home/travis/src/sql/slave.cc", src_line=506) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
            #3 0x00000000006d7210 in handle_slave_background (arg=0x0) at /home/travis/src/sql/slave.cc:506
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 29 (Thread 0x7f22e9631700 (LWP 25187)):
            #0 0x00007f22ec9769f7 in do_sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x00007f22ec976a79 in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
            #2 0x00000000006acc93 in signal_hand (arg=0x0) at /home/travis/src/sql/mysqld.cc:3537
            #3 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #4 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x0000000000000000 in ?? ()

            Thread 28 (Thread 0x7f22a77fe700 (LWP 25184)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b770b0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b770b0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b770b0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x000000000105ada3 in buf_resize_thread () at /home/travis/src/storage/innobase/buf/buf0buf.cc:3076
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 27 (Thread 0x7f22a67fc700 (LWP 25186)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124bace in safe_cond_timedwait (cond=0x26fe720, mp=0x26fe660, abstime=0x7f22a67fbdf0, file=0x14b5b30 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
            #2 0x0000000000ce5060 in inline_mysql_cond_timedwait (that=0x26fe720, mutex=0x26fe660, abstime=0x7f22a67fbdf0, src_file=0x14b5b68 "/home/travis/src/storage/maria/ma_servicethread.c", src_line=116) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
            #3 0x0000000000ce5535 in my_service_thread_sleep (control=0x1cfd360, sleep_time=30000000000) at /home/travis/src/storage/maria/ma_servicethread.c:115
            #4 0x0000000000cd9dbc in ma_checkpoint_background (arg=0x1e) at /home/travis/src/storage/maria/ma_checkpoint.c:709
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 26 (Thread 0x7f22c4ff9700 (LWP 25182)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76fb0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76fb0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76fb0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000001072a56 in buf_dump_thread () at /home/travis/src/storage/innobase/buf/buf0dump.cc:777
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 25 (Thread 0x7f22a6ffd700 (LWP 25185)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124b7c4 in safe_cond_wait (cond=0x7f22a6ffce60, mp=0x7f22a6ffcdb0, file=0x14da9e0 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
            #2 0x0000000000da5920 in inline_mysql_cond_wait (that=0x7f22a6ffce60, mutex=0x7f22a6ffcdb0, src_file=0x14dc140 "/home/travis/src/storage/innobase/handler/ha_innodb.cc", src_line=317) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
            #3 0x0000000000daaa5a in thd_destructor_proxy () at /home/travis/src/storage/innobase/handler/ha_innodb.cc:317
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 24 (Thread 0x7f22c57fa700 (LWP 25181)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76d30) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76d30, reset_sig_count=9384) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76d30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c900, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 23 (Thread 0x7f22a7fff700 (LWP 25183)):
            #0 0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
            #2 0x000000000104ccad in btr_defragment_thread () at /home/travis/src/storage/innobase/btr/btr0defragment.cc:762
            #3 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #4 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x0000000000000000 in ?? ()

            Thread 22 (Thread 0x7f22c5ffb700 (LWP 25180)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76db0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76db0, reset_sig_count=8526) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76db0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c938, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 21 (Thread 0x7f22c6ffd700 (LWP 25178)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76cb0, abstime=0x7f22c6ffcd70) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f85162 in srv_resume_thread (slot=0x1d0c8c8, sig_count=4407, wait=true, timeout_usec=10000) at /home/travis/src/storage/innobase/srv/srv0srv.cc:913
            #5 0x0000000000f891d4 in srv_purge_coordinator_suspend (slot=0x1d0c8c8, rseg_history_len=7) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2735
            #6 0x0000000000f8959f in srv_purge_coordinator_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2822
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 20 (Thread 0x7f22c67fc700 (LWP 25179)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76e30) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76e30, reset_sig_count=7949) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76e30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c970, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 19 (Thread 0x7f22c77fe700 (LWP 25177)):
            #0 0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
            #2 0x0000000000f886c3 in srv_master_sleep () at /home/travis/src/storage/innobase/srv/srv0srv.cc:2393
            #3 0x0000000000f88804 in srv_master_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2438
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 18 (Thread 0x7f22ccf46700 (LWP 25175)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3117bc0, abstime=0x7f22ccf45e00) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3117bc0, time_in_usec=10000000, reset_sig_count=46) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3117bc0, time_in_usec=10000000, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x00000000010df4ea in dict_stats_thread () at /home/travis/src/storage/innobase/dict/dict0stats_bg.cc:458
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 17 (Thread 0x7f22c7fff700 (LWP 25176)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3144790, abstime=0x7f22c7ffec00) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000ff55a8 in ib_wqueue_timedwait (wq=0x3144700, wait_in_usecs=5000000) at /home/travis/src/storage/innobase/ut/ut0wqueue.cc:163
            #5 0x0000000001142d62 in fts_optimize_thread (arg=0x3144700) at /home/travis/src/storage/innobase/fts/fts0opt.cc:3032
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 16 (Thread 0x7f22cd747700 (LWP 25174)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76f30, abstime=0x7f22cd746dd0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f87061 in srv_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1735
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 15 (Thread 0x7f22cf14f700 (LWP 25170)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b77030, abstime=0x7f22cf14e8d0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x000000000107cf1c in pc_sleep_if_needed (next_loop_time=1514820827834, sig_count=2, cur_time=1514820827377) at /home/travis/src/storage/innobase/buf/buf0flu.cc:2711
            #5 0x000000000107e139 in buf_flush_page_cleaner_coordinator () at /home/travis/src/storage/innobase/buf/buf0flu.cc:3209
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 14 (Thread 0x7f22cdf48700 (LWP 25173)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76eb0, abstime=0x7f22cdf47af0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f87548 in srv_error_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1904
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 13 (Thread 0x7f22d0952700 (LWP 25167)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0951be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0951be0, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=7) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749298) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 12 (Thread 0x7f22ce749700 (LWP 25172)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3114450, abstime=0x7f22ce748df0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000e52c3d in lock_wait_timeout_thread () at /home/travis/src/storage/innobase/lock/lock0wait.cc:547
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 11 (Thread 0x7f22d1153700 (LWP 25166)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1152be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1152be0, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=6) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749290) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 10 (Thread 0x7f22cf950700 (LWP 25169)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22cf94fbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22cf94fbe0, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=9) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x27492a8) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 9 (Thread 0x7f22d1954700 (LWP 25165)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1953be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1953be0, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=5) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749288) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 8 (Thread 0x7f22d0151700 (LWP 25168)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0150be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0150be0, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=8) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x27492a0) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 7 (Thread 0x7f22d2155700 (LWP 25164)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2154be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2154be0, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=4) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749280) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 6 (Thread 0x7f22d2956700 (LWP 25163)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2955be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2955be0, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=3) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749278) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 5 (Thread 0x7f22d3157700 (LWP 25162)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d3156be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d3156be0, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=2) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749270) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 4 (Thread 0x7f22e891c700 (LWP 25161)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e891bbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e891bbe0, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=1) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749268) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 3 (Thread 0x7f22e911d700 (LWP 25160)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e911cbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e911cbe0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=0) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749260) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 2 (Thread 0x7f22ebc97700 (LWP 25159)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124bace in safe_cond_timedwait (cond=0x2760880, mp=0x27607c0, abstime=0x7f22ebc96e70, file=0x164a680 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
            #2 0x000000000124cac4 in inline_mysql_cond_timedwait (that=0x2760880, mutex=0x27607c0, abstime=0x7f22ebc96e70, src_file=0x164a6b8 "/home/travis/src/mysys/thr_timer.c", src_line=292) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
            #3 0x000000000124d62a in timer_handler (arg=0x0) at /home/travis/src/mysys/thr_timer.c:292
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 1 (Thread 0x7f22e9475700 (LWP 25203)):
            #0 0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124605b in my_write_core (sig=6) at /home/travis/src/mysys/stacktrace.c:481
            #2 0x0000000000a75ac7 in handle_fatal_signal (sig=6) at /home/travis/src/sql/signal_handler.cc:303
            #3 <signal handler called>
            #4 0x00007f22ebdca035 in raise () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x00007f22ebdcd79b in abort () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000ff17af in ut_dbg_assertion_failed (expr=0x14dbe88 "state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))", file=0x14dbd28 "/home/travis/src/storage/innobase/include/trx0trx.ic", line=73) at /home/travis/src/storage/innobase/ut/ut0dbg.cc:61
            #7 0x0000000000daa066 in trx_state_eq (trx=0x7f22e993e198, state=TRX_STATE_ACTIVE, relaxed=false) at /home/travis/src/storage/innobase/include/trx0trx.ic:70
            #8 0x0000000000dbb614 in ha_innobase::unlock_row (this=0x7f22a00ceac8) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9322
            #9 0x00000000007fdf02 in rr_unlock_row (tab=0x7f22ac17b648) at /home/travis/src/sql/sql_select.cc:10821
            #10 0x0000000000811d72 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, error=0) at /home/travis/src/sql/sql_select.cc:19027
            #11 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #13 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #14 0x0000000000810ab2 in do_select (join=0x7f22ac0b9f48, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
            #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3620
            #16 0x00000000007ea730 in JOIN::exec (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3415
            #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22ac00b060, tables=0x7f22ac0203a8, wild_num=0, fields=..., conds=0x7f22ac04b038, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22ac0b9e80, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0) at /home/travis/src/sql/sql_select.cc:3819
            #18 0x000000000089344b in mysql_multi_update (thd=0x7f22ac00b060, table_list=0x7f22ac0203a8, fields=0x7f22ac00f5f0, values=0x7f22ac00fad8, conds=0x7f22ac04b038, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0, result=0x7f22e94735f0) at /home/travis/src/sql/sql_update.cc:1677
            #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:4618
            #20 0x00000000007aee67 in mysql_parse (thd=0x7f22ac00b060, rawbuf=0x7f22ac01f688 "UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null"..., length=691, parser_state=0x7f22e9474490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22ac00b060, packet=0x7f22ac017551 " UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_nul"..., packet_length=693, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #22 0x000000000079af61 in do_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:1369
            #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #27 0x0000000000000000 in ?? ()
            {noformat}

            No command line yet, but should be similar to
            {noformat}
            perl ./runall-new.pl --mysqld=--max-statement-time=30 --seed=1514825335 --threads=4 --duration=350 --reporters=Backtrace,ErrorLog,Deadlock --transformers=ExecuteAsIntersect,ExecuteAsExcept --validators=TransformerNoComparator --grammar=conf/mariadb/multi_update.yy --gendata=conf/mariadb/multi_update.zz --engine=InnoDB --basedir1=/data/bld/10.3 --vardir=/dev/shm/vardir
            {noformat}
            https://api.travis-ci.org/v3/job/323618305/log.txt
            {noformat}
            Version: '10.3.4-MariaDB-debug-log' socket: '/home/travis/logs/vardir1_1/mysql.sock' port: 19300 Source distribution
            2018-01-01 15:33:47 0x7f22e9475700 InnoDB: Assertion failure in file /home/travis/src/storage/innobase/include/trx0trx.ic line 73
            InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))
            InnoDB: We intentionally generate a memory trap.
            InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
            InnoDB: If you get repeated assertion failures or crashes, even
            InnoDB: immediately after the mysqld startup, there may be
            InnoDB: corruption in the InnoDB tablespace. Please refer to
            InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
            InnoDB: about forcing recovery.
            180101 15:33:47 [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.3.4-MariaDB-debug-log
            key_buffer_size=134217728
            read_buffer_size=131072
            max_used_connections=5
            max_threads=153
            thread_count=11
            It is possible that mysqld could use up to
            key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467417 K bytes of memory
            Hope that's ok; if not, decrease some variables in the equation.
            Thread pointer: 0x7f22ac00b060
            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 = 0x7f22e9474e48 thread_stack 0x49000
            /home/travis/server/bin/mysqld(my_print_stacktrace+0x3d)[0x1245f87]
            /home/travis/server/bin/mysqld(handle_fatal_signal+0x3a3)[0xa75719]
            /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f22ec976cb0]
            /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f22ebdca035]
            /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f22ebdcd79b]
            /home/travis/server/bin/mysqld[0xff17af]
            /home/travis/server/bin/mysqld[0xdaa066]
            /home/travis/server/bin/mysqld[0xdbb614]
            /home/travis/server/bin/mysqld(_Z13rr_unlock_rowP13st_join_table+0x41)[0x7fdf02]
            /home/travis/server/bin/mysqld[0x811d72]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
            /home/travis/server/bin/mysqld[0x811c70]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
            /home/travis/server/bin/mysqld[0x810ab2]
            /home/travis/server/bin/mysqld(_ZN4JOIN10exec_innerEv+0xacd)[0x7eb29b]
            /home/travis/server/bin/mysqld(_ZN4JOIN4execEv+0xcc)[0x7ea730]
            /home/travis/server/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x330)[0x7eb9a6]
            /home/travis/server/bin/mysqld(_Z18mysql_multi_updateP3THDP10TABLE_LISTP4ListI4ItemES6_PS4_y15enum_duplicatesbP18st_select_lex_unitP13st_select_lexPP12multi_update+0x1ae)[0x89344b]
            /home/travis/server/bin/mysqld(_Z21mysql_execute_commandP3THD+0x4203)[0x7a4292]
            /home/travis/server/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x2a4)[0x7aee67]
            /home/travis/server/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xfd0)[0x79c53a]
            /home/travis/server/bin/mysqld(_Z10do_commandP3THD+0x63c)[0x79af61]
            /home/travis/server/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1c8)[0x8f239f]
            /home/travis/server/bin/mysqld(handle_one_connection+0x30)[0x8f2121]
            mysys/stacktrace.c:269(my_print_stacktrace)[0x7f22ec96ee9a]
            /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f22ebe8a2ed]
            Trying to get some variables.
            Some pointers may be invalid and cause the dump to abort.
            Query (0x7f22ac01f688): UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null` > alias1.`col_varchar_10_not_null_key` ) ) ) SET alias1.`col_int_unsigned_null` = -85 WHERE EXISTS ( SELECT SQ1_alias1.`col_varchar_10_null` AS SQ1_cfield1 FROM ( `view_table15_innodb_int_autoinc_1` AS SQ1_alias1 INNER JOIN `table5_innodb_int_autoinc` AS SQ1_alias2 ON (SQ1_alias2.`col_int_not_null_key` = SQ1_alias1.`pk` ) ) WHERE SQ1_alias2.`col_int_null` <> alias2.`col_int_null_key` OR SQ1_alias2.`col_varchar_10_not_null` >= alias1.`col_varchar_10_not_null` ) /* QNO 2277 CON_ID 17 */
            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=on,condition_pushdown_for_derived=on,split_materialized=on
            The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
            information that should help you find out what is causing the crash.
            Writing a core file
            Aborted (core dumped)
            {noformat}
            {noformat}
            warning: Can't read pathname for load map: Input/output error.
            [Thread debugging using libthread_db enabled]
            Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

            warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffcea993000
            Core was generated by `/home/travis/server/bin/mysqld --no-defaults --basedir=/home/travis/server --lc'.
            Program terminated with signal 6, Aborted.
            #0 0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0

            Thread 35 (Thread 0x7f22e94bf700 (LWP 25201)):
            #0 0x0000000000ec621c in rec_offs_validate (rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/rem/rem0rec.cc:554
            #1 0x0000000000f4c6bc in row_sel_store_mysql_field_func (mysql_rec=0x7f229c006988 <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30, field_no=8, templ=0x7f22884143c0) at /home/travis/src/storage/innobase/row/row0sel.cc:3012
            #2 0x0000000000f4d18c in row_sel_store_mysql_rec (mysql_rec=0x7f229c006988 <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", vrow=0x0, rec_clust=false, index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/row/row0sel.cc:3253
            #3 0x0000000000f52b65 in row_search_mvcc (buf=0x7f229c006988 <incomplete sequence \360\200>, mode=PAGE_CUR_G, prebuilt=0x7f229c037608, match_mode=0, direction=1) at /home/travis/src/storage/innobase/row/row0sel.cc:5524
            #4 0x0000000000dbce77 in ha_innobase::general_fetch (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>, direction=1, match_mode=0) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9943
            #5 0x0000000000dbd46b in ha_innobase::rnd_next (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10156
            #6 0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>) at /home/travis/src/sql/handler.cc:2723
            #7 0x0000000000bf3f74 in rr_sequential (info=0x7f22a01307d0) at /home/travis/src/sql/records.cc:485
            #8 0x0000000000716423 in READ_RECORD::read_record (this=0x7f22a01307d0) at /home/travis/src/sql/records.h:73
            #9 0x00000000008115fd in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130708, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18802
            #10 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #11 0x00000000008116db in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18822
            #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #13 0x0000000000811550 in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #14 0x0000000000810ab2 in do_select (join=0x7f22a00aedd8, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
            #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3620
            #16 0x00000000007ea730 in JOIN::exec (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3415
            #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22a0000d90, tables=0x7f22a00145e8, wild_num=0, fields=..., conds=0x7f22a001d968, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22a00aed10, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200) at /home/travis/src/sql/sql_select.cc:3819
            #18 0x000000000089344b in mysql_multi_update (thd=0x7f22a0000d90, table_list=0x7f22a00145e8, fields=0x7f22a0005320, values=0x7f22a0005808, conds=0x7f22a001d968, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200, result=0x7f22e94bd5f0) at /home/travis/src/sql/sql_update.cc:1677
            #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:4618
            #20 0x00000000007aee67 in mysql_parse (thd=0x7f22a0000d90, rawbuf=0x7f22a00138f8 "UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ1"..., length=668, parser_state=0x7f22e94be490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22a0000d90, packet=0x7f22a000b131 " UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ"..., packet_length=670, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #22 0x000000000079af61 in do_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:1369
            #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #27 0x0000000000000000 in ?? ()

            Thread 34 (Thread 0x7f22ee25a740 (LWP 25158)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000006b2cf6 in handle_connections_sockets () at /home/travis/src/sql/mysqld.cc:6688
            #2 0x00000000006b1f78 in mysqld_main (argc=16, argv=0x2ac1dc0) at /home/travis/src/sql/mysqld.cc:6153
            #3 0x00000000006a62b4 in main (argc=16, argv=0x7ffcea970438) at /home/travis/src/sql/main.cc:25

            Thread 33 (Thread 0x7f22e9553700 (LWP 25193)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000012abe58 in vio_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
            #2 0x00000000012aa54c in vio_socket_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
            #3 0x00000000012aa72e in vio_read (vio=0x3565870, buf=0x7f228801d610 "?", size=4) at /home/travis/src/vio/viosocket.c:196
            #4 0x00000000006bc10b in my_real_read (net=0x7f22880021e8, complen=0x7f22e9552d18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
            #5 0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22880021e8, read_from_server=1 '\001', reallen=0x7f22e9552d98) at /home/travis/src/sql/net_serv.cc:1233
            #6 0x00000000006bc935 in my_net_read_packet (net=0x7f22880021e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
            #7 0x000000000079aaa7 in do_command (thd=0x7f2288001f20) at /home/travis/src/sql/sql_parse.cc:1250
            #8 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #9 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #12 0x0000000000000000 in ?? ()

            Thread 32 (Thread 0x7f22e9509700 (LWP 25199)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x7f2288534960) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x7f2288534960, reset_sig_count=757) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x7f2288534960, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000e52474 in lock_wait_suspend_thread (thr=0x7f2288403118) at /home/travis/src/storage/innobase/lock/lock0wait.cc:355
            #5 0x0000000000f0f686 in row_mysql_handle_errors (new_err=0x7f22e95066a4, trx=0x7f22e993d938, thr=0x7f2288403118, savept=0x0) at /home/travis/src/storage/innobase/row/row0mysql.cc:782
            #6 0x0000000000f52fab in row_search_mvcc (buf=0x7f22883ae898 "\377\377\200", mode=PAGE_CUR_G, prebuilt=0x7f22884025a8, match_mode=0, direction=0) at /home/travis/src/storage/innobase/row/row0sel.cc:5685
            #7 0x0000000000dbbe21 in ha_innobase::index_read (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9614
            #8 0x0000000000dbd1b6 in ha_innobase::index_first (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10052
            #9 0x0000000000dbd434 in ha_innobase::rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10148
            #10 0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/sql/handler.cc:2723
            #11 0x0000000000bf3f74 in rr_sequential (info=0x7f22e9506ea0) at /home/travis/src/sql/records.cc:485
            #12 0x0000000000716423 in READ_RECORD::read_record (this=0x7f22e9506ea0) at /home/travis/src/sql/records.h:73
            #13 0x0000000000891573 in mysql_update (thd=0x7f229c000c00, table_list=0x7f229c013aa8, fields=..., values=..., conds=0x7f229c0144f0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f22e95075e8, updated_return=0x7f22e95075f0) at /home/travis/src/sql/sql_update.cc:809
            #14 0x00000000007a3f7b in mysql_execute_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:4550
            #15 0x00000000007aee67 in mysql_parse (thd=0x7f229c000c00, rawbuf=0x7f229c013828 "UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */", length=157, parser_state=0x7f22e9508490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #16 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f229c000c00, packet=0x7f229c00b061 " UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */ ", packet_length=159, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #17 0x000000000079af61 in do_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:1369
            #18 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #19 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #20 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #21 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #22 0x0000000000000000 in ?? ()

            Thread 31 (Thread 0x7f22e959d700 (LWP 25192)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000012abe58 in vio_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
            #2 0x00000000012aa54c in vio_socket_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
            #3 0x00000000012aa72e in vio_read (vio=0x35643b0, buf=0x7f228000b780 "\a", size=4) at /home/travis/src/vio/viosocket.c:196
            #4 0x00000000006bc10b in my_real_read (net=0x7f22800015e8, complen=0x7f22e959cd18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
            #5 0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22800015e8, read_from_server=1 '\001', reallen=0x7f22e959cd98) at /home/travis/src/sql/net_serv.cc:1233
            #6 0x00000000006bc935 in my_net_read_packet (net=0x7f22800015e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
            #7 0x000000000079aaa7 in do_command (thd=0x7f2280001320) at /home/travis/src/sql/sql_parse.cc:1250
            #8 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #9 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #12 0x0000000000000000 in ?? ()

            Thread 30 (Thread 0x7f22e95e7700 (LWP 25188)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124b7c4 in safe_cond_wait (cond=0x1ec96a0, mp=0x1ecc980, file=0x12e9c80 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
            #2 0x00000000006d5dc3 in inline_mysql_cond_wait (that=0x1ec96a0, mutex=0x1ecc980, src_file=0x12ea5dd "/home/travis/src/sql/slave.cc", src_line=506) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
            #3 0x00000000006d7210 in handle_slave_background (arg=0x0) at /home/travis/src/sql/slave.cc:506
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 29 (Thread 0x7f22e9631700 (LWP 25187)):
            #0 0x00007f22ec9769f7 in do_sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x00007f22ec976a79 in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
            #2 0x00000000006acc93 in signal_hand (arg=0x0) at /home/travis/src/sql/mysqld.cc:3537
            #3 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #4 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x0000000000000000 in ?? ()

            Thread 28 (Thread 0x7f22a77fe700 (LWP 25184)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b770b0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b770b0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b770b0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x000000000105ada3 in buf_resize_thread () at /home/travis/src/storage/innobase/buf/buf0buf.cc:3076
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 27 (Thread 0x7f22a67fc700 (LWP 25186)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124bace in safe_cond_timedwait (cond=0x26fe720, mp=0x26fe660, abstime=0x7f22a67fbdf0, file=0x14b5b30 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
            #2 0x0000000000ce5060 in inline_mysql_cond_timedwait (that=0x26fe720, mutex=0x26fe660, abstime=0x7f22a67fbdf0, src_file=0x14b5b68 "/home/travis/src/storage/maria/ma_servicethread.c", src_line=116) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
            #3 0x0000000000ce5535 in my_service_thread_sleep (control=0x1cfd360, sleep_time=30000000000) at /home/travis/src/storage/maria/ma_servicethread.c:115
            #4 0x0000000000cd9dbc in ma_checkpoint_background (arg=0x1e) at /home/travis/src/storage/maria/ma_checkpoint.c:709
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 26 (Thread 0x7f22c4ff9700 (LWP 25182)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76fb0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76fb0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76fb0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000001072a56 in buf_dump_thread () at /home/travis/src/storage/innobase/buf/buf0dump.cc:777
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 25 (Thread 0x7f22a6ffd700 (LWP 25185)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124b7c4 in safe_cond_wait (cond=0x7f22a6ffce60, mp=0x7f22a6ffcdb0, file=0x14da9e0 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
            #2 0x0000000000da5920 in inline_mysql_cond_wait (that=0x7f22a6ffce60, mutex=0x7f22a6ffcdb0, src_file=0x14dc140 "/home/travis/src/storage/innobase/handler/ha_innodb.cc", src_line=317) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
            #3 0x0000000000daaa5a in thd_destructor_proxy () at /home/travis/src/storage/innobase/handler/ha_innodb.cc:317
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 24 (Thread 0x7f22c57fa700 (LWP 25181)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76d30) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76d30, reset_sig_count=9384) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76d30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c900, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 23 (Thread 0x7f22a7fff700 (LWP 25183)):
            #0 0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
            #2 0x000000000104ccad in btr_defragment_thread () at /home/travis/src/storage/innobase/btr/btr0defragment.cc:762
            #3 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #4 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x0000000000000000 in ?? ()

            Thread 22 (Thread 0x7f22c5ffb700 (LWP 25180)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76db0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76db0, reset_sig_count=8526) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76db0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c938, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 21 (Thread 0x7f22c6ffd700 (LWP 25178)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76cb0, abstime=0x7f22c6ffcd70) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f85162 in srv_resume_thread (slot=0x1d0c8c8, sig_count=4407, wait=true, timeout_usec=10000) at /home/travis/src/storage/innobase/srv/srv0srv.cc:913
            #5 0x0000000000f891d4 in srv_purge_coordinator_suspend (slot=0x1d0c8c8, rseg_history_len=7) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2735
            #6 0x0000000000f8959f in srv_purge_coordinator_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2822
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 20 (Thread 0x7f22c67fc700 (LWP 25179)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76e30) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76e30, reset_sig_count=7949) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76e30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c970, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 19 (Thread 0x7f22c77fe700 (LWP 25177)):
            #0 0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
            #2 0x0000000000f886c3 in srv_master_sleep () at /home/travis/src/storage/innobase/srv/srv0srv.cc:2393
            #3 0x0000000000f88804 in srv_master_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2438
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 18 (Thread 0x7f22ccf46700 (LWP 25175)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3117bc0, abstime=0x7f22ccf45e00) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3117bc0, time_in_usec=10000000, reset_sig_count=46) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3117bc0, time_in_usec=10000000, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x00000000010df4ea in dict_stats_thread () at /home/travis/src/storage/innobase/dict/dict0stats_bg.cc:458
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 17 (Thread 0x7f22c7fff700 (LWP 25176)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3144790, abstime=0x7f22c7ffec00) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000ff55a8 in ib_wqueue_timedwait (wq=0x3144700, wait_in_usecs=5000000) at /home/travis/src/storage/innobase/ut/ut0wqueue.cc:163
            #5 0x0000000001142d62 in fts_optimize_thread (arg=0x3144700) at /home/travis/src/storage/innobase/fts/fts0opt.cc:3032
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 16 (Thread 0x7f22cd747700 (LWP 25174)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76f30, abstime=0x7f22cd746dd0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f87061 in srv_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1735
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 15 (Thread 0x7f22cf14f700 (LWP 25170)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b77030, abstime=0x7f22cf14e8d0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x000000000107cf1c in pc_sleep_if_needed (next_loop_time=1514820827834, sig_count=2, cur_time=1514820827377) at /home/travis/src/storage/innobase/buf/buf0flu.cc:2711
            #5 0x000000000107e139 in buf_flush_page_cleaner_coordinator () at /home/travis/src/storage/innobase/buf/buf0flu.cc:3209
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 14 (Thread 0x7f22cdf48700 (LWP 25173)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76eb0, abstime=0x7f22cdf47af0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f87548 in srv_error_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1904
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 13 (Thread 0x7f22d0952700 (LWP 25167)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0951be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0951be0, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=7) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749298) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 12 (Thread 0x7f22ce749700 (LWP 25172)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3114450, abstime=0x7f22ce748df0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000e52c3d in lock_wait_timeout_thread () at /home/travis/src/storage/innobase/lock/lock0wait.cc:547
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 11 (Thread 0x7f22d1153700 (LWP 25166)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1152be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1152be0, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=6) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749290) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 10 (Thread 0x7f22cf950700 (LWP 25169)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22cf94fbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22cf94fbe0, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=9) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x27492a8) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 9 (Thread 0x7f22d1954700 (LWP 25165)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1953be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1953be0, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=5) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749288) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 8 (Thread 0x7f22d0151700 (LWP 25168)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0150be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0150be0, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=8) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x27492a0) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 7 (Thread 0x7f22d2155700 (LWP 25164)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2154be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2154be0, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=4) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749280) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 6 (Thread 0x7f22d2956700 (LWP 25163)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2955be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2955be0, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=3) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749278) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 5 (Thread 0x7f22d3157700 (LWP 25162)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d3156be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d3156be0, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=2) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749270) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 4 (Thread 0x7f22e891c700 (LWP 25161)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e891bbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e891bbe0, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=1) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749268) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 3 (Thread 0x7f22e911d700 (LWP 25160)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e911cbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e911cbe0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=0) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749260) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 2 (Thread 0x7f22ebc97700 (LWP 25159)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124bace in safe_cond_timedwait (cond=0x2760880, mp=0x27607c0, abstime=0x7f22ebc96e70, file=0x164a680 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
            #2 0x000000000124cac4 in inline_mysql_cond_timedwait (that=0x2760880, mutex=0x27607c0, abstime=0x7f22ebc96e70, src_file=0x164a6b8 "/home/travis/src/mysys/thr_timer.c", src_line=292) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
            #3 0x000000000124d62a in timer_handler (arg=0x0) at /home/travis/src/mysys/thr_timer.c:292
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 1 (Thread 0x7f22e9475700 (LWP 25203)):
            #0 0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124605b in my_write_core (sig=6) at /home/travis/src/mysys/stacktrace.c:481
            #2 0x0000000000a75ac7 in handle_fatal_signal (sig=6) at /home/travis/src/sql/signal_handler.cc:303
            #3 <signal handler called>
            #4 0x00007f22ebdca035 in raise () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x00007f22ebdcd79b in abort () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000ff17af in ut_dbg_assertion_failed (expr=0x14dbe88 "state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))", file=0x14dbd28 "/home/travis/src/storage/innobase/include/trx0trx.ic", line=73) at /home/travis/src/storage/innobase/ut/ut0dbg.cc:61
            #7 0x0000000000daa066 in trx_state_eq (trx=0x7f22e993e198, state=TRX_STATE_ACTIVE, relaxed=false) at /home/travis/src/storage/innobase/include/trx0trx.ic:70
            #8 0x0000000000dbb614 in ha_innobase::unlock_row (this=0x7f22a00ceac8) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9322
            #9 0x00000000007fdf02 in rr_unlock_row (tab=0x7f22ac17b648) at /home/travis/src/sql/sql_select.cc:10821
            #10 0x0000000000811d72 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, error=0) at /home/travis/src/sql/sql_select.cc:19027
            #11 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #13 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #14 0x0000000000810ab2 in do_select (join=0x7f22ac0b9f48, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
            #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3620
            #16 0x00000000007ea730 in JOIN::exec (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3415
            #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22ac00b060, tables=0x7f22ac0203a8, wild_num=0, fields=..., conds=0x7f22ac04b038, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22ac0b9e80, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0) at /home/travis/src/sql/sql_select.cc:3819
            #18 0x000000000089344b in mysql_multi_update (thd=0x7f22ac00b060, table_list=0x7f22ac0203a8, fields=0x7f22ac00f5f0, values=0x7f22ac00fad8, conds=0x7f22ac04b038, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0, result=0x7f22e94735f0) at /home/travis/src/sql/sql_update.cc:1677
            #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:4618
            #20 0x00000000007aee67 in mysql_parse (thd=0x7f22ac00b060, rawbuf=0x7f22ac01f688 "UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null"..., length=691, parser_state=0x7f22e9474490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22ac00b060, packet=0x7f22ac017551 " UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_nul"..., packet_length=693, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #22 0x000000000079af61 in do_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:1369
            #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #27 0x0000000000000000 in ?? ()
            {noformat}

            No command line yet, but should be similar to
            {noformat}
            perl ./runall-new.pl --mysqld=--max-statement-time=30 --seed=1514825335 --threads=4 --duration=350 --reporters=Backtrace,ErrorLog,Deadlock --transformers=ExecuteAsIntersect,ExecuteAsExcept --validators=TransformerNoComparator --grammar=conf/mariadb/multi_update.yy --gendata=conf/mariadb/multi_update.zz --engine=InnoDB --basedir1=/data/bld/10.3 --vardir=/dev/shm/vardir
            {noformat}

            Not easily reproducible.
            elenst Elena Stepanova added a comment - New occurrence on 10.3: https://api.travis-ci.org/v3/job/341571107/log.txt

            The assertion says that the SQL layer is continuing to use a transaction after it has been aborted due to an earlier error.
            Very likely not an InnoDB bug, but a bug in the SQL layer.

            marko Marko Mäkelä added a comment - The assertion says that the SQL layer is continuing to use a transaction after it has been aborted due to an earlier error. Very likely not an InnoDB bug, but a bug in the SQL layer.
            elenst Elena Stepanova added a comment - On 10.2: https://api.travis-ci.org/v3/job/344458999/log.txt
            elenst Elena Stepanova made changes -
            Affects Version/s 10.2 [ 14601 ]
            Affects Version/s 10.1 [ 16100 ]
            elenst Elena Stepanova added a comment - On 10.3: https://api.travis-ci.org/v3/job/353483291/log.txt
            marko Marko Mäkelä made changes -

            The 10.1 crash:

            /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f8daadff79b]
            /home/travis/server/bin/mysqld[0xbb0c83]
            /home/travis/server/bin/mysqld[0xbc053e]
            /home/travis/server/bin/mysqld(_Z13rr_unlock_rowP13st_join_table+0x41)[0x6f80fb]
            /home/travis/server/bin/mysqld[0x70aa56]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x70a22d]
            /home/travis/server/bin/mysqld[0x70a954]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x70a22d]
            /home/travis/server/bin/mysqld[0x709a79]
            /home/travis/server/bin/mysqld(_ZN4JOIN10exec_innerEv+0x2c93)[0x6e583f]
            /home/travis/server/bin/mysqld(_ZN4JOIN4execEv+0xe1)[0x6e2b11]
            /home/travis/server/bin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x340)[0x6e60aa]
            /home/travis/server/bin/mysqld(_Z18mysql_multi_updateP3THDP10TABLE_LISTP4ListI4ItemES6_PS4_y15enum_duplicatesbP18st_select_lex_unitP13st_select_lexPP12multi_update+0x1aa)[0x77e606]
            /home/travis/server/bin/mysqld(_Z21mysql_execute_commandP3THD+0x3f4f)[0x6a4724]
            /home/travis/server/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x25c)[0x6af532]
            /home/travis/server/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xd72)[0x69e15b]
            /home/travis/server/bin/mysqld(_Z10do_commandP3THD+0x74b)[0x69ceca]
            /home/travis/server/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x1f9)[0x7d3d7a]
            /home/travis/server/bin/mysqld(handle_one_connection+0x33)[0x7d3acb]
            /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f8dab78ae9a]
            /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f8daaebc2ed]
            Trying to get some variables.
            Some pointers may be invalid and cause the dump to abort.
            Query (0x7f8ce0005b08): UPDATE ( `view_table25_innodb_int_autoinc_0` AS alias1 RIGHT JOIN ( ( `table10_innodb_int_autoinc` AS alias2 RIGHT JOIN `table2_innodb_int_autoinc` AS alias3 ON (alias3.`col_varchar_10_null_key` > alias2.`col_varchar_10_null_key` ) ) ) ON (( alias3.`pk` <= alias2.`col_varchar_10_not_null` ) AND (alias3.`pk` = alias2.`col_datetime_not_null` ) ) ) SET alias3.`col_int_unsigned_null_key` = 59 WHERE alias2.`col_varchar_10_null` <= ANY ( SELECT SQ1_alias1.`col_varchar_10_null_key` AS SQ1_cfield1 FROM `view_table25_innodb_int_autoinc_1` AS SQ1_alias1 WHERE SQ1_alias1.`col_int_unsigned_not_null_key` <> alias3.`col_int_null_key` AND SQ1_alias1.`col_int_unsigned_null` <= 4 ) /* QNO 18760 CON_ID 11 */
            Connection ID (thread ID): 11
            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 assertion fails inside

            void rr_unlock_row(st_join_table *tab)
            {
              READ_RECORD *info= &tab->read_record;
              info->table->file->unlock_row();
            }
            

            This seems to be a too strict assertion in ha_innobase::unlock_row():

            	ut_ad(trx_state_eq(prebuilt->trx, TRX_STATE_ACTIVE));
            

            It should pass relaxed=true so that in case an error was reported, the transaction is allowed to be in TRX_STATE_NOT_STARTED. This could basically be a continuation of MDEV-11236, affecting debug builds only.

            marko Marko Mäkelä added a comment - The 10.1 crash: /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f8daadff79b] /home/travis/server/bin/mysqld[0xbb0c83] /home/travis/server/bin/mysqld[0xbc053e] /home/travis/server/bin/mysqld(_Z13rr_unlock_rowP13st_join_table+0x41)[0x6f80fb] /home/travis/server/bin/mysqld[0x70aa56] /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x70a22d] /home/travis/server/bin/mysqld[0x70a954] /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x70a22d] /home/travis/server/bin/mysqld[0x709a79] /home/travis/server/bin/mysqld(_ZN4JOIN10exec_innerEv+0x2c93)[0x6e583f] /home/travis/server/bin/mysqld(_ZN4JOIN4execEv+0xe1)[0x6e2b11] /home/travis/server/bin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x340)[0x6e60aa] /home/travis/server/bin/mysqld(_Z18mysql_multi_updateP3THDP10TABLE_LISTP4ListI4ItemES6_PS4_y15enum_duplicatesbP18st_select_lex_unitP13st_select_lexPP12multi_update+0x1aa)[0x77e606] /home/travis/server/bin/mysqld(_Z21mysql_execute_commandP3THD+0x3f4f)[0x6a4724] /home/travis/server/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x25c)[0x6af532] /home/travis/server/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xd72)[0x69e15b] /home/travis/server/bin/mysqld(_Z10do_commandP3THD+0x74b)[0x69ceca] /home/travis/server/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x1f9)[0x7d3d7a] /home/travis/server/bin/mysqld(handle_one_connection+0x33)[0x7d3acb] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f8dab78ae9a] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f8daaebc2ed] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f8ce0005b08): UPDATE ( `view_table25_innodb_int_autoinc_0` AS alias1 RIGHT JOIN ( ( `table10_innodb_int_autoinc` AS alias2 RIGHT JOIN `table2_innodb_int_autoinc` AS alias3 ON (alias3.`col_varchar_10_null_key` > alias2.`col_varchar_10_null_key` ) ) ) ON (( alias3.`pk` <= alias2.`col_varchar_10_not_null` ) AND (alias3.`pk` = alias2.`col_datetime_not_null` ) ) ) SET alias3.`col_int_unsigned_null_key` = 59 WHERE alias2.`col_varchar_10_null` <= ANY ( SELECT SQ1_alias1.`col_varchar_10_null_key` AS SQ1_cfield1 FROM `view_table25_innodb_int_autoinc_1` AS SQ1_alias1 WHERE SQ1_alias1.`col_int_unsigned_not_null_key` <> alias3.`col_int_null_key` AND SQ1_alias1.`col_int_unsigned_null` <= 4 ) /* QNO 18760 CON_ID 11 */ Connection ID (thread ID): 11 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 assertion fails inside void rr_unlock_row(st_join_table *tab) { READ_RECORD *info= &tab->read_record; info->table->file->unlock_row(); } This seems to be a too strict assertion in ha_innobase::unlock_row() : ut_ad(trx_state_eq(prebuilt->trx, TRX_STATE_ACTIVE)); It should pass relaxed=true so that in case an error was reported, the transaction is allowed to be in TRX_STATE_NOT_STARTED . This could basically be a continuation of MDEV-11236 , affecting debug builds only.

            I fixed the assertion in 10.1. Please let me know if the problem went away.

            marko Marko Mäkelä added a comment - I fixed the assertion in 10.1. Please let me know if the problem went away.
            elenst Elena Stepanova added a comment - - edited

            I'm still getting the assertion failure, although I never know if it's the same problem or another one which just looks exactly the same.
            The failure is different on all versions, but all versions fail.

            Non-deterministic test case, run with --repeat=100

            --source include/have_innodb.inc
             
            CREATE TABLE t1 (
             pk INT,
             f1 VARCHAR(10) NOT NULL,
             f2 VARCHAR(10) NULL,
             f3 INT UNSIGNED NULL,
             KEY (f1),
             PRIMARY KEY (pk)
            ) ENGINE=InnoDB;
             
            CREATE OR REPLACE ALGORITHM=MERGE VIEW v4 AS SELECT * FROM t1;
            INSERT INTO t1 VALUES (1,'k','g',6),(2,'y','r',0),(3,'t','q',1),(4,'a','r',NULL),(5,'z','t',NULL);
              
            CREATE TABLE t2 (f VARCHAR(10) NULL) ENGINE=InnoDB;
            INSERT INTO t2 VALUES (NULL),('g'),('e'),('g');
             
            CREATE TABLE t3 (
             f1 VARCHAR(10) NOT NULL,
             f2 VARCHAR(10) NULL,
             f3 INT UNSIGNED NULL
            ) ENGINE=InnoDB;
             
            INSERT INTO t3 VALUES ('k','n',9),('y','b',8),('m','w',6);
             
            CREATE TABLE t4 (f INT NULL) ENGINE=InnoDB;
            INSERT INTO t4 VALUES (8),(9);
             
            --connect (con1,localhost,root,,test)
            UPDATE t1 SET t1.pk = -109 WHERE t1.f1 IN ( SELECT 'a' FROM t4 WHERE f >= 1 );
             
            --send
            	UPDATE v4, t1 SET t1.pk = 76 WHERE t1.f2 IN ( SELECT t2.f FROM t2 INNER JOIN t3 );
             
            --connection default
            --error 0,ER_LOCK_DEADLOCK
            UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h';
             
            # Cleanup
            --connection con1
            --error 0,ER_LOCK_DEADLOCK
            --reap
            --disconnect con1
            --connection default
            DROP VIEW v4;
            DROP TABLE t1, t2, t3, t4;
            

            10.1 0b74a1fa64f

            2018-03-24 01:28:55 7f20d63d2b00  InnoDB: Assertion failure in thread 139779010013952 in file ha_innodb.cc line 9070
            InnoDB: Failing assertion: trx_state_eq(prebuilt->trx, TRX_STATE_ACTIVE, true)
             
            #5  0x00007f20d43663fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
            #6  0x00007f20cd6f3879 in ha_innodb::unlock_row (this=0x7f20be4b7088) at /data/src/10.1/storage/innobase/handler/ha_innodb.cc:9070
            #7  0x0000564c646653c6 in rr_unlock_row (tab=0x7f20be64fb98) at /data/src/10.1/sql/sql_select.cc:10603
            #8  0x0000564c646782db in evaluate_join_record (join=0x7f20be4fd710, join_tab=0x7f20be64fb98, error=0) at /data/src/10.1/sql/sql_select.cc:18688
            #9  0x0000564c64677af1 in sub_select (join=0x7f20be4fd710, join_tab=0x7f20be64fb98, end_of_records=false) at /data/src/10.1/sql/sql_select.cc:18441
            #10 0x0000564c646781df in evaluate_join_record (join=0x7f20be4fd710, join_tab=0x7f20be64f850, error=0) at /data/src/10.1/sql/sql_select.cc:18664
            #11 0x0000564c64677af1 in sub_select (join=0x7f20be4fd710, join_tab=0x7f20be64f850, end_of_records=false) at /data/src/10.1/sql/sql_select.cc:18441
            #12 0x0000564c64677354 in do_select (join=0x7f20be4fd710, fields=0x7f20d63d09c0, table=0x0, procedure=0x0) at /data/src/10.1/sql/sql_select.cc:18096
            #13 0x0000564c64651d06 in JOIN::exec_inner (this=0x7f20be4fd710) at /data/src/10.1/sql/sql_select.cc:3252
            #14 0x0000564c6464ef97 in JOIN::exec (this=0x7f20be4fd710) at /data/src/10.1/sql/sql_select.cc:2539
            #15 0x0000564c6465252d in mysql_select (thd=0x7f20cabc7070, rref_pointer_array=0x7f20cabcb520, tables=0x7f20be4fa2a8, wild_num=0, fields=..., conds=0x7f20be4fd4b0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7f20be4fd648, unit=0x7f20cabcab78, select_lex=0x7f20cabcb278) at /data/src/10.1/sql/sql_select.cc:3476
            #16 0x0000564c646ecfdb in mysql_multi_update (thd=0x7f20cabc7070, table_list=0x7f20be4fa2a8, fields=0x7f20cabcb390, values=0x7f20cabcb800, conds=0x7f20be4fd4b0, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f20cabcab78, select_lex=0x7f20cabcb278, result=0x7f20d63d0d50) at /data/src/10.1/sql/sql_update.cc:1627
            #17 0x0000564c64610973 in mysql_execute_command (thd=0x7f20cabc7070) at /data/src/10.1/sql/sql_parse.cc:3850
            #18 0x0000564c6461b5c2 in mysql_parse (thd=0x7f20cabc7070, rawbuf=0x7f20be4fa088 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7f20d63d15e0) at /data/src/10.1/sql/sql_parse.cc:7364
            #19 0x0000564c6460a3da in dispatch_command (command=COM_QUERY, thd=0x7f20cabc7070, packet=0x7f20cabd9071 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176) at /data/src/10.1/sql/sql_parse.cc:1486
            #20 0x0000564c6460915f in do_command (thd=0x7f20cabc7070) at /data/src/10.1/sql/sql_parse.cc:1115
            #21 0x0000564c64741f83 in do_handle_one_connection (thd_arg=0x7f20cabc7070) at /data/src/10.1/sql/sql_connect.cc:1330
            #22 0x0000564c64741ce7 in handle_one_connection (arg=0x7f20cabc7070) at /data/src/10.1/sql/sql_connect.cc:1242
            #23 0x0000564c64afd14e in pfs_spawn_thread (arg=0x7f20ceff5870) at /data/src/10.1/storage/perfschema/pfs.cc:1861
            #24 0x00007f20d6061494 in start_thread (arg=0x7f20d63d2b00) at pthread_create.c:333
            #25 0x00007f20d441a93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            

            10.2 7003067a09

            mysqld: /data/src/10.2/storage/innobase/row/row0sel.cc:4528: dberr_t row_search_mvcc(byte*, page_cur_mode_t, row_prebuilt_t*, ulint, ulint): Assertion `prebuilt->sql_stat_start || trx->state == TRX_STATE_ACTIVE' failed.
            180324  1:30:37 [ERROR] mysqld got signal 6 ;
             
            #7  0x00007f7f0b32eee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
            #8  0x0000562b84dcfe9a in row_search_mvcc (buf=0x7f7eb0054e08 "\377\001k", mode=PAGE_CUR_G, prebuilt=0x7f7eb0056b18, match_mode=0, direction=1) at /data/src/10.2/storage/innobase/row/row0sel.cc:4528
            #9  0x0000562b84c63a44 in ha_innobase::general_fetch (this=0x7f7eb0056328, buf=0x7f7eb0054e08 "\377\001k", direction=1, match_mode=0) at /data/src/10.2/storage/innobase/handler/ha_innodb.cc:9814
            #10 0x0000562b84c63fc6 in ha_innobase::rnd_next (this=0x7f7eb0056328, buf=0x7f7eb0054e08 "\377\001k") at /data/src/10.2/storage/innobase/handler/ha_innodb.cc:10024
            #11 0x0000562b8494f3c9 in handler::ha_rnd_next (this=0x7f7eb0056328, buf=0x7f7eb0054e08 "\377\001k") at /data/src/10.2/sql/handler.cc:2578
            #12 0x0000562b84abb4e2 in rr_sequential (info=0x7f7eb01588d0) at /data/src/10.2/sql/records.cc:485
            #13 0x0000562b8474779b in sub_select (join=0x7f7eb0015d18, join_tab=0x7f7eb0158808, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:18710
            #14 0x0000562b84747dde in evaluate_join_record (join=0x7f7eb0015d18, join_tab=0x7f7eb0158458, error=0) at /data/src/10.2/sql/sql_select.cc:18911
            #15 0x0000562b847476e8 in sub_select (join=0x7f7eb0015d18, join_tab=0x7f7eb0158458, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:18691
            #16 0x0000562b84746c81 in do_select (join=0x7f7eb0015d18, procedure=0x0) at /data/src/10.2/sql/sql_select.cc:18235
            #17 0x0000562b84721383 in JOIN::exec_inner (this=0x7f7eb0015d18) at /data/src/10.2/sql/sql_select.cc:3566
            #18 0x0000562b84720830 in JOIN::exec (this=0x7f7eb0015d18) at /data/src/10.2/sql/sql_select.cc:3361
            #19 0x0000562b847219fb in mysql_select (thd=0x7f7eb0000b00, tables=0x7f7eb0012718, wild_num=0, fields=..., conds=0x7f7eb0015ae0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7f7eb0015c50, unit=0x7f7eb00046a8, select_lex=0x7f7eb0004de0) at /data/src/10.2/sql/sql_select.cc:3761
            #20 0x0000562b847c58bc in mysql_multi_update (thd=0x7f7eb0000b00, table_list=0x7f7eb0012718, fields=0x7f7eb0004f08, values=0x7f7eb00053d0, conds=0x7f7eb0015ae0, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f7eb00046a8, select_lex=0x7f7eb0004de0, result=0x7f7efc762910) at /data/src/10.2/sql/sql_update.cc:1604
            #21 0x0000562b846da55b in mysql_execute_command (thd=0x7f7eb0000b00) at /data/src/10.2/sql/sql_parse.cc:4354
            #22 0x0000562b846e5862 in mysql_parse (thd=0x7f7eb0000b00, rawbuf=0x7f7eb00124f8 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7f7efc763200, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7916
            #23 0x0000562b846d371c in dispatch_command (command=COM_QUERY, thd=0x7f7eb0000b00, packet=0x7f7eb008d131 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1817
            #24 0x0000562b846d207f in do_command (thd=0x7f7eb0000b00) at /data/src/10.2/sql/sql_parse.cc:1371
            #25 0x0000562b848208f6 in do_handle_one_connection (connect=0x562b8825b020) at /data/src/10.2/sql/sql_connect.cc:1335
            #26 0x0000562b84820683 in handle_one_connection (arg=0x562b8825b020) at /data/src/10.2/sql/sql_connect.cc:1241
            #27 0x0000562b84c4089e in pfs_spawn_thread (arg=0x562b88265590) at /data/src/10.2/storage/perfschema/pfs.cc:1862
            #28 0x00007f7f0d005494 in start_thread (arg=0x7f7efc764700) at pthread_create.c:333
            #29 0x00007f7f0b3eb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            

            10.3 96ecf3ff230

            2018-03-24 01:31:46 0x7f572676c700  InnoDB: Assertion failure in file /data/src/10.3/storage/innobase/include/trx0trx.ic line 71
            InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))
             
            #6  0x000055562dd91580 in ut_dbg_assertion_failed (expr=0x55562e2a7680 "state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))", file=0x55562e2a7538 "/data/src/10.3/storage/innobase/include/trx0trx.ic", line=71) at /data/src/10.3/storage/innobase/ut/ut0dbg.cc:61
            #7  0x000055562db4f4e9 in trx_state_eq (trx=0x7f57272174b0, state=TRX_STATE_ACTIVE, relaxed=false) at /data/src/10.3/storage/innobase/include/trx0trx.ic:68
            #8  0x000055562db60d6a in ha_innobase::unlock_row (this=0x7f56d80ad3f8) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:9233
            #9  0x000055562d5b7abb in rr_unlock_row (tab=0x7f56d80b2c58) at /data/src/10.3/sql/sql_select.cc:11185
            #10 0x000055562d5cc381 in evaluate_join_record (join=0x7f56d8018790, join_tab=0x7f56d80b2c58, error=0) at /data/src/10.3/sql/sql_select.cc:19476
            #11 0x000055562d5cbb96 in sub_select (join=0x7f56d8018790, join_tab=0x7f56d80b2c58, end_of_records=false) at /data/src/10.3/sql/sql_select.cc:19232
            #12 0x000055562d5cc285 in evaluate_join_record (join=0x7f56d8018790, join_tab=0x7f56d80b28a8, error=0) at /data/src/10.3/sql/sql_select.cc:19452
            #13 0x000055562d5cbb96 in sub_select (join=0x7f56d8018790, join_tab=0x7f56d80b28a8, end_of_records=false) at /data/src/10.3/sql/sql_select.cc:19232
            #14 0x000055562d5cb0ff in do_select (join=0x7f56d8018790, procedure=0x0) at /data/src/10.3/sql/sql_select.cc:18772
            #15 0x000055562d5a41b0 in JOIN::exec_inner (this=0x7f56d8018790) at /data/src/10.3/sql/sql_select.cc:3987
            #16 0x000055562d5a3648 in JOIN::exec (this=0x7f56d8018790) at /data/src/10.3/sql/sql_select.cc:3781
            #17 0x000055562d5a4889 in mysql_select (thd=0x7f56d8000b00, tables=0x7f56d8014f68, wild_num=0, fields=..., conds=0x7f56d8018548, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7f56d80186c0, unit=0x7f56d8004938, select_lex=0x7f56d80050b0) at /data/src/10.3/sql/sql_select.cc:4186
            #18 0x000055562d653372 in mysql_multi_update (thd=0x7f56d8000b00, table_list=0x7f56d8014f68, fields=0x7f56d80051d8, values=0x7f56d80056d0, conds=0x7f56d8018548, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f56d8004938, select_lex=0x7f56d80050b0, result=0x7f572676a790) at /data/src/10.3/sql/sql_update.cc:1759
            #19 0x000055562d55ab41 in mysql_execute_command (thd=0x7f56d8000b00) at /data/src/10.3/sql/sql_parse.cc:4641
            #20 0x000055562d56572a in mysql_parse (thd=0x7f56d8000b00, rawbuf=0x7f56d8014d48 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7f572676b5d0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8009
            #21 0x000055562d552dde in dispatch_command (command=COM_QUERY, thd=0x7f56d8000b00, packet=0x7f56d81671b1 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1838
            #22 0x000055562d55181d in do_command (thd=0x7f56d8000b00) at /data/src/10.3/sql/sql_parse.cc:1383
            #23 0x000055562d6b5c85 in do_handle_one_connection (connect=0x55562fd52b60) at /data/src/10.3/sql/sql_connect.cc:1402
            #24 0x000055562d6b5a12 in handle_one_connection (arg=0x55562fd52b60) at /data/src/10.3/sql/sql_connect.cc:1308
            #25 0x000055562db3d029 in pfs_spawn_thread (arg=0x55562fdf4170) at /data/src/10.3/storage/perfschema/pfs.cc:1862
            #26 0x00007f5733139494 in start_thread (arg=0x7f572676c700) at pthread_create.c:333
            #27 0x00007f573151f93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            

            10.0 a2e47f8c41e

            2018-03-24 01:33:16 7fc245386700  InnoDB: Assertion failure in thread 140472361707264 in file trx0trx.ic line 60
            InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED
             
            #5  0x00007fc2432c83fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
            #6  0x00007fc23bb3c4a3 in trx_state_eq (trx=0x7fc22f551c78, state=TRX_STATE_ACTIVE) at /data/src/10.0/storage/innobase/include/trx0trx.ic:60
            #7  0x00007fc23bb47d1d in ha_innodb::unlock_row (this=0x7fc22f485088) at /data/src/10.0/storage/innobase/handler/ha_innodb.cc:7856
            #8  0x000000000069c1ca in rr_unlock_row (tab=0x7fc22f7976c8) at /data/src/10.0/sql/sql_select.cc:10391
            #9  0x00000000006adeae in evaluate_join_record (join=0x7fc22f511788, join_tab=0x7fc22f7976c8, error=0) at /data/src/10.0/sql/sql_select.cc:18218
            #10 0x00000000006ad687 in sub_select (join=0x7fc22f511788, join_tab=0x7fc22f7976c8, end_of_records=false) at /data/src/10.0/sql/sql_select.cc:17974
            #11 0x00000000006add8a in evaluate_join_record (join=0x7fc22f511788, join_tab=0x7fc22f7973a0, error=0) at /data/src/10.0/sql/sql_select.cc:18194
            #12 0x00000000006ad687 in sub_select (join=0x7fc22f511788, join_tab=0x7fc22f7973a0, end_of_records=false) at /data/src/10.0/sql/sql_select.cc:17974
            #13 0x00000000006acefa in do_select (join=0x7fc22f511788, fields=0x7fc245384bd0, table=0x0, procedure=0x0) at /data/src/10.0/sql/sql_select.cc:17636
            #14 0x0000000000689c85 in JOIN::exec_inner (this=0x7fc22f511788) at /data/src/10.0/sql/sql_select.cc:3108
            #15 0x0000000000687142 in JOIN::exec (this=0x7fc22f511788) at /data/src/10.0/sql/sql_select.cc:2394
            #16 0x000000000068a4e4 in mysql_select (thd=0x7fc237769070, rref_pointer_array=0x7fc23776d3a0, tables=0x7fc22f74a2a8, wild_num=0, fields=..., conds=0x7fc22f511580, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7fc22f5116c8, unit=0x7fc23776ca08, select_lex=0x7fc23776d0f8) at /data/src/10.0/sql/sql_select.cc:3333
            #17 0x000000000071a6d7 in mysql_multi_update (thd=0x7fc237769070, table_list=0x7fc22f74a2a8, fields=0x7fc23776d210, values=0x7fc23776d6c8, conds=0x7fc22f511580, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7fc23776ca08, select_lex=0x7fc23776d0f8, result=0x7fc2453852e0) at /data/src/10.0/sql/sql_update.cc:1599
            #18 0x000000000064f3af in mysql_execute_command (thd=0x7fc237769070) at /data/src/10.0/sql/sql_parse.cc:3377
            #19 0x0000000000657b50 in mysql_parse (thd=0x7fc237769070, rawbuf=0x7fc22f74a088 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7fc245385640) at /data/src/10.0/sql/sql_parse.cc:6569
            #20 0x000000000064a68f in dispatch_command (command=COM_QUERY, thd=0x7fc237769070, packet=0x7fc237775071 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176) at /data/src/10.0/sql/sql_parse.cc:1296
            #21 0x000000000064998f in do_command (thd=0x7fc237769070) at /data/src/10.0/sql/sql_parse.cc:999
            #22 0x0000000000769b62 in do_handle_one_connection (thd_arg=0x7fc237769070) at /data/src/10.0/sql/sql_connect.cc:1377
            #23 0x00000000007698d4 in handle_one_connection (arg=0x7fc237769070) at /data/src/10.0/sql/sql_connect.cc:1292
            #24 0x0000000000aca36e in pfs_spawn_thread (arg=0x7fc23771c870) at /data/src/10.0/storage/perfschema/pfs.cc:1861
            #25 0x00007fc244fc3494 in start_thread (arg=0x7fc245386700) at pthread_create.c:333
            #26 0x00007fc24337c93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            

            5.5 ddc5c65333

            180324  1:34:26  InnoDB: Assertion failure in thread 140256057804544 in file ha_innodb.cc line 5783
            InnoDB: Failing assertion: prebuilt->trx->conc_state == 1
             
            #5  0x00007f8fe6daa3fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
            #6  0x00007f8fe1ca6b20 in ha_innodb::unlock_row (this=0x7f8fd861f078) at /data/src/5.5/storage/innobase/handler/ha_innodb.cc:5783
            #7  0x00000000006488f2 in rr_unlock_row (tab=0x7f8fd86254e8) at /data/src/5.5/sql/sql_select.cc:9662
            #8  0x0000000000659e18 in evaluate_join_record (join=0x7f8fd84ee6f0, join_tab=0x7f8fd86254e8, error=0) at /data/src/5.5/sql/sql_select.cc:17328
            #9  0x0000000000659638 in sub_select (join=0x7f8fd84ee6f0, join_tab=0x7f8fd86254e8, end_of_records=false) at /data/src/5.5/sql/sql_select.cc:17087
            #10 0x0000000000659cf6 in evaluate_join_record (join=0x7f8fd84ee6f0, join_tab=0x7f8fd86251c8, error=0) at /data/src/5.5/sql/sql_select.cc:17304
            #11 0x0000000000659638 in sub_select (join=0x7f8fd84ee6f0, join_tab=0x7f8fd86251c8, end_of_records=false) at /data/src/5.5/sql/sql_select.cc:17087
            #12 0x0000000000658ea4 in do_select (join=0x7f8fd84ee6f0, fields=0x7f8fe880ad90, table=0x0, procedure=0x0) at /data/src/5.5/sql/sql_select.cc:16749
            #13 0x000000000063733c in JOIN::exec (this=0x7f8fd84ee6f0) at /data/src/5.5/sql/sql_select.cc:2897
            #14 0x0000000000637b18 in mysql_select (thd=0x7f8fe076f060, rref_pointer_array=0x7f8fe0772d08, tables=0x7f8fd8591298, wild_num=0, fields=..., conds=0x7f8fd84ee4e8, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7f8fd84ee630, unit=0x7f8fe0772388, select_lex=0x7f8fe0772a68) at /data/src/5.5/sql/sql_select.cc:3118
            #15 0x00000000006b76f2 in mysql_multi_update (thd=0x7f8fe076f060, table_list=0x7f8fd8591298, fields=0x7f8fe0772b80, values=0x7f8fe0773020, conds=0x7f8fd84ee4e8, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f8fe0772388, select_lex=0x7f8fe0772a68, result=0x7f8fe880b328) at /data/src/5.5/sql/sql_update.cc:1450
            #16 0x00000000006023cc in mysql_execute_command (thd=0x7f8fe076f060) at /data/src/5.5/sql/sql_parse.cc:2905
            #17 0x000000000060a310 in mysql_parse (thd=0x7f8fe076f060, rawbuf=0x7f8fd8591078 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7f8fe880b640) at /data/src/5.5/sql/sql_parse.cc:5923
            #18 0x00000000005fe025 in dispatch_command (command=COM_QUERY, thd=0x7f8fe076f060, packet=0x7f8fe060b061 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176) at /data/src/5.5/sql/sql_parse.cc:1066
            #19 0x00000000005fd217 in do_command (thd=0x7f8fe076f060) at /data/src/5.5/sql/sql_parse.cc:793
            #20 0x0000000000700373 in do_handle_one_connection (thd_arg=0x7f8fe076f060) at /data/src/5.5/sql/sql_connect.cc:1268
            #21 0x0000000000700100 in handle_one_connection (arg=0x7f8fe076f060) at /data/src/5.5/sql/sql_connect.cc:1184
            #22 0x0000000000a0e22f in pfs_spawn_thread (arg=0x7f8fe0792ac0) at /data/src/5.5/storage/perfschema/pfs.cc:1015
            #23 0x00007f8fe8448494 in start_thread (arg=0x7f8fe880c700) at pthread_create.c:333
            #24 0x00007f8fe6e5e93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            

            I also got a slightly different assertion failure on 10.2 with the attached mdev14846a test case (however, with default server options, not sure which ones are important).

            10.2 7003067a09

            2018-03-24 02:14:42 0x7fd965102700  InnoDB: Assertion failure in file /data/src/10.2/storage/innobase/include/trx0trx.ic line 70
            InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || (relaxed && thd_get_error_number(trx->mysql_thd))
             
            #6  0x000056153416da57 in ut_dbg_assertion_failed (expr=0x5615345d55e8 "state == TRX_STATE_NOT_STARTED || (relaxed && thd_get_error_number(trx->mysql_thd))", file=0x5615345d54b0 "/data/src/10.2/storage/innobase/include/trx0trx.ic", line=70) at /data/src/10.2/storage/innobase/ut/ut0dbg.cc:61
            #7  0x0000561533fd21e7 in trx_state_eq (trx=0x7fd965197400, state=TRX_STATE_ACTIVE, relaxed=false) at /data/src/10.2/storage/innobase/include/trx0trx.ic:68
            #8  0x0000561533fde326 in lock_rec_unlock (trx=0x7fd965197400, block=0x7fd943a844e0, rec=0x7fd9451e8083 "\200", lock_mode=LOCK_S) at /data/src/10.2/storage/innobase/lock/lock0lock.cc:4318
            #9  0x000056153409e775 in row_unlock_for_mysql (prebuilt=0x7fd8f8216e48, has_latches_on_recs=0) at /data/src/10.2/storage/innobase/row/row0mysql.cc:2024
            #10 0x0000561533f664b5 in ha_innobase::unlock_row (this=0x7fd8f820df68) at /data/src/10.2/storage/innobase/handler/ha_innodb.cc:9231
            #11 0x0000561533a38424 in rr_unlock_row (tab=0x7fd8f8221008) at /data/src/10.2/sql/sql_select.cc:10715
            #12 0x0000561533a4beda in evaluate_join_record (join=0x7fd8f821bb28, join_tab=0x7fd8f8221008, error=0) at /data/src/10.2/sql/sql_select.cc:18935
            #13 0x0000561533a4b6e8 in sub_select (join=0x7fd8f821bb28, join_tab=0x7fd8f8221008, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:18691
            #14 0x0000561533a4bdde in evaluate_join_record (join=0x7fd8f821bb28, join_tab=0x7fd8f8220c58, error=0) at /data/src/10.2/sql/sql_select.cc:18911
            #15 0x0000561533a4b882 in sub_select (join=0x7fd8f821bb28, join_tab=0x7fd8f8220c58, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:18730
            #16 0x0000561533a4ac81 in do_select (join=0x7fd8f821bb28, procedure=0x0) at /data/src/10.2/sql/sql_select.cc:18235
            #17 0x0000561533a25383 in JOIN::exec_inner (this=0x7fd8f821bb28) at /data/src/10.2/sql/sql_select.cc:3566
            #18 0x0000561533a24830 in JOIN::exec (this=0x7fd8f821bb28) at /data/src/10.2/sql/sql_select.cc:3361
            #19 0x0000561533a259fb in mysql_select (thd=0x7fd8f8000b00, tables=0x7fd8f8028af8, wild_num=0, fields=..., conds=0x7fd8f802d340, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7fd8f802e530, unit=0x7fd8f80046a8, select_lex=0x7fd8f8004de0) at /data/src/10.2/sql/sql_select.cc:3761
            #20 0x0000561533ac98bc in mysql_multi_update (thd=0x7fd8f8000b00, table_list=0x7fd8f8028af8, fields=0x7fd8f8004f08, values=0x7fd8f80053d0, conds=0x7fd8f802d340, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7fd8f80046a8, select_lex=0x7fd8f8004de0, result=0x7fd965100960) at /data/src/10.2/sql/sql_update.cc:1604
            #21 0x00005615339de55b in mysql_execute_command (thd=0x7fd8f8000b00) at /data/src/10.2/sql/sql_parse.cc:4354
            #22 0x00005615339e9862 in mysql_parse (thd=0x7fd8f8000b00, rawbuf=0x7fd8f8028718 "UPDATE t6 AS alias2 LEFT JOIN t7 AS alias1 ON ( alias2.col_varchar_10_null_key <> alias1.col_varchar_10_null ) SET alias2.col_int_unsigned_null = 59 WHERE ( EXISTS ( SELECT SQ1_alias1.col_int_unsigned"..., length=400, parser_state=0x7fd965101250, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7916
            #23 0x00005615339d771c in dispatch_command (command=COM_QUERY, thd=0x7fd8f8000b00, packet=0x7fd8f8008951 "UPDATE t6 AS alias2 LEFT JOIN t7 AS alias1 ON ( alias2.col_varchar_10_null_key <> alias1.col_varchar_10_null ) SET alias2.col_int_unsigned_null = 59 WHERE ( EXISTS ( SELECT SQ1_alias1.col_int_unsigned"..., packet_length=400, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1817
            #24 0x00005615339d607f in do_command (thd=0x7fd8f8000b00) at /data/src/10.2/sql/sql_parse.cc:1371
            #25 0x0000561533b248f6 in do_handle_one_connection (connect=0x56153666f9f0) at /data/src/10.2/sql/sql_connect.cc:1335
            #26 0x0000561533b24683 in handle_one_connection (arg=0x56153666f9f0) at /data/src/10.2/sql/sql_connect.cc:1241
            #27 0x00007fd96a163494 in start_thread (arg=0x7fd965102700) at pthread_create.c:333
            #28 0x00007fd96854993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            

            elenst Elena Stepanova added a comment - - edited I'm still getting the assertion failure, although I never know if it's the same problem or another one which just looks exactly the same. The failure is different on all versions, but all versions fail. Non-deterministic test case, run with --repeat=100 --source include/have_innodb.inc   CREATE TABLE t1 ( pk INT , f1 VARCHAR (10) NOT NULL , f2 VARCHAR (10) NULL , f3 INT UNSIGNED NULL , KEY (f1), PRIMARY KEY (pk) ) ENGINE=InnoDB;   CREATE OR REPLACE ALGORITHM=MERGE VIEW v4 AS SELECT * FROM t1; INSERT INTO t1 VALUES (1, 'k' , 'g' ,6),(2, 'y' , 'r' ,0),(3, 't' , 'q' ,1),(4, 'a' , 'r' , NULL ),(5, 'z' , 't' , NULL ); CREATE TABLE t2 (f VARCHAR (10) NULL ) ENGINE=InnoDB; INSERT INTO t2 VALUES ( NULL ),( 'g' ),( 'e' ),( 'g' );   CREATE TABLE t3 ( f1 VARCHAR (10) NOT NULL , f2 VARCHAR (10) NULL , f3 INT UNSIGNED NULL ) ENGINE=InnoDB;   INSERT INTO t3 VALUES ( 'k' , 'n' ,9),( 'y' , 'b' ,8),( 'm' , 'w' ,6);   CREATE TABLE t4 (f INT NULL ) ENGINE=InnoDB; INSERT INTO t4 VALUES (8),(9);   --connect (con1,localhost,root,,test) UPDATE t1 SET t1.pk = -109 WHERE t1.f1 IN ( SELECT 'a' FROM t4 WHERE f >= 1 );   --send UPDATE v4, t1 SET t1.pk = 76 WHERE t1.f2 IN ( SELECT t2.f FROM t2 INNER JOIN t3 );   --connection default --error 0,ER_LOCK_DEADLOCK UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h' ;   # Cleanup --connection con1 --error 0,ER_LOCK_DEADLOCK --reap --disconnect con1 --connection default DROP VIEW v4; DROP TABLE t1, t2, t3, t4; 10.1 0b74a1fa64f 2018-03-24 01:28:55 7f20d63d2b00 InnoDB: Assertion failure in thread 139779010013952 in file ha_innodb.cc line 9070 InnoDB: Failing assertion: trx_state_eq(prebuilt->trx, TRX_STATE_ACTIVE, true)   #5 0x00007f20d43663fa in abort () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x00007f20cd6f3879 in ha_innodb::unlock_row (this=0x7f20be4b7088) at /data/src/10.1/storage/innobase/handler/ha_innodb.cc:9070 #7 0x0000564c646653c6 in rr_unlock_row (tab=0x7f20be64fb98) at /data/src/10.1/sql/sql_select.cc:10603 #8 0x0000564c646782db in evaluate_join_record (join=0x7f20be4fd710, join_tab=0x7f20be64fb98, error=0) at /data/src/10.1/sql/sql_select.cc:18688 #9 0x0000564c64677af1 in sub_select (join=0x7f20be4fd710, join_tab=0x7f20be64fb98, end_of_records=false) at /data/src/10.1/sql/sql_select.cc:18441 #10 0x0000564c646781df in evaluate_join_record (join=0x7f20be4fd710, join_tab=0x7f20be64f850, error=0) at /data/src/10.1/sql/sql_select.cc:18664 #11 0x0000564c64677af1 in sub_select (join=0x7f20be4fd710, join_tab=0x7f20be64f850, end_of_records=false) at /data/src/10.1/sql/sql_select.cc:18441 #12 0x0000564c64677354 in do_select (join=0x7f20be4fd710, fields=0x7f20d63d09c0, table=0x0, procedure=0x0) at /data/src/10.1/sql/sql_select.cc:18096 #13 0x0000564c64651d06 in JOIN::exec_inner (this=0x7f20be4fd710) at /data/src/10.1/sql/sql_select.cc:3252 #14 0x0000564c6464ef97 in JOIN::exec (this=0x7f20be4fd710) at /data/src/10.1/sql/sql_select.cc:2539 #15 0x0000564c6465252d in mysql_select (thd=0x7f20cabc7070, rref_pointer_array=0x7f20cabcb520, tables=0x7f20be4fa2a8, wild_num=0, fields=..., conds=0x7f20be4fd4b0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7f20be4fd648, unit=0x7f20cabcab78, select_lex=0x7f20cabcb278) at /data/src/10.1/sql/sql_select.cc:3476 #16 0x0000564c646ecfdb in mysql_multi_update (thd=0x7f20cabc7070, table_list=0x7f20be4fa2a8, fields=0x7f20cabcb390, values=0x7f20cabcb800, conds=0x7f20be4fd4b0, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f20cabcab78, select_lex=0x7f20cabcb278, result=0x7f20d63d0d50) at /data/src/10.1/sql/sql_update.cc:1627 #17 0x0000564c64610973 in mysql_execute_command (thd=0x7f20cabc7070) at /data/src/10.1/sql/sql_parse.cc:3850 #18 0x0000564c6461b5c2 in mysql_parse (thd=0x7f20cabc7070, rawbuf=0x7f20be4fa088 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7f20d63d15e0) at /data/src/10.1/sql/sql_parse.cc:7364 #19 0x0000564c6460a3da in dispatch_command (command=COM_QUERY, thd=0x7f20cabc7070, packet=0x7f20cabd9071 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176) at /data/src/10.1/sql/sql_parse.cc:1486 #20 0x0000564c6460915f in do_command (thd=0x7f20cabc7070) at /data/src/10.1/sql/sql_parse.cc:1115 #21 0x0000564c64741f83 in do_handle_one_connection (thd_arg=0x7f20cabc7070) at /data/src/10.1/sql/sql_connect.cc:1330 #22 0x0000564c64741ce7 in handle_one_connection (arg=0x7f20cabc7070) at /data/src/10.1/sql/sql_connect.cc:1242 #23 0x0000564c64afd14e in pfs_spawn_thread (arg=0x7f20ceff5870) at /data/src/10.1/storage/perfschema/pfs.cc:1861 #24 0x00007f20d6061494 in start_thread (arg=0x7f20d63d2b00) at pthread_create.c:333 #25 0x00007f20d441a93f in clone () from /lib/x86_64-linux-gnu/libc.so.6 10.2 7003067a09 mysqld: /data/src/10.2/storage/innobase/row/row0sel.cc:4528: dberr_t row_search_mvcc(byte*, page_cur_mode_t, row_prebuilt_t*, ulint, ulint): Assertion `prebuilt->sql_stat_start || trx->state == TRX_STATE_ACTIVE' failed. 180324 1:30:37 [ERROR] mysqld got signal 6 ;   #7 0x00007f7f0b32eee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x0000562b84dcfe9a in row_search_mvcc (buf=0x7f7eb0054e08 "\377\001k", mode=PAGE_CUR_G, prebuilt=0x7f7eb0056b18, match_mode=0, direction=1) at /data/src/10.2/storage/innobase/row/row0sel.cc:4528 #9 0x0000562b84c63a44 in ha_innobase::general_fetch (this=0x7f7eb0056328, buf=0x7f7eb0054e08 "\377\001k", direction=1, match_mode=0) at /data/src/10.2/storage/innobase/handler/ha_innodb.cc:9814 #10 0x0000562b84c63fc6 in ha_innobase::rnd_next (this=0x7f7eb0056328, buf=0x7f7eb0054e08 "\377\001k") at /data/src/10.2/storage/innobase/handler/ha_innodb.cc:10024 #11 0x0000562b8494f3c9 in handler::ha_rnd_next (this=0x7f7eb0056328, buf=0x7f7eb0054e08 "\377\001k") at /data/src/10.2/sql/handler.cc:2578 #12 0x0000562b84abb4e2 in rr_sequential (info=0x7f7eb01588d0) at /data/src/10.2/sql/records.cc:485 #13 0x0000562b8474779b in sub_select (join=0x7f7eb0015d18, join_tab=0x7f7eb0158808, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:18710 #14 0x0000562b84747dde in evaluate_join_record (join=0x7f7eb0015d18, join_tab=0x7f7eb0158458, error=0) at /data/src/10.2/sql/sql_select.cc:18911 #15 0x0000562b847476e8 in sub_select (join=0x7f7eb0015d18, join_tab=0x7f7eb0158458, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:18691 #16 0x0000562b84746c81 in do_select (join=0x7f7eb0015d18, procedure=0x0) at /data/src/10.2/sql/sql_select.cc:18235 #17 0x0000562b84721383 in JOIN::exec_inner (this=0x7f7eb0015d18) at /data/src/10.2/sql/sql_select.cc:3566 #18 0x0000562b84720830 in JOIN::exec (this=0x7f7eb0015d18) at /data/src/10.2/sql/sql_select.cc:3361 #19 0x0000562b847219fb in mysql_select (thd=0x7f7eb0000b00, tables=0x7f7eb0012718, wild_num=0, fields=..., conds=0x7f7eb0015ae0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7f7eb0015c50, unit=0x7f7eb00046a8, select_lex=0x7f7eb0004de0) at /data/src/10.2/sql/sql_select.cc:3761 #20 0x0000562b847c58bc in mysql_multi_update (thd=0x7f7eb0000b00, table_list=0x7f7eb0012718, fields=0x7f7eb0004f08, values=0x7f7eb00053d0, conds=0x7f7eb0015ae0, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f7eb00046a8, select_lex=0x7f7eb0004de0, result=0x7f7efc762910) at /data/src/10.2/sql/sql_update.cc:1604 #21 0x0000562b846da55b in mysql_execute_command (thd=0x7f7eb0000b00) at /data/src/10.2/sql/sql_parse.cc:4354 #22 0x0000562b846e5862 in mysql_parse (thd=0x7f7eb0000b00, rawbuf=0x7f7eb00124f8 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7f7efc763200, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7916 #23 0x0000562b846d371c in dispatch_command (command=COM_QUERY, thd=0x7f7eb0000b00, packet=0x7f7eb008d131 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1817 #24 0x0000562b846d207f in do_command (thd=0x7f7eb0000b00) at /data/src/10.2/sql/sql_parse.cc:1371 #25 0x0000562b848208f6 in do_handle_one_connection (connect=0x562b8825b020) at /data/src/10.2/sql/sql_connect.cc:1335 #26 0x0000562b84820683 in handle_one_connection (arg=0x562b8825b020) at /data/src/10.2/sql/sql_connect.cc:1241 #27 0x0000562b84c4089e in pfs_spawn_thread (arg=0x562b88265590) at /data/src/10.2/storage/perfschema/pfs.cc:1862 #28 0x00007f7f0d005494 in start_thread (arg=0x7f7efc764700) at pthread_create.c:333 #29 0x00007f7f0b3eb93f in clone () from /lib/x86_64-linux-gnu/libc.so.6 10.3 96ecf3ff230 2018-03-24 01:31:46 0x7f572676c700 InnoDB: Assertion failure in file /data/src/10.3/storage/innobase/include/trx0trx.ic line 71 InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))   #6 0x000055562dd91580 in ut_dbg_assertion_failed (expr=0x55562e2a7680 "state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))", file=0x55562e2a7538 "/data/src/10.3/storage/innobase/include/trx0trx.ic", line=71) at /data/src/10.3/storage/innobase/ut/ut0dbg.cc:61 #7 0x000055562db4f4e9 in trx_state_eq (trx=0x7f57272174b0, state=TRX_STATE_ACTIVE, relaxed=false) at /data/src/10.3/storage/innobase/include/trx0trx.ic:68 #8 0x000055562db60d6a in ha_innobase::unlock_row (this=0x7f56d80ad3f8) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:9233 #9 0x000055562d5b7abb in rr_unlock_row (tab=0x7f56d80b2c58) at /data/src/10.3/sql/sql_select.cc:11185 #10 0x000055562d5cc381 in evaluate_join_record (join=0x7f56d8018790, join_tab=0x7f56d80b2c58, error=0) at /data/src/10.3/sql/sql_select.cc:19476 #11 0x000055562d5cbb96 in sub_select (join=0x7f56d8018790, join_tab=0x7f56d80b2c58, end_of_records=false) at /data/src/10.3/sql/sql_select.cc:19232 #12 0x000055562d5cc285 in evaluate_join_record (join=0x7f56d8018790, join_tab=0x7f56d80b28a8, error=0) at /data/src/10.3/sql/sql_select.cc:19452 #13 0x000055562d5cbb96 in sub_select (join=0x7f56d8018790, join_tab=0x7f56d80b28a8, end_of_records=false) at /data/src/10.3/sql/sql_select.cc:19232 #14 0x000055562d5cb0ff in do_select (join=0x7f56d8018790, procedure=0x0) at /data/src/10.3/sql/sql_select.cc:18772 #15 0x000055562d5a41b0 in JOIN::exec_inner (this=0x7f56d8018790) at /data/src/10.3/sql/sql_select.cc:3987 #16 0x000055562d5a3648 in JOIN::exec (this=0x7f56d8018790) at /data/src/10.3/sql/sql_select.cc:3781 #17 0x000055562d5a4889 in mysql_select (thd=0x7f56d8000b00, tables=0x7f56d8014f68, wild_num=0, fields=..., conds=0x7f56d8018548, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7f56d80186c0, unit=0x7f56d8004938, select_lex=0x7f56d80050b0) at /data/src/10.3/sql/sql_select.cc:4186 #18 0x000055562d653372 in mysql_multi_update (thd=0x7f56d8000b00, table_list=0x7f56d8014f68, fields=0x7f56d80051d8, values=0x7f56d80056d0, conds=0x7f56d8018548, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f56d8004938, select_lex=0x7f56d80050b0, result=0x7f572676a790) at /data/src/10.3/sql/sql_update.cc:1759 #19 0x000055562d55ab41 in mysql_execute_command (thd=0x7f56d8000b00) at /data/src/10.3/sql/sql_parse.cc:4641 #20 0x000055562d56572a in mysql_parse (thd=0x7f56d8000b00, rawbuf=0x7f56d8014d48 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7f572676b5d0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8009 #21 0x000055562d552dde in dispatch_command (command=COM_QUERY, thd=0x7f56d8000b00, packet=0x7f56d81671b1 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1838 #22 0x000055562d55181d in do_command (thd=0x7f56d8000b00) at /data/src/10.3/sql/sql_parse.cc:1383 #23 0x000055562d6b5c85 in do_handle_one_connection (connect=0x55562fd52b60) at /data/src/10.3/sql/sql_connect.cc:1402 #24 0x000055562d6b5a12 in handle_one_connection (arg=0x55562fd52b60) at /data/src/10.3/sql/sql_connect.cc:1308 #25 0x000055562db3d029 in pfs_spawn_thread (arg=0x55562fdf4170) at /data/src/10.3/storage/perfschema/pfs.cc:1862 #26 0x00007f5733139494 in start_thread (arg=0x7f572676c700) at pthread_create.c:333 #27 0x00007f573151f93f in clone () from /lib/x86_64-linux-gnu/libc.so.6 10.0 a2e47f8c41e 2018-03-24 01:33:16 7fc245386700 InnoDB: Assertion failure in thread 140472361707264 in file trx0trx.ic line 60 InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED   #5 0x00007fc2432c83fa in abort () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x00007fc23bb3c4a3 in trx_state_eq (trx=0x7fc22f551c78, state=TRX_STATE_ACTIVE) at /data/src/10.0/storage/innobase/include/trx0trx.ic:60 #7 0x00007fc23bb47d1d in ha_innodb::unlock_row (this=0x7fc22f485088) at /data/src/10.0/storage/innobase/handler/ha_innodb.cc:7856 #8 0x000000000069c1ca in rr_unlock_row (tab=0x7fc22f7976c8) at /data/src/10.0/sql/sql_select.cc:10391 #9 0x00000000006adeae in evaluate_join_record (join=0x7fc22f511788, join_tab=0x7fc22f7976c8, error=0) at /data/src/10.0/sql/sql_select.cc:18218 #10 0x00000000006ad687 in sub_select (join=0x7fc22f511788, join_tab=0x7fc22f7976c8, end_of_records=false) at /data/src/10.0/sql/sql_select.cc:17974 #11 0x00000000006add8a in evaluate_join_record (join=0x7fc22f511788, join_tab=0x7fc22f7973a0, error=0) at /data/src/10.0/sql/sql_select.cc:18194 #12 0x00000000006ad687 in sub_select (join=0x7fc22f511788, join_tab=0x7fc22f7973a0, end_of_records=false) at /data/src/10.0/sql/sql_select.cc:17974 #13 0x00000000006acefa in do_select (join=0x7fc22f511788, fields=0x7fc245384bd0, table=0x0, procedure=0x0) at /data/src/10.0/sql/sql_select.cc:17636 #14 0x0000000000689c85 in JOIN::exec_inner (this=0x7fc22f511788) at /data/src/10.0/sql/sql_select.cc:3108 #15 0x0000000000687142 in JOIN::exec (this=0x7fc22f511788) at /data/src/10.0/sql/sql_select.cc:2394 #16 0x000000000068a4e4 in mysql_select (thd=0x7fc237769070, rref_pointer_array=0x7fc23776d3a0, tables=0x7fc22f74a2a8, wild_num=0, fields=..., conds=0x7fc22f511580, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7fc22f5116c8, unit=0x7fc23776ca08, select_lex=0x7fc23776d0f8) at /data/src/10.0/sql/sql_select.cc:3333 #17 0x000000000071a6d7 in mysql_multi_update (thd=0x7fc237769070, table_list=0x7fc22f74a2a8, fields=0x7fc23776d210, values=0x7fc23776d6c8, conds=0x7fc22f511580, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7fc23776ca08, select_lex=0x7fc23776d0f8, result=0x7fc2453852e0) at /data/src/10.0/sql/sql_update.cc:1599 #18 0x000000000064f3af in mysql_execute_command (thd=0x7fc237769070) at /data/src/10.0/sql/sql_parse.cc:3377 #19 0x0000000000657b50 in mysql_parse (thd=0x7fc237769070, rawbuf=0x7fc22f74a088 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7fc245385640) at /data/src/10.0/sql/sql_parse.cc:6569 #20 0x000000000064a68f in dispatch_command (command=COM_QUERY, thd=0x7fc237769070, packet=0x7fc237775071 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176) at /data/src/10.0/sql/sql_parse.cc:1296 #21 0x000000000064998f in do_command (thd=0x7fc237769070) at /data/src/10.0/sql/sql_parse.cc:999 #22 0x0000000000769b62 in do_handle_one_connection (thd_arg=0x7fc237769070) at /data/src/10.0/sql/sql_connect.cc:1377 #23 0x00000000007698d4 in handle_one_connection (arg=0x7fc237769070) at /data/src/10.0/sql/sql_connect.cc:1292 #24 0x0000000000aca36e in pfs_spawn_thread (arg=0x7fc23771c870) at /data/src/10.0/storage/perfschema/pfs.cc:1861 #25 0x00007fc244fc3494 in start_thread (arg=0x7fc245386700) at pthread_create.c:333 #26 0x00007fc24337c93f in clone () from /lib/x86_64-linux-gnu/libc.so.6 5.5 ddc5c65333 180324 1:34:26 InnoDB: Assertion failure in thread 140256057804544 in file ha_innodb.cc line 5783 InnoDB: Failing assertion: prebuilt->trx->conc_state == 1   #5 0x00007f8fe6daa3fa in abort () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x00007f8fe1ca6b20 in ha_innodb::unlock_row (this=0x7f8fd861f078) at /data/src/5.5/storage/innobase/handler/ha_innodb.cc:5783 #7 0x00000000006488f2 in rr_unlock_row (tab=0x7f8fd86254e8) at /data/src/5.5/sql/sql_select.cc:9662 #8 0x0000000000659e18 in evaluate_join_record (join=0x7f8fd84ee6f0, join_tab=0x7f8fd86254e8, error=0) at /data/src/5.5/sql/sql_select.cc:17328 #9 0x0000000000659638 in sub_select (join=0x7f8fd84ee6f0, join_tab=0x7f8fd86254e8, end_of_records=false) at /data/src/5.5/sql/sql_select.cc:17087 #10 0x0000000000659cf6 in evaluate_join_record (join=0x7f8fd84ee6f0, join_tab=0x7f8fd86251c8, error=0) at /data/src/5.5/sql/sql_select.cc:17304 #11 0x0000000000659638 in sub_select (join=0x7f8fd84ee6f0, join_tab=0x7f8fd86251c8, end_of_records=false) at /data/src/5.5/sql/sql_select.cc:17087 #12 0x0000000000658ea4 in do_select (join=0x7f8fd84ee6f0, fields=0x7f8fe880ad90, table=0x0, procedure=0x0) at /data/src/5.5/sql/sql_select.cc:16749 #13 0x000000000063733c in JOIN::exec (this=0x7f8fd84ee6f0) at /data/src/5.5/sql/sql_select.cc:2897 #14 0x0000000000637b18 in mysql_select (thd=0x7f8fe076f060, rref_pointer_array=0x7f8fe0772d08, tables=0x7f8fd8591298, wild_num=0, fields=..., conds=0x7f8fd84ee4e8, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7f8fd84ee630, unit=0x7f8fe0772388, select_lex=0x7f8fe0772a68) at /data/src/5.5/sql/sql_select.cc:3118 #15 0x00000000006b76f2 in mysql_multi_update (thd=0x7f8fe076f060, table_list=0x7f8fd8591298, fields=0x7f8fe0772b80, values=0x7f8fe0773020, conds=0x7f8fd84ee4e8, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f8fe0772388, select_lex=0x7f8fe0772a68, result=0x7f8fe880b328) at /data/src/5.5/sql/sql_update.cc:1450 #16 0x00000000006023cc in mysql_execute_command (thd=0x7f8fe076f060) at /data/src/5.5/sql/sql_parse.cc:2905 #17 0x000000000060a310 in mysql_parse (thd=0x7f8fe076f060, rawbuf=0x7f8fd8591078 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", length=176, parser_state=0x7f8fe880b640) at /data/src/5.5/sql/sql_parse.cc:5923 #18 0x00000000005fe025 in dispatch_command (command=COM_QUERY, thd=0x7f8fe076f060, packet=0x7f8fe060b061 "UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'", packet_length=176) at /data/src/5.5/sql/sql_parse.cc:1066 #19 0x00000000005fd217 in do_command (thd=0x7f8fe076f060) at /data/src/5.5/sql/sql_parse.cc:793 #20 0x0000000000700373 in do_handle_one_connection (thd_arg=0x7f8fe076f060) at /data/src/5.5/sql/sql_connect.cc:1268 #21 0x0000000000700100 in handle_one_connection (arg=0x7f8fe076f060) at /data/src/5.5/sql/sql_connect.cc:1184 #22 0x0000000000a0e22f in pfs_spawn_thread (arg=0x7f8fe0792ac0) at /data/src/5.5/storage/perfschema/pfs.cc:1015 #23 0x00007f8fe8448494 in start_thread (arg=0x7f8fe880c700) at pthread_create.c:333 #24 0x00007f8fe6e5e93f in clone () from /lib/x86_64-linux-gnu/libc.so.6 I also got a slightly different assertion failure on 10.2 with the attached mdev14846a test case (however, with default server options, not sure which ones are important). 10.2 7003067a09 2018-03-24 02:14:42 0x7fd965102700 InnoDB: Assertion failure in file /data/src/10.2/storage/innobase/include/trx0trx.ic line 70 InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || (relaxed && thd_get_error_number(trx->mysql_thd))   #6 0x000056153416da57 in ut_dbg_assertion_failed (expr=0x5615345d55e8 "state == TRX_STATE_NOT_STARTED || (relaxed && thd_get_error_number(trx->mysql_thd))", file=0x5615345d54b0 "/data/src/10.2/storage/innobase/include/trx0trx.ic", line=70) at /data/src/10.2/storage/innobase/ut/ut0dbg.cc:61 #7 0x0000561533fd21e7 in trx_state_eq (trx=0x7fd965197400, state=TRX_STATE_ACTIVE, relaxed=false) at /data/src/10.2/storage/innobase/include/trx0trx.ic:68 #8 0x0000561533fde326 in lock_rec_unlock (trx=0x7fd965197400, block=0x7fd943a844e0, rec=0x7fd9451e8083 "\200", lock_mode=LOCK_S) at /data/src/10.2/storage/innobase/lock/lock0lock.cc:4318 #9 0x000056153409e775 in row_unlock_for_mysql (prebuilt=0x7fd8f8216e48, has_latches_on_recs=0) at /data/src/10.2/storage/innobase/row/row0mysql.cc:2024 #10 0x0000561533f664b5 in ha_innobase::unlock_row (this=0x7fd8f820df68) at /data/src/10.2/storage/innobase/handler/ha_innodb.cc:9231 #11 0x0000561533a38424 in rr_unlock_row (tab=0x7fd8f8221008) at /data/src/10.2/sql/sql_select.cc:10715 #12 0x0000561533a4beda in evaluate_join_record (join=0x7fd8f821bb28, join_tab=0x7fd8f8221008, error=0) at /data/src/10.2/sql/sql_select.cc:18935 #13 0x0000561533a4b6e8 in sub_select (join=0x7fd8f821bb28, join_tab=0x7fd8f8221008, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:18691 #14 0x0000561533a4bdde in evaluate_join_record (join=0x7fd8f821bb28, join_tab=0x7fd8f8220c58, error=0) at /data/src/10.2/sql/sql_select.cc:18911 #15 0x0000561533a4b882 in sub_select (join=0x7fd8f821bb28, join_tab=0x7fd8f8220c58, end_of_records=false) at /data/src/10.2/sql/sql_select.cc:18730 #16 0x0000561533a4ac81 in do_select (join=0x7fd8f821bb28, procedure=0x0) at /data/src/10.2/sql/sql_select.cc:18235 #17 0x0000561533a25383 in JOIN::exec_inner (this=0x7fd8f821bb28) at /data/src/10.2/sql/sql_select.cc:3566 #18 0x0000561533a24830 in JOIN::exec (this=0x7fd8f821bb28) at /data/src/10.2/sql/sql_select.cc:3361 #19 0x0000561533a259fb in mysql_select (thd=0x7fd8f8000b00, tables=0x7fd8f8028af8, wild_num=0, fields=..., conds=0x7fd8f802d340, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7fd8f802e530, unit=0x7fd8f80046a8, select_lex=0x7fd8f8004de0) at /data/src/10.2/sql/sql_select.cc:3761 #20 0x0000561533ac98bc in mysql_multi_update (thd=0x7fd8f8000b00, table_list=0x7fd8f8028af8, fields=0x7fd8f8004f08, values=0x7fd8f80053d0, conds=0x7fd8f802d340, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7fd8f80046a8, select_lex=0x7fd8f8004de0, result=0x7fd965100960) at /data/src/10.2/sql/sql_update.cc:1604 #21 0x00005615339de55b in mysql_execute_command (thd=0x7fd8f8000b00) at /data/src/10.2/sql/sql_parse.cc:4354 #22 0x00005615339e9862 in mysql_parse (thd=0x7fd8f8000b00, rawbuf=0x7fd8f8028718 "UPDATE t6 AS alias2 LEFT JOIN t7 AS alias1 ON ( alias2.col_varchar_10_null_key <> alias1.col_varchar_10_null ) SET alias2.col_int_unsigned_null = 59 WHERE ( EXISTS ( SELECT SQ1_alias1.col_int_unsigned"..., length=400, parser_state=0x7fd965101250, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7916 #23 0x00005615339d771c in dispatch_command (command=COM_QUERY, thd=0x7fd8f8000b00, packet=0x7fd8f8008951 "UPDATE t6 AS alias2 LEFT JOIN t7 AS alias1 ON ( alias2.col_varchar_10_null_key <> alias1.col_varchar_10_null ) SET alias2.col_int_unsigned_null = 59 WHERE ( EXISTS ( SELECT SQ1_alias1.col_int_unsigned"..., packet_length=400, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1817 #24 0x00005615339d607f in do_command (thd=0x7fd8f8000b00) at /data/src/10.2/sql/sql_parse.cc:1371 #25 0x0000561533b248f6 in do_handle_one_connection (connect=0x56153666f9f0) at /data/src/10.2/sql/sql_connect.cc:1335 #26 0x0000561533b24683 in handle_one_connection (arg=0x56153666f9f0) at /data/src/10.2/sql/sql_connect.cc:1241 #27 0x00007fd96a163494 in start_thread (arg=0x7fd965102700) at pthread_create.c:333 #28 0x00007fd96854993f in clone () from /lib/x86_64-linux-gnu/libc.so.6
            elenst Elena Stepanova made changes -
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.1 [ 16100 ]
            Affects Version/s 5.5 [ 15800 ]
            Affects Version/s 10.0 [ 16000 ]
            Assignee Elena Stepanova [ elenst ] Marko Mäkelä [ marko ]
            Summary [Draft] InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd)) InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            Attachment mdev14846a.test [ 45393 ]
            thiru Thirunarayanan Balathandayuthapani made changes -
            Assignee Marko Mäkelä [ marko ] Thirunarayanan B [ thiru ]

            10.3 Deterministic Test Case:

            --source include/have_innodb.inc
            --source include/count_sessions.inc
            --source include/have_debug_sync.inc
             
            CREATE TABLE t1 (
             pk INT,
             f1 VARCHAR(10) NOT NULL,
             f2 VARCHAR(10) NULL,
             f3 INT UNSIGNED NULL,
             KEY (f1),
             PRIMARY KEY (pk)
            ) ENGINE=InnoDB;
             
            CREATE OR REPLACE ALGORITHM=MERGE VIEW v4 AS SELECT * FROM t1;
            INSERT INTO t1 VALUES (1,'k','g',6),(2,'y','r',0),(3,'t','q',1),(4,'a','r',NULL),(5,'z','t',NULL);
             
            CREATE TABLE t2 (f VARCHAR(10) NULL) ENGINE=InnoDB;
            INSERT INTO t2 VALUES (NULL),('g'),('e'),('g');
             
            CREATE TABLE t3 (
             f1 VARCHAR(10) NOT NULL,
             f2 VARCHAR(10) NULL,
             f3 INT UNSIGNED NULL
            ) ENGINE=InnoDB;
             
            INSERT INTO t3 VALUES ('k','n',9),('y','b',8),('m','w',6);
             
            CREATE TABLE t4 (f INT NULL) ENGINE=InnoDB;
            INSERT INTO t4 VALUES (8),(9);
            UPDATE t1 SET t1.pk = -109 WHERE t1.f1 IN ( SELECT 'a' FROM t4 WHERE f >= 1 );
            SET DEBUG_SYNC='now SIGNAL con1_dml';
             
            --connect (con1,localhost,root,,test)
            SET DEBUG_SYNC='now WAIT_FOR con1_dml';
            begin;
            SELECT * FROM t1 for update;   // Holds x lock of all records in the table t1
            SET DEBUG_SYNC='now SIGNAL default_dml';
             
            --connection default
            SET DEBUG_SYNC='now WAIT_FOR default_dml';
            --send UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h' 
            // It holds the lock of all record in t3 and tries to acquire record lock for the table  t1.
             
            --connect (con2,localhost,root,,test)
            set debug_sync='now WAIT_FOR default_dml';
            let $wait_condition=
            select count(*) > 0 from information_schema.innodb_lock_waits;
            --source include/wait_condition.inc
            SET DEBUG_SYNC='now SIGNAL con1_dml2';
            disconnect con2;
             
            # Cleanup
            --connection con1
            SET DEBUG_SYNC='now WAIT_FOR con1_dml2';
            UPDATE v4, t1 SET t1.pk = 76 WHERE t1.f2 IN ( SELECT t2.f FROM t2 INNER JOIN t3 );
            // It holds the record lock on table t1 and tries to acquire record lock on t3.
            // leads to deadlock (con1 trx is waiting for default trx and vice versa)
             
            --connection default
            --error ER_LOCK_DEADLOCK
            --reap
             
            connection con1;
            COMMIT;
            disconnect con1;
             
            DROP VIEW v4;
            DROP TABLE t1, t2, t3, t4;
            

            Server ignores deadlock and tries to read the record from InnoDB. It leads to the assertion failure.

            thiru Thirunarayanan Balathandayuthapani added a comment - 10.3 Deterministic Test Case: --source include/have_innodb.inc --source include/count_sessions.inc --source include/have_debug_sync.inc   CREATE TABLE t1 ( pk INT , f1 VARCHAR (10) NOT NULL , f2 VARCHAR (10) NULL , f3 INT UNSIGNED NULL , KEY (f1), PRIMARY KEY (pk) ) ENGINE=InnoDB;   CREATE OR REPLACE ALGORITHM=MERGE VIEW v4 AS SELECT * FROM t1; INSERT INTO t1 VALUES (1, 'k' , 'g' ,6),(2, 'y' , 'r' ,0),(3, 't' , 'q' ,1),(4, 'a' , 'r' , NULL ),(5, 'z' , 't' , NULL );   CREATE TABLE t2 (f VARCHAR (10) NULL ) ENGINE=InnoDB; INSERT INTO t2 VALUES ( NULL ),( 'g' ),( 'e' ),( 'g' );   CREATE TABLE t3 ( f1 VARCHAR (10) NOT NULL , f2 VARCHAR (10) NULL , f3 INT UNSIGNED NULL ) ENGINE=InnoDB;   INSERT INTO t3 VALUES ( 'k' , 'n' ,9),( 'y' , 'b' ,8),( 'm' , 'w' ,6);   CREATE TABLE t4 (f INT NULL ) ENGINE=InnoDB; INSERT INTO t4 VALUES (8),(9); UPDATE t1 SET t1.pk = -109 WHERE t1.f1 IN ( SELECT 'a' FROM t4 WHERE f >= 1 ); SET DEBUG_SYNC= 'now SIGNAL con1_dml' ;   --connect (con1,localhost,root,,test) SET DEBUG_SYNC= 'now WAIT_FOR con1_dml' ; begin ; SELECT * FROM t1 for update ; // Holds x lock of all records in the table t1 SET DEBUG_SYNC= 'now SIGNAL default_dml' ;   --connection default SET DEBUG_SYNC= 'now WAIT_FOR default_dml' ; --send UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h' // It holds the lock of all record in t3 and tries to acquire record lock for the table t1.   --connect (con2,localhost,root,,test) set debug_sync= 'now WAIT_FOR default_dml' ; let $wait_condition= select count (*) > 0 from information_schema.innodb_lock_waits; --source include/wait_condition.inc SET DEBUG_SYNC= 'now SIGNAL con1_dml2' ; disconnect con2;   # Cleanup --connection con1 SET DEBUG_SYNC= 'now WAIT_FOR con1_dml2' ; UPDATE v4, t1 SET t1.pk = 76 WHERE t1.f2 IN ( SELECT t2.f FROM t2 INNER JOIN t3 ); // It holds the record lock on table t1 and tries to acquire record lock on t3. // leads to deadlock (con1 trx is waiting for default trx and vice versa)   --connection default --error ER_LOCK_DEADLOCK --reap   connection con1; COMMIT ; disconnect con1;   DROP VIEW v4; DROP TABLE t1, t2, t3, t4; Server ignores deadlock and tries to read the record from InnoDB. It leads to the assertion failure.

            2018-05-17 11:46:54 12 [Note] InnoDB: Transactions deadlock detected, dumping detailed information.
            2018-05-17 11:46:54 12 [Note] InnoDB:
            *** (1) TRANSACTION:
             
            TRANSACTION 53, ACTIVE 0 sec starting index read
            mysql tables in use 3, locked 3
            LOCK WAIT 4 lock struct(s), heap size 1160, 2 row lock(s)
            MySQL thread id 11, OS thread handle 140627944281856, query id 37 localhost root Sending data
            UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h'
            2018-05-17 11:46:54 12 [Note] InnoDB: *** (1) WAITING FOR THIS LOCK TO BE GRANTED:
             
            RECORD LOCKS space id 5 page no 3 n bits 80 index PRIMARY of table `test`.`t1` trx id 53 lock mode S locks rec but not gap waiting
            Record lock, heap no 7 PHYSICAL RECORD: n_fields 6; compact format; info bits 0
             0: len 4; hex 7fffff93; asc     ;;
             1: len 6; hex 000000000000; asc       ;;
             2: len 7; hex 80000000000000; asc        ;;
             3: len 1; hex 61; asc a;;
             4: len 1; hex 72; asc r;;
             5: SQL NULL;
             
            2018-05-17 11:46:54 12 [Note] InnoDB: *** (2) TRANSACTION:
             
            TRANSACTION 52, ACTIVE 0 sec starting index read
            mysql tables in use 4, locked 4
            5 lock struct(s), heap size 1160, 7 row lock(s)
            MySQL thread id 12, OS thread handle 140627943978752, query id 45 localhost root Sending data
            UPDATE v4, t1 SET t1.pk = 76 WHERE t1.f2 IN ( SELECT t2.f FROM t2 INNER JOIN t3 )
            2018-05-17 11:46:54 12 [Note] InnoDB: *** (2) HOLDS THE LOCK(S):
             
            RECORD LOCKS space id 5 page no 3 n bits 80 index PRIMARY of table `test`.`t1` trx id 52 lock_mode X locks rec but not gap
            Record lock, heap no 2 PHYSICAL RECORD: n_fields 6; compact format; info bits 0
             0: len 4; hex 80000001; asc     ;;
             1: len 6; hex 000000000000; asc       ;;
             2: len 7; hex 80000000000000; asc        ;;
             3: len 1; hex 6b; asc k;;
             4: len 1; hex 67; asc g;;
             5: len 4; hex 00000006; asc     ;;
             
            Record lock, heap no 3 PHYSICAL RECORD: n_fields 6; compact format; info bits 0
             0: len 4; hex 80000002; asc     ;;
             1: len 6; hex 000000000000; asc       ;;
             2: len 7; hex 80000000000000; asc        ;;
             3: len 1; hex 79; asc y;;
             4: len 1; hex 72; asc r;;
             5: len 4; hex 00000000; asc     ;;
             
            Record lock, heap no 4 PHYSICAL RECORD: n_fields 6; compact format; info bits 0
             0: len 4; hex 80000003; asc     ;;
             1: len 6; hex 000000000000; asc       ;;
             2: len 7; hex 80000000000000; asc        ;;
             3: len 1; hex 74; asc t;;
             4: len 1; hex 71; asc q;;
             5: len 4; hex 00000001; asc     ;;
             
            Record lock, heap no 6 PHYSICAL RECORD: n_fields 6; compact format; info bits 0
             0: len 4; hex 80000005; asc     ;;
             1: len 6; hex 000000000000; asc       ;;
             2: len 7; hex 80000000000000; asc        ;;
             3: len 1; hex 7a; asc z;;
             4: len 1; hex 74; asc t;;
             5: SQL NULL;
             
            Record lock, heap no 7 PHYSICAL RECORD: n_fields 6; compact format; info bits 0
             0: len 4; hex 7fffff93; asc     ;;
             1: len 6; hex 000000000000; asc       ;;
             2: len 7; hex 80000000000000; asc        ;;
             3: len 1; hex 61; asc a;;
             4: len 1; hex 72; asc r;;
             5: SQL NULL;
             
            2018-05-17 11:46:54 12 [Note] InnoDB: *** (2) WAITING FOR THIS LOCK TO BE GRANTED:
             
            RECORD LOCKS space id 7 page no 3 n bits 72 index GEN_CLUST_INDEX of table `test`.`t3` trx id 52 lock mode S locks rec but not gap waiting
            Record lock, heap no 2 PHYSICAL RECORD: n_fields 6; compact format; info bits 0
             0: len 6; hex 000000000204; asc       ;;
             1: len 6; hex 000000000000; asc       ;;
             2: len 7; hex 80000000000000; asc        ;;
             3: len 1; hex 6b; asc k;;
             4: len 1; hex 6e; asc n;;
             5: len 4; hex 00000009; asc     ;;
             
            2018-05-17 11:46:54 12 [Note] InnoDB: *** WE ROLL BACK TRANSACTION (1)
            

            Server ignores the error HA_ERR_LOCK_DEADLOCK and calls the InnoDB to read the record again using same transaction. Problem is that Server should handle the
            error promptly.

            thiru Thirunarayanan Balathandayuthapani added a comment - 2018-05-17 11:46:54 12 [Note] InnoDB: Transactions deadlock detected, dumping detailed information. 2018-05-17 11:46:54 12 [Note] InnoDB: *** (1) TRANSACTION:   TRANSACTION 53, ACTIVE 0 sec starting index read mysql tables in use 3, locked 3 LOCK WAIT 4 lock struct(s), heap size 1160, 2 row lock(s) MySQL thread id 11, OS thread handle 140627944281856, query id 37 localhost root Sending data UPDATE t3 AS alias1 LEFT JOIN t3 AS alias2 ON ( alias1.f1 <> alias1.f2 ) SET alias1.f3 = 59 WHERE ( EXISTS ( SELECT t1.f3 FROM t1 WHERE t1.f1 = alias1.f1 ) ) OR alias2.f1 = 'h' 2018-05-17 11:46:54 12 [Note] InnoDB: *** (1) WAITING FOR THIS LOCK TO BE GRANTED:   RECORD LOCKS space id 5 page no 3 n bits 80 index PRIMARY of table `test`.`t1` trx id 53 lock mode S locks rec but not gap waiting Record lock, heap no 7 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 4; hex 7fffff93; asc ;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 1; hex 61; asc a;; 4: len 1; hex 72; asc r;; 5: SQL NULL;   2018-05-17 11:46:54 12 [Note] InnoDB: *** (2) TRANSACTION:   TRANSACTION 52, ACTIVE 0 sec starting index read mysql tables in use 4, locked 4 5 lock struct(s), heap size 1160, 7 row lock(s) MySQL thread id 12, OS thread handle 140627943978752, query id 45 localhost root Sending data UPDATE v4, t1 SET t1.pk = 76 WHERE t1.f2 IN ( SELECT t2.f FROM t2 INNER JOIN t3 ) 2018-05-17 11:46:54 12 [Note] InnoDB: *** (2) HOLDS THE LOCK(S):   RECORD LOCKS space id 5 page no 3 n bits 80 index PRIMARY of table `test`.`t1` trx id 52 lock_mode X locks rec but not gap Record lock, heap no 2 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 4; hex 80000001; asc ;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 1; hex 6b; asc k;; 4: len 1; hex 67; asc g;; 5: len 4; hex 00000006; asc ;;   Record lock, heap no 3 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 4; hex 80000002; asc ;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 1; hex 79; asc y;; 4: len 1; hex 72; asc r;; 5: len 4; hex 00000000; asc ;;   Record lock, heap no 4 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 4; hex 80000003; asc ;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 1; hex 74; asc t;; 4: len 1; hex 71; asc q;; 5: len 4; hex 00000001; asc ;;   Record lock, heap no 6 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 4; hex 80000005; asc ;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 1; hex 7a; asc z;; 4: len 1; hex 74; asc t;; 5: SQL NULL;   Record lock, heap no 7 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 4; hex 7fffff93; asc ;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 1; hex 61; asc a;; 4: len 1; hex 72; asc r;; 5: SQL NULL;   2018-05-17 11:46:54 12 [Note] InnoDB: *** (2) WAITING FOR THIS LOCK TO BE GRANTED:   RECORD LOCKS space id 7 page no 3 n bits 72 index GEN_CLUST_INDEX of table `test`.`t3` trx id 52 lock mode S locks rec but not gap waiting Record lock, heap no 2 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 6; hex 000000000204; asc ;; 1: len 6; hex 000000000000; asc ;; 2: len 7; hex 80000000000000; asc ;; 3: len 1; hex 6b; asc k;; 4: len 1; hex 6e; asc n;; 5: len 4; hex 00000009; asc ;;   2018-05-17 11:46:54 12 [Note] InnoDB: *** WE ROLL BACK TRANSACTION (1) Server ignores the error HA_ERR_LOCK_DEADLOCK and calls the InnoDB to read the record again using same transaction. Problem is that Server should handle the error promptly.
            thiru Thirunarayanan Balathandayuthapani made changes -
            Assignee Thirunarayanan B [ thiru ] Oleksandr Byelkin [ sanja ]
            marko Marko Mäkelä made changes -
            Component/s Data Manipulation - Subquery [ 10107 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.4 [ 22408 ]
            elenst Elena Stepanova made changes -
            thiru Thirunarayanan Balathandayuthapani made changes -

            There is one more case which reported as MDEV-20666.
            Function row_search_mvcc() returns DB_DEADLOCK. But server doesn't handle the error promptly.
            In this case, the function is QUICK_GROUP_MIN_MAX_SELECT::reset() does return 0 no matter what result value is.

            thiru Thirunarayanan Balathandayuthapani added a comment - - edited There is one more case which reported as MDEV-20666 . Function row_search_mvcc() returns DB_DEADLOCK. But server doesn't handle the error promptly. In this case, the function is QUICK_GROUP_MIN_MAX_SELECT::reset() does return 0 no matter what result value is.
            marko Marko Mäkelä made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            marko Marko Mäkelä made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            elenst Elena Stepanova made changes -
            elenst Elena Stepanova made changes -
            alice Alice Sherepa made changes -
            Affects Version/s 10.4 [ 22408 ]
            Affects Version/s 10.5 [ 23123 ]
            alice Alice Sherepa made changes -
            Fix Version/s 10.5 [ 23123 ]
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 10.1 [ 16100 ]
            Roel Roel Van de Paar made changes -

            thiru marko Also see MDEV-22445. Thanks

            Roel Roel Van de Paar added a comment - thiru marko Also see MDEV-22445 . Thanks
            sanja Oleksandr Byelkin made changes -
            Assignee Oleksandr Byelkin [ sanja ] Aleksey Midenkov [ midenok ]
            midenok Aleksey Midenkov made changes -
            midenok Aleksey Midenkov made changes -
            Summary InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd)) InnoDB: assertion on trx->state because of deadlock error ignored
            midenok Aleksey Midenkov made changes -
            Description https://api.travis-ci.org/v3/job/323618305/log.txt
            {noformat}
            Version: '10.3.4-MariaDB-debug-log' socket: '/home/travis/logs/vardir1_1/mysql.sock' port: 19300 Source distribution
            2018-01-01 15:33:47 0x7f22e9475700 InnoDB: Assertion failure in file /home/travis/src/storage/innobase/include/trx0trx.ic line 73
            InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))
            InnoDB: We intentionally generate a memory trap.
            InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
            InnoDB: If you get repeated assertion failures or crashes, even
            InnoDB: immediately after the mysqld startup, there may be
            InnoDB: corruption in the InnoDB tablespace. Please refer to
            InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
            InnoDB: about forcing recovery.
            180101 15:33:47 [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.3.4-MariaDB-debug-log
            key_buffer_size=134217728
            read_buffer_size=131072
            max_used_connections=5
            max_threads=153
            thread_count=11
            It is possible that mysqld could use up to
            key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467417 K bytes of memory
            Hope that's ok; if not, decrease some variables in the equation.
            Thread pointer: 0x7f22ac00b060
            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 = 0x7f22e9474e48 thread_stack 0x49000
            /home/travis/server/bin/mysqld(my_print_stacktrace+0x3d)[0x1245f87]
            /home/travis/server/bin/mysqld(handle_fatal_signal+0x3a3)[0xa75719]
            /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f22ec976cb0]
            /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f22ebdca035]
            /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f22ebdcd79b]
            /home/travis/server/bin/mysqld[0xff17af]
            /home/travis/server/bin/mysqld[0xdaa066]
            /home/travis/server/bin/mysqld[0xdbb614]
            /home/travis/server/bin/mysqld(_Z13rr_unlock_rowP13st_join_table+0x41)[0x7fdf02]
            /home/travis/server/bin/mysqld[0x811d72]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
            /home/travis/server/bin/mysqld[0x811c70]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
            /home/travis/server/bin/mysqld[0x810ab2]
            /home/travis/server/bin/mysqld(_ZN4JOIN10exec_innerEv+0xacd)[0x7eb29b]
            /home/travis/server/bin/mysqld(_ZN4JOIN4execEv+0xcc)[0x7ea730]
            /home/travis/server/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x330)[0x7eb9a6]
            /home/travis/server/bin/mysqld(_Z18mysql_multi_updateP3THDP10TABLE_LISTP4ListI4ItemES6_PS4_y15enum_duplicatesbP18st_select_lex_unitP13st_select_lexPP12multi_update+0x1ae)[0x89344b]
            /home/travis/server/bin/mysqld(_Z21mysql_execute_commandP3THD+0x4203)[0x7a4292]
            /home/travis/server/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x2a4)[0x7aee67]
            /home/travis/server/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xfd0)[0x79c53a]
            /home/travis/server/bin/mysqld(_Z10do_commandP3THD+0x63c)[0x79af61]
            /home/travis/server/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1c8)[0x8f239f]
            /home/travis/server/bin/mysqld(handle_one_connection+0x30)[0x8f2121]
            mysys/stacktrace.c:269(my_print_stacktrace)[0x7f22ec96ee9a]
            /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f22ebe8a2ed]
            Trying to get some variables.
            Some pointers may be invalid and cause the dump to abort.
            Query (0x7f22ac01f688): UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null` > alias1.`col_varchar_10_not_null_key` ) ) ) SET alias1.`col_int_unsigned_null` = -85 WHERE EXISTS ( SELECT SQ1_alias1.`col_varchar_10_null` AS SQ1_cfield1 FROM ( `view_table15_innodb_int_autoinc_1` AS SQ1_alias1 INNER JOIN `table5_innodb_int_autoinc` AS SQ1_alias2 ON (SQ1_alias2.`col_int_not_null_key` = SQ1_alias1.`pk` ) ) WHERE SQ1_alias2.`col_int_null` <> alias2.`col_int_null_key` OR SQ1_alias2.`col_varchar_10_not_null` >= alias1.`col_varchar_10_not_null` ) /* QNO 2277 CON_ID 17 */
            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=on,condition_pushdown_for_derived=on,split_materialized=on
            The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
            information that should help you find out what is causing the crash.
            Writing a core file
            Aborted (core dumped)
            {noformat}
            {noformat}
            warning: Can't read pathname for load map: Input/output error.
            [Thread debugging using libthread_db enabled]
            Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

            warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffcea993000
            Core was generated by `/home/travis/server/bin/mysqld --no-defaults --basedir=/home/travis/server --lc'.
            Program terminated with signal 6, Aborted.
            #0 0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0

            Thread 35 (Thread 0x7f22e94bf700 (LWP 25201)):
            #0 0x0000000000ec621c in rec_offs_validate (rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/rem/rem0rec.cc:554
            #1 0x0000000000f4c6bc in row_sel_store_mysql_field_func (mysql_rec=0x7f229c006988 <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30, field_no=8, templ=0x7f22884143c0) at /home/travis/src/storage/innobase/row/row0sel.cc:3012
            #2 0x0000000000f4d18c in row_sel_store_mysql_rec (mysql_rec=0x7f229c006988 <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", vrow=0x0, rec_clust=false, index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/row/row0sel.cc:3253
            #3 0x0000000000f52b65 in row_search_mvcc (buf=0x7f229c006988 <incomplete sequence \360\200>, mode=PAGE_CUR_G, prebuilt=0x7f229c037608, match_mode=0, direction=1) at /home/travis/src/storage/innobase/row/row0sel.cc:5524
            #4 0x0000000000dbce77 in ha_innobase::general_fetch (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>, direction=1, match_mode=0) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9943
            #5 0x0000000000dbd46b in ha_innobase::rnd_next (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10156
            #6 0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>) at /home/travis/src/sql/handler.cc:2723
            #7 0x0000000000bf3f74 in rr_sequential (info=0x7f22a01307d0) at /home/travis/src/sql/records.cc:485
            #8 0x0000000000716423 in READ_RECORD::read_record (this=0x7f22a01307d0) at /home/travis/src/sql/records.h:73
            #9 0x00000000008115fd in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130708, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18802
            #10 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #11 0x00000000008116db in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18822
            #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #13 0x0000000000811550 in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #14 0x0000000000810ab2 in do_select (join=0x7f22a00aedd8, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
            #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3620
            #16 0x00000000007ea730 in JOIN::exec (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3415
            #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22a0000d90, tables=0x7f22a00145e8, wild_num=0, fields=..., conds=0x7f22a001d968, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22a00aed10, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200) at /home/travis/src/sql/sql_select.cc:3819
            #18 0x000000000089344b in mysql_multi_update (thd=0x7f22a0000d90, table_list=0x7f22a00145e8, fields=0x7f22a0005320, values=0x7f22a0005808, conds=0x7f22a001d968, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200, result=0x7f22e94bd5f0) at /home/travis/src/sql/sql_update.cc:1677
            #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:4618
            #20 0x00000000007aee67 in mysql_parse (thd=0x7f22a0000d90, rawbuf=0x7f22a00138f8 "UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ1"..., length=668, parser_state=0x7f22e94be490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22a0000d90, packet=0x7f22a000b131 " UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ"..., packet_length=670, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #22 0x000000000079af61 in do_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:1369
            #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #27 0x0000000000000000 in ?? ()

            Thread 34 (Thread 0x7f22ee25a740 (LWP 25158)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000006b2cf6 in handle_connections_sockets () at /home/travis/src/sql/mysqld.cc:6688
            #2 0x00000000006b1f78 in mysqld_main (argc=16, argv=0x2ac1dc0) at /home/travis/src/sql/mysqld.cc:6153
            #3 0x00000000006a62b4 in main (argc=16, argv=0x7ffcea970438) at /home/travis/src/sql/main.cc:25

            Thread 33 (Thread 0x7f22e9553700 (LWP 25193)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000012abe58 in vio_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
            #2 0x00000000012aa54c in vio_socket_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
            #3 0x00000000012aa72e in vio_read (vio=0x3565870, buf=0x7f228801d610 "?", size=4) at /home/travis/src/vio/viosocket.c:196
            #4 0x00000000006bc10b in my_real_read (net=0x7f22880021e8, complen=0x7f22e9552d18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
            #5 0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22880021e8, read_from_server=1 '\001', reallen=0x7f22e9552d98) at /home/travis/src/sql/net_serv.cc:1233
            #6 0x00000000006bc935 in my_net_read_packet (net=0x7f22880021e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
            #7 0x000000000079aaa7 in do_command (thd=0x7f2288001f20) at /home/travis/src/sql/sql_parse.cc:1250
            #8 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #9 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #12 0x0000000000000000 in ?? ()

            Thread 32 (Thread 0x7f22e9509700 (LWP 25199)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x7f2288534960) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x7f2288534960, reset_sig_count=757) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x7f2288534960, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000e52474 in lock_wait_suspend_thread (thr=0x7f2288403118) at /home/travis/src/storage/innobase/lock/lock0wait.cc:355
            #5 0x0000000000f0f686 in row_mysql_handle_errors (new_err=0x7f22e95066a4, trx=0x7f22e993d938, thr=0x7f2288403118, savept=0x0) at /home/travis/src/storage/innobase/row/row0mysql.cc:782
            #6 0x0000000000f52fab in row_search_mvcc (buf=0x7f22883ae898 "\377\377\200", mode=PAGE_CUR_G, prebuilt=0x7f22884025a8, match_mode=0, direction=0) at /home/travis/src/storage/innobase/row/row0sel.cc:5685
            #7 0x0000000000dbbe21 in ha_innobase::index_read (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9614
            #8 0x0000000000dbd1b6 in ha_innobase::index_first (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10052
            #9 0x0000000000dbd434 in ha_innobase::rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10148
            #10 0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/sql/handler.cc:2723
            #11 0x0000000000bf3f74 in rr_sequential (info=0x7f22e9506ea0) at /home/travis/src/sql/records.cc:485
            #12 0x0000000000716423 in READ_RECORD::read_record (this=0x7f22e9506ea0) at /home/travis/src/sql/records.h:73
            #13 0x0000000000891573 in mysql_update (thd=0x7f229c000c00, table_list=0x7f229c013aa8, fields=..., values=..., conds=0x7f229c0144f0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f22e95075e8, updated_return=0x7f22e95075f0) at /home/travis/src/sql/sql_update.cc:809
            #14 0x00000000007a3f7b in mysql_execute_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:4550
            #15 0x00000000007aee67 in mysql_parse (thd=0x7f229c000c00, rawbuf=0x7f229c013828 "UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */", length=157, parser_state=0x7f22e9508490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #16 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f229c000c00, packet=0x7f229c00b061 " UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */ ", packet_length=159, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #17 0x000000000079af61 in do_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:1369
            #18 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #19 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #20 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #21 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #22 0x0000000000000000 in ?? ()

            Thread 31 (Thread 0x7f22e959d700 (LWP 25192)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000012abe58 in vio_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
            #2 0x00000000012aa54c in vio_socket_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
            #3 0x00000000012aa72e in vio_read (vio=0x35643b0, buf=0x7f228000b780 "\a", size=4) at /home/travis/src/vio/viosocket.c:196
            #4 0x00000000006bc10b in my_real_read (net=0x7f22800015e8, complen=0x7f22e959cd18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
            #5 0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22800015e8, read_from_server=1 '\001', reallen=0x7f22e959cd98) at /home/travis/src/sql/net_serv.cc:1233
            #6 0x00000000006bc935 in my_net_read_packet (net=0x7f22800015e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
            #7 0x000000000079aaa7 in do_command (thd=0x7f2280001320) at /home/travis/src/sql/sql_parse.cc:1250
            #8 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #9 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #12 0x0000000000000000 in ?? ()

            Thread 30 (Thread 0x7f22e95e7700 (LWP 25188)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124b7c4 in safe_cond_wait (cond=0x1ec96a0, mp=0x1ecc980, file=0x12e9c80 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
            #2 0x00000000006d5dc3 in inline_mysql_cond_wait (that=0x1ec96a0, mutex=0x1ecc980, src_file=0x12ea5dd "/home/travis/src/sql/slave.cc", src_line=506) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
            #3 0x00000000006d7210 in handle_slave_background (arg=0x0) at /home/travis/src/sql/slave.cc:506
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 29 (Thread 0x7f22e9631700 (LWP 25187)):
            #0 0x00007f22ec9769f7 in do_sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x00007f22ec976a79 in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
            #2 0x00000000006acc93 in signal_hand (arg=0x0) at /home/travis/src/sql/mysqld.cc:3537
            #3 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #4 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x0000000000000000 in ?? ()

            Thread 28 (Thread 0x7f22a77fe700 (LWP 25184)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b770b0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b770b0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b770b0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x000000000105ada3 in buf_resize_thread () at /home/travis/src/storage/innobase/buf/buf0buf.cc:3076
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 27 (Thread 0x7f22a67fc700 (LWP 25186)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124bace in safe_cond_timedwait (cond=0x26fe720, mp=0x26fe660, abstime=0x7f22a67fbdf0, file=0x14b5b30 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
            #2 0x0000000000ce5060 in inline_mysql_cond_timedwait (that=0x26fe720, mutex=0x26fe660, abstime=0x7f22a67fbdf0, src_file=0x14b5b68 "/home/travis/src/storage/maria/ma_servicethread.c", src_line=116) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
            #3 0x0000000000ce5535 in my_service_thread_sleep (control=0x1cfd360, sleep_time=30000000000) at /home/travis/src/storage/maria/ma_servicethread.c:115
            #4 0x0000000000cd9dbc in ma_checkpoint_background (arg=0x1e) at /home/travis/src/storage/maria/ma_checkpoint.c:709
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 26 (Thread 0x7f22c4ff9700 (LWP 25182)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76fb0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76fb0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76fb0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000001072a56 in buf_dump_thread () at /home/travis/src/storage/innobase/buf/buf0dump.cc:777
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 25 (Thread 0x7f22a6ffd700 (LWP 25185)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124b7c4 in safe_cond_wait (cond=0x7f22a6ffce60, mp=0x7f22a6ffcdb0, file=0x14da9e0 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
            #2 0x0000000000da5920 in inline_mysql_cond_wait (that=0x7f22a6ffce60, mutex=0x7f22a6ffcdb0, src_file=0x14dc140 "/home/travis/src/storage/innobase/handler/ha_innodb.cc", src_line=317) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
            #3 0x0000000000daaa5a in thd_destructor_proxy () at /home/travis/src/storage/innobase/handler/ha_innodb.cc:317
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 24 (Thread 0x7f22c57fa700 (LWP 25181)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76d30) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76d30, reset_sig_count=9384) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76d30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c900, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 23 (Thread 0x7f22a7fff700 (LWP 25183)):
            #0 0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
            #2 0x000000000104ccad in btr_defragment_thread () at /home/travis/src/storage/innobase/btr/btr0defragment.cc:762
            #3 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #4 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x0000000000000000 in ?? ()

            Thread 22 (Thread 0x7f22c5ffb700 (LWP 25180)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76db0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76db0, reset_sig_count=8526) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76db0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c938, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 21 (Thread 0x7f22c6ffd700 (LWP 25178)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76cb0, abstime=0x7f22c6ffcd70) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f85162 in srv_resume_thread (slot=0x1d0c8c8, sig_count=4407, wait=true, timeout_usec=10000) at /home/travis/src/storage/innobase/srv/srv0srv.cc:913
            #5 0x0000000000f891d4 in srv_purge_coordinator_suspend (slot=0x1d0c8c8, rseg_history_len=7) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2735
            #6 0x0000000000f8959f in srv_purge_coordinator_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2822
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 20 (Thread 0x7f22c67fc700 (LWP 25179)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76e30) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76e30, reset_sig_count=7949) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76e30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c970, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 19 (Thread 0x7f22c77fe700 (LWP 25177)):
            #0 0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
            #2 0x0000000000f886c3 in srv_master_sleep () at /home/travis/src/storage/innobase/srv/srv0srv.cc:2393
            #3 0x0000000000f88804 in srv_master_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2438
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 18 (Thread 0x7f22ccf46700 (LWP 25175)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3117bc0, abstime=0x7f22ccf45e00) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3117bc0, time_in_usec=10000000, reset_sig_count=46) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3117bc0, time_in_usec=10000000, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x00000000010df4ea in dict_stats_thread () at /home/travis/src/storage/innobase/dict/dict0stats_bg.cc:458
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 17 (Thread 0x7f22c7fff700 (LWP 25176)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3144790, abstime=0x7f22c7ffec00) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000ff55a8 in ib_wqueue_timedwait (wq=0x3144700, wait_in_usecs=5000000) at /home/travis/src/storage/innobase/ut/ut0wqueue.cc:163
            #5 0x0000000001142d62 in fts_optimize_thread (arg=0x3144700) at /home/travis/src/storage/innobase/fts/fts0opt.cc:3032
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 16 (Thread 0x7f22cd747700 (LWP 25174)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76f30, abstime=0x7f22cd746dd0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f87061 in srv_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1735
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 15 (Thread 0x7f22cf14f700 (LWP 25170)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b77030, abstime=0x7f22cf14e8d0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x000000000107cf1c in pc_sleep_if_needed (next_loop_time=1514820827834, sig_count=2, cur_time=1514820827377) at /home/travis/src/storage/innobase/buf/buf0flu.cc:2711
            #5 0x000000000107e139 in buf_flush_page_cleaner_coordinator () at /home/travis/src/storage/innobase/buf/buf0flu.cc:3209
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 14 (Thread 0x7f22cdf48700 (LWP 25173)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76eb0, abstime=0x7f22cdf47af0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f87548 in srv_error_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1904
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 13 (Thread 0x7f22d0952700 (LWP 25167)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0951be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0951be0, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=7) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749298) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 12 (Thread 0x7f22ce749700 (LWP 25172)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3114450, abstime=0x7f22ce748df0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000e52c3d in lock_wait_timeout_thread () at /home/travis/src/storage/innobase/lock/lock0wait.cc:547
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 11 (Thread 0x7f22d1153700 (LWP 25166)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1152be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1152be0, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=6) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749290) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 10 (Thread 0x7f22cf950700 (LWP 25169)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22cf94fbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22cf94fbe0, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=9) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x27492a8) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 9 (Thread 0x7f22d1954700 (LWP 25165)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1953be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1953be0, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=5) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749288) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 8 (Thread 0x7f22d0151700 (LWP 25168)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0150be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0150be0, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=8) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x27492a0) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 7 (Thread 0x7f22d2155700 (LWP 25164)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2154be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2154be0, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=4) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749280) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 6 (Thread 0x7f22d2956700 (LWP 25163)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2955be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2955be0, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=3) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749278) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 5 (Thread 0x7f22d3157700 (LWP 25162)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d3156be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d3156be0, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=2) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749270) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 4 (Thread 0x7f22e891c700 (LWP 25161)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e891bbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e891bbe0, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=1) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749268) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 3 (Thread 0x7f22e911d700 (LWP 25160)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e911cbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e911cbe0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=0) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749260) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 2 (Thread 0x7f22ebc97700 (LWP 25159)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124bace in safe_cond_timedwait (cond=0x2760880, mp=0x27607c0, abstime=0x7f22ebc96e70, file=0x164a680 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
            #2 0x000000000124cac4 in inline_mysql_cond_timedwait (that=0x2760880, mutex=0x27607c0, abstime=0x7f22ebc96e70, src_file=0x164a6b8 "/home/travis/src/mysys/thr_timer.c", src_line=292) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
            #3 0x000000000124d62a in timer_handler (arg=0x0) at /home/travis/src/mysys/thr_timer.c:292
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 1 (Thread 0x7f22e9475700 (LWP 25203)):
            #0 0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124605b in my_write_core (sig=6) at /home/travis/src/mysys/stacktrace.c:481
            #2 0x0000000000a75ac7 in handle_fatal_signal (sig=6) at /home/travis/src/sql/signal_handler.cc:303
            #3 <signal handler called>
            #4 0x00007f22ebdca035 in raise () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x00007f22ebdcd79b in abort () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000ff17af in ut_dbg_assertion_failed (expr=0x14dbe88 "state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))", file=0x14dbd28 "/home/travis/src/storage/innobase/include/trx0trx.ic", line=73) at /home/travis/src/storage/innobase/ut/ut0dbg.cc:61
            #7 0x0000000000daa066 in trx_state_eq (trx=0x7f22e993e198, state=TRX_STATE_ACTIVE, relaxed=false) at /home/travis/src/storage/innobase/include/trx0trx.ic:70
            #8 0x0000000000dbb614 in ha_innobase::unlock_row (this=0x7f22a00ceac8) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9322
            #9 0x00000000007fdf02 in rr_unlock_row (tab=0x7f22ac17b648) at /home/travis/src/sql/sql_select.cc:10821
            #10 0x0000000000811d72 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, error=0) at /home/travis/src/sql/sql_select.cc:19027
            #11 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #13 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #14 0x0000000000810ab2 in do_select (join=0x7f22ac0b9f48, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
            #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3620
            #16 0x00000000007ea730 in JOIN::exec (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3415
            #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22ac00b060, tables=0x7f22ac0203a8, wild_num=0, fields=..., conds=0x7f22ac04b038, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22ac0b9e80, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0) at /home/travis/src/sql/sql_select.cc:3819
            #18 0x000000000089344b in mysql_multi_update (thd=0x7f22ac00b060, table_list=0x7f22ac0203a8, fields=0x7f22ac00f5f0, values=0x7f22ac00fad8, conds=0x7f22ac04b038, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0, result=0x7f22e94735f0) at /home/travis/src/sql/sql_update.cc:1677
            #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:4618
            #20 0x00000000007aee67 in mysql_parse (thd=0x7f22ac00b060, rawbuf=0x7f22ac01f688 "UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null"..., length=691, parser_state=0x7f22e9474490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22ac00b060, packet=0x7f22ac017551 " UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_nul"..., packet_length=693, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #22 0x000000000079af61 in do_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:1369
            #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #27 0x0000000000000000 in ?? ()
            {noformat}

            No command line yet, but should be similar to
            {noformat}
            perl ./runall-new.pl --mysqld=--max-statement-time=30 --seed=1514825335 --threads=4 --duration=350 --reporters=Backtrace,ErrorLog,Deadlock --transformers=ExecuteAsIntersect,ExecuteAsExcept --validators=TransformerNoComparator --grammar=conf/mariadb/multi_update.yy --gendata=conf/mariadb/multi_update.zz --engine=InnoDB --basedir1=/data/bld/10.3 --vardir=/dev/shm/vardir
            {noformat}

            Not easily reproducible.
            https://api.travis-ci.org/v3/job/323618305/log.txt

            InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))

            {noformat}
            Version: '10.3.4-MariaDB-debug-log' socket: '/home/travis/logs/vardir1_1/mysql.sock' port: 19300 Source distribution
            2018-01-01 15:33:47 0x7f22e9475700 InnoDB: Assertion failure in file /home/travis/src/storage/innobase/include/trx0trx.ic line 73
            InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))
            InnoDB: We intentionally generate a memory trap.
            InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
            InnoDB: If you get repeated assertion failures or crashes, even
            InnoDB: immediately after the mysqld startup, there may be
            InnoDB: corruption in the InnoDB tablespace. Please refer to
            InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
            InnoDB: about forcing recovery.
            180101 15:33:47 [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.3.4-MariaDB-debug-log
            key_buffer_size=134217728
            read_buffer_size=131072
            max_used_connections=5
            max_threads=153
            thread_count=11
            It is possible that mysqld could use up to
            key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467417 K bytes of memory
            Hope that's ok; if not, decrease some variables in the equation.
            Thread pointer: 0x7f22ac00b060
            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 = 0x7f22e9474e48 thread_stack 0x49000
            /home/travis/server/bin/mysqld(my_print_stacktrace+0x3d)[0x1245f87]
            /home/travis/server/bin/mysqld(handle_fatal_signal+0x3a3)[0xa75719]
            /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f22ec976cb0]
            /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f22ebdca035]
            /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f22ebdcd79b]
            /home/travis/server/bin/mysqld[0xff17af]
            /home/travis/server/bin/mysqld[0xdaa066]
            /home/travis/server/bin/mysqld[0xdbb614]
            /home/travis/server/bin/mysqld(_Z13rr_unlock_rowP13st_join_table+0x41)[0x7fdf02]
            /home/travis/server/bin/mysqld[0x811d72]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
            /home/travis/server/bin/mysqld[0x811c70]
            /home/travis/server/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x2ef)[0x811550]
            /home/travis/server/bin/mysqld[0x810ab2]
            /home/travis/server/bin/mysqld(_ZN4JOIN10exec_innerEv+0xacd)[0x7eb29b]
            /home/travis/server/bin/mysqld(_ZN4JOIN4execEv+0xcc)[0x7ea730]
            /home/travis/server/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x330)[0x7eb9a6]
            /home/travis/server/bin/mysqld(_Z18mysql_multi_updateP3THDP10TABLE_LISTP4ListI4ItemES6_PS4_y15enum_duplicatesbP18st_select_lex_unitP13st_select_lexPP12multi_update+0x1ae)[0x89344b]
            /home/travis/server/bin/mysqld(_Z21mysql_execute_commandP3THD+0x4203)[0x7a4292]
            /home/travis/server/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x2a4)[0x7aee67]
            /home/travis/server/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xfd0)[0x79c53a]
            /home/travis/server/bin/mysqld(_Z10do_commandP3THD+0x63c)[0x79af61]
            /home/travis/server/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1c8)[0x8f239f]
            /home/travis/server/bin/mysqld(handle_one_connection+0x30)[0x8f2121]
            mysys/stacktrace.c:269(my_print_stacktrace)[0x7f22ec96ee9a]
            /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f22ebe8a2ed]
            Trying to get some variables.
            Some pointers may be invalid and cause the dump to abort.
            Query (0x7f22ac01f688): UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null` > alias1.`col_varchar_10_not_null_key` ) ) ) SET alias1.`col_int_unsigned_null` = -85 WHERE EXISTS ( SELECT SQ1_alias1.`col_varchar_10_null` AS SQ1_cfield1 FROM ( `view_table15_innodb_int_autoinc_1` AS SQ1_alias1 INNER JOIN `table5_innodb_int_autoinc` AS SQ1_alias2 ON (SQ1_alias2.`col_int_not_null_key` = SQ1_alias1.`pk` ) ) WHERE SQ1_alias2.`col_int_null` <> alias2.`col_int_null_key` OR SQ1_alias2.`col_varchar_10_not_null` >= alias1.`col_varchar_10_not_null` ) /* QNO 2277 CON_ID 17 */
            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=on,condition_pushdown_for_derived=on,split_materialized=on
            The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
            information that should help you find out what is causing the crash.
            Writing a core file
            Aborted (core dumped)
            {noformat}
            {noformat}
            warning: Can't read pathname for load map: Input/output error.
            [Thread debugging using libthread_db enabled]
            Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

            warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffcea993000
            Core was generated by `/home/travis/server/bin/mysqld --no-defaults --basedir=/home/travis/server --lc'.
            Program terminated with signal 6, Aborted.
            #0 0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0

            Thread 35 (Thread 0x7f22e94bf700 (LWP 25201)):
            #0 0x0000000000ec621c in rec_offs_validate (rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/rem/rem0rec.cc:554
            #1 0x0000000000f4c6bc in row_sel_store_mysql_field_func (mysql_rec=0x7f229c006988 <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", index=0x7f22880ea708, offsets=0x7f22e94bba30, field_no=8, templ=0x7f22884143c0) at /home/travis/src/storage/innobase/row/row0sel.cc:3012
            #2 0x0000000000f4d18c in row_sel_store_mysql_rec (mysql_rec=0x7f229c006988 <incomplete sequence \360\200>, prebuilt=0x7f229c037608, rec=0x7f22d5ec22bf "\200", vrow=0x0, rec_clust=false, index=0x7f22880ea708, offsets=0x7f22e94bba30) at /home/travis/src/storage/innobase/row/row0sel.cc:3253
            #3 0x0000000000f52b65 in row_search_mvcc (buf=0x7f229c006988 <incomplete sequence \360\200>, mode=PAGE_CUR_G, prebuilt=0x7f229c037608, match_mode=0, direction=1) at /home/travis/src/storage/innobase/row/row0sel.cc:5524
            #4 0x0000000000dbce77 in ha_innobase::general_fetch (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>, direction=1, match_mode=0) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9943
            #5 0x0000000000dbd46b in ha_innobase::rnd_next (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10156
            #6 0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f229c034828, buf=0x7f229c006988 <incomplete sequence \360\200>) at /home/travis/src/sql/handler.cc:2723
            #7 0x0000000000bf3f74 in rr_sequential (info=0x7f22a01307d0) at /home/travis/src/sql/records.cc:485
            #8 0x0000000000716423 in READ_RECORD::read_record (this=0x7f22a01307d0) at /home/travis/src/sql/records.h:73
            #9 0x00000000008115fd in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130708, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18802
            #10 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #11 0x00000000008116db in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a0130358, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18822
            #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #13 0x0000000000811550 in sub_select (join=0x7f22a00aedd8, join_tab=0x7f22a012ffa8, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #14 0x0000000000810ab2 in do_select (join=0x7f22a00aedd8, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
            #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3620
            #16 0x00000000007ea730 in JOIN::exec (this=0x7f22a00aedd8) at /home/travis/src/sql/sql_select.cc:3415
            #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22a0000d90, tables=0x7f22a00145e8, wild_num=0, fields=..., conds=0x7f22a001d968, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22a00aed10, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200) at /home/travis/src/sql/sql_select.cc:3819
            #18 0x000000000089344b in mysql_multi_update (thd=0x7f22a0000d90, table_list=0x7f22a00145e8, fields=0x7f22a0005320, values=0x7f22a0005808, conds=0x7f22a001d968, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22a0004ac8, select_lex=0x7f22a0005200, result=0x7f22e94bd5f0) at /home/travis/src/sql/sql_update.cc:1677
            #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:4618
            #20 0x00000000007aee67 in mysql_parse (thd=0x7f22a0000d90, rawbuf=0x7f22a00138f8 "UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ1"..., length=668, parser_state=0x7f22e94be490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22a0000d90, packet=0x7f22a000b131 " UPDATE ( `table100_innodb_int_autoinc` AS alias1, `table20_innodb_int_autoinc` AS alias2, `view_table20_innodb_int_autoinc_1` AS alias3 ) SET alias1.`col_int_null` = -117 WHERE ( EXISTS ( ( SELECT SQ"..., packet_length=670, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #22 0x000000000079af61 in do_command (thd=0x7f22a0000d90) at /home/travis/src/sql/sql_parse.cc:1369
            #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #27 0x0000000000000000 in ?? ()

            Thread 34 (Thread 0x7f22ee25a740 (LWP 25158)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000006b2cf6 in handle_connections_sockets () at /home/travis/src/sql/mysqld.cc:6688
            #2 0x00000000006b1f78 in mysqld_main (argc=16, argv=0x2ac1dc0) at /home/travis/src/sql/mysqld.cc:6153
            #3 0x00000000006a62b4 in main (argc=16, argv=0x7ffcea970438) at /home/travis/src/sql/main.cc:25

            Thread 33 (Thread 0x7f22e9553700 (LWP 25193)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000012abe58 in vio_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
            #2 0x00000000012aa54c in vio_socket_io_wait (vio=0x3565870, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
            #3 0x00000000012aa72e in vio_read (vio=0x3565870, buf=0x7f228801d610 "?", size=4) at /home/travis/src/vio/viosocket.c:196
            #4 0x00000000006bc10b in my_real_read (net=0x7f22880021e8, complen=0x7f22e9552d18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
            #5 0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22880021e8, read_from_server=1 '\001', reallen=0x7f22e9552d98) at /home/travis/src/sql/net_serv.cc:1233
            #6 0x00000000006bc935 in my_net_read_packet (net=0x7f22880021e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
            #7 0x000000000079aaa7 in do_command (thd=0x7f2288001f20) at /home/travis/src/sql/sql_parse.cc:1250
            #8 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #9 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #12 0x0000000000000000 in ?? ()

            Thread 32 (Thread 0x7f22e9509700 (LWP 25199)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x7f2288534960) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x7f2288534960, reset_sig_count=757) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x7f2288534960, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000e52474 in lock_wait_suspend_thread (thr=0x7f2288403118) at /home/travis/src/storage/innobase/lock/lock0wait.cc:355
            #5 0x0000000000f0f686 in row_mysql_handle_errors (new_err=0x7f22e95066a4, trx=0x7f22e993d938, thr=0x7f2288403118, savept=0x0) at /home/travis/src/storage/innobase/row/row0mysql.cc:782
            #6 0x0000000000f52fab in row_search_mvcc (buf=0x7f22883ae898 "\377\377\200", mode=PAGE_CUR_G, prebuilt=0x7f22884025a8, match_mode=0, direction=0) at /home/travis/src/storage/innobase/row/row0sel.cc:5685
            #7 0x0000000000dbbe21 in ha_innobase::index_read (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200", key_ptr=0x0, key_len=0, find_flag=HA_READ_AFTER_KEY) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9614
            #8 0x0000000000dbd1b6 in ha_innobase::index_first (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10052
            #9 0x0000000000dbd434 in ha_innobase::rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/storage/innobase/handler/ha_innodb.cc:10148
            #10 0x0000000000a7cac2 in handler::ha_rnd_next (this=0x7f22884e8248, buf=0x7f22883ae898 "\377\377\200") at /home/travis/src/sql/handler.cc:2723
            #11 0x0000000000bf3f74 in rr_sequential (info=0x7f22e9506ea0) at /home/travis/src/sql/records.cc:485
            #12 0x0000000000716423 in READ_RECORD::read_record (this=0x7f22e9506ea0) at /home/travis/src/sql/records.h:73
            #13 0x0000000000891573 in mysql_update (thd=0x7f229c000c00, table_list=0x7f229c013aa8, fields=..., values=..., conds=0x7f229c0144f0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f22e95075e8, updated_return=0x7f22e95075f0) at /home/travis/src/sql/sql_update.cc:809
            #14 0x00000000007a3f7b in mysql_execute_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:4550
            #15 0x00000000007aee67 in mysql_parse (thd=0x7f229c000c00, rawbuf=0x7f229c013828 "UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */", length=157, parser_state=0x7f22e9508490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #16 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f229c000c00, packet=0x7f229c00b061 " UPDATE `view_table20_innodb_int_autoinc_0` AS alias1 SET alias1.`col_int_null` = 96 WHERE alias1.`col_varchar_10_not_null_key` < 'g' /* QNO 2199 CON_ID 15 */ ", packet_length=159, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #17 0x000000000079af61 in do_command (thd=0x7f229c000c00) at /home/travis/src/sql/sql_parse.cc:1369
            #18 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #19 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #20 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #21 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #22 0x0000000000000000 in ?? ()

            Thread 31 (Thread 0x7f22e959d700 (LWP 25192)):
            #0 0x00007f22ebe7e913 in poll () from /lib/x86_64-linux-gnu/libc.so.6
            #1 0x00000000012abe58 in vio_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/travis/src/vio/viosocket.c:974
            #2 0x00000000012aa54c in vio_socket_io_wait (vio=0x35643b0, event=VIO_IO_EVENT_READ) at /home/travis/src/vio/viosocket.c:119
            #3 0x00000000012aa72e in vio_read (vio=0x35643b0, buf=0x7f228000b780 "\a", size=4) at /home/travis/src/vio/viosocket.c:196
            #4 0x00000000006bc10b in my_real_read (net=0x7f22800015e8, complen=0x7f22e959cd18, header=1 '\001') at /home/travis/src/sql/net_serv.cc:952
            #5 0x00000000006bc982 in my_net_read_packet_reallen (net=0x7f22800015e8, read_from_server=1 '\001', reallen=0x7f22e959cd98) at /home/travis/src/sql/net_serv.cc:1233
            #6 0x00000000006bc935 in my_net_read_packet (net=0x7f22800015e8, read_from_server=1 '\001') at /home/travis/src/sql/net_serv.cc:1217
            #7 0x000000000079aaa7 in do_command (thd=0x7f2280001320) at /home/travis/src/sql/sql_parse.cc:1250
            #8 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #9 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #10 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #11 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #12 0x0000000000000000 in ?? ()

            Thread 30 (Thread 0x7f22e95e7700 (LWP 25188)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124b7c4 in safe_cond_wait (cond=0x1ec96a0, mp=0x1ecc980, file=0x12e9c80 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
            #2 0x00000000006d5dc3 in inline_mysql_cond_wait (that=0x1ec96a0, mutex=0x1ecc980, src_file=0x12ea5dd "/home/travis/src/sql/slave.cc", src_line=506) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
            #3 0x00000000006d7210 in handle_slave_background (arg=0x0) at /home/travis/src/sql/slave.cc:506
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 29 (Thread 0x7f22e9631700 (LWP 25187)):
            #0 0x00007f22ec9769f7 in do_sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x00007f22ec976a79 in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
            #2 0x00000000006acc93 in signal_hand (arg=0x0) at /home/travis/src/sql/mysqld.cc:3537
            #3 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #4 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x0000000000000000 in ?? ()

            Thread 28 (Thread 0x7f22a77fe700 (LWP 25184)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b770b0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b770b0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b770b0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x000000000105ada3 in buf_resize_thread () at /home/travis/src/storage/innobase/buf/buf0buf.cc:3076
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 27 (Thread 0x7f22a67fc700 (LWP 25186)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124bace in safe_cond_timedwait (cond=0x26fe720, mp=0x26fe660, abstime=0x7f22a67fbdf0, file=0x14b5b30 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
            #2 0x0000000000ce5060 in inline_mysql_cond_timedwait (that=0x26fe720, mutex=0x26fe660, abstime=0x7f22a67fbdf0, src_file=0x14b5b68 "/home/travis/src/storage/maria/ma_servicethread.c", src_line=116) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
            #3 0x0000000000ce5535 in my_service_thread_sleep (control=0x1cfd360, sleep_time=30000000000) at /home/travis/src/storage/maria/ma_servicethread.c:115
            #4 0x0000000000cd9dbc in ma_checkpoint_background (arg=0x1e) at /home/travis/src/storage/maria/ma_checkpoint.c:709
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 26 (Thread 0x7f22c4ff9700 (LWP 25182)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76fb0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76fb0, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76fb0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000001072a56 in buf_dump_thread () at /home/travis/src/storage/innobase/buf/buf0dump.cc:777
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 25 (Thread 0x7f22a6ffd700 (LWP 25185)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124b7c4 in safe_cond_wait (cond=0x7f22a6ffce60, mp=0x7f22a6ffcdb0, file=0x14da9e0 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1149) at /home/travis/src/mysys/thr_mutex.c:492
            #2 0x0000000000da5920 in inline_mysql_cond_wait (that=0x7f22a6ffce60, mutex=0x7f22a6ffcdb0, src_file=0x14dc140 "/home/travis/src/storage/innobase/handler/ha_innodb.cc", src_line=317) at /home/travis/src/include/mysql/psi/mysql_thread.h:1149
            #3 0x0000000000daaa5a in thd_destructor_proxy () at /home/travis/src/storage/innobase/handler/ha_innodb.cc:317
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 24 (Thread 0x7f22c57fa700 (LWP 25181)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76d30) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76d30, reset_sig_count=9384) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76d30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c900, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 23 (Thread 0x7f22a7fff700 (LWP 25183)):
            #0 0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
            #2 0x000000000104ccad in btr_defragment_thread () at /home/travis/src/storage/innobase/btr/btr0defragment.cc:762
            #3 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #4 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x0000000000000000 in ?? ()

            Thread 22 (Thread 0x7f22c5ffb700 (LWP 25180)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76db0) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76db0, reset_sig_count=8526) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76db0, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c938, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 21 (Thread 0x7f22c6ffd700 (LWP 25178)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76cb0, abstime=0x7f22c6ffcd70) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76cb0, time_in_usec=10000, reset_sig_count=4407) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f85162 in srv_resume_thread (slot=0x1d0c8c8, sig_count=4407, wait=true, timeout_usec=10000) at /home/travis/src/storage/innobase/srv/srv0srv.cc:913
            #5 0x0000000000f891d4 in srv_purge_coordinator_suspend (slot=0x1d0c8c8, rseg_history_len=7) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2735
            #6 0x0000000000f8959f in srv_purge_coordinator_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2822
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 20 (Thread 0x7f22c67fc700 (LWP 25179)):
            #0 0x00007f22ec972d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86f9f in os_event::wait (this=0x2b76e30) at /home/travis/src/storage/innobase/os/os0event.cc:166
            #2 0x0000000000e86985 in os_event::wait_low (this=0x2b76e30, reset_sig_count=7949) at /home/travis/src/storage/innobase/os/os0event.cc:336
            #3 0x0000000000e86d55 in os_event_wait_low (event=0x2b76e30, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:535
            #4 0x0000000000f85189 in srv_resume_thread (slot=0x1d0c970, sig_count=0, wait=true, timeout_usec=0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:916
            #5 0x0000000000f88ce6 in srv_worker_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2582
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 19 (Thread 0x7f22c77fe700 (LWP 25177)):
            #0 0x00007f22ec97652d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e872da in os_thread_sleep (tm=1000000) at /home/travis/src/storage/innobase/os/os0thread.cc:230
            #2 0x0000000000f886c3 in srv_master_sleep () at /home/travis/src/storage/innobase/srv/srv0srv.cc:2393
            #3 0x0000000000f88804 in srv_master_thread (arg=0x0) at /home/travis/src/storage/innobase/srv/srv0srv.cc:2438
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 18 (Thread 0x7f22ccf46700 (LWP 25175)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3117bc0, abstime=0x7f22ccf45e00) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3117bc0, time_in_usec=10000000, reset_sig_count=46) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3117bc0, time_in_usec=10000000, reset_sig_count=0) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x00000000010df4ea in dict_stats_thread () at /home/travis/src/storage/innobase/dict/dict0stats_bg.cc:458
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 17 (Thread 0x7f22c7fff700 (LWP 25176)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3144790, abstime=0x7f22c7ffec00) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3144790, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000ff55a8 in ib_wqueue_timedwait (wq=0x3144700, wait_in_usecs=5000000) at /home/travis/src/storage/innobase/ut/ut0wqueue.cc:163
            #5 0x0000000001142d62 in fts_optimize_thread (arg=0x3144700) at /home/travis/src/storage/innobase/fts/fts0opt.cc:3032
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 16 (Thread 0x7f22cd747700 (LWP 25174)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76f30, abstime=0x7f22cd746dd0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76f30, time_in_usec=5000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f87061 in srv_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1735
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 15 (Thread 0x7f22cf14f700 (LWP 25170)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b77030, abstime=0x7f22cf14e8d0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b77030, time_in_usec=457000, reset_sig_count=2) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x000000000107cf1c in pc_sleep_if_needed (next_loop_time=1514820827834, sig_count=2, cur_time=1514820827377) at /home/travis/src/storage/innobase/buf/buf0flu.cc:2711
            #5 0x000000000107e139 in buf_flush_page_cleaner_coordinator () at /home/travis/src/storage/innobase/buf/buf0flu.cc:3209
            #6 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #7 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #8 0x0000000000000000 in ?? ()

            Thread 14 (Thread 0x7f22cdf48700 (LWP 25173)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x2b76eb0, abstime=0x7f22cdf47af0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x2b76eb0, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000f87548 in srv_error_monitor_thread () at /home/travis/src/storage/innobase/srv/srv0srv.cc:1904
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 13 (Thread 0x7f22d0952700 (LWP 25167)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0951be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0951be0, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=7, m1=0x7f22d0951de8, m2=0x7f22d0951df0, request=0x7f22d0951dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=7) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749298) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 12 (Thread 0x7f22ce749700 (LWP 25172)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x0000000000e86828 in os_event::timed_wait (this=0x3114450, abstime=0x7f22ce748df0) at /home/travis/src/storage/innobase/os/os0event.cc:286
            #2 0x0000000000e86b53 in os_event::wait_time_low (this=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:413
            #3 0x0000000000e86d30 in os_event_wait_time_low (event=0x3114450, time_in_usec=1000000, reset_sig_count=1) at /home/travis/src/storage/innobase/os/os0event.cc:518
            #4 0x0000000000e52c3d in lock_wait_timeout_thread () at /home/travis/src/storage/innobase/lock/lock0wait.cc:547
            #5 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #6 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #7 0x0000000000000000 in ?? ()

            Thread 11 (Thread 0x7f22d1153700 (LWP 25166)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1152be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1152be0, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=6, m1=0x7f22d1152de8, m2=0x7f22d1152df0, request=0x7f22d1152dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=6) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749290) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 10 (Thread 0x7f22cf950700 (LWP 25169)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22cf94fbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22cf94fbe0, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=9, m1=0x7f22cf94fde8, m2=0x7f22cf94fdf0, request=0x7f22cf94fdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=9) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x27492a8) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 9 (Thread 0x7f22d1954700 (LWP 25165)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d1953be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d1953be0, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=5, m1=0x7f22d1953de8, m2=0x7f22d1953df0, request=0x7f22d1953dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=5) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749288) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 8 (Thread 0x7f22d0151700 (LWP 25168)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d0150be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d0150be0, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=8, m1=0x7f22d0150de8, m2=0x7f22d0150df0, request=0x7f22d0150dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=8) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x27492a0) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 7 (Thread 0x7f22d2155700 (LWP 25164)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2154be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2154be0, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=4, m1=0x7f22d2154de8, m2=0x7f22d2154df0, request=0x7f22d2154dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=4) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749280) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 6 (Thread 0x7f22d2956700 (LWP 25163)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d2955be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d2955be0, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=3, m1=0x7f22d2955de8, m2=0x7f22d2955df0, request=0x7f22d2955dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=3) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749278) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 5 (Thread 0x7f22d3157700 (LWP 25162)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22d3156be0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22d3156be0, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=2, m1=0x7f22d3156de8, m2=0x7f22d3156df0, request=0x7f22d3156dd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=2) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749270) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 4 (Thread 0x7f22e891c700 (LWP 25161)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e891bbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e891bbe0, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=1, m1=0x7f22e891bde8, m2=0x7f22e891bdf0, request=0x7f22e891bdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=1) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749268) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 3 (Thread 0x7f22e911d700 (LWP 25160)):
            #0 0x00007f22eda1c644 in ?? () from /lib/x86_64-linux-gnu/libaio.so.1
            #1 0x0000000000e7a32c in LinuxAIOHandler::collect (this=0x7f22e911cbe0) at /home/travis/src/storage/innobase/os/os0file.cc:1893
            #2 0x0000000000e7a7c6 in LinuxAIOHandler::poll (this=0x7f22e911cbe0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2038
            #3 0x0000000000e7a91e in os_aio_linux_handler (global_segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:2092
            #4 0x0000000000e7f213 in os_aio_handler (segment=0, m1=0x7f22e911cde8, m2=0x7f22e911cdf0, request=0x7f22e911cdd0) at /home/travis/src/storage/innobase/os/os0file.cc:5720
            #5 0x00000000010f916c in fil_aio_wait (segment=0) at /home/travis/src/storage/innobase/fil/fil0fil.cc:5290
            #6 0x0000000000f8c064 in io_handler_thread (arg=0x2749260) at /home/travis/src/storage/innobase/srv/srv0start.cc:340
            #7 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #8 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #9 0x0000000000000000 in ?? ()

            Thread 2 (Thread 0x7f22ebc97700 (LWP 25159)):
            #0 0x00007f22ec9730fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124bace in safe_cond_timedwait (cond=0x2760880, mp=0x27607c0, abstime=0x7f22ebc96e70, file=0x164a680 "/home/travis/src/include/mysql/psi/mysql_thread.h", line=1186) at /home/travis/src/mysys/thr_mutex.c:546
            #2 0x000000000124cac4 in inline_mysql_cond_timedwait (that=0x2760880, mutex=0x27607c0, abstime=0x7f22ebc96e70, src_file=0x164a6b8 "/home/travis/src/mysys/thr_timer.c", src_line=292) at /home/travis/src/include/mysql/psi/mysql_thread.h:1186
            #3 0x000000000124d62a in timer_handler (arg=0x0) at /home/travis/src/mysys/thr_timer.c:292
            #4 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #5 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000000000 in ?? ()

            Thread 1 (Thread 0x7f22e9475700 (LWP 25203)):
            #0 0x00007f22ec973f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0
            #1 0x000000000124605b in my_write_core (sig=6) at /home/travis/src/mysys/stacktrace.c:481
            #2 0x0000000000a75ac7 in handle_fatal_signal (sig=6) at /home/travis/src/sql/signal_handler.cc:303
            #3 <signal handler called>
            #4 0x00007f22ebdca035 in raise () from /lib/x86_64-linux-gnu/libc.so.6
            #5 0x00007f22ebdcd79b in abort () from /lib/x86_64-linux-gnu/libc.so.6
            #6 0x0000000000ff17af in ut_dbg_assertion_failed (expr=0x14dbe88 "state == TRX_STATE_NOT_STARTED || state == TRX_STATE_FORCED_ROLLBACK || (relaxed && thd_get_error_number(trx->mysql_thd))", file=0x14dbd28 "/home/travis/src/storage/innobase/include/trx0trx.ic", line=73) at /home/travis/src/storage/innobase/ut/ut0dbg.cc:61
            #7 0x0000000000daa066 in trx_state_eq (trx=0x7f22e993e198, state=TRX_STATE_ACTIVE, relaxed=false) at /home/travis/src/storage/innobase/include/trx0trx.ic:70
            #8 0x0000000000dbb614 in ha_innobase::unlock_row (this=0x7f22a00ceac8) at /home/travis/src/storage/innobase/handler/ha_innodb.cc:9322
            #9 0x00000000007fdf02 in rr_unlock_row (tab=0x7f22ac17b648) at /home/travis/src/sql/sql_select.cc:10821
            #10 0x0000000000811d72 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, error=0) at /home/travis/src/sql/sql_select.cc:19027
            #11 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b648, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #12 0x0000000000811c70 in evaluate_join_record (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, error=0) at /home/travis/src/sql/sql_select.cc:19003
            #13 0x0000000000811550 in sub_select (join=0x7f22ac0b9f48, join_tab=0x7f22ac17b298, end_of_records=false) at /home/travis/src/sql/sql_select.cc:18783
            #14 0x0000000000810ab2 in do_select (join=0x7f22ac0b9f48, procedure=0x0) at /home/travis/src/sql/sql_select.cc:18323
            #15 0x00000000007eb29b in JOIN::exec_inner (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3620
            #16 0x00000000007ea730 in JOIN::exec (this=0x7f22ac0b9f48) at /home/travis/src/sql/sql_select.cc:3415
            #17 0x00000000007eb9a6 in mysql_select (thd=0x7f22ac00b060, tables=0x7f22ac0203a8, wild_num=0, fields=..., conds=0x7f22ac04b038, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=551097991296, result=0x7f22ac0b9e80, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0) at /home/travis/src/sql/sql_select.cc:3819
            #18 0x000000000089344b in mysql_multi_update (thd=0x7f22ac00b060, table_list=0x7f22ac0203a8, fields=0x7f22ac00f5f0, values=0x7f22ac00fad8, conds=0x7f22ac04b038, options=549755813888, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f22ac00ed98, select_lex=0x7f22ac00f4d0, result=0x7f22e94735f0) at /home/travis/src/sql/sql_update.cc:1677
            #19 0x00000000007a4292 in mysql_execute_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:4618
            #20 0x00000000007aee67 in mysql_parse (thd=0x7f22ac00b060, rawbuf=0x7f22ac01f688 "UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_null"..., length=691, parser_state=0x7f22e9474490, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:7966
            #21 0x000000000079c53a in dispatch_command (command=COM_QUERY, thd=0x7f22ac00b060, packet=0x7f22ac017551 " UPDATE ( `table100_innodb_int_autoinc` AS alias1 RIGHT JOIN `view_table20_innodb_int_autoinc_0` AS alias2 ON (( alias2.`col_date_not_null` <> alias1.`col_int_null_key` ) AND (alias2.`col_date_not_nul"..., packet_length=693, is_com_multi=false, is_next_command=false) at /home/travis/src/sql/sql_parse.cc:1824
            #22 0x000000000079af61 in do_command (thd=0x7f22ac00b060) at /home/travis/src/sql/sql_parse.cc:1369
            #23 0x00000000008f239f in do_handle_one_connection (connect=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1420
            #24 0x00000000008f2121 in handle_one_connection (arg=0x3556ec0) at /home/travis/src/sql/sql_connect.cc:1326
            #25 0x00007f22ec96ee9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
            #26 0x00007f22ebe8a2ed in clone () from /lib/x86_64-linux-gnu/libc.so.6
            #27 0x0000000000000000 in ?? ()
            {noformat}

            No command line yet, but should be similar to
            {noformat}
            perl ./runall-new.pl --mysqld=--max-statement-time=30 --seed=1514825335 --threads=4 --duration=350 --reporters=Backtrace,ErrorLog,Deadlock --transformers=ExecuteAsIntersect,ExecuteAsExcept --validators=TransformerNoComparator --grammar=conf/mariadb/multi_update.yy --gendata=conf/mariadb/multi_update.zz --engine=InnoDB --basedir1=/data/bld/10.3 --vardir=/dev/shm/vardir
            {noformat}

            Not easily reproducible.
            midenok Aleksey Midenkov made changes -
            Assignee Aleksey Midenkov [ midenok ] Oleksandr Byelkin [ sanja ]
            Status Confirmed [ 10101 ] In Review [ 10002 ]
            midenok Aleksey Midenkov made changes -
            Assignee Oleksandr Byelkin [ sanja ] Rucha Deodhar [ rucha174 ]
            midenok Aleksey Midenkov made changes -
            Assignee Rucha Deodhar [ rucha174 ] Oleksandr Byelkin [ sanja ]

            OK to push

            sanja Oleksandr Byelkin added a comment - OK to push
            sanja Oleksandr Byelkin made changes -
            Assignee Oleksandr Byelkin [ sanja ] Aleksey Midenkov [ midenok ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            midenok Aleksey Midenkov made changes -
            Status Stalled [ 10000 ] In Progress [ 3 ]
            midenok Aleksey Midenkov made changes -
            Fix Version/s 10.2.41 [ 26032 ]
            Fix Version/s 10.3.32 [ 26029 ]
            Fix Version/s 10.4.22 [ 26031 ]
            Fix Version/s 10.5.13 [ 26026 ]
            Fix Version/s 10.6.5 [ 26034 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 84696 ] MariaDB v4 [ 153496 ]

            People

              midenok Aleksey Midenkov
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.