# 10:00:28 Query: SELECT DISTINCT BIT_AND( OUTR . `datetime_key` ) AS X FROM C AS OUTR WHERE ( OUTR . `int_nokey` , OUTR . `pk` ) IN ( SELECT DISTINCT INNR . `pk` AS X , INNR . `pk` AS Y FROM CC AS INNR2 LEFT JOIN BB AS INNR ON ( INNR2 . `varchar_nokey` = INNR . `varchar_key` ) WHERE INNR . `date_key` BETWEEN '2009-04-26' AND '2004-08-21' ) AND OUTR . `pk` = 9 ORDER BY OUTR . `int_key` , OUTR . `pk` failed: 2013 Lost connection to MySQL server during query # 10:00:29 Killing periodic reporting process with pid 3017... # 10:00:29 Server crash reported, initiating post-crash analysis... # 10:00:29 The last 100 lines from /mysql-5.1-bugteam/mysql-test/var/master-data/../log/master.err : CURRENT_TEST: main.1st 090530 16:58:12 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead. 090530 16:58:12 [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. 090530 16:58:12 [Warning] Setting lower_case_table_names=2 because file system for /mysql-5.1-bugteam/mysql-test/var/master-data/ is case insensitive 090530 16:58:12 [Note] Plugin 'FEDERATED' is disabled. 090530 16:58:12 [Note] Plugin 'ndbcluster' is disabled. InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 090530 16:58:13 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 090530 16:58:13 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... 090530 16:58:13 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 090530 16:58:13 InnoDB: Started; log sequence number 0 0 090530 16:58:13 [Warning] /mysql-5.1-bugteam/sql/mysqld: unknown variable 'loose-falcon-debug-mask=2' 090530 16:58:13 [Note] Event Scheduler: Loaded 0 events 090530 16:58:13 [Note] /mysql-5.1-bugteam/sql/mysqld: ready for connections. Version: '5.1.36-debug-log' socket: '/var/folders/Pt/PtJd7NDTGgyOk3+iDGXrQk+++TI/-Tmp-/yPb4KCkzrr/master.sock' port: 19306 Source distribution # 10:00:29 datadir is /mysql-5.1-bugteam/mysql-test/var/master-data/ "/mysql-test-extra-6.0/mysql-test/gentest/" is not a core dump: File format not recognized No stack. # 10:00:35 Reading symbols for shared libraries .... done "/mysql-test-extra-6.0/mysql-test/gentest/" is not a core dump: File format not recognized # 10:00:36 Reading symbols for shared libraries .... done # 10:00:36 The last 100 lines from /mysql-azalea/mysql-test/var/master-data/../log/master.err : CURRENT_TEST: main.1st 090530 16:58:18 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general-log --general-log-file' instead. 090530 16:58:18 [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. 090530 16:58:18 [Warning] Setting lower_case_table_names=2 because file system for /mysql-azalea/mysql-test/var/master-data/ is case insensitive InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 090530 16:58:18 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 090530 16:58:18 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... 090530 16:58:19 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 090530 16:58:19 InnoDB: Started; log sequence number 0 0 090530 16:58:19 [Warning] /mysql-azalea/sql/mysqld: unknown variable 'loose-falcon-debug-mask=2' 090530 16:58:19 [Note] Event Scheduler: Loaded 0 events 090530 16:58:19 [Note] /mysql-azalea/sql/mysqld: ready for connections. Version: '5.4.4-alpha-debug-log' socket: '/var/folders/Pt/PtJd7NDTGgyOk3+iDGXrQk+++TI/-Tmp-/yS2nhv6q4r/master.sock' port: 19308 Source distribution 090530 16:59:54 - 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 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 = 60018 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x1152e18 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 = 0xb0490f64 thread_stack 0x30c00 0 mysqld 0x005a1569 my_print_stacktrace + 44 1 mysqld 0x000f9fe6 handle_segfault + 894 2 libSystem.B.dylib 0x971022bb _sigtramp + 43 3 ??? 0xffffffff 0x0 + 4294967295 4 mysqld 0x0019ffff _Z18cp_buffer_from_refP3THDP5TABLEP12st_table_ref + 9391 5 mysqld 0x001ae571 _ZN4JOIN8optimizeEv + 2737 6 mysqld 0x001b6547 _Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex + 677 7 mysqld 0x001b6929 _Z13handle_selectP3THDP3LEXP13select_resultm + 537 8 mysqld 0x0010c324 _Z20prepare_schema_tableP3THDP3LEXP11Table_ident18enum_schema_tables + 2032 9 mysqld 0x00112702 _Z21mysql_execute_commandP3THD + 3106 10 mysqld 0x0011c0a1 _Z11mysql_parseP3THDPKcjPS2_ + 575 11 mysqld 0x0011cbe2 _Z16dispatch_command19enum_server_commandP3THDPcj + 2440 12 mysqld 0x0011dfb8 _Z10do_commandP3THD + 616 13 mysqld 0x00109c42 handle_one_connection + 324 14 libSystem.B.dylib 0x970c7155 _pthread_start + 321 15 libSystem.B.dylib 0x970c7012 thread_start + 34 Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x12df028 = SELECT DISTINCT BIT_AND( OUTR . `datetime_key` ) AS X FROM C AS OUTR WHERE ( OUTR . `int_nokey` , OUTR . `pk` ) IN ( SELECT DISTINCT INNR . `pk` AS X , INNR . `pk` AS Y FROM CC AS INNR2 LEFT JOIN BB AS INNR ON ( INNR2 . `varchar_nokey` = INNR . `varchar_key` ) WHERE INNR . `date_key` BETWEEN '2009-04-26' AND '2004-08-21' ) AND OUTR . `pk` = 9 ORDER BY OUTR . `int_key` , OUTR . `pk` thd->thread_id=5 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 # 10:00:36 datadir is /mysql-azalea/mysql-test/var/master-data/ "/mysql-test-extra-6.0/mysql-test/gentest/" is not a core dump: File format not recognized No stack. # 10:00:37 Reading symbols for shared libraries .... done "/mysql-test-extra-6.0/mysql-test/gentest/" is not a core dump: File format not recognized # 10:00:38 Reading symbols for shared libraries .... done # 10:00:38 Test completed with failure status 101. # 10:00:38 gentest.pl exited with exit status 101 Sat May 30 10:00:38 2009 [2849] ./runall.pl will exit with exit status 101