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

handle_fatal_signal (sig=11) in myrocks::Rdb_index_merge::add | rocksdb/rdb_index_merge.cc:153

    Details

    • Type: Bug
    • Status: On Hold
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 8.0.13-3, 5.7.24-26
    • Fix Version/s: None
    • Component/s: MyRocks
    • Labels:

      Description

      Testcase

      rm -Rf /dev/shm/1545807494
      mkdir -p /dev/shm/1545807494/tmp
      
      /home/ramesh/PS121218-percona-server-5.7.24-26-linux-x86_64-debug/bin/mysqld --no-defaults --initialize-insecure  --basedir=/home/ramesh/PS121218-percona-server-5.7.24-26-linux-x86_64-debug --datadir=/dev/shm/1545807494/data
      
      /home/ramesh/PS121218-percona-server-5.7.24-26-linux-x86_64-debug/bin/mysqld --no-defaults --basedir=/home/ramesh/PS121218-percona-server-5.7.24-26-linux-x86_64-debug --datadir=/dev/shm/1545807494/data --tmpdir=/dev/shm/1545807494/tmp --port=30402 --pid-file=/dev/shm/1545807494/pid.pid --core-file --socket=/dev/shm/1545807494/socket.sock --plugin-load-add=RocksDB=ha_rocksdb.so --sql_mode=  --log-error=/dev/shm/1545807494/error.log.out & 
      
      
      CREATE DATABASE test;
      USE test;
      CREATE TABLE t1(a INT,b INT UNSIGNED,c BINARY(1),d CHAR (1),e VARCHAR(1),f VARCHAR(1),g BLOB,h BLOB,id INT,KEY(b),KEY(e),PRIMARY KEY(id)) ENGINE=RocksDB;
      SET rocksdb_bulk_load_allow_unsorted=1;
      set session rocksdb_tmpdir='a';
      set rocksdb_bulk_load=1;
      INSERT INTO t1 VALUES(0,0,'1QNB','Y3xEptZUXxJdC3TPVDbmKWSvUnqqNwrjwovWCfGCLQwaliohY9cYW8IgwYxzwJvlaj0YogNBpyxpr6u3j2rc70ROppq96ikzRgQd9fsJDjgkfCdx8LATpzeRM6qPNx90vvTVII67kvMsFgqCgvufwhCRuvhtye54QeruI0RyCfs0PBfFgh7hLImPBFsfnmC','fcsQDytXnlWdF0B74bl1wVHW40iTxgS','TGgIQhMDBb2O2BtPHx47ca0emT4hErfCBe7HXjv6PuPhFilXjTfoTd5oTuQiQ64bnTO',0,0,0);
      INSERT INTO t1 VALUES(0,0,'1QNB','Y3xEptZUXxJdC3TPVDbmKWSvUnqqNwrjwovWCfGCLQwaliohY9cYW8IgwYxzwJvlaj0YogNBpyxpr6u3j2rc70ROppq96ikzRgQd9fsJDjgkfCdx8LATpzeRM6qPNx90vvTVII67kvMsFgqCgvufwhCRuvhtye54QeruI0RyCfs0PBfFgh7hLImPBFsfnmC','fcsQDytXnlWdF0B74bl1wVHW40iTxgS','TGgIQhMDBb2O2BtPHx47ca0emT4hErfCBe7HXjv6PuPhFilXjTfoTd5oTuQiQ64bnTO',0,0,0);
      

      GDB info

      #0  __pthread_kill (threadid=<optimized out>, signo=11) at ../sysdeps/unix/sysv/linux/pthread_kill.c:62
      #1  0x00000000045b0a64 in my_write_core (sig=11) at /home/ramesh/pquery/PS-8.0-release_dbg/mysys/stacktrace.cc:278
      #2  0x0000000003445111 in handle_fatal_signal (sig=11) at /home/ramesh/pquery/PS-8.0-release_dbg/sql/signal_handler.cc:254
      #3  <signal handler called>
      #4  0x00007f44d9f8eec4 in myrocks::Rdb_index_merge::add (this=0x7f447c100640, key=..., val=...) at /home/ramesh/pquery/PS-8.0-release_dbg/storage/rocksdb/rdb_index_merge.cc:153
      #5  0x00007f44d9ed3502 in myrocks::ha_rocksdb::bulk_load_key (this=0x7f447c129ab8, tx=0x7f447c14c200, kd=..., key=..., value=..., sort=true) at /home/ramesh/pquery/PS-8.0-release_dbg/storage/rocksdb/ha_rocksdb.cc:8803
      #6  0x00007f44d9ed3909 in myrocks::ha_rocksdb::update_pk (this=0x7f447c129ab8, kd=..., row_info=..., pk_changed=@0x7f455fe5687b: false) at /home/ramesh/pquery/PS-8.0-release_dbg/storage/rocksdb/ha_rocksdb.cc:8864
      #7  0x00007f44d9ed401a in myrocks::ha_rocksdb::update_indexes (this=0x7f447c129ab8, row_info=..., pk_changed=@0x7f455fe5687b: false) at /home/ramesh/pquery/PS-8.0-release_dbg/storage/rocksdb/ha_rocksdb.cc:8983
      #8  0x00007f44d9ed437b in myrocks::ha_rocksdb::update_write_row (this=0x7f447c129ab8, old_data=0x0, new_data=0x7f447c14b8a8 "", skip_unique_check=true) at /home/ramesh/pquery/PS-8.0-release_dbg/storage/rocksdb/ha_rocksdb.cc:9059
      #9  0x00007f44d9ed22fc in myrocks::ha_rocksdb::write_row (this=0x7f447c129ab8, buf=0x7f447c14b8a8 "") at /home/ramesh/pquery/PS-8.0-release_dbg/storage/rocksdb/ha_rocksdb.cc:8451
      #10 0x0000000002edb5b8 in handler::ha_write_row (this=0x7f447c129ab8, buf=0x7f447c14b8a8 "") at /home/ramesh/pquery/PS-8.0-release_dbg/sql/handler.cc:8034
      #11 0x000000000321de91 in write_record (thd=0x7f447c000be0, table=0x7f447c128630, info=0x7f455fe56cb0, update=0x7f455fe56d30) at /home/ramesh/pquery/PS-8.0-release_dbg/sql/sql_insert.cc:1911
      #12 0x000000000321a09c in Sql_cmd_insert_values::execute_inner (this=0x7f447c0f6a40, thd=0x7f447c000be0) at /home/ramesh/pquery/PS-8.0-release_dbg/sql/sql_insert.cc:614
      #13 0x00000000032d9283 in Sql_cmd_dml::execute (this=0x7f447c0f6a40, thd=0x7f447c000be0) at /home/ramesh/pquery/PS-8.0-release_dbg/sql/sql_select.cc:596
      #14 0x0000000003270519 in mysql_execute_command (thd=0x7f447c000be0, first_level=true) at /home/ramesh/pquery/PS-8.0-release_dbg/sql/sql_parse.cc:3482
      #15 0x0000000003276567 in mysql_parse (thd=0x7f447c000be0, parser_state=0x7f455fe58300, update_userstat=false, force_primary_storage_engine=false) at /home/ramesh/pquery/PS-8.0-release_dbg/sql/sql_parse.cc:5269
      #16 0x000000000326b46d in dispatch_command (thd=0x7f447c000be0, com_data=0x7f455fe58cd0, command=COM_QUERY) at /home/ramesh/pquery/PS-8.0-release_dbg/sql/sql_parse.cc:1734
      #17 0x00000000032699e4 in do_command (thd=0x7f447c000be0) at /home/ramesh/pquery/PS-8.0-release_dbg/sql/sql_parse.cc:1290
      #18 0x000000000342e9c2 in handle_connection (arg=0x81b9590) at /home/ramesh/pquery/PS-8.0-release_dbg/sql/conn_handler/connection_handler_per_thread.cc:317
      #19 0x00000000046a7974 in pfs_spawn_thread (arg=0x8014d40) at /home/ramesh/pquery/PS-8.0-release_dbg/storage/perfschema/pfs.cc:2836
      #20 0x00007f457b6d36ba in start_thread (arg=0x7f455fe59700) at pthread_create.c:333
      #21 0x00007f4579a7b41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ramesh.sivaraman Ramesh Sivaraman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 minutes
                  2m