# 12:39:29 Server crash reported at dsn dbi:mysql:host=127.0.0.1:port=19306:user=root:database=test # 12:39:30 Killing periodic reporting process with pid 7713... # 12:39:30 Server crash reported, initiating post-crash analysis... # 12:39:30 The last 100 lines from /mysql-5.1/mysql-test/var/master-data/../log/master.err : CURRENT_TEST: main.1st 090818 19:38:44 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead. 090818 19:38:44 [Warning] The syntax '--log_slow_queries' is deprecated and will be removed in MySQL 7.0. Please use '--slow_query_log'/'--slow_query_log_file' instead. 090818 19:38:44 [Warning] Setting lower_case_table_names=2 because file system for /mysql-5.1/mysql-test/var/master-data/ is case insensitive 090818 19:38:44 [Note] Plugin 'FEDERATED' is disabled. 090818 19:38:44 [Note] Plugin 'ndbcluster' is disabled. InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 090818 19:38:44 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 090818 19:38:44 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 090818 19:38:44 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 090818 19:38:44 InnoDB: Started; log sequence number 0 0 090818 19:38:44 [Warning] /mysql-5.1/sql/mysqld: unknown variable 'loose-falcon-debug-mask=2' 090818 19:38:44 [Note] Event Scheduler: Loaded 0 events 090818 19:38:44 [Note] /mysql-5.1/sql/mysqld: ready for connections. Version: '5.1.39-debug-log' socket: '/var/folders/Pt/PtJd7NDTGgyOk3+iDGXrQk+++TI/-Tmp-/xbsJ8z0VhD/master.sock' port: 19306 Source distribution Assertion failed: (table->key_read == 0), function unknown function, file sql_base.cc, line 1371. 090818 19:39:01 - mysqld got signal 6 ; 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=3 max_threads=151 threads_connected=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 59965 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x0 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 = 0x0 thread_stack 0x30000 0 mysqld 0x0056a98f my_print_stacktrace + 44 1 mysqld 0x000f81ff handle_segfault + 853 2 libSystem.B.dylib 0x90e8e2bb _sigtramp + 43 3 ??? 0xffffffff 0x0 + 4294967295 4 mysqld 0x001023e8 main + 1580 5 mysqld 0x0000193e start + 54 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 # 12:39:30 datadir is /mysql-5.1/mysql-test/var/master-data/ # 12:39:30 Core file appears to be /cores/core.7624 # 12:39:31 Reading symbols for shared libraries .... done # 12:39:31 Core was generated by `/mysql-5.1/sql/mysqld'. # 12:39:31 Reading symbols for shared libraries . done # 12:39:31 Reading symbols for shared libraries .... done # 12:39:31 #0 0x90f03402 in __assert_rtn () # 12:39:31 #0 0x90f03402 in __assert_rtn () # 12:39:31 #1 0x0056aa25 in my_write_core (sig=6) at stacktrace.c:310 # 12:39:31 #2 0x000f842a in handle_segfault (sig=6) at mysqld.cc:2552 # 12:39:31 #3 # 12:39:31 #4 0x90e716fa in select$DARWIN_EXTSN () # 12:39:31 #5 0x000fbdf8 in handle_connections_sockets (arg=0x0) at mysqld.cc:5006 # 12:39:31 #6 0x001023e8 in main (argc=41, argv=0xbfffa9dc) at mysqld.cc:4490 # 12:39:32 Reading symbols for shared libraries .... done # 12:39:32 Core was generated by `/mysql-5.1/sql/mysqld'. # 12:39:32 Reading symbols for shared libraries . done # 12:39:32 Reading symbols for shared libraries .... done # 12:39:32 #0 0x90f03402 in __assert_rtn () # 12:39:32 # 12:39:32 Thread 11 (core thread 10): # 12:39:32 #0 0x90efe136 in clock_get_attributes () # 12:39:32 #1 0x90ef7013 in usleep$NOCANCEL$UNIX2003 () # 12:39:32 #2 0x90f0e685 in abort () # 12:39:32 #3 0x90f033db in __assert_rtn () # 12:39:32 #4 0x00159550 in close_thread_table (thd=0x1086618, table_ptr=0x1086664) at sql_base.cc:1371 # 12:39:32 #5 0x001598b0 in close_open_tables (thd=0x1086618) at sql_base.cc:1196 # 12:39:32 #6 0x00159c24 in close_thread_tables (thd=0x1086618) at sql_base.cc:1348 # 12:39:32 #7 0x0011c5fd in dispatch_command (command=COM_QUERY, thd=0x1086618, packet=0x19be019 "", packet_length=903) at sql_parse.cc:1587 # 12:39:32 #8 0x0011c9f2 in do_command (thd=0x1086618) at sql_parse.cc:854 # 12:39:32 #9 0x00107aa0 in handle_one_connection (arg=0x1086618) at sql_connect.cc:1127 # 12:39:32 #10 0x90e53155 in _pthread_start () # 12:39:32 #11 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 10 (core thread 9): # 12:39:32 #0 0x90e45f9a in read$UNIX2003 () # 12:39:32 #1 0x0053868c in vio_read (vio=0x1d69a98, buf=0x19b9018 "\a", size=4) at viosocket.c:44 # 12:39:32 #2 0x000eb98c in my_real_read (net=0x101b494, complen=0xb03f0e98) at net_serv.cc:817 # 12:39:32 #3 0x000ebff8 in my_net_read (net=0x101b494) at net_serv.cc:1005 # 12:39:32 #4 0x0011c816 in do_command (thd=0x101b418) at sql_parse.cc:796 # 12:39:32 #5 0x00107aa0 in handle_one_connection (arg=0x101b418) at sql_connect.cc:1127 # 12:39:32 #6 0x90e53155 in _pthread_start () # 12:39:32 #7 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 9 (core thread 8): # 12:39:32 #0 0x90e97412 in sigwait$UNIX2003 () # 12:39:32 #1 0x00102830 in signal_hand (arg=0x0) at mysqld.cc:2754 # 12:39:32 #2 0x90e53155 in _pthread_start () # 12:39:32 #3 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 8 (core thread 7): # 12:39:32 #0 0x90e2946e in nanosleep$UNIX2003 () # 12:39:32 #1 0x90e53dcd in pthread_cond_wait$UNIX2003 () # 12:39:32 #2 0x0056f738 in safe_cond_wait (cond=0xd02f14, mp=0xd02ea0, file=0x64846e "os/os0sync.c", line=422) at thr_mutex.c:237 # 12:39:32 #3 0x003ce15c in os_event_wait_low (event=0xd02ea0, reset_sig_count=0) at os/os0sync.c:422 # 12:39:32 #4 0x00400f95 in srv_master_thread (arg=0x0) at srv/srv0srv.c:2637 # 12:39:32 #5 0x90e53155 in _pthread_start () # 12:39:32 #6 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 7 (core thread 6): # 12:39:32 #0 0x90e716fa in select$DARWIN_EXTSN () # 12:39:32 #1 0x003ce991 in os_thread_sleep (tm=1000000) at os/os0thread.c:281 # 12:39:32 #2 0x00400453 in srv_error_monitor_thread (arg=0x0) at srv/srv0srv.c:2148 # 12:39:32 #3 0x90e53155 in _pthread_start () # 12:39:32 #4 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 6 (core thread 5): # 12:39:32 #0 0x90e716fa in select$DARWIN_EXTSN () # 12:39:32 #1 0x003ce991 in os_thread_sleep (tm=1000000) at os/os0thread.c:281 # 12:39:32 #2 0x003ffda7 in srv_lock_timeout_and_monitor_thread (arg=0x0) at srv/srv0srv.c:1922 # 12:39:32 #3 0x90e53155 in _pthread_start () # 12:39:32 #4 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 5 (core thread 4): # 12:39:32 #0 0x90e2946e in nanosleep$UNIX2003 () # 12:39:32 #1 0x90e53dcd in pthread_cond_wait$UNIX2003 () # 12:39:32 #2 0x0056f738 in safe_cond_wait (cond=0x1d229d4, mp=0x1d22960, file=0x64846e "os/os0sync.c", line=422) at thr_mutex.c:237 # 12:39:32 #3 0x003ce15c in os_event_wait_low (event=0x1d22960, reset_sig_count=0) at os/os0sync.c:422 # 12:39:32 #4 0x003ccf3c in os_aio_simulated_handle (global_segment=3, message1=0xb0206f34, message2=0xb0206f30, type=0xb0206f2c) at os/os0file.c:4207 # 12:39:32 #5 0x003a71df in fil_aio_wait (segment=3) at fil/fil0fil.c:4246 # 12:39:32 #6 0x00401629 in io_handler_thread (arg=0x8522ec) at srv/srv0start.c:435 # 12:39:32 #7 0x90e53155 in _pthread_start () # 12:39:32 #8 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 4 (core thread 3): # 12:39:32 #0 0x90e2946e in nanosleep$UNIX2003 () # 12:39:32 #1 0x90e53dcd in pthread_cond_wait$UNIX2003 () # 12:39:32 #2 0x0056f738 in safe_cond_wait (cond=0x1d22924, mp=0x1d228b0, file=0x64846e "os/os0sync.c", line=422) at thr_mutex.c:237 # 12:39:32 #3 0x003ce15c in os_event_wait_low (event=0x1d228b0, reset_sig_count=0) at os/os0sync.c:422 # 12:39:32 #4 0x003ccf3c in os_aio_simulated_handle (global_segment=2, message1=0xb0184f34, message2=0xb0184f30, type=0xb0184f2c) at os/os0file.c:4207 # 12:39:32 #5 0x003a71df in fil_aio_wait (segment=2) at fil/fil0fil.c:4246 # 12:39:32 #6 0x00401629 in io_handler_thread (arg=0x8522e8) at srv/srv0start.c:435 # 12:39:32 #7 0x90e53155 in _pthread_start () # 12:39:32 #8 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 3 (core thread 2): # 12:39:32 #0 0x90e2946e in nanosleep$UNIX2003 () # 12:39:32 #1 0x90e53dcd in pthread_cond_wait$UNIX2003 () # 12:39:32 #2 0x0056f738 in safe_cond_wait (cond=0x1d22874, mp=0x1d22800, file=0x64846e "os/os0sync.c", line=422) at thr_mutex.c:237 # 12:39:32 #3 0x003ce15c in os_event_wait_low (event=0x1d22800, reset_sig_count=0) at os/os0sync.c:422 # 12:39:32 #4 0x003ccf3c in os_aio_simulated_handle (global_segment=1, message1=0xb0102f34, message2=0xb0102f30, type=0xb0102f2c) at os/os0file.c:4207 # 12:39:32 #5 0x003a71df in fil_aio_wait (segment=1) at fil/fil0fil.c:4246 # 12:39:32 #6 0x00401629 in io_handler_thread (arg=0x8522e4) at srv/srv0start.c:435 # 12:39:32 #7 0x90e53155 in _pthread_start () # 12:39:32 #8 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 2 (core thread 1): # 12:39:32 #0 0x90e2946e in nanosleep$UNIX2003 () # 12:39:32 #1 0x90e53dcd in pthread_cond_wait$UNIX2003 () # 12:39:32 #2 0x0056f738 in safe_cond_wait (cond=0x1d227c4, mp=0x1d22750, file=0x64846e "os/os0sync.c", line=422) at thr_mutex.c:237 # 12:39:32 #3 0x003ce15c in os_event_wait_low (event=0x1d22750, reset_sig_count=0) at os/os0sync.c:422 # 12:39:32 #4 0x003ccf3c in os_aio_simulated_handle (global_segment=0, message1=0xb0080f34, message2=0xb0080f30, type=0xb0080f2c) at os/os0file.c:4207 # 12:39:32 #5 0x003a71df in fil_aio_wait (segment=0) at fil/fil0fil.c:4246 # 12:39:32 #6 0x00401629 in io_handler_thread (arg=0x8522e0) at srv/srv0start.c:435 # 12:39:32 #7 0x90e53155 in _pthread_start () # 12:39:32 #8 0x90e53012 in thread_start () # 12:39:32 # 12:39:32 Thread 1 (core thread 0): # 12:39:32 #0 0x90f03402 in __assert_rtn () # 12:39:32 #1 0x0056aa25 in my_write_core (sig=6) at stacktrace.c:310 # 12:39:32 #2 0x000f842a in handle_segfault (sig=6) at mysqld.cc:2552 # 12:39:32 #3 # 12:39:32 #4 0x90e716fa in select$DARWIN_EXTSN () # 12:39:32 #5 0x000fbdf8 in handle_connections_sockets (arg=0x0) at mysqld.cc:5006 # 12:39:32 #6 0x001023e8 in main (argc=41, argv=0xbfffa9dc) at mysqld.cc:4490 # 12:39:32 The last 100 lines from /azalea/mysql-test/var/master-data/../log/master.err : CURRENT_TEST: main.1st 090818 19:38:48 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general-log --general-log-file' instead. 090818 19:38:48 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in MySQL 7.0. Please use '--slow-query-log'/'--slow-query-log-file' instead. 090818 19:38:48 [ERROR] An old style --language value with language specific part detected: /azalea/sql/share/english/ 090818 19:38:48 [ERROR] Use --lc-messages-dir without language specific part instead. 090818 19:38:48 [Warning] Setting lower_case_table_names=2 because file system for /azalea/mysql-test/var/master-data/ is case insensitive 090818 19:38:48 [Note] Plugin 'FEDERATED' is disabled. 090818 19:38:48 [Note] Plugin 'ndbcluster' is disabled. InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 090818 19:38:48 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 090818 19:38:48 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 090818 19:38:48 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 090818 19:38:48 InnoDB: Started; log sequence number 0 0 090818 19:38:48 [Warning] /azalea/sql/mysqld: unknown variable 'loose-falcon-debug-mask=2' 090818 19:38:48 [Note] Event Scheduler: Loaded 0 events 090818 19:38:48 [Note] /azalea/sql/mysqld: ready for connections. Version: '5.4.4-alpha-debug-log' socket: '/var/folders/Pt/PtJd7NDTGgyOk3+iDGXrQk+++TI/-Tmp-/NSrgnvUv9t/master.sock' port: 19308 Source distribution Assertion failed: (table->key_read == 0), function close_thread_table, file sql_base.cc, line 1522. 090818 19:39:01 - mysqld got signal 6 ; 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=1 connection_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 60098 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x0 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 = 0x0 thread_stack 0x30c00 0 mysqld 0x005aae33 my_print_stacktrace + 44 1 mysqld 0x000fcba5 handle_segfault + 909 2 libSystem.B.dylib 0x90e8e2bb _sigtramp + 43 3 ??? 0xffffffff 0x0 + 4294967295 4 mysqld 0x001075b1 main + 1427 5 mysqld 0x00001c6e start + 54 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 # 12:39:32 datadir is /azalea/mysql-test/var/master-data/ # 12:39:32 Core file appears to be "/rqg/mysql-test/gentest/" is not a core dump: File format not recognized No stack. # 12:39:33 Reading symbols for shared libraries .... done "/rqg/mysql-test/gentest/" is not a core dump: File format not recognized # 12:39:33 Reading symbols for shared libraries .... done # 12:39:33 Test completed with failure status 101. # 12:39:33 gentest.pl exited with exit status 101 Tue Aug 18 12:39:33 2009 [7544] ./runall.pl will exit with exit status 101