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

innodb.innodb_simulate_comp_failures_small failed in buildbot with AddressSanitizer: use-after-poison in mach_read_from_1

    XMLWordPrintable

Details

    Description

      http://buildbot.askmonty.org/buildbot/builders/kvm-asan/builds/1791

      10.3 e1e142e7fca77f24a26a789fd6116896

      innodb.innodb_simulate_comp_failures_small 'innodb' w1 [ fail ]
              Test ended at 2019-07-31 12:19:10
       
      CURRENT_TEST: innodb.innodb_simulate_comp_failures_small
      mysqltest: In included file "./suite/innodb/include/innodb_simulate_comp_failures.inc": 
      included from /home/buildbot/buildbot/build/mariadb-10.3.18/mysql-test/suite/innodb/t/innodb_simulate_comp_failures_small.test at line 7:
      At line 143: query 'let $cnt = query_get_value(SELECT COUNT(*) cnt FROM t1 WHERE id=$idx, cnt, 1)' failed: 2013: Lost connection to MySQL server during query
       
      The result from queries just before the failure was:
      < snip >
      #
      CREATE TABLE t1(id INT AUTO_INCREMENT PRIMARY KEY, msg VARCHAR(255), KEY msg_i(msg)) ENGINE=INNODB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;
      SHOW CREATE TABLE t1;
      Table	Create Table
      t1	CREATE TABLE `t1` (
        `id` int(11) NOT NULL AUTO_INCREMENT,
        `msg` varchar(255) DEFAULT NULL,
        PRIMARY KEY (`id`),
        KEY `msg_i` (`msg`)
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8
      SET GLOBAL innodb_simulate_comp_failures = 25;
      COMMIT;
      SELECT COUNT(id) FROM t1;
      COUNT(id)
      1000
       
      More results from queries before failure can be found in /dev/shm/var/1/log/innodb_simulate_comp_failures_small.log
       
       
      Server [mysqld.1 - pid: 29467, winpid: 29467, exit: 256] failed during test run
      Server log from this test:
      ----------SERVER LOG START-----------
      2019-07-31 12:18:58 0 [Note] /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld (mysqld 10.3.18-MariaDB-debug-log) starting as process 29468 ...
      2019-07-31 12:18:58 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4186)
      2019-07-31 12:18:58 0 [Warning] Changed limits: max_open_files: 1024  max_connections: 151 (was 151)  table_cache: 421 (was 2000)
      2019-07-31 12:18:58 0 [Warning] setrlimit could not change the size of core files to 'infinity';  We may not be able to generate a core file on signals
      2019-07-31 12:18:58 0 [Note] Plugin 'partition' is disabled.
      2019-07-31 12:18:58 0 [Note] InnoDB: Using Linux native AIO
      2019-07-31 12:18:58 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
      2019-07-31 12:18:58 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2019-07-31 12:18:58 0 [Note] InnoDB: Uses event mutexes
      2019-07-31 12:18:58 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
      2019-07-31 12:18:58 0 [Note] InnoDB: Number of pools: 1
      2019-07-31 12:18:58 0 [Note] InnoDB: Using generic crc32 instructions
      2019-07-31 12:18:58 0 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
      2019-07-31 12:18:58 0 [Note] InnoDB: Completed initialization of buffer pool
      2019-07-31 12:18:58 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
      2019-07-31 12:18:58 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2019-07-31 12:18:58 0 [Note] InnoDB: Creating shared tablespace for temporary tables
      2019-07-31 12:18:58 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2019-07-31 12:18:58 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
      2019-07-31 12:18:58 0 [Note] InnoDB: Waiting for purge to start
      2019-07-31 12:18:58 0 [Note] InnoDB: 10.3.18 started; log sequence number 1642555; transaction id 34
      2019-07-31 12:18:58 0 [Note] InnoDB: Loading buffer pool(s) from /dev/shm/var/1/mysqld.1/data/ib_buffer_pool
      2019-07-31 12:18:58 0 [Note] Plugin 'SEQUENCE' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_MUTEXES' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_CMP' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'FEEDBACK' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
      2019-07-31 12:18:58 0 [Note] InnoDB: Buffer pool(s) load completed at 190731 12:18:58
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'user_variables' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
      2019-07-31 12:18:58 0 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
      2019-07-31 12:18:58 0 [Warning] /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld: unknown option '--loose-pam-debug'
      2019-07-31 12:18:58 0 [Note] Server socket created on IP: '127.0.0.1'.
      2019-07-31 12:18:59 0 [Note] Reading of all Master_info entries succeeded
      2019-07-31 12:18:59 0 [Note] Added new Master_info '' to hash table
      2019-07-31 12:18:59 0 [Note] /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld: ready for connections.
      Version: '10.3.18-MariaDB-debug-log'  socket: '/dev/shm/var/tmp/1/mysqld.1.sock'  port: 16000  Source distribution
      2019-07-31 12:19:00 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 4(leaf)
      2019-07-31 12:19:01 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 8(leaf)
      2019-07-31 12:19:01 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 8(leaf)
      2019-07-31 12:19:01 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 7(leaf)
      2019-07-31 12:19:02 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 12(leaf)
      2019-07-31 12:19:02 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 12(leaf)
      2019-07-31 12:19:02 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 14(leaf)
      2019-07-31 12:19:02 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 14(leaf)
      2019-07-31 12:19:03 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 17(leaf)
      2019-07-31 12:19:03 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 17(leaf)
      2019-07-31 12:19:04 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 19(leaf)
      2019-07-31 12:19:04 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 11(leaf)
      2019-07-31 12:19:04 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 20(leaf)
      2019-07-31 12:19:04 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 8(leaf)
      2019-07-31 12:19:05 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 24(leaf)
      2019-07-31 12:19:06 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 7(leaf)
      2019-07-31 12:19:06 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 7(leaf)
      2019-07-31 12:19:06 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 27(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 11(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 11(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 31(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 31(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 22(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 35(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 33(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 25(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 35(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 35(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 35(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 35(leaf)
      2019-07-31 12:19:07 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 36(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 29(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 18(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 42(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 44(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 42(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 42(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 45(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 45(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 45(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 16(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 16(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 16(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 45(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 43(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 43(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 46(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 43(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 43(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 43(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index msg_i page 46(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 12(leaf)
      2019-07-31 12:19:08 9 [ERROR] InnoDB: Simulating a compression failure for table `test`.`t1` index PRIMARY page 16(leaf)
      =================================================================
      ==29468==ERROR: AddressSanitizer: use-after-poison on address 0x7f3404f5de02 at pc 0x000001a8bfa8 bp 0x7f33f88340c0 sp 0x7f33f88340b0
      READ of size 1 at 0x7f3404f5de02 thread T27
          #0 0x1a8bfa7 in mach_read_from_1 /home/buildbot/buildbot/build/mariadb-10.3.18/storage/innobase/include/mach0data.ic:72
          #1 0x1a8fa7d in rec_get_bit_field_1 /home/buildbot/buildbot/build/mariadb-10.3.18/storage/innobase/include/rem0rec.ic:156
          #2 0x1a8fcd2 in rec_get_deleted_flag /home/buildbot/buildbot/build/mariadb-10.3.18/storage/innobase/include/rem0rec.ic:659
          #3 0x1aa86cb in row_search_mvcc(unsigned char*, page_cur_mode_t, row_prebuilt_t*, unsigned long, unsigned long) /home/buildbot/buildbot/build/mariadb-10.3.18/storage/innobase/row/row0sel.cc:4392
          #4 0x17a7176 in ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) /home/buildbot/buildbot/build/mariadb-10.3.18/storage/innobase/handler/ha_innodb.cc:9326
          #5 0x1011f7e in handler::index_read_map(unsigned char*, unsigned char const*, unsigned long, ha_rkey_function) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/handler.h:3473
          #6 0x10061a7 in handler::index_read_idx_map(unsigned char*, unsigned int, unsigned char const*, unsigned long, ha_rkey_function) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/handler.cc:5973
          #7 0xff11a0 in handler::ha_index_read_idx_map(unsigned char*, unsigned int, unsigned char const*, unsigned long, ha_rkey_function) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/handler.cc:2925
          #8 0x9fa65a in join_read_const /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_select.cc:20069
          #9 0x9f95e1 in join_read_const_table /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_select.cc:19944
          #10 0x99700b in make_join_statistics /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_select.cc:4818
          #11 0x97c12e in JOIN::optimize_inner() /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_select.cc:1891
          #12 0x977e03 in JOIN::optimize() /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_select.cc:1453
          #13 0x992534 in mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_select.cc:4229
          #14 0x96d3b3 in handle_select(THD*, LEX*, select_result*, unsigned long) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_select.cc:386
          #15 0x8f108d in execute_sqlcom_select /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_parse.cc:6286
          #16 0x8e0fee in mysql_execute_command(THD*) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_parse.cc:3816
          #17 0x8f9be7 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_parse.cc:7829
          #18 0x8d5903 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_parse.cc:1856
          #19 0x8d29c6 in do_command(THD*) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_parse.cc:1402
          #20 0xc3749b in do_handle_one_connection(CONNECT*) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_connect.cc:1403
          #21 0xc36e54 in handle_one_connection /home/buildbot/buildbot/build/mariadb-10.3.18/sql/sql_connect.cc:1308
          #22 0x150ff30 in pfs_spawn_thread /home/buildbot/buildbot/build/mariadb-10.3.18/storage/perfschema/pfs.cc:1862
          #23 0x7f340fdc96b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
          #24 0x7f340f25e82c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10682c)
       
      AddressSanitizer can not describe address in more detail (wild memory access suspected).
      SUMMARY: AddressSanitizer: use-after-poison /home/buildbot/buildbot/build/mariadb-10.3.18/storage/innobase/include/mach0data.ic:72 mach_read_from_1
      Shadow bytes around the buggy address:
        0x0fe7009e3b70: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
        0x0fe7009e3b80: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
        0x0fe7009e3b90: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
        0x0fe7009e3ba0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
        0x0fe7009e3bb0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
      =>0x0fe7009e3bc0:[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
        0x0fe7009e3bd0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
        0x0fe7009e3be0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
        0x0fe7009e3bf0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
        0x0fe7009e3c00: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
        0x0fe7009e3c10: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
      Shadow byte legend (one shadow byte represents 8 application bytes):
        Addressable:           00
        Partially addressable: 01 02 03 04 05 06 07 
        Heap left redzone:       fa
        Heap right redzone:      fb
        Freed heap region:       fd
        Stack left redzone:      f1
        Stack mid redzone:       f2
        Stack right redzone:     f3
        Stack partial redzone:   f4
        Stack after return:      f5
        Stack use after scope:   f8
        Global redzone:          f9
        Global init order:       f6
        Poisoned by user:        f7
        Container overflow:      fc
        Array cookie:            ac
        Intra object redzone:    bb
        ASan internal:           fe
      Thread T27 created by T0 here:
          #0 0x7f3411545253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
          #1 0x151031d in spawn_thread_v1 /home/buildbot/buildbot/build/mariadb-10.3.18/storage/perfschema/pfs.cc:1912
          #2 0x648df0 in inline_mysql_thread_create /home/buildbot/buildbot/build/mariadb-10.3.18/include/mysql/psi/mysql_thread.h:1268
          #3 0x65e3d7 in create_thread_to_handle_connection(CONNECT*) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld.cc:6608
          #4 0x65eafb in create_new_thread /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld.cc:6678
          #5 0x65fb5b in handle_connections_sockets() /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld.cc:6953
          #6 0x65d827 in mysqld_main(int, char**) /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld.cc:6230
          #7 0x646e15 in main /home/buildbot/buildbot/build/mariadb-10.3.18/sql/main.cc:25
          #8 0x7f340f17882f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
       
      ==29468==ABORTING
      190731 12:19:09 [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.18-MariaDB-debug-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=1
      max_threads=153
      thread_count=7
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63283 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x62a000090208
      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 = 0x7f33f8838870 thread_stack 0x5fc00
      /usr/lib/x86_64-linux-gnu/libasan.so.2(+0x4a077)[0x7f3411559077]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(my_print_stacktrace+0xce)[0x20c7b90]
      include/buf0buf.ic:1166(buf_page_hash_get_locked(buf_pool_t*, page_id_t, rw_lock_t**, unsigned long, bool))[0xfdc120]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f340fdd3390]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f340f18d428]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f340f18f02a]
      /usr/lib/x86_64-linux-gnu/libasan.so.2(+0xaddc9)[0x7f34115bcdc9]
      /usr/lib/x86_64-linux-gnu/libasan.so.2(+0xa0769)[0x7f34115af769]
      /usr/lib/x86_64-linux-gnu/libasan.so.2(+0xa55d2)[0x7f34115b45d2]
      /usr/lib/x86_64-linux-gnu/libasan.so.2(__asan_report_error+0x416)[0x7f34115ae6e6]
      /usr/lib/x86_64-linux-gnu/libasan.so.2(__asan_report_load1+0x33)[0x7f34115afb13]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld[0x1a8bfa8]
      maria/ma_blockrec.c:4078(delete_dir_entry)[0x1a8fa7e]
      maria/ma_blockrec.c:4650(read_long_data2)[0x1a8fcd3]
      maria/ma_blockrec.c:4665(read_long_data2)[0x1aa86cc]
      maria/ma_bitmap.c:971(_ma_get_bitmap_description)[0x17a7177]
      sql/sp.cc:2441(Sp_handler::sp_resolve_package_routine_explicit(THD*, sp_head*, sp_name*, Sp_handler const**, Database_qualified_name*) const)[0x1011f7f]
      sql/rpl_rli.cc:1658(scan_all_gtid_slave_pos_table(THD*, int (*)(THD*, st_mysql_const_lex_string*, void*), void*))[0x10061a8]
      psi/mysql_thread.h:1163(inline_mysql_cond_wait)[0xff11a1]
      sql/partition_info.cc:2092(partition_info::get_column_item(Item*, Field*))[0x9fa65b]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld[0x9f95e2]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld[0x99700c]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(_ZN4JOIN14optimize_innerEv+0x3cd1)[0x97c12f]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(_ZN4JOIN8optimizeEv+0x12c)[0x977e04]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x58d)[0x992535]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x4c5)[0x96d3b4]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld[0x8f108e]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(_Z21mysql_execute_commandP3THD+0x3ac5)[0x8e0fef]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x6b1)[0x8f9be8]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1eb9)[0x8d5904]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(_Z10do_commandP3THD+0x117e)[0x8d29c7]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x48c)[0xc3749c]
      /home/buildbot/buildbot/build/mariadb-10.3.18/sql/mysqld(handle_one_connection+0x55)[0xc36e55]
      sql/sql_lex.h:1423(st_select_lex_unit::is_unit_op())[0x150ff31]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f340fdc96ba]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f340f25e82d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x62b000000228): SELECT COUNT(*) cnt FROM t1 WHERE id=594
      Connection ID (thread ID): 9
      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...
      Working directory at /dev/shm/var/1/mysqld.1/data
      Resource Limits:
      Limit                     Soft Limit           Hard Limit           Units     
      Max cpu time              unlimited            unlimited            seconds   
      Max file size             unlimited            unlimited            bytes     
      Max data size             unlimited            unlimited            bytes     
      Max stack size            8388608              unlimited            bytes     
      Max core file size        0                    0                    bytes     
      Max resident set          unlimited            unlimited            bytes     
      Max processes             23715                23715                processes 
      Max open files            1024                 1024                 files     
      Max locked memory         65536                65536                bytes     
      Max address space         unlimited            unlimited            bytes     
      Max file locks            unlimited            unlimited            locks     
      Max pending signals       23715                23715                signals   
      Max msgqueue size         819200               819200               bytes     
      Max nice priority         0                    0                    
      Max realtime priority     0                    0                    
      Max realtime timeout      unlimited            unlimited            us        
      Core pattern: |/usr/share/apport/apport %p %s %c %P
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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