090106 13:34:07 - 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=8384512 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 = 338366 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x7dc73c0 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 = 0x403cb100 thread_stack 0x40000 /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(my_print_stacktrace+0x29) [0x81c079] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(handle_segfault+0x339) [0x5ad709] /lib64/libpthread.so.0 [0x335180de70] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE_BKA_UNIQUE::key_search(unsigned char*, unsigned int, unsigned char**)+0xe0) [0x5fa3d0] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE_BKA_UNIQUE::put_record()+0x82) [0x5fba92] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(sub_select_cache(JOIN*, st_join_table*, bool)+0x78) [0x625d58] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE::generate_full_extensions(unsigned char*)+0xad) [0x5fa9ed] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE_BKA_UNIQUE::join_matching_records(bool)+0x1f5) [0x5fc645] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE::join_records(bool)+0x149) [0x5f94b9] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE::generate_full_extensions(unsigned char*)+0xad) [0x5fa9ed] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE_BKA_UNIQUE::join_matching_records(bool)+0x1f5) [0x5fc645] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE::join_records(bool)+0x149) [0x5f94b9] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE::generate_full_extensions(unsigned char*)+0xad) [0x5fa9ed] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE_BKA_UNIQUE::join_matching_records(bool)+0x1f5) [0x5fc645] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE::join_records(bool)+0x149) [0x5f94b9] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE::generate_full_extensions(unsigned char*)+0xad) [0x5fa9ed] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE_BKA_UNIQUE::join_matching_records(bool)+0x1f5) [0x5fc645] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN_CACHE::join_records(bool)+0x149) [0x5f94b9] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld [0x625827] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(sub_select(JOIN*, st_join_table*, bool)+0xc3) [0x625a13] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld [0x6287ae] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(JOIN::exec()+0x919) [0x63c3a9] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*)+0x19b) [0x63df7b] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(mysql_derived_filling(THD*, LEX*, TABLE_LIST*)+0x117) [0x6fd517] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(mysql_handle_derived(LEX*, bool (*)(THD*, LEX*, TABLE_LIST*))+0x68) [0x6fd018] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(open_and_lock_tables_derived(THD*, TABLE_LIST*, bool, unsigned int)+0x13c) [0x6077ac] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld [0x5b9757] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(mysql_execute_command(THD*)+0x1a51) [0x5bdf21] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(mysql_parse(THD*, char const*, unsigned int, char const**)+0x237) [0x5c2107] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0x8eb) [0x5c29fb] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(do_command(THD*)+0xc2) [0x5c34d2] /export/home/tmp/install/mysql-6.0-bka-preview/libexec/mysqld(handle_one_connection+0xe6) [0x5b66b6] /lib64/libpthread.so.0 [0x33518062f7] /lib64/libc.so.6(clone+0x6d) [0x3350cd1b6d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x7e238c8 = select nation, o_year, sum(amount) as sum_profit from ( select n_name as nation, substr(o_orderdate, 1, 4) as o_year, l_extendedprice * (1 - l_discount) - ps_supplycost * l_quantity as amount from part, supplier, lineitem, partsupp, orders, nation where s_suppkey = l_suppkey and ps_suppkey = l_suppkey and ps_partkey = l_partkey and p_partkey = l_partkey and o_orderkey = l_orderkey and s_nationkey = n_nationkey and p_name like '%green%' ) as profit group by nation, o_year order by nation, o_year desc limit 5 thd->thread_id=1 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.