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

[PS8QA] handle_fatal_signal (sig=11) in handler::get_ha_share_ptr

Details

    Description

      Testcase

      rm -Rf /dev/shm/1545282332
      mkdir -p /dev/shm/1545282332/tmp
      
      /qa/ps8/PS191218-percona-server-8.0.13-3-linux-x86_64-opt/bin/mysqld --no-defaults --initialize-insecure --basedir=/qa/ps8/PS191218-percona-server-8.0.13-3-linux-x86_64-opt --datadir=/dev/shm/1545282332/data
      
      /qa/ps8/PS191218-percona-server-8.0.13-3-linux-x86_64-opt/bin/mysqld --no-defaults --basedir=/qa/ps8/PS191218-percona-server-8.0.13-3-linux-x86_64-opt --datadir=/dev/shm/1545282332/data --tmpdir=/dev/shm/1545282332/tmp --port=36422 --pid-file=/dev/shm/1545282332/pid.pid --core-file --socket=/dev/shm/1545282332/socket.sock --plugin-load=TokuDB=ha_tokudb.so --sql_mode=ONLY_FULL_GROUP_BY  --log-error=/dev/shm/1545282332/error.log.out &
      
      CREATE DATABASE test;
      USE test;
      CREATE TABLE t1 (a smallint, b smallint, c smallint, KEY a (a), KEY b (b) ) ENGINE=TokuDB PARTITION BY HASH(c) PARTITIONS 3;
      INSERT INTO t1  VALUES (1,'Bozo','USA'),(2,'Ronald','USA'),(3,'Kinko','IRE'),(4,'Mr. Floppy','GB');
      SELECT * FROM t1 WHERE b IS NULL or a IS NULL;
       

      GDB Info

      #0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ../sysdeps/unix/sysv/linux/pthread_kill.c:62
      #1  0x0000000001caee07 in my_write_core (sig=sig@entry=11) at stacktrace.cc:278
      #2  0x0000000000fc9ced in handle_fatal_signal (sig=11) at signal_handler.cc:254
      #3  <signal handler called>
      #4  handler::get_ha_share_ptr (this=this@entry=0x7f7d801ef598) at handler.cc:8155
      #5  0x0000000000c279bd in native_part::Partition_base::get_share (this=this@entry=0x7f7d801ef598) at partitioning/partition_base.cc:1463
      #6  0x0000000000c27a85 in native_part::Partition_base::init_part_share (this=this@entry=0x7f7d801ef598) at partitioning/partition_base.cc:1435
      #7  0x0000000000c27d78 in native_part::Partition_base::open (this=0x7f7d801ef598, name=0x7f7d801c9db8 "./test/t1", mode=39, test_if_locked=2, table_def=0x0) at partitioning/partition_base.cc:1571
      #8  0x0000000000c33183 in handler::ha_open (this=this@entry=0x7f7d801ef598, table_arg=<optimized out>, name=name@entry=0x7f7d801c9db8 "./test/t1", mode=39, test_if_locked=test_if_locked@entry=2, table_def=table_def@entry=0x0) at handler.cc:2838
      #9  0x00007f7deb3338a2 in ha_tokupart::clone (this=0x7f7d801d9508, name=0x7f7d801c9db8 "./test/t1", mem_root=0x7f7d80003068) at ha_tokupart.cc:70
      #10 0x0000000000d8253c in QUICK_RANGE_SELECT::init_ror_merged_scan (this=0x7f7d801ce0c0, reuse_handler=<optimized out>) at opt_range.cc:1995
      #11 0x0000000000d82928 in QUICK_ROR_UNION_SELECT::reset (this=0x7f7d801c6350) at opt_range.cc:2204
      #12 0x0000000000dce2dc in IndexRangeScanIterator::Init (this=0x7f7d801b8e48) at records.cc:337
      #13 0x0000000000e5db49 in sub_select (join=0x7f7d801b7f50, qep_tab=0x7f7d801b8df0, end_of_records=<optimized out>) at sql_executor.cc:1509
      #14 0x0000000000e5a043 in do_select (join=0x7f7d801b7f50) at sql_executor.cc:1168
      #15 JOIN::exec (this=0x7f7d801b7f50) at sql_executor.cc:281
      #16 0x0000000000ee3ee4 in Sql_cmd_dml::execute_inner (this=0x7f7d801b7a50, thd=0x7f7d80000b50) at sql_select.cc:698
      #17 0x0000000000ee97df in Sql_cmd_dml::execute (this=0x7f7d801b7a50, thd=0x7f7d80000b50) at sql_select.cc:596
      #18 0x0000000000e93a7c in mysql_execute_command (thd=thd@entry=0x7f7d80000b50, first_level=first_level@entry=true) at sql_parse.cc:4528
      #19 0x0000000000e9922c in mysql_parse (thd=thd@entry=0x7f7d80000b50, parser_state=parser_state@entry=0x7f7de89d5dd0, update_userstat=update_userstat@entry=false, force_primary_storage_engine=force_primary_storage_engine@entry=false) at sql_parse.cc:5269
      #20 0x0000000000e9c7cf in dispatch_command (thd=thd@entry=0x7f7d80000b50, com_data=com_data@entry=0x7f7de89d6d00, command=COM_QUERY) at sql_parse.cc:1734
      #21 0x0000000000e9d440 in do_command (thd=thd@entry=0x7f7d80000b50) at sql_parse.cc:1290
      #22 0x0000000000fb8950 in handle_connection (arg=arg@entry=0x43b14a0) at conn_handler/connection_handler_per_thread.cc:317
      #23 0x0000000001d5a8af in pfs_spawn_thread (arg=0x45a6550) at pfs.cc:2836
      #24 0x00007f7e35f796ba in start_thread (arg=0x7f7de89d7700) at pthread_create.c:333
      #25 0x00007f7e3432d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      

      Attachments

        Issue Links

          Activity

            People

              satya.bodapati Satya Bodapati
              ramesh.sivaraman Ramesh Sivaraman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 days, 3 hours, 18 minutes
                  2d 3h 18m

                  Smart Checklist