[sbester@levovo mysql-next-mr-opt-backporting]$ bzr log |head -n 10 ------------------------------------------------------------ revno: 3337 committer: Jorgen Loland branch nick: mysql-next-mr-opt-backporting timestamp: Wed 2011-02-02 16:05:14 +0100 message: Recorded result files after merge mysql-trunk -> opt-backporting. Version: '5.6.2-m5-valgrind-max-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution [New Thread 0x7ffff4045710 (LWP 12122)] [Thread 0x7ffff4045710 (LWP 12122) exited] [New Thread 0x7ffff4045710 (LWP 12123)] [Thread 0x7ffff4045710 (LWP 12123) exited] [New Thread 0x7ffff4045710 (LWP 12124)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff4045710 (LWP 12124)] 0x00000000005d1440 in TMP_TABLE_PARAM::init (this=0x10) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_class.cc:3017 3017 field_count= sum_func_count= func_count= hidden_field_count= 0; (gdb) bt #0 0x00000000005d1440 in TMP_TABLE_PARAM::init (this=0x10) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_class.cc:3017 #1 0x000000000063a074 in setup_sj_materialization (tab=0x7fffc80157a8) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_select.cc:10919 #2 0x000000000063abaa in make_join_readinfo (join=0x7fffc800e090, options=0, no_jbuf_after=4) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_select.cc:11169 #3 0x000000000062431c in JOIN::optimize (this=0x7fffc800e090) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_select.cc:2301 #4 0x0000000000628ea4 in mysql_select (thd=0x1e59bb0, rref_pointer_array=0x1e5c130, tables=0x7fffc8010c00, wild_num=1, fields=..., conds=0x7fffc800d760, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7fffc800e050, unit=0x1e5b8d0, select_lex=0x1e5bf18) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_select.cc:3570 #5 0x000000000061f441 in handle_select (thd=0x1e59bb0, lex=0x1e5b820, result=0x7fffc800e050, setup_tables_done_option=0) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_select.cc:323 #6 0x0000000000601b63 in execute_sqlcom_select (thd=0x1e59bb0, all_tables=0x7fffc8010c00) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_parse.cc:4513 #7 0x00000000005fa7c6 in mysql_execute_command (thd=0x1e59bb0) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_parse.cc:2096 #8 0x0000000000603cbf in mysql_parse (thd=0x1e59bb0, rawbuf=0x7fffc8011390 "SELECT * FROM B WHERE f2 IN (SELECT A.f1 FROM (A LEFT OUTER JOIN ((B AS b1 JOIN B AS b2\nON (1=1))) ON (1=1)))", length=109, parser_state=0x7ffff4044610) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_parse.cc:5550 #9 0x00000000005f8086 in dispatch_command (command=COM_QUERY, thd=0x1e59bb0, packet=0x1ea9f11 "SELECT * FROM B WHERE f2 IN (SELECT A.f1 FROM (A LEFT OUTER JOIN ((B AS b1 JOIN B AS b2\nON (1=1))) ON (1=1)))", packet_length=109) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_parse.cc:1078 #10 0x00000000005f738e in do_command (thd=0x1e59bb0) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_parse.cc:815 #11 0x00000000006d74e1 in do_handle_one_connection (thd_arg=0x1e59bb0) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_connect.cc:748 #12 0x00000000006d7072 in handle_one_connection (arg=0x1e59bb0) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_connect.cc:684 #13 0x00000030e1807761 in start_thread (arg=0x7ffff4045710) at pthread_create.c:301 #14 0x00000030e14e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 (gdb) frame 1 #1 0x000000000063a074 in setup_sj_materialization (tab=0x7fffc80157a8) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_select.cc:10919 10919 sjm->table_param.init(); (gdb) p sjm $1 = (Semijoin_mat_exec *) 0x0 (gdb) frame 2 #2 0x000000000063abaa in make_join_readinfo (join=0x7fffc800e090, options=0, no_jbuf_after=4) at /home/sbester/build/bzr/mysql-next-mr-opt-backporting/sql/sql_select.cc:11169 11169 if (setup_sj_materialization(tab)) (gdb) p tab $2 = (JOIN_TAB *) 0x7fffc80157a8 (gdb)