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

handle_fatal_signal (sig=11) in keyring::Vault_curl::write_key | plugin/keyring_vault/vault_curl.cc:256

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.21-20
    • Component/s: None

      Description

      GDB info

      #0 __pthread_kill (threadid=<optimized out>, signo=11) at ../sysdeps/unix/sysv/linux/pthread_kill.c:62
      #1 0x00000000019a05c8 in my_write_core (sig=11) at /qa/work/release-5.7.20-18_dbg/mysys/stacktrace.c:249
      #2 0x0000000000f18cda in handle_fatal_signal (sig=11) at /qa/work/release-5.7.20-18_dbg/sql/signal_handler.cc:223
      #3 <signal handler called>
      #4 0x00007f36141c5fd2 in curl_multi_setopt () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
      #5 0x00007f36141be923 in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
      #6 0x00007f36155e8600 in keyring::Vault_curl::write_key (this=0x7f35f1019b20, key=..., response=0x7f3623330a10) at /qa/work/release-5.7.20-18_dbg/plugin/keyring_vault/vault_curl.cc:256
      #7 0x00007f36155ddedd in keyring::Vault_io::write_key (this=0x7f35f0c80850, key=...) at /qa/work/release-5.7.20-18_dbg/plugin/keyring_vault/vault_io.cc:90
      #8 0x00007f36155de316 in keyring::Vault_io::flush_to_storage (this=0x7f35f0c80850, serialized_object=0x7f35f0caa8b8) at /qa/work/release-5.7.20-18_dbg/plugin/keyring_vault/vault_io.cc:128
      #9 0x00007f36155dbdca in keyring::Keys_container::flush_to_storage (this=0x7f35f10ae0a0, key=0x7f35f0caa660, operation=keyring::STORE_KEY) at /qa/work/release-5.7.20-18_dbg/plugin/keyring/common/keys_container.cc:200
      #10 0x00007f36155db75b in keyring::Keys_container::store_key (this=0x7f35f10ae0a0, key=0x7f35f0caa660) at /qa/work/release-5.7.20-18_dbg/plugin/keyring/common/keys_container.cc:86
      #11 0x00007f36155dcdde in mysql_key_store (key_to_store=...) at /qa/work/release-5.7.20-18_dbg/plugin/keyring/common/keyring_impl.cc:200
      #12 0x00007f36155ef791 in mysql_key_store<keyring::Vault_key> (key_id=0x7f36233310c0 "INNODBKey-ee24feb0-dcf8-11e7-892f-002590e9b7a2-7", key_type=0x23c3882 "AES", user_id=0x0, key=0x7f35f0c27b60, key_len=32, plugin_name=0x7f36155f1c6d "keyring_vault") at /qa/work/release-5.7.20-18_dbg/plugin/keyring/common/keyring.h:91
      #13 0x00007f36155ee792 in mysql_key_store (key_id=0x7f36233310c0 "INNODBKey-ee24feb0-dcf8-11e7-892f-002590e9b7a2-7", key_type=0x23c3882 "AES", user_id=0x0, key=0x7f35f0c27b60, key_len=32) at /qa/work/release-5.7.20-18_dbg/plugin/keyring_vault/vault_keyring.cc:190
      #14 0x00007f36155ee9d5 in mysql_key_generate (key_id=0x7f36233310c0 "INNODBKey-ee24feb0-dcf8-11e7-892f-002590e9b7a2-7", key_type=0x23c3882 "AES", user_id=0x0, key_len=32) at /qa/work/release-5.7.20-18_dbg/plugin/keyring_vault/vault_keyring.cc:214
      #15 0x00000000017d9fd3 in key_generate (thd=0x7f35f0c12000, plugin=0x7f36163c34e0, arg=0x7f3623330eb0) at /qa/work/release-5.7.20-18_dbg/sql/keyring_service.cc:99
      #16 0x00000000016698a3 in plugin_foreach_with_mask (thd=0x7f35f0c12000, funcs=0x7f3623330e60, type=10, state_mask=4294967287, arg=0x7f3623330eb0) at /qa/work/release-5.7.20-18_dbg/sql/sql_plugin.cc:2377
      #17 0x000000000166996e in plugin_foreach_with_mask (thd=0x7f35f0c12000, func=0x17d9f5c <key_generate(THD*, plugin_ref, void*)>, type=10, state_mask=8, arg=0x7f3623330eb0) at /qa/work/release-5.7.20-18_dbg/sql/sql_plugin.cc:2392
      #18 0x00000000017da22b in my_key_generate (key_id=0x7f36233310c0 "INNODBKey-ee24feb0-dcf8-11e7-892f-002590e9b7a2-7", key_type=0x23c3882 "AES", user_id=0x0, key_len=32) at /qa/work/release-5.7.20-18_dbg/sql/keyring_service.cc:152
      #19 0x0000000001baef1e in Encryption::create_master_key (master_key=0x7f3623331158) at /qa/work/release-5.7.20-18_dbg/storage/innobase/os/os0file.cc:9085
      #20 0x0000000001ac28a8 in innobase_encryption_key_rotation () at /qa/work/release-5.7.20-18_dbg/storage/innobase/handler/ha_innodb.cc:3737
      #21 0x000000000185fdd7 in Rotate_innodb_master_key::execute (this=0x7f35f0c26250) at /qa/work/release-5.7.20-18_dbg/sql/sql_alter_instance.cc:86
      #22 0x000000000185dafa in Sql_cmd_alter_instance::execute (this=0x7f35f105d9c0, thd=0x7f35f0c12000) at /qa/work/release-5.7.20-18_dbg/sql/sql_admin.cc:1343
      #23 0x000000000163a93b in mysql_execute_command (thd=0x7f35f0c12000, first_level=true) at /qa/work/release-5.7.20-18_dbg/sql/sql_parse.cc:5121
      #24 0x000000000163ccf0 in mysql_parse (thd=0x7f35f0c12000, parser_state=0x7f3623332480) at /qa/work/release-5.7.20-18_dbg/sql/sql_parse.cc:5897
      #25 0x0000000001630c27 in dispatch_command (thd=0x7f35f0c12000, com_data=0x7f3623332da0, command=COM_QUERY) at /qa/work/release-5.7.20-18_dbg/sql/sql_parse.cc:1493
      #26 0x000000000162f9c8 in do_command (thd=0x7f35f0c12000) at /qa/work/release-5.7.20-18_dbg/sql/sql_parse.cc:1021
      #27 0x0000000001782902 in handle_connection (arg=0x7f35f0c11040) at /qa/work/release-5.7.20-18_dbg/sql/conn_handler/connection_handler_per_thread.cc:312
      #28 0x00000000019c570d in pfs_spawn_thread (arg=0x7f36193fc020) at /qa/work/release-5.7.20-18_dbg/storage/perfschema/pfs.cc:2190
      #29 0x00007f36219dc6ba in start_thread (arg=0x7f3623333700) at pthread_create.c:333
      #30 0x00007f3620e6a3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      

      startup variables

      --no-defaults --maximum-bulk_insert_buffer_size=1M --maximum-join_buffer_size=1M --maximum-max_heap_table_size=1M --maximum-max_join_size=1M --maximum-myisam_max_sort_file_size=1M --maximum-myisam_mmap_size=1M --maximum-myisam_sort_buffer_size=1M --maximum-optimizer_trace_max_mem_size=1M --maximum-preload_buffer_size=1M --maximum-query_alloc_block_size=1M --maximum-query_prealloc_size=1M --maximum-range_alloc_block_size=1M --maximum-read_buffer_size=1M --maximum-read_rnd_buffer_size=1M --maximum-sort_buffer_size=1M --maximum-tmp_table_size=1M --maximum-transaction_alloc_block_size=1M --maximum-transaction_prealloc_size=1M --log-output=none --sql_mode=ONLY_FULL_GROUP_BY --early-plugin-load=keyring_vault=keyring_vault.so --loose-keyring_vault_config=/qa/work/PS081217-percona-server-5.7.20-18-linux-x86_64-debug/mysql-test/std_data/keyring_vault_confs/keyring_vault_mtr_template2.conf  --plugin-load=keyring_file=keyring_file.so --keyring_file_data=/dev/shm/121331/1/keyring

      This is a screen filler issue but could reduce the testcase

       

       

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              robert.golebiowski Robert Golebiowski (Inactive)
              Reporter:
              ramesh.sivaraman Ramesh Sivaraman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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