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

[PS8QA] handle_fatal_signal (sig=6) in compression_dict::cols_table_delete_low | sql/sql_zip_dict.cc:765

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 8.0, Not 5.7
    • Fix Version/s: None
    • Component/s: None

      Description

      Testcase

      rm -Rf /dev/shm/1545110574
      mkdir -p /dev/shm/1545110574/tmp
      
      /home/ramesh/pquery/PS151218-percona-server-8.0.13-2-linux-x86_64-debug/bin/mysqld --no-defaults --initialize-insecure --basedir=/home/ramesh/pquery/PS151218-percona-server-8.0.13-2-linux-x86_64-debug --datadir=/dev/shm/1545110574/data
      
      /home/ramesh/pquery/PS151218-percona-server-8.0.13-2-linux-x86_64-debug/bin/mysqld --no-defaults --basedir=/home/ramesh/pquery/PS151218-percona-server-8.0.13-2-linux-x86_64-debug --datadir=/dev/shm/1545110574/data --tmpdir=/dev/shm/1545110574/tmp --port=32828 --pid-file=/dev/shm/1545110574/pid.pid --core-file --socket=/dev/shm/1545110574/socket.sock --plugin-load-add=RocksDB=ha_rocksdb.so --log-error=/dev/shm/1545110574/error.log.out & 
      
      CREATE DATABASE test;
      USE test;
      CREATE COMPRESSION_DICTIONARY numbers('');
      CREATE TABLE t1(id INT UNSIGNED,a VARCHAR(1)COLUMN_FORMAT COMPRESSED WITH COMPRESSION_DICTIONARY numbers) ENGINE=RocksDB PARTITION BY HASH (id) PARTITIONS 2;
      alter table t1 convert to character set ucs2 collate ucs2_danish_ci;
      DROP TABLE t1;
      
      

      GDB Info

      #0  __pthread_kill (threadid=<optimized out>, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:62
      #1  0x00000000045b1f76 in my_write_core (sig=6) at /home/ramesh/pquery/PS-8.0-new_dbg/mysys/stacktrace.cc:278
      #2  0x00000000034463a3 in handle_fatal_signal (sig=6) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/signal_handler.cc:254
      #3  <signal handler called>
      #4  0x00007f7857f03428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
      #5  0x00007f7857f0502a in __GI_abort () at abort.c:89
      #6  0x00007f7857efbbd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x56fb139 "0", file=file@entry=0x56fadb8 "/home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_zip_dict.cc", line=line@entry=765, function=function@entry=0x56fb8a0 <compression_dict::cols_table_delete_low(TABLE*, unsigned long long, unsigned long long)::__PRETTY_FUNCTION__> "bool compression_dict::cols_table_delete_low(TABLE*, uint64, uint64)") at assert.c:92
      #7  0x00007f7857efbc82 in __GI___assert_fail (assertion=0x56fb139 "0", file=0x56fadb8 "/home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_zip_dict.cc", line=765, function=0x56fb8a0 <compression_dict::cols_table_delete_low(TABLE*, unsigned long long, unsigned long long)::__PRETTY_FUNCTION__> "bool compression_dict::cols_table_delete_low(TABLE*, uint64, uint64)") at assert.c:101
      #8  0x0000000003391ca5 in compression_dict::cols_table_delete_low (table=0x7f7823cae020, table_id=350, column_id=4016) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_zip_dict.cc:765
      #9  0x00000000033923ef in compression_dict::cols_table_delete (thd=0x7f7823c24000, table=...) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_zip_dict.cc:844
      #10 0x0000000002ecb9c1 in ha_delete_table (thd=0x7f7823c24000, table_type=0x7f7845bfa220, path=0x7f7857e838a0 "./test/t1", db=0x7f7823c73058 "test", alias=0x7f7823c729c0 "t1", table_def=0x7f7823c23c88, generate_warning=true) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/handler.cc:2592
      #11 0x00000000033157f9 in drop_base_table (thd=0x7f7823c24000, drop_ctx=..., table=0x7f7823c72ac0, atomic=false, post_ddl_htons=0x0, fk_invalidator=0x0, safe_to_release_mdl=0x7f7857e84dc0) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_table.cc:2741
      #12 0x00000000033164a7 in mysql_rm_table_no_locks (thd=0x7f7823c24000, tables=0x7f7823c72ac0, if_exists=false, drop_temporary=false, drop_database=false, dropped_non_atomic_flag=0x7f7857e84d91, post_ddl_htons=0x7f7857e84e00, fk_invalidator=0x7f7857e84e30, safe_to_release_mdl=0x7f7857e84dc0) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_table.cc:2984
      #13 0x0000000003312882 in mysql_rm_table (thd=0x7f7823c24000, tables=0x7f7823c72ac0, if_exists=false, drop_temporary=false) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_table.cc:1481
      #14 0x00000000032716c0 in mysql_execute_command (thd=0x7f7823c24000, first_level=true) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_parse.cc:3483
      #15 0x0000000003277645 in mysql_parse (thd=0x7f7823c24000, parser_state=0x7f7857e862c0, update_userstat=false, force_primary_storage_engine=false) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_parse.cc:5259
      #16 0x000000000326c5bb in dispatch_command (thd=0x7f7823c24000, com_data=0x7f7857e86c90, command=COM_QUERY) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_parse.cc:1734
      #17 0x000000000326ab32 in do_command (thd=0x7f7823c24000) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/sql_parse.cc:1290
      #18 0x000000000342fc54 in handle_connection (arg=0x7f7841be67f0) at /home/ramesh/pquery/PS-8.0-new_dbg/sql/conn_handler/connection_handler_per_thread.cc:317
      #19 0x00000000046a8ea6 in pfs_spawn_thread (arg=0x7f7805930220) at /home/ramesh/pquery/PS-8.0-new_dbg/storage/perfschema/pfs.cc:2836
      #20 0x00007f7859c2d6ba in start_thread (arg=0x7f7857e87700) at pthread_create.c:333
      #21 0x00007f7857fd541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ramesh.sivaraman Ramesh Sivaraman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 19 minutes
                  19m