handle_fatal_signal (sig=11) in hp_delete_key
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Triaged
|
High
|
Unassigned | |||
5.6 |
Invalid
|
Undecided
|
Unassigned | |||
5.7 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
171207 9:53:39 [Note] /sda/PS091117-
Version: '5.5.58-
22:53:41 UTC - mysqld got signal 11 ;
Core was generated by `/sda/PS091117-
Program terminated with signal 11, Segmentation fault.
#0 0x00007f50ff21d9b1 in __pthread_kill (threadid=
at ../nptl/
61 val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),
(gdb) bt
#0 0x00007f50ff21d9b1 in __pthread_kill (threadid=
at ../nptl/
#1 0x00000000007f9bc8 in my_write_core (sig=11) at /home/roel/
#2 0x00000000006b9803 in handle_fatal_signal (sig=11) at /home/roel/
#3 <signal handler called>
#4 hp_movelink (pos=pos@
at /home/roel/
#5 0x00000000008036cf in hp_delete_key (info=0x7f50da4
record=
at /home/roel/
#6 0x0000000000803303 in heap_delete (info=0x7f50da4
at /home/roel/
#7 0x0000000000802368 in ha_heap::delete_row (this=0x7f50da4
at /home/roel/
#8 0x00000000006c2cc1 in handler:
at /home/roel/
#9 0x00000000007b0a2c in mysql_delete (thd=thd@
order_
at /home/roel/
#10 0x000000000059a01e in mysql_execute_
#11 0x000000000059ec81 in mysql_parse (thd=thd@
parser_
#12 0x00000000005a0721 in dispatch_command (command=
packet=
at /home/roel/
#13 0x00000000005a256f in do_command (thd=0x7f50f03d
#14 0x0000000000651406 in do_handle_
at /home/roel/
#15 0x00000000006514fc in handle_
#16 0x00007f50ff218e25 in start_thread (arg=0x7f50ff81
#17 0x00007f50fda1634d in clone () at ../sysdeps/
USE test;
set @@session.
set default_
CREATE TEMPORARY TABLE t1(f1 INT)ENGINE=
insert into t1 values(1);
ALTER TABLE t1 ADD c2 TEXT;
INSERT INTO t1 VALUES(0,"1");
insert INTO t1 values(
ALTER TABLE t1 AVG_ROW_LENGTH 10;
ALTER TABLE t1 ADD b DECIMAL FIRST;
ALTER TABLE t1 ADD greek_f CHAR(1);
ALTER TABLE t1ENGINE=InnoDB;
insert into t1 values(0,0,8312,0);
ALTER TABLE t1 ADD c CHAR(1),ADD d CHAR (1),ADD e char(1);
INSERT INTO t1 VALUES(
alter table t1 add unique index(c,d);
DELETE FROM t1;
Same testcase does not crash MS 5.5.58
PS 5.6.36 does not crash because;
5.6.36>CREATE TEMPORARY TABLE t1(f1 INT)ENGINE= MRG_MEMORY UNION(t1);
ERROR 1286 (42000): Unknown storage engine 'MRG_MEMORY'