Logging: ./mysql-test-run.pl rpl_sven_29 091103 15:05:07 [Note] Plugin 'FEDERATED' is disabled. 091103 15:05:07 [Note] Plugin 'ndbcluster' is disabled. MySQL Version 5.1.41 Checking supported features... - using ndbcluster when necessary, mysqld supports it - SSL connections supported - binaries are debug compiled Collecting tests... - adding combinations for rpl vardir: /home/sven/bzr/debug-max/5.1-bugteam/mysql-test/var Checking leftover processes... Removing old var directory... Creating var directory '/home/sven/bzr/debug-max/5.1-bugteam/mysql-test/var'... Installing system database... Using server port 37050 ============================================================================== TEST RESULT TIME (ms) ------------------------------------------------------------ worker[1] Using MTR_BUILD_THREAD 3, with reserved ports 10030..10039 CREATE TABLE t1 SELECT 1 a; CREATE TEMPORARY TABLE t3 SELECT 3 a; CREATE VIEW t AS SELECT * FROM t1; rpl.rpl_sven_29 'row' [ fail ] Test ended at 2009-11-03 15:05:08 CURRENT_TEST: rpl.rpl_sven_29 mysqltest: At line 4: query 'CREATE TABLE IF NOT EXISTS t LIKE t3' failed: 2013: Lost connection to MySQL server during query Server [mysqld.1 - pid: 29016, winpid: 29016, exit: 256] failed during test run Server log from this test: 091103 17:05:08 [Note] Plugin 'FEDERATED' is disabled. 091103 17:05:08 [Note] Plugin 'InnoDB' is disabled. 091103 17:05:08 [Note] Plugin 'ndbcluster' is disabled. 091103 17:05:08 [Note] Event Scheduler: Loaded 0 events 091103 17:05:08 [Note] /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld: ready for connections. Version: '5.1.41-debug-log' socket: '/home/sven/bzr/debug-max/5.1-bugteam/mysql-test/var/tmp/mysqld.1.sock' port: 10030 Source distribution 091103 17:05:08 - 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=1 max_threads=151 threads_connected=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 59976 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x93b7098 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 = 0xb75a73b0 thread_stack 0x30000 /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld(my_print_stacktrace+0x26)[0x8741cf5] /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld(handle_segfault+0x2ae)[0x82c6bb2] [0xb80d7400] /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld(_Z17store_create_infoP3THDP10TABLE_LISTP6StringP24st_ha_create_informationb+0x3d5)[0x845d4d8] /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld(_Z23mysql_create_like_tableP3THDP10TABLE_LISTS2_P24st_ha_create_information+0x8e3)[0x843c0c4] /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld(_Z21mysql_execute_commandP3THD+0x1ea6)[0x82db188] /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x25d)[0x82e3791] /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xc76)[0x82e45b5] /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld(_Z10do_commandP3THD+0x26e)[0x82e5b30] /home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld(handle_one_connection+0x14a)[0x82d0b33] /lib/tls/i686/cmov/libpthread.so.0[0xb80ad4ff] /lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb7fb249e] Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x9408cc0 = CREATE TABLE IF NOT EXISTS t LIKE t3 thd->thread_id=2 thd->killed=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 - saving '/home/sven/bzr/debug-max/5.1-bugteam/mysql-test/var/log/rpl.rpl_sven_29-row/' to '/home/sven/bzr/debug-max/5.1-bugteam/mysql-test/var/log/rpl.rpl_sven_29-row/' - found 'core' (0/5) Trying 'dbx' to get a backtrace Trying 'gdb' to get a backtrace Core generated by '/home/sven/bzr/debug-max/5.1-bugteam/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). -------------------------- warning: Can't read pathname for load map: Input/output error. Core was generated by `/home/sven/bzr/debug-max/5.1-bugteam/sql/mysqld --defaults-group-suffix=.1 --de'. Program terminated with signal 11, Segmentation fault. [New process 29079] [New process 29022] [New process 29017] #0 0xb80d7430 in __kernel_vsyscall () #0 0xb80d7430 in __kernel_vsyscall () #1 0xb80b21c8 in pthread_kill () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x08741d79 in my_write_core (sig=11) at stacktrace.c:310 #3 0x082c6de4 in handle_segfault (sig=11) at mysqld.cc:2570 #4 #5 0x0844a1c2 in tmp_use_all_columns (table=0x93e72c8, bitmap=0x0) at table.h:1680 #6 0x0845d4d8 in store_create_info (thd=0x93b7098, table_list=0x9408d80, packet=0xb75a5198, create_info_arg=0xb75a6368, show_database=false) at sql_show.cc:1272 #7 0x0843c0c4 in mysql_create_like_table (thd=0x93b7098, table=0x9408d80, src_table=0x9408f88, create_info=0xb75a6368) at sql_table.cc:5424 #8 0x082db188 in mysql_execute_command (thd=0x93b7098) at sql_parse.cc:2722 #9 0x082e3791 in mysql_parse (thd=0x93b7098, inBuf=0x9408cc0 "CREATE TABLE IF NOT EXISTS t LIKE t3", length=36, found_semicolon=0xb75a7080) at sql_parse.cc:5963 #10 0x082e45b5 in dispatch_command (command=COM_QUERY, thd=0x93b7098, packet=0x93dbd29 "CREATE TABLE IF NOT EXISTS t LIKE t3", packet_length=36) at sql_parse.cc:1224 #11 0x082e5b30 in do_command (thd=0x93b7098) at sql_parse.cc:865 #12 0x082d0b33 in handle_one_connection (arg=0x93b7098) at sql_connect.cc:1127 #13 0xb80ad4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7fb249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (process 29017): #0 0xb80d7430 in __kernel_vsyscall () #1 0xb7faa7b1 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0x082c7835 in handle_connections_sockets (arg=0x0) at mysqld.cc:5033 #3 0x082cb532 in main (argc=8, argv=0xbfecce84) at mysqld.cc:4517 Thread 2 (process 29022): #0 0xb80d7430 in __kernel_vsyscall () #1 0xb80b5300 in sigwait () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x082c5e5c in signal_hand (arg=0x0) at mysqld.cc:2772 #3 0xb80ad4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #4 0xb7fb249e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (process 29079): #0 0xb80d7430 in __kernel_vsyscall () #1 0xb80b21c8 in pthread_kill () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x08741d79 in my_write_core (sig=11) at stacktrace.c:310 #3 0x082c6de4 in handle_segfault (sig=11) at mysqld.cc:2570 #4 #5 0x0844a1c2 in tmp_use_all_columns (table=0x93e72c8, bitmap=0x0) at table.h:1680 #6 0x0845d4d8 in store_create_info (thd=0x93b7098, table_list=0x9408d80, packet=0xb75a5198, create_info_arg=0xb75a6368, show_database=false) at sql_show.cc:1272 #7 0x0843c0c4 in mysql_create_like_table (thd=0x93b7098, table=0x9408d80, src_table=0x9408f88, create_info=0xb75a6368) at sql_table.cc:5424 #8 0x082db188 in mysql_execute_command (thd=0x93b7098) at sql_parse.cc:2722 #9 0x082e3791 in mysql_parse (thd=0x93b7098, inBuf=0x9408cc0 "CREATE TABLE IF NOT EXISTS t LIKE t3", length=36, found_semicolon=0xb75a7080) at sql_parse.cc:5963 #10 0x082e45b5 in dispatch_command (command=COM_QUERY, thd=0x93b7098, packet=0x93dbd29 "CREATE TABLE IF NOT EXISTS t LIKE t3", packet_length=36) at sql_parse.cc:1224 #11 0x082e5b30 in do_command (thd=0x93b7098) at sql_parse.cc:865 #12 0x082d0b33 in handle_one_connection (arg=0x93b7098) at sql_connect.cc:1127 #13 0xb80ad4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7fb249e in clone () from /lib/tls/i686/cmov/libc.so.6 Only 1 of 3 completed. mysql-test-run: *** ERROR: Not all tests completed