innodb-force-recovery=2 crashes when ALTER is used | void Protocol::end_statement(): Assertion `0' failed. in Protocol::end_statement
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
New
|
High
|
Unassigned | |||
5.6 |
Triaged
|
High
|
Unassigned | |||
5.7 |
New
|
High
|
Unassigned |
Bug Description
Core was generated by `/sda/PS260117-
Program terminated with signal 6, Aborted.
#0 0x00007f4d33e27741 in __pthread_kill (threadid=
61 val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),
(gdb) bt
#0 0x00007f4d33e27741 in __pthread_kill (threadid=
#1 0x0000000000ac4648 in my_write_core (sig=6) at /sda/PS-
#2 0x0000000000737acd in handle_fatal_signal (sig=6) at /sda/PS-
#3 <signal handler called>
#4 0x00007f4d321bb1d7 in __GI_raise (sig=sig@entry=6) at ../nptl/
#5 0x00007f4d321bc8c8 in __GI_abort () at abort.c:90
#6 0x00007f4d321b4146 in __assert_fail_base (fmt=0x7f4d323053a8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
file=
function=
#7 0x00007f4d321b41f2 in __GI___assert_fail (assertion=0xebad2e "0", file=0xebad70 "/sda/PS-
function=
#8 0x000000000072ea5b in Protocol:
#9 0x00000000007e97ff in dispatch_command (command=COM_QUERY, thd=0x7f4d08f48000, packet=
at /sda/PS-
#10 0x00000000007e7264 in do_command (thd=0x7f4d08f4
#11 0x00000000007ae7b5 in do_handle_
#12 0x00000000007ae4bc in handle_
#13 0x0000000000e24767 in pfs_spawn_thread (arg=0x7f4d16ff
#14 0x00007f4d33e22dc5 in start_thread (arg=0x7f4d3441
#15 0x00007f4d3227d73d in clone () at ../sysdeps/
2017-02-20 17:25:05 7453 [Note] /sda/PS260117-
Version: '5.6.35-80.0-debug' socket: '/sda/PS260117-
mysqld: /sda/PS-
# mysqld options required for replay: --innodb-
DROP DATABASE test;CREATE DATABASE test;USE test;
SET SESSION expand_
CREATE TABLE t1(a INT UNSIGNED,b INT,c BINARY(1),d CHAR (1),e VARCHAR(1),f VARCHAR(1),g BLOB,h BLOB,id INT,KEY(b),KEY(e)) ENGINE=InnoDB;
ALTER TABLE t1 CHANGE COLUMN a a BINARY(1);
Upstream does not fail:
MS 5.6.35
mysql> ALTER TABLE t1 CHANGE COLUMN a a BINARY(1);
ERROR 1025 (HY000): Error on rename of './test/t1' to './test/
PS 5.6.35
mysql> ALTER TABLE t1 CHANGE COLUMN a a BINARY(1);
ERROR 2013 (HY000): Lost connection to MySQL server during query
tags: | added: expand-fast-index-creation |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-1062