Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-4046

Ship assert failure: 'res == 0' (bulk loader)

    XMLWordPrintable

    Details

      Description

      # mysqld options required for replay: --plugin-load-add=rocksdb=ha_rocksdb.so --sql_mode=ONLY_FULL_GROUP_BY --server-id=1
      CREATE DATABASE test;
      USE test;
      CREATE TABLE t1(c1 INT UNSIGNED,PRIMARY KEY(c1)) engine=RocksDB;
      set rocksdb_bulk_load=1;
      CREATE TABLE t2(a INT,b INT,c BINARY(1),d CHAR (1),e BINARY (1),f VARCHAR(1),g BLOB,h BLOB,id INT,KEY(b),KEY(e),PRIMARY KEY(id)) ENGINE=RocksDB;
      INSERT INTO t2 VALUES(0,0,'gYWQSV3pFbB38afGYnzbSGx','urDQwZB6ZGe7mPaGMrO','hk3MKMlTOGLTrjWiTBxN7sVxkxwP1MJrnXq','yBjBwIPI84ZwthzqVMii7y4scD',0,0,0);
      INSERT INTO t1 VALUES(0xD0),(0xD1),(0xD2),(0xD3),(0xD4),(0xD5),(0xD6),(0xD7);
      INSERT INTO t2 VALUES(0,0,'04dFFwxrWudtyRW','JsrWkUXtPp2psIDH7XGW','V29lN',0,'r4',0,0);
      insert into t1 values(1);
      
      2017-12-07T09:03:40.578510Z 0 [Note] /sda/PS051217-percona-server-5.7.20-18-linux-x86_64-debug/bin/mysqld: ready for connections.
      Version: '5.7.20-18-debug' socket: '/sda/PS051217-percona-server-5.7.20-18-linux-x86_64-debug/socket.sock' port: 12167 MySQL Community Server (GPL)
      2017-12-07T09:03:40.578533Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check.
      2017-12-07T09:03:40.578537Z 0 [Note] Beginning of list of non-natively partitioned tables
      2017-12-07T09:03:40.598513Z 0 [Note] End of list of non-natively partitioned tables
      
      Ship assert failure: 'res == 0'
      09:04:17 UTC - mysqld got signal 6 ;
      Core was generated by `/sda/PS051217-percona-server-5.7.20-18-linux-x86_64-debug/bin/mysqld --no-defau'.Core was generated by `/sda/PS051217-percona-server-5.7.20-18-linux-x86_64-debug/bin/mysqld --no-defau'.Program terminated with signal 6, Aborted.#0  0x00007ff56e3a89b1 in __pthread_kill (threadid=<optimized out>, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:6161   val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),(gdb) bt#0  0x00007ff56e3a89b1 in __pthread_kill (threadid=<optimized out>, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61#1  0x0000000001865819 in my_write_core (sig=6) at /git/PS-5.7-trunk_dbg/mysys/stacktrace.c:249#2  0x0000000000e8be45 in handle_fatal_signal (sig=6) at /git/PS-5.7-trunk_dbg/sql/signal_handler.cc:223#3  <signal handler called>#4  0x00007ff56c6c01f7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56#5  0x00007ff56c6c18e8 in __GI_abort () at abort.c:90#6  0x00007ff52ec8d90c in myrocks::Rdb_transaction::start_bulk_load (this=0x7ff4f4d651e0, bulk_load=0x7ff4f482a830)    at /git/PS-5.7-trunk_dbg/storage/rocksdb/ha_rocksdb.cc:1937#7  0x00007ff52ec74329 in myrocks::ha_rocksdb::bulk_load_key (this=0x7ff4f482a830, tx=0x7ff4f4d651e0, kd=..., key=..., value=...,     sort=false) at /git/PS-5.7-trunk_dbg/storage/rocksdb/ha_rocksdb.cc:8200#8  0x00007ff52ec74bf0 in myrocks::ha_rocksdb::update_pk (this=0x7ff4f482a830, kd=..., row_info=...,     pk_changed=@0x7ff56e993b9f: false) at /git/PS-5.7-trunk_dbg/storage/rocksdb/ha_rocksdb.cc:8313#9  0x00007ff52ec752e9 in myrocks::ha_rocksdb::update_indexes (this=0x7ff4f482a830, row_info=..., pk_changed=@0x7ff56e993b9f: false)    at /git/PS-5.7-trunk_dbg/storage/rocksdb/ha_rocksdb.cc:8425#10 0x00007ff52ec755ad in myrocks::ha_rocksdb::update_write_row (this=0x7ff4f482a830, old_data=0x0,     new_data=0x7ff4f4cc7830 "\377\001", skip_unique_check=true) at /git/PS-5.7-trunk_dbg/storage/rocksdb/ha_rocksdb.cc:8497#11 0x00007ff52ec731c3 in myrocks::ha_rocksdb::write_row (this=0x7ff4f482a830, buf=0x7ff4f4cc7830 "\377\001")    at /git/PS-5.7-trunk_dbg/storage/rocksdb/ha_rocksdb.cc:7849#12 0x0000000000f2a404 in handler::ha_write_row (this=0x7ff4f482a830, buf=0x7ff4f4cc7830 "\377\001")    at /git/PS-5.7-trunk_dbg/sql/handler.cc:8437#13 0x000000000174f65a in write_record (thd=0x7ff4f4812000, table=0x7ff4f4907e20, info=0x7ff56e993f00, update=0x7ff56e993f80)    at /git/PS-5.7-trunk_dbg/sql/sql_insert.cc:1875#14 0x000000000174c7d1 in Sql_cmd_insert::mysql_insert (this=0x7ff4f4b3f100, thd=0x7ff4f4812000, table_list=0x7ff4f4b3eb70)    at /git/PS-5.7-trunk_dbg/sql/sql_insert.cc:769#15 0x000000000175315d in Sql_cmd_insert::execute (this=0x7ff4f4b3f100, thd=0x7ff4f4812000)    at /git/PS-5.7-trunk_dbg/sql/sql_insert.cc:3117#16 0x000000000152e3d5 in mysql_execute_command (thd=0x7ff4f4812000, first_level=true)    at /git/PS-5.7-trunk_dbg/sql/sql_parse.cc:3749#17 0x0000000001534322 in mysql_parse (thd=0x7ff4f4812000, parser_state=0x7ff56e9954b0)    at /git/PS-5.7-trunk_dbg/sql/sql_parse.cc:5895#18 0x0000000001528ea9 in dispatch_command (thd=0x7ff4f4812000, com_data=0x7ff56e995c90, command=COM_QUERY)    at /git/PS-5.7-trunk_dbg/sql/sql_parse.cc:1493#19 0x0000000001527cef in do_command (thd=0x7ff4f4812000) at /git/PS-5.7-trunk_dbg/sql/sql_parse.cc:1021#20 0x000000000166781e in handle_connection (arg=0x7ff4f4811040)    at /git/PS-5.7-trunk_dbg/sql/conn_handler/connection_handler_per_thread.cc:312#21 0x000000000189448d in pfs_spawn_thread (arg=0x7ff560bebd20) at /git/PS-5.7-trunk_dbg/storage/perfschema/pfs.cc:2190#22 0x00007ff56e3a3e25 in start_thread (arg=0x7ff56e996700) at pthread_create.c:308#23 0x00007ff56c78334d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                george.lorch George Lorch
                Reporter:
                roel.vandepaar Roel Van de Paar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: