ALTER TABLE crashes on corrupted InnoDB table
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
||||
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Undecided
|
Unassigned | |||
5.5 |
Won't Fix
|
Undecided
|
Unassigned | |||
5.6 |
Won't Fix
|
Medium
|
Unassigned | |||
5.7 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
2014-10-20 23:26:16 7fd96c54b700 InnoDB: Warning: cannot find a free slot for an undo log. Do you have too
InnoDB: many active transactions running concurrently?
2014-10-20 23:26:16 7fd96c54b700 InnoDB: Unable to assign a new identifier to table `test`.`t2` /* Partition `p0` */
InnoDB: after truncating it. Background processes may corrupt the table!
12:26:16 UTC - mysqld got signal 11 ;
[...]
Query (7fd914004e90): ALTER TABLE t2 ADD c2 TINYBLOB NULL
Connection ID (thread ID): 4
Single threaded run, single mysqld involved
Thread 1 (Thread 0x7fd96c54b700 (LWP 18848)):
+bt
#0 0x00007fd975b4d771 in pthread_kill () from /lib64/
#1 0x0000000000ab7586 in my_write_core (sig=11) at /mnt/workspace/
#2 0x000000000072f9ff in handle_fatal_signal (sig=11) at /mnt/workspace/
#3 <signal handler called>
#4 0x00007fd9747a2901 in __strnlen_sse2 () from /lib64/libc.so.6
#5 0x0000000000e9d822 in process_str_arg (cs=0x186c3c0 <my_charset_
#6 0x0000000000e9f206 in my_vsnprintf_ex (cs=0x186c3c0 <my_charset_
#7 0x0000000000aae348 in my_error (nr=1712, MyFlags=0) at /mnt/workspace/
#8 0x0000000000af7683 in ha_innobase:
#9 0x000000000085f201 in handler:
#10 0x0000000000e5c087 in ha_partition:
#11 0x000000000085f201 in handler:
#12 0x000000000085729c in mysql_inplace_
#13 0x000000000085c080 in mysql_alter_table (thd=0x36c6430, new_db=
#14 0x00000000009a3d65 in Sql_cmd_
#15 0x00000000007e9da3 in mysql_execute_
#16 0x00000000007ed193 in mysql_parse (thd=0x36c6430, rawbuf=
#17 0x00000000007df5fc in dispatch_command (command=COM_QUERY, thd=0x36c6430, packet=0x3eb6291 "ALTER TABLE t2 ADD c2 TINYBLOB NULL;", packet_length=36) at /mnt/workspace/
#18 0x00000000007de528 in do_command (thd=0x36c6430) at /mnt/workspace/
#19 0x00000000008c2c30 in threadpool_
#20 0x00000000008c5572 in handle_event (connection=
#21 0x00000000008c57a2 in worker_main (param=0x1898400 <all_groups+2048>) at /mnt/workspace/
#22 0x0000000000dc5bac in pfs_spawn_thread (arg=0x3e7d6a0) at /mnt/workspace/
#23 0x00007fd975b48df3 in start_thread () from /lib64/
#24 0x00007fd97481201d in clone () from /lib64/libc.so.6
summary: |
- mysqld got signal 11 ; on ALTER TABLE | handle_fatal_signal (sig=11) in - ha_innobase::inplace_alter_table + ALTER TABLE crashes on corrupted InnoDB table |
tags: | added: innodb |
Related to https:/ /bugs.launchpad .net/percona- server/ +bug/1385064 ?