Thread 1 (LWP 6919):
+bt
#0 0x000000340cc0c69c in pthread_kill () from /lib64/libpthread.so.0
#1 0x0000000000686bde in handle_fatal_signal (sig=11) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/signal_handler.cc:251
#2 <signal handler called>
#3 ha_innobase::open (this=0x7fce800252d0, name=0x7fce800ae6f8 "/ssd/209184/current1_1/tmp/#sql1ad7_9_0", mode=<optimized out>, test_if_locked=<optimized out>) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/storage/innobase/handler/ha_innodb.cc:4998
#4 0x00000000005b76fa in handler::ha_open (this=0x7fce800252d0, table_arg=<optimized out>, name=0x7fce800ae6f8 "/ssd/209184/current1_1/tmp/#sql1ad7_9_0", mode=7, test_if_locked=2) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/handler.cc:2478
#5 0x00000000005b9ab1 in handler::clone (this=0x7fce800a73b0, name=0x7fce800ae6f8 "/ssd/209184/current1_1/tmp/#sql1ad7_9_0", mem_root=0x20c96a8) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/handler.cc:2394
#6 0x00000000009f7ffe in ha_innobase::clone (this=0x7fce800a73b0, name=0x7fce800ae6f8 "/ssd/209184/current1_1/tmp/#sql1ad7_9_0", mem_root=0x20c96a8) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/storage/innobase/handler/ha_innodb.cc:5344
#7 0x000000000075559d in store_temporary_table_record (thd=0x20c6080, table=0x7fce580134f0, tmp_table=0x7fce800adb00, db=<optimized out>) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_show.cc:3958
#8 0x0000000000764b39 in fill_global_temporary_tables (thd=0x20f29c0, tables=0x7fce58005e60, cond=<optimized out>) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_show.cc:4043
#9 0x0000000000759219 in do_fill_table (join_table=<optimized out>, table_list=0x7fce58005e60, thd=0x20f29c0) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_show.cc:7714
#10 get_schema_tables_result (join=0x7fce58018a80, executed_place=PROCESSED_BY_JOIN_EXEC) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_show.cc:7815
#11 0x0000000000746425 in JOIN::prepare_result (this=0x7fce58018a80, columns_list=<optimized out>) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_select.cc:823
#12 0x00000000006fd211 in JOIN::exec (this=0x7fce58018a80) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_executor.cc:116
#13 0x00000000007492d0 in mysql_execute_select (free_join=true, select_lex=0x20f5498, thd=0x20f29c0) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_select.cc:1101
#14 mysql_select (thd=0x20f29c0, tables=0x7fce58005838, wild_num=1, fields=..., conds=0x7fce5800f778, order=<optimized out>, group=0x20f5598, having=0x0, select_options=2684619520, result=0x7fce58010608, unit=0x20f4e50, select_lex=0x20f5498) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_select.cc:1222
#15 0x0000000000749dbb in handle_select (thd=0x20f29c0, result=0x7fce58010608, setup_tables_done_option=0) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_select.cc:111
#16 0x000000000071ecdd in execute_sqlcom_select (thd=0x20f29c0, all_tables=0x7fce58005838) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_parse.cc:5305
#17 0x00000000007217b7 in mysql_execute_command (thd=0x20f29c0) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_parse.cc:2762
#18 0x0000000000727818 in mysql_parse (thd=0x20f29c0, rawbuf=0x20f4d88 "\360R7\001", length=<optimized out>, parser_state=<optimized out>) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_parse.cc:6477
#19 0x000000000072871f in dispatch_command (command=COM_QUERY, thd=0x20f29c0, packet=0x20f6951 " SELECT * FROM (test . `table1000_innodb` AS table1 RIGHT JOIN INFORMATION_SCHEMA . `GLOBAL_TEMPORARY_TABLES` AS table2 ON ( table2 . `TABLE_ROWS` = table1 . `col_bigint_not_null` ) ) WHERE ( (NOT table1 . `col_varchar_255_binary_not_null` <> table2 . `AVG_ROW_LENGTH` AND table1 . `col_bigint_not_null` <> '2001-07-03 05:17:25.054696') AND table1 . `col_set_utf8_not_null` = '2003-01-22 02:20:07.002866') LIMIT 8", packet_length=414) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_parse.cc:1374
#20 0x0000000000729a47 in do_command (thd=0x20f29c0) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_parse.cc:1049
#21 0x00000000006ed63f in do_handle_one_connection (thd_arg=<optimized out>) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_connect.cc:1615
#22 0x00000000006ed727 in handle_one_connection (arg=0x20f29c0) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/sql_connect.cc:1526
#23 0x00000000009dd6c9 in pfs_spawn_thread (arg=0x20bbdb0) at /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/storage/perfschema/pfs.cc:1855
#24 0x000000340cc07851 in start_thread () from /lib64/libpthread.so.0
#25 0x000000340c4e890d in clone () from /lib64/libc.so.6
2013-07-20 19:24:09 6871 [Note] /ssd/Percona-Server-5.6.12-rc60.4-405-debug.Linux.x86_64/bin/mysqld: ready for connections.
Version: '5.6.12-rc60.4-debug-log' socket: '/ssd/209184/current1_1/tmp/master.sock' port: 13000 Percona Server with XtraDB (GPL), Release rc60.4, Revision 405-debug
2013-07-20 19:24:22 6871 [Note] Event Scheduler: scheduler thread started with id 10
2013-07-20 19:24:28 6871 [ERROR] /ssd/Percona-Server-5.6.12-rc60.4-405-debug.Linux.x86_64/bin/mysqld: Deadlock found when trying to get lock; try restarting transaction
2013-07-20 19:24:28 6871 [ERROR] /ssd/Percona-Server-5.6.12-rc60.4-405-debug.Linux.x86_64/bin/mysqld: Sort aborted: Deadlock found when trying to get lock; tryrestarting transaction
16:25:52 UTC - mysqld got signal 11 ;
[...]
Some pointers may be invalid and cause the dump to abort.
Query (7fce58004c50): SELECT * FROM (test . `table1000_innodb` AS table1 RIGHT JOIN INFORMATION_SCHEMA . `GLOBAL_TEMPORARY_TABLES` AS table2 ON ( table2 . `TABLE_ROWS` = table1 . `col_bigint_not_null` ) ) WHERE ( (NOT table1 . `col_varchar_255_binary_not_null` <> table2 . `AVG_ROW_LENGTH` AND table1 . `col_bigint_not_null` <> '2001-07-03 05:17:25.054696') AND table1 . `col_set_utf8_not_null` = '2003-01-22 02:20:07.002866') LIMIT 8
Connection ID (thread ID): 18
Status: NOT_KILLED
See bug 1113388 - comments #12 (similar non-crashing stack) + #14