I was able to reproduce exactly the same crash on Percona Server 5.6.20 by setting tables to 20 in your script and running it with bash. More details to follow soon.
** Changed in: percona-server/5.6 Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1366073 Title: Combination of CREATE, RENAME, and ALTER TABLE statements on related tables causes crash To manage notifications about this bug go to: https://bugs.launchpad.net/percona-server/+bug/1366073/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs