I'm able to reproduce on mysql 5.5 trunk by just injecting call ut_print_name(stderr, trx, TRUE, table->name); at the start of row_create_table_for_mysql. [sergei@centos6 mysql-test]$ cat ../../mysql-test/t/crash.test --source include/have_partition.inc --source include/have_innodb.inc CREATE TABLE IF NOT EXISTS t1 (`a` INT) ENGINE=InnoDB; INSERT INTO t1 VALUES (1),(2),(3),(4); --connect (con1,localhost,root,,) ALTER TABLE t1 PARTITION BY HASH (`a`) PARTITIONS 4; DROP TABLE t1; [sergei@centos6 mysql-test]$ ./mtr crash.test Logging: /home/sergei/percona/upstream/55-et-crash/mysql-test/mysql-test-run.pl crash.test MySQL Version 5.5.28 Checking supported features... - skipping ndbcluster - skipping SSL, mysqld not compiled with SSL Collecting tests... vardir: /home/sergei/percona/upstream/55-et-crash/build/mysql-test/var Checking leftover processes... Removing old var directory... Creating var directory '/home/sergei/percona/upstream/55-et-crash/build/mysql-test/var'... Installing system database... Using server port 51161 ============================================================================== TEST RESULT TIME (ms) or COMMENT -------------------------------------------------------------------------- worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009 CREATE TABLE IF NOT EXISTS t1 (`a` INT) ENGINE=InnoDB; INSERT INTO t1 VALUES (1),(2),(3),(4); main.crash [ fail ] Test ended at 2012-12-21 23:57:44 CURRENT_TEST: main.crash mysqltest: At line 9: query 'ALTER TABLE t1 PARTITION BY HASH (`a`) PARTITIONS 4' failed: 2013: Lost connection to MySQL server during query Server [mysqld.1 - pid: 61076, winpid: 61076, exit: 256] failed during test run Server log from this test: ----------SERVER LOG START----------- 121221 19:57:37 InnoDB: The InnoDB memory heap is disabled 121221 19:57:37 InnoDB: Mutexes and rw_locks use GCC atomic builtins 121221 19:57:37 InnoDB: Compressed tables use zlib 1.2.3 121221 19:57:37 InnoDB: Using Linux native AIO 121221 19:57:37 InnoDB: Initializing buffer pool, size = 8.0M 121221 19:57:37 InnoDB: Completed initialization of buffer pool 121221 19:57:37 InnoDB: highest supported file format is Barracuda. 121221 19:57:37 InnoDB: Waiting for the background threads to start 121221 19:57:38 InnoDB: 1.1.8 started; log sequence number 1595675 121221 19:57:38 [Warning] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld: unknown variable 'loose-debug-sync-timeout=300' 121221 19:57:38 [Note] Server hostname (bind-address): '0.0.0.0'; port: 13000 121221 19:57:38 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 121221 19:57:38 [Note] Server socket created on IP: '0.0.0.0'. 121221 19:57:38 [Note] Event Scheduler: Loaded 0 events 121221 19:57:38 [Note] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld: ready for connections. Version: '5.5.28-log' socket: '/home/sergei/percona/upstream/55-et-crash/build/mysql-test/var/tmp/mysqld.1.sock' port: 13000 Source distribution `test`.`t1`16:57:39 UTC - mysqld got signal 11 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=1048576 read_buffer_size=131072 max_used_connections=2 max_threads=151 thread_count=2 connection_count=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 60729 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x249ab80 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 7ff24c5a9e48 thread_stack 0x40000 /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(my_print_stacktrace+0x2e)[0x7565de] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(handle_fatal_signal+0x41a)[0x64d49a] /lib64/libpthread.so.0[0x385700f500] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld[0x5b76f3] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_Z16explain_filenameP3THDPKcPcj26enum_explain_filename_mode+0x363)[0x5b7c03] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld[0x75f98e] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld[0x760129] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld[0x7b0fb1] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld[0x77d363] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld[0x762c91] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_ZN12ha_partition17del_ren_cre_tableEPKcS1_P5TABLEP24st_ha_create_information+0x30d)[0x8b59fd] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_ZN12ha_partition6createEPKcP5TABLEP24st_ha_create_information+0x3f)[0x8b5aaf] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_Z15ha_create_tableP3THDPKcS2_S2_P24st_ha_create_informationb+0x153)[0x652b03] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_Z16rea_create_tableP3THDPKcS2_S2_P24st_ha_create_informationR4ListI12Create_fieldEjP6st_keyP7handler+0x1df)[0x5e370f] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_Z26mysql_create_table_no_lockP3THDPKcS2_P24st_ha_create_informationP10Alter_infobjPb+0x88e)[0x5bd48e] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_Z17mysql_alter_tableP3THDPcS1_P24st_ha_create_informationP10TABLE_LISTP10Alter_infojP8st_orderb+0xffa)[0x5c003a] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_ZN21Alter_table_statement7executeEP3THD+0x4b3)[0x73b9d3] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_Z21mysql_execute_commandP3THD+0xfc7)[0x567e77] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x189)[0x56b369] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x11e3)[0x56cca3] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(_Z24do_handle_one_connectionP3THD+0x176)[0x5f7a76] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(handle_one_connection+0x4a)[0x5f7ada] /home/sergei/percona/upstream/55-et-crash/build/sql/mysqld(pfs_spawn_thread+0x54)[0x866df4] /lib64/libpthread.so.0[0x3857007851] /lib64/libc.so.6(clone+0x6d)[0x38568e811d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (7ff230004b80): ALTER TABLE t1 PARTITION BY HASH (`a`) PARTITIONS 4 Connection ID (thread ID): 3 Status: NOT_KILLED The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. Writing a core file ----------SERVER LOG END------------- - saving '/home/sergei/percona/upstream/55-et-crash/build/mysql-test/var/log/main.crash/' to '/home/sergei/percona/upstream/55-et-crash/build/mysql-test/var/log/main.crash/' - found 'core.61077' (0/5) Trying 'dbx' to get a backtrace Trying 'gdb' to get a backtrace Core generated by '/home/sergei/percona/upstream/55-et-crash/build/sql/mysqld' Output from gdb follows. The first stack trace is from the failing thread. The following stack traces are from all threads (so the failing one is duplicated). -------------------------- Missing separate debuginfo for Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/98/5a5bb5fc57c6305be25c76f45d8feff775cc57 [New Thread 61100] [New Thread 61077] [New Thread 61079] [New Thread 61080] [New Thread 61081] [New Thread 61082] [New Thread 61083] [New Thread 61084] [New Thread 61086] [New Thread 61087] [New Thread 61088] [New Thread 61089] [New Thread 61091] [New Thread 61099] [Thread debugging using libthread_db enabled] Core was generated by `/home/sergei/percona/upstream/55-et-crash/build/sql/mysqld --defaults-group-suf'. Program terminated with signal 11, Segmentation fault. #0 0x000000385700c69c in pthread_kill () from /lib64/libpthread.so.0 #0 0x000000385700c69c in pthread_kill () from /lib64/libpthread.so.0 #1 0x000000000064d452 in handle_fatal_signal (sig=11) at /home/sergei/percona/upstream/55-et-crash/sql/signal_handler.cc:247 #2 #3 add_identifier (thd=0x249ab80, to_p=0x7ff24c5a224a "\001\060\362\177", end_p=0x7ff24c5a2320 "#sql-ee95_3#P#p0", name=0x7ff24c5a232e "p0", name_len=4294967293) at /home/sergei/percona/upstream/55-et-crash/sql/sql_table.cc:104 #4 0x00000000005b7c03 in explain_filename (thd=0x249ab80, from=, to=0x7ff24c5a2220 "`#sql-ee95_3#P#p0` /* Temporary Partition \001\060\362\177", to_length=256, explain_mode=EXPLAIN_PARTITIONS_AS_COMMENT) at /home/sergei/percona/upstream/55-et-crash/sql/sql_table.cc:356 #5 0x000000000075f98e in innobase_convert_identifier (buf=0x7ff24c5a2497 "", buflen=569, id=0x7ff230007c45 "#sql-ee95_3#P#p0", idlen=16, thd=0x249ab80, file_id=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/handler/ha_innodb.cc:1997 #6 0x0000000000760129 in innobase_convert_name (buf=0x7ff24c5a2490 "`test`.", buflen=, id=, idlen=21, thd=0x249ab80, table_id=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/handler/ha_innodb.cc:2083 #7 0x00000000007b0fb1 in ut_print_namel (f=0x3856b8d860, trx=, table_id=, name=, namelen=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/ut/ut0ut.c:552 #8 0x000000000077d363 in row_create_table_for_mysql (table=0x7ff230020cb8, trx=0x7ff230020318) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/row/row0mysql.c:1881 #9 0x0000000000762c91 in create_table_def (this=, name=, form=0x7ff24c5a3700, create_info=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/handler/ha_innodb.cc:6639 #10 ha_innobase::create (this=, name=, form=0x7ff24c5a3700, create_info=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/handler/ha_innodb.cc:7242 #11 0x00000000008b59fd in ha_partition::del_ren_cre_table (this=0x7ff230017ed0, from=0x7ff24c5a34c0 "./test/#sql-ee95_3", to=0x0, table_arg=0x7ff24c5a3700, create_info=0x7ff24c5a77c0) at /home/sergei/percona/upstream/55-et-crash/sql/ha_partition.cc:1977 #12 0x00000000008b5aaf in ha_partition::create (this=0x7ff230017ed0, name=, table_arg=0x7ff24c5a3700, create_info=0x7ff24c5a77c0) at /home/sergei/percona/upstream/55-et-crash/sql/ha_partition.cc:596 #13 0x0000000000652b03 in ha_create_table (thd=0x249ab80, path=, db=0x7ff2300051c0 "test", table_name=0x7ff24c5a70d0 "#sql-ee95_3", create_info=, update_create_info=) at /home/sergei/percona/upstream/55-et-crash/sql/handler.cc:3784 #14 0x00000000005e370f in rea_create_table (thd=0x249ab80, path=0x7ff24c5a5460 "./test/#sql-ee95_3", db=0x7ff2300051c0 "test", table_name=0x7ff24c5a70d0 "#sql-ee95_3", create_info=0x7ff24c5a77c0, create_fields=, keys=0, key_info=0x7ff2300062e8, file=0x7ff230005f98) at /home/sergei/percona/upstream/55-et-crash/sql/unireg.cc:528 #15 0x00000000005bd48e in mysql_create_table_no_lock (thd=0x249ab80, db=0x7ff2300051c0 "test", table_name=0x7ff24c5a70d0 "#sql-ee95_3", create_info=0x7ff24c5a77c0, alter_info=0x7ff24c5a78a0, internal_tmp_table=true, select_field_count=0, is_trans=0x0) at /home/sergei/percona/upstream/55-et-crash/sql/sql_table.cc:4292 #16 0x00000000005c003a in mysql_alter_table (thd=, new_db=, new_name=0x7ff230004c60 "t1", create_info=0x7ff24c5a77c0, table_list=0x7ff200000001, alter_info=, order_num=0, order=0x0, ignore=false) at /home/sergei/percona/upstream/55-et-crash/sql/sql_table.cc:6430 #17 0x000000000073b9d3 in Alter_table_statement::execute (this=, thd=0x249ab80) at /home/sergei/percona/upstream/55-et-crash/sql/sql_alter.cc:106 #18 0x0000000000567e77 in mysql_execute_command (thd=0x249ab80) at /home/sergei/percona/upstream/55-et-crash/sql/sql_parse.cc:4431 #19 0x000000000056b369 in mysql_parse (thd=0x249ab80, rawbuf=, length=51, parser_state=0x7ff24c5a9980) at /home/sergei/percona/upstream/55-et-crash/sql/sql_parse.cc:5627 #20 0x000000000056cca3 in dispatch_command (command=COM_QUERY, thd=0x249ab80, packet=, packet_length=) at /home/sergei/percona/upstream/55-et-crash/sql/sql_parse.cc:1037 #21 0x00000000005f7a76 in do_handle_one_connection (thd_arg=) at /home/sergei/percona/upstream/55-et-crash/sql/sql_connect.cc:840 #22 0x00000000005f7ada in handle_one_connection (arg=0x249ab80) at /home/sergei/percona/upstream/55-et-crash/sql/sql_connect.cc:759 #23 0x0000000000866df4 in pfs_spawn_thread (arg=0x2431dd0) at /home/sergei/percona/upstream/55-et-crash/storage/perfschema/pfs.cc:1015 #24 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #25 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7ff24c5eb700 (LWP 61099)): #0 0x000000385700e54d in read () from /lib64/libpthread.so.0 #1 0x000000000050776b in my_real_read (net=0x24146d0, complen=0x7ff24c5eadc8) at /home/sergei/percona/upstream/55-et-crash/sql/net_serv.cc:831 #2 0x0000000000507b55 in my_net_read (net=0x24146d0) at /home/sergei/percona/upstream/55-et-crash/sql/net_serv.cc:1028 #3 0x000000000056d207 in do_command (thd=0x24144e0) at /home/sergei/percona/upstream/55-et-crash/sql/sql_parse.cc:719 #4 0x00000000005f7a76 in do_handle_one_connection (thd_arg=) at /home/sergei/percona/upstream/55-et-crash/sql/sql_connect.cc:840 #5 0x00000000005f7ada in handle_one_connection (arg=0x24144e0) at /home/sergei/percona/upstream/55-et-crash/sql/sql_connect.cc:759 #6 0x0000000000866df4 in pfs_spawn_thread (arg=0x2431dd0) at /home/sergei/percona/upstream/55-et-crash/storage/perfschema/pfs.cc:1015 #7 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #8 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7ff24c62c700 (LWP 61091)): #0 0x000000385700f2a5 in sigwait () from /lib64/libpthread.so.0 #1 0x000000000050071b in signal_hand (arg=) at /home/sergei/percona/upstream/55-et-crash/sql/mysqld.cc:2698 #2 0x0000000000866df4 in pfs_spawn_thread (arg=0x1f63100) at /home/sergei/percona/upstream/55-et-crash/storage/perfschema/pfs.cc:1015 #3 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #4 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7ff2407fe700 (LWP 61089)): #0 0x00000038568e0d03 in select () from /lib64/libc.so.6 #1 0x00000000008356ab in os_thread_sleep (tm=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0thread.c:259 #2 0x000000000078fdc5 in srv_master_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0srv.c:2805 #3 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #4 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7ff2411ff700 (LWP 61088)): #0 0x000000385700b7bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000008350a3 in os_cond_wait_timed (event=0x21df760, time_in_usec=5000000, reset_sig_count=1) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0sync.c:171 #2 os_event_wait_time_low (event=0x21df760, time_in_usec=5000000, reset_sig_count=1) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0sync.c:716 #3 0x00000000007914db in srv_monitor_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0srv.c:2137 #4 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #5 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7ff241c00700 (LWP 61087)): #0 0x000000385700b7bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000008350a3 in os_cond_wait_timed (event=0x21df660, time_in_usec=1000000, reset_sig_count=1) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0sync.c:171 #2 os_event_wait_time_low (event=0x21df660, time_in_usec=1000000, reset_sig_count=1) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0sync.c:716 #3 0x000000000078e4bb in srv_error_monitor_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0srv.c:2470 #4 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #5 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7ff242601700 (LWP 61086)): #0 0x000000385700b7bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000008350a3 in os_cond_wait_timed (event=0x21df6e0, time_in_usec=1000000, reset_sig_count=1) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0sync.c:171 #2 os_event_wait_time_low (event=0x21df6e0, time_in_usec=1000000, reset_sig_count=1) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0sync.c:716 #3 0x000000000078e8a0 in srv_lock_timeout_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0srv.c:2287 #4 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #5 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7ff243e2c700 (LWP 61084)): #0 0x0000003856400614 in ?? () from /lib64/libaio.so.1 #1 0x0000000000831d97 in os_aio_linux_collect (global_seg=5, message1=0x7ff243e2be78, message2=0x7ff243e2be70, type=0x7ff243e2be68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4526 #2 os_aio_linux_handle (global_seg=5, message1=0x7ff243e2be78, message2=0x7ff243e2be70, type=0x7ff243e2be68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4670 #3 0x00000000007f62f6 in fil_aio_wait (segment=5) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/fil/fil0fil.c:4563 #4 0x0000000000792148 in io_handler_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0start.c:482 #5 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #6 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7ff24482d700 (LWP 61083)): #0 0x0000003856400614 in ?? () from /lib64/libaio.so.1 #1 0x0000000000831d97 in os_aio_linux_collect (global_seg=4, message1=0x7ff24482ce78, message2=0x7ff24482ce70, type=0x7ff24482ce68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4526 #2 os_aio_linux_handle (global_seg=4, message1=0x7ff24482ce78, message2=0x7ff24482ce70, type=0x7ff24482ce68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4670 #3 0x00000000007f62f6 in fil_aio_wait (segment=4) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/fil/fil0fil.c:4563 #4 0x0000000000792148 in io_handler_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0start.c:482 #5 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #6 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7ff24522e700 (LWP 61082)): #0 0x0000003856400614 in ?? () from /lib64/libaio.so.1 #1 0x0000000000831d97 in os_aio_linux_collect (global_seg=3, message1=0x7ff24522de78, message2=0x7ff24522de70, type=0x7ff24522de68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4526 #2 os_aio_linux_handle (global_seg=3, message1=0x7ff24522de78, message2=0x7ff24522de70, type=0x7ff24522de68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4670 #3 0x00000000007f62f6 in fil_aio_wait (segment=3) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/fil/fil0fil.c:4563 #4 0x0000000000792148 in io_handler_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0start.c:482 #5 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #6 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7ff245c2f700 (LWP 61081)): #0 0x0000003856400614 in ?? () from /lib64/libaio.so.1 #1 0x0000000000831d97 in os_aio_linux_collect (global_seg=2, message1=0x7ff245c2ee78, message2=0x7ff245c2ee70, type=0x7ff245c2ee68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4526 #2 os_aio_linux_handle (global_seg=2, message1=0x7ff245c2ee78, message2=0x7ff245c2ee70, type=0x7ff245c2ee68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4670 #3 0x00000000007f62f6 in fil_aio_wait (segment=2) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/fil/fil0fil.c:4563 #4 0x0000000000792148 in io_handler_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0start.c:482 #5 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #6 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7ff246630700 (LWP 61080)): #0 0x0000003856400614 in ?? () from /lib64/libaio.so.1 #1 0x0000000000831d97 in os_aio_linux_collect (global_seg=1, message1=0x7ff24662fe78, message2=0x7ff24662fe70, type=0x7ff24662fe68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4526 #2 os_aio_linux_handle (global_seg=1, message1=0x7ff24662fe78, message2=0x7ff24662fe70, type=0x7ff24662fe68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4670 #3 0x00000000007f62f6 in fil_aio_wait (segment=1) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/fil/fil0fil.c:4563 #4 0x0000000000792148 in io_handler_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0start.c:482 #5 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #6 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7ff24df76700 (LWP 61079)): #0 0x0000003856400614 in ?? () from /lib64/libaio.so.1 #1 0x0000000000831d97 in os_aio_linux_collect (global_seg=0, message1=0x7ff24df75e78, message2=0x7ff24df75e70, type=0x7ff24df75e68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4526 #2 os_aio_linux_handle (global_seg=0, message1=0x7ff24df75e78, message2=0x7ff24df75e70, type=0x7ff24df75e68) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/os/os0file.c:4670 #3 0x00000000007f62f6 in fil_aio_wait (segment=0) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/fil/fil0fil.c:4563 #4 0x0000000000792148 in io_handler_thread (arg=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/srv/srv0start.c:482 #5 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #6 0x00000038568e811d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7ff24df78720 (LWP 61077)): #0 0x00000038568dea63 in poll () from /lib64/libc.so.6 #1 0x0000000000501516 in handle_connections_sockets () at /home/sergei/percona/upstream/55-et-crash/sql/mysqld.cc:5163 #2 0x0000000000505e1f in mysqld_main (argc=46, argv=0x1ef3970) at /home/sergei/percona/upstream/55-et-crash/sql/mysqld.cc:4611 #3 0x000000385681ecdd in __libc_start_main () from /lib64/libc.so.6 #4 0x00000000004fd6bd in _start () Thread 1 (Thread 0x7ff24c5aa700 (LWP 61100)): #0 0x000000385700c69c in pthread_kill () from /lib64/libpthread.so.0 #1 0x000000000064d452 in handle_fatal_signal (sig=11) at /home/sergei/percona/upstream/55-et-crash/sql/signal_handler.cc:247 #2 #3 add_identifier (thd=0x249ab80, to_p=0x7ff24c5a224a "\001\060\362\177", end_p=0x7ff24c5a2320 "#sql-ee95_3#P#p0", name=0x7ff24c5a232e "p0", name_len=4294967293) at /home/sergei/percona/upstream/55-et-crash/sql/sql_table.cc:104 #4 0x00000000005b7c03 in explain_filename (thd=0x249ab80, from=, to=0x7ff24c5a2220 "`#sql-ee95_3#P#p0` /* Temporary Partition \001\060\362\177", to_length=256, explain_mode=EXPLAIN_PARTITIONS_AS_COMMENT) at /home/sergei/percona/upstream/55-et-crash/sql/sql_table.cc:356 #5 0x000000000075f98e in innobase_convert_identifier (buf=0x7ff24c5a2497 "", buflen=569, id=0x7ff230007c45 "#sql-ee95_3#P#p0", idlen=16, thd=0x249ab80, file_id=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/handler/ha_innodb.cc:1997 #6 0x0000000000760129 in innobase_convert_name (buf=0x7ff24c5a2490 "`test`.", buflen=, id=, idlen=21, thd=0x249ab80, table_id=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/handler/ha_innodb.cc:2083 #7 0x00000000007b0fb1 in ut_print_namel (f=0x3856b8d860, trx=, table_id=, name=, namelen=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/ut/ut0ut.c:552 #8 0x000000000077d363 in row_create_table_for_mysql (table=0x7ff230020cb8, trx=0x7ff230020318) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/row/row0mysql.c:1881 #9 0x0000000000762c91 in create_table_def (this=, name=, form=0x7ff24c5a3700, create_info=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/handler/ha_innodb.cc:6639 #10 ha_innobase::create (this=, name=, form=0x7ff24c5a3700, create_info=) at /home/sergei/percona/upstream/55-et-crash/storage/innobase/handler/ha_innodb.cc:7242 #11 0x00000000008b59fd in ha_partition::del_ren_cre_table (this=0x7ff230017ed0, from=0x7ff24c5a34c0 "./test/#sql-ee95_3", to=0x0, table_arg=0x7ff24c5a3700, create_info=0x7ff24c5a77c0) at /home/sergei/percona/upstream/55-et-crash/sql/ha_partition.cc:1977 #12 0x00000000008b5aaf in ha_partition::create (this=0x7ff230017ed0, name=, table_arg=0x7ff24c5a3700, create_info=0x7ff24c5a77c0) at /home/sergei/percona/upstream/55-et-crash/sql/ha_partition.cc:596 #13 0x0000000000652b03 in ha_create_table (thd=0x249ab80, path=, db=0x7ff2300051c0 "test", table_name=0x7ff24c5a70d0 "#sql-ee95_3", create_info=, update_create_info=) at /home/sergei/percona/upstream/55-et-crash/sql/handler.cc:3784 #14 0x00000000005e370f in rea_create_table (thd=0x249ab80, path=0x7ff24c5a5460 "./test/#sql-ee95_3", db=0x7ff2300051c0 "test", table_name=0x7ff24c5a70d0 "#sql-ee95_3", create_info=0x7ff24c5a77c0, create_fields=, keys=0, key_info=0x7ff2300062e8, file=0x7ff230005f98) at /home/sergei/percona/upstream/55-et-crash/sql/unireg.cc:528 #15 0x00000000005bd48e in mysql_create_table_no_lock (thd=0x249ab80, db=0x7ff2300051c0 "test", table_name=0x7ff24c5a70d0 "#sql-ee95_3", create_info=0x7ff24c5a77c0, alter_info=0x7ff24c5a78a0, internal_tmp_table=true, select_field_count=0, is_trans=0x0) at /home/sergei/percona/upstream/55-et-crash/sql/sql_table.cc:4292 #16 0x00000000005c003a in mysql_alter_table (thd=, new_db=, new_name=0x7ff230004c60 "t1", create_info=0x7ff24c5a77c0, table_list=0x7ff200000001, alter_info=, order_num=0, order=0x0, ignore=false) at /home/sergei/percona/upstream/55-et-crash/sql/sql_table.cc:6430 #17 0x000000000073b9d3 in Alter_table_statement::execute (this=, thd=0x249ab80) at /home/sergei/percona/upstream/55-et-crash/sql/sql_alter.cc:106 #18 0x0000000000567e77 in mysql_execute_command (thd=0x249ab80) at /home/sergei/percona/upstream/55-et-crash/sql/sql_parse.cc:4431 #19 0x000000000056b369 in mysql_parse (thd=0x249ab80, rawbuf=, length=51, parser_state=0x7ff24c5a9980) at /home/sergei/percona/upstream/55-et-crash/sql/sql_parse.cc:5627 #20 0x000000000056cca3 in dispatch_command (command=COM_QUERY, thd=0x249ab80, packet=, packet_length=) at /home/sergei/percona/upstream/55-et-crash/sql/sql_parse.cc:1037 #21 0x00000000005f7a76 in do_handle_one_connection (thd_arg=) at /home/sergei/percona/upstream/55-et-crash/sql/sql_connect.cc:840 #22 0x00000000005f7ada in handle_one_connection (arg=0x249ab80) at /home/sergei/percona/upstream/55-et-crash/sql/sql_connect.cc:759 #23 0x0000000000866df4 in pfs_spawn_thread (arg=0x2431dd0) at /home/sergei/percona/upstream/55-et-crash/storage/perfschema/pfs.cc:1015 #24 0x0000003857007851 in start_thread () from /lib64/libpthread.so.0 #25 0x00000038568e811d in clone () from /lib64/libc.so.6 -------------------------------------------------------------------------- The servers were restarted 0 times Spent 0.000 of 24 seconds executing testcases Completed: Failed 1/1 tests, 0.00% were successful. Failing test(s): main.crash The log files in var/log may give you some hint of what went wrong. If you want to report this error, please read first the documentation at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html mysql-test-run: *** ERROR: there were failing test cases