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.
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.