Program terminated with signal 11, Segmentation fault. #0 0x00002b0651bca603 in vfprintf () from /lib/libc.so.6 (gdb) bt #0 0x00002b0651bca603 in vfprintf () from /lib/libc.so.6 #1 0x00002b0651bebb89 in vsprintf () from /lib/libc.so.6 #2 0x00002b0651bd3f58 in sprintf () from /lib/libc.so.6 #3 0x0000000000716edf in check_stack_overrun (thd=0x1eaf5a8, margin=24000, buf=0x0) at sql_parse.cc:5109 #4 0x000000000082c912 in SQL_SELECT::test_quick_select (this=0x20fd558, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2221 #5 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20fd558, table=0x208a378, keys=0x20fd168, limit=18446744073709551615) at sql_select.cc:3632 #6 0x000000000079ebb7 in make_join_statistics (join=0x20ce8e0, tables=0x0, conds=0x206f648, keyuse_array=0x20d0280) at sql_select.cc:4043 #7 0x00000000007a1acb in JOIN::optimize (this=0x20ce8e0) at sql_select.cc:1488 #8 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x206fa60) at item_subselect.cc:2170 #9 0x00000000006b3375 in Item_subselect::exec (this=0x206f970) at item_subselect.cc:277 #10 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x206f970, decimal_value=0x4404e090) at item_subselect.cc:645 #11 0x000000000063c4b6 in Item::save_in_field (this=0x206f970, field=0x20891d8, no_conversions=true) at item.cc:4675 #12 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x206f970, field=0x20891d8, no_conversions=true) at item.cc:974 #13 0x0000000000825b85 in get_mm_leaf (param=0x4404f020, conf_func=0x206faa0, field=0x20891d8, key_part=0x21105c8, type=Item_func::GT_FUNC, value=0x206f970) at opt_range.cc:5676 #14 0x0000000000826426 in get_mm_parts (param=0x4404f020, cond_func=0x206faa0, field=0x20891d8, type=Item_func::GT_FUNC, value=0x206f970, cmp_type=INT_RESULT) at opt_range.cc:5485 #15 0x0000000000826f03 in get_func_mm_tree (param=0x4404f020, cond_func=0x206faa0, field=0x20891d8, value=0x206f970, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #16 0x00000000008270ca in get_full_func_mm_tree (param=0x4404f020, cond_func=0x206faa0, field_item=0x2059ef8, value=0x206f970, inv=false) at opt_range.cc:5267 #17 0x0000000000827eaf in get_mm_tree (param=0x4404f020, cond=0x206faa0) at opt_range.cc:5453 #18 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20fce88, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #19 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20fce88, table=0x2088638, keys=0x20fca98, limit=18446744073709551615) at sql_select.cc:3632 #20 0x000000000079ebb7 in make_join_statistics (join=0x20cc3a8, tables=0x0, conds=0x206faa0, keyuse_array=0x20cdd48) at sql_select.cc:4043 #21 0x00000000007a1acb in JOIN::optimize (this=0x20cc3a8) at sql_select.cc:1488 #22 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x206feb8) at item_subselect.cc:2170 #23 0x00000000006b3375 in Item_subselect::exec (this=0x206fdc8) at item_subselect.cc:277 #24 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x206fdc8, decimal_value=0x44052710) at item_subselect.cc:645 #25 0x000000000063c4b6 in Item::save_in_field (this=0x206fdc8, field=0x2087498, no_conversions=true) at item.cc:4675 #26 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x206fdc8, field=0x2087498, no_conversions=true) at item.cc:974 #27 0x0000000000825b85 in get_mm_leaf (param=0x440536a0, conf_func=0x206fef8, field=0x2087498, key_part=0x210ef48, type=Item_func::GT_FUNC, value=0x206fdc8) at opt_range.cc:5676 #28 0x0000000000826426 in get_mm_parts (param=0x440536a0, cond_func=0x206fef8, field=0x2087498, type=Item_func::GT_FUNC, value=0x206fdc8, cmp_type=INT_RESULT) at opt_range.cc:5485 #29 0x0000000000826f03 in get_func_mm_tree (param=0x440536a0, cond_func=0x206fef8, field=0x2087498, value=0x206fdc8, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #30 0x00000000008270ca in get_full_func_mm_tree (param=0x440536a0, cond_func=0x206fef8, field_item=0x20590f0, value=0x206fdc8, inv=false) at opt_range.cc:5267 #31 0x0000000000827eaf in get_mm_tree (param=0x440536a0, cond=0x206fef8) at opt_range.cc:5453 #32 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20fc7b8, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #33 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20fc7b8, table=0x20868f8, keys=0x20fc3c8, limit=18446744073709551615) at sql_select.cc:3632 #34 0x000000000079ebb7 in make_join_statistics (join=0x20ca848, tables=0x0, conds=0x206fef8, keyuse_array=0x20cc1e8) at sql_select.cc:4043 #35 0x00000000007a1acb in JOIN::optimize (this=0x20ca848) at sql_select.cc:1488 #36 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x2070310) at item_subselect.cc:2170 #37 0x00000000006b3375 in Item_subselect::exec (this=0x2070220) at item_subselect.cc:277 #38 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x2070220, decimal_value=0x44056d90) at item_subselect.cc:645 #39 0x000000000063c4b6 in Item::save_in_field (this=0x2070220, field=0x2085758, no_conversions=true) at item.cc:4675 #40 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x2070220, field=0x2085758, no_conversions=true) at item.cc:974 #41 0x0000000000825b85 in get_mm_leaf (param=0x44057d20, conf_func=0x2070350, field=0x2085758, key_part=0x210d8c8, type=Item_func::GT_FUNC, value=0x2070220) at opt_range.cc:5676 #42 0x0000000000826426 in get_mm_parts (param=0x44057d20, cond_func=0x2070350, field=0x2085758, type=Item_func::GT_FUNC, value=0x2070220, cmp_type=INT_RESULT) at opt_range.cc:5485 #43 0x0000000000826f03 in get_func_mm_tree (param=0x44057d20, cond_func=0x2070350, field=0x2085758, value=0x2070220, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #44 0x00000000008270ca in get_full_func_mm_tree (param=0x44057d20, cond_func=0x2070350, field_item=0x2057f38, value=0x2070220, inv=false) at opt_range.cc:5267 #45 0x0000000000827eaf in get_mm_tree (param=0x44057d20, cond=0x2070350) at opt_range.cc:5453 #46 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20fc0e8, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #47 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20fc0e8, table=0x2084bb8, keys=0x20fbcf8, limit=18446744073709551615) at sql_select.cc:3632 #48 0x000000000079ebb7 in make_join_statistics (join=0x20c8ce8, tables=0x0, conds=0x2070350, keyuse_array=0x20ca688) at sql_select.cc:4043 #49 0x00000000007a1acb in JOIN::optimize (this=0x20c8ce8) at sql_select.cc:1488 #50 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x2070768) at item_subselect.cc:2170 #51 0x00000000006b3375 in Item_subselect::exec (this=0x2070678) at item_subselect.cc:277 #52 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x2070678, decimal_value=0x4405b410) at item_subselect.cc:645 #53 0x000000000063c4b6 in Item::save_in_field (this=0x2070678, field=0x2083a18, no_conversions=true) at item.cc:4675 #54 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x2070678, field=0x2083a18, no_conversions=true) at item.cc:974 #55 0x0000000000825b85 in get_mm_leaf (param=0x4405c3a0, conf_func=0x20707a8, field=0x2083a18, key_part=0x210c248, type=Item_func::GT_FUNC, value=0x2070678) at opt_range.cc:5676 #56 0x0000000000826426 in get_mm_parts (param=0x4405c3a0, cond_func=0x20707a8, field=0x2083a18, type=Item_func::GT_FUNC, value=0x2070678, cmp_type=INT_RESULT) at opt_range.cc:5485 #57 0x0000000000826f03 in get_func_mm_tree (param=0x4405c3a0, cond_func=0x20707a8, field=0x2083a18, value=0x2070678, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #58 0x00000000008270ca in get_full_func_mm_tree (param=0x4405c3a0, cond_func=0x20707a8, field_item=0x2057478, value=0x2070678, inv=false) at opt_range.cc:5267 #59 0x0000000000827eaf in get_mm_tree (param=0x4405c3a0, cond=0x20707a8) at opt_range.cc:5453 #60 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20fba18, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #61 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20fba18, table=0x2082e78, keys=0x20fb628, limit=18446744073709551615) at sql_select.cc:3632 #62 0x000000000079ebb7 in make_join_statistics (join=0x20c5088, tables=0x0, conds=0x20707a8, keyuse_array=0x20c6a28) at sql_select.cc:4043 #63 0x00000000007a1acb in JOIN::optimize (this=0x20c5088) at sql_select.cc:1488 #64 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x2070bc0) at item_subselect.cc:2170 #65 0x00000000006b3375 in Item_subselect::exec (this=0x2070ad0) at item_subselect.cc:277 #66 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x2070ad0, decimal_value=0x4405fa90) at item_subselect.cc:645 #67 0x000000000063c4b6 in Item::save_in_field (this=0x2070ad0, field=0x2081cd8, no_conversions=true) at item.cc:4675 #68 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x2070ad0, field=0x2081cd8, no_conversions=true) at item.cc:974 #69 0x0000000000825b85 in get_mm_leaf (param=0x44060a20, conf_func=0x2070c00, field=0x2081cd8, key_part=0x210abc8, type=Item_func::GT_FUNC, value=0x2070ad0) at opt_range.cc:5676 #70 0x0000000000826426 in get_mm_parts (param=0x44060a20, cond_func=0x2070c00, field=0x2081cd8, type=Item_func::GT_FUNC, value=0x2070ad0, cmp_type=INT_RESULT) at opt_range.cc:5485 #71 0x0000000000826f03 in get_func_mm_tree (param=0x44060a20, cond_func=0x2070c00, field=0x2081cd8, value=0x2070ad0, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #72 0x00000000008270ca in get_full_func_mm_tree (param=0x44060a20, cond_func=0x2070c00, field_item=0x2056670, value=0x2070ad0, inv=false) at opt_range.cc:5267 #73 0x0000000000827eaf in get_mm_tree (param=0x44060a20, cond=0x2070c00) at opt_range.cc:5453 #74 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20fb348, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #75 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20fb348, table=0x2081138, keys=0x20faf58, limit=18446744073709551615) at sql_select.cc:3632 #76 0x000000000079ebb7 in make_join_statistics (join=0x20c3528, tables=0x0, conds=0x2070c00, keyuse_array=0x20c4ec8) at sql_select.cc:4043 #77 0x00000000007a1acb in JOIN::optimize (this=0x20c3528) at sql_select.cc:1488 #78 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x2071018) at item_subselect.cc:2170 #79 0x00000000006b3375 in Item_subselect::exec (this=0x2070f28) at item_subselect.cc:277 #80 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x2070f28, decimal_value=0x44064110) at item_subselect.cc:645 #81 0x000000000063c4b6 in Item::save_in_field (this=0x2070f28, field=0x207ff98, no_conversions=true) at item.cc:4675 #82 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x2070f28, field=0x207ff98, no_conversions=true) at item.cc:974 #83 0x0000000000825b85 in get_mm_leaf (param=0x440650a0, conf_func=0x2071058, field=0x207ff98, key_part=0x2109548, type=Item_func::GT_FUNC, value=0x2070f28) at opt_range.cc:5676 #84 0x0000000000826426 in get_mm_parts (param=0x440650a0, cond_func=0x2071058, field=0x207ff98, type=Item_func::GT_FUNC, value=0x2070f28, cmp_type=INT_RESULT) at opt_range.cc:5485 #85 0x0000000000826f03 in get_func_mm_tree (param=0x440650a0, cond_func=0x2071058, field=0x207ff98, value=0x2070f28, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #86 0x00000000008270ca in get_full_func_mm_tree (param=0x440650a0, cond_func=0x2071058, field_item=0x204fa00, value=0x2070f28, inv=false) at opt_range.cc:5267 #87 0x0000000000827eaf in get_mm_tree (param=0x440650a0, cond=0x2071058) at opt_range.cc:5453 #88 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20fac78, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #89 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20fac78, table=0x207f3f8, keys=0x20fa888, limit=18446744073709551615) at sql_select.cc:3632 #90 0x000000000079ebb7 in make_join_statistics (join=0x20c0d98, tables=0x0, conds=0x2071058, keyuse_array=0x20c2738) at sql_select.cc:4043 #91 0x00000000007a1acb in JOIN::optimize (this=0x20c0d98) at sql_select.cc:1488 #92 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x2071470) at item_subselect.cc:2170 #93 0x00000000006b3375 in Item_subselect::exec (this=0x2071380) at item_subselect.cc:277 #94 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x2071380, decimal_value=0x44068790) at item_subselect.cc:645 #95 0x000000000063c4b6 in Item::save_in_field (this=0x2071380, field=0x207e258, no_conversions=true) at item.cc:4675 #96 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x2071380, field=0x207e258, no_conversions=true) at item.cc:974 #97 0x0000000000825b85 in get_mm_leaf (param=0x44069720, conf_func=0x20714b0, field=0x207e258, key_part=0x2107ec8, type=Item_func::GT_FUNC, value=0x2071380) at opt_range.cc:5676 #98 0x0000000000826426 in get_mm_parts (param=0x44069720, cond_func=0x20714b0, field=0x207e258, type=Item_func::GT_FUNC, value=0x2071380, cmp_type=INT_RESULT) at opt_range.cc:5485 #99 0x0000000000826f03 in get_func_mm_tree (param=0x44069720, cond_func=0x20714b0, field=0x207e258, value=0x2071380, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #100 0x00000000008270ca in get_full_func_mm_tree (param=0x44069720, cond_func=0x20714b0, field_item=0x204ebf8, value=0x2071380, inv=false) at opt_range.cc:5267 #101 0x0000000000827eaf in get_mm_tree (param=0x44069720, cond=0x20714b0) at opt_range.cc:5453 #102 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20fa5a8, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #103 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20fa5a8, table=0x207d6b8, keys=0x20fa1b8, limit=18446744073709551615) at sql_select.cc:3632 #104 0x000000000079ebb7 in make_join_statistics (join=0x20bdfc0, tables=0x0, conds=0x20714b0, keyuse_array=0x20bf960) at sql_select.cc:4043 #105 0x00000000007a1acb in JOIN::optimize (this=0x20bdfc0) at sql_select.cc:1488 #106 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x20718c8) at item_subselect.cc:2170 #107 0x00000000006b3375 in Item_subselect::exec (this=0x20717d8) at item_subselect.cc:277 #108 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x20717d8, decimal_value=0x4406ce10) at item_subselect.cc:645 #109 0x000000000063c4b6 in Item::save_in_field (this=0x20717d8, field=0x207c518, no_conversions=true) at item.cc:4675 #110 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x20717d8, field=0x207c518, no_conversions=true) at item.cc:974 #111 0x0000000000825b85 in get_mm_leaf (param=0x4406dda0, conf_func=0x2071908, field=0x207c518, key_part=0x2106848, type=Item_func::GT_FUNC, value=0x20717d8) at opt_range.cc:5676 #112 0x0000000000826426 in get_mm_parts (param=0x4406dda0, cond_func=0x2071908, field=0x207c518, type=Item_func::GT_FUNC, value=0x20717d8, cmp_type=INT_RESULT) at opt_range.cc:5485 #113 0x0000000000826f03 in get_func_mm_tree (param=0x4406dda0, cond_func=0x2071908, field=0x207c518, value=0x20717d8, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #114 0x00000000008270ca in get_full_func_mm_tree (param=0x4406dda0, cond_func=0x2071908, field_item=0x204aab0, value=0x20717d8, inv=false) at opt_range.cc:5267 #115 0x0000000000827eaf in get_mm_tree (param=0x4406dda0, cond=0x2071908) at opt_range.cc:5453 #116 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20f9ed8, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #117 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20f9ed8, table=0x207b978, keys=0x20f9ae8, limit=18446744073709551615) at sql_select.cc:3632 #118 0x000000000079ebb7 in make_join_statistics (join=0x20bb740, tables=0x0, conds=0x2071908, keyuse_array=0x20bd0e0) at sql_select.cc:4043 #119 0x00000000007a1acb in JOIN::optimize (this=0x20bb740) at sql_select.cc:1488 #120 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x2071d20) at item_subselect.cc:2170 #121 0x00000000006b3375 in Item_subselect::exec (this=0x2071c30) at item_subselect.cc:277 #122 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x2071c30, decimal_value=0x44071490) at item_subselect.cc:645 #123 0x000000000063c4b6 in Item::save_in_field (this=0x2071c30, field=0x207a7d8, no_conversions=true) at item.cc:4675 #124 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x2071c30, field=0x207a7d8, no_conversions=true) at item.cc:974 #125 0x0000000000825b85 in get_mm_leaf (param=0x44072420, conf_func=0x2071d60, field=0x207a7d8, key_part=0x21051c8, type=Item_func::GT_FUNC, value=0x2071c30) at opt_range.cc:5676 #126 0x0000000000826426 in get_mm_parts (param=0x44072420, cond_func=0x2071d60, field=0x207a7d8, type=Item_func::GT_FUNC, value=0x2071c30, cmp_type=INT_RESULT) at opt_range.cc:5485 #127 0x0000000000826f03 in get_func_mm_tree (param=0x44072420, cond_func=0x2071d60, field=0x207a7d8, value=0x2071c30, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #128 0x00000000008270ca in get_full_func_mm_tree (param=0x44072420, cond_func=0x2071d60, field_item=0x2049ca8, value=0x2071c30, inv=false) at opt_range.cc:5267 #129 0x0000000000827eaf in get_mm_tree (param=0x44072420, cond=0x2071d60) at opt_range.cc:5453 #130 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20f9808, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #131 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20f9808, table=0x2079c38, keys=0x20f9418, limit=18446744073709551615) at sql_select.cc:3632 #132 0x000000000079ebb7 in make_join_statistics (join=0x20b8e48, tables=0x0, conds=0x2071d60, keyuse_array=0x20ba7e8) at sql_select.cc:4043 #133 0x00000000007a1acb in JOIN::optimize (this=0x20b8e48) at sql_select.cc:1488 #134 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x2072178) at item_subselect.cc:2170 #135 0x00000000006b3375 in Item_subselect::exec (this=0x2072088) at item_subselect.cc:277 #136 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x2072088, decimal_value=0x44075b10) at item_subselect.cc:645 #137 0x000000000063c4b6 in Item::save_in_field (this=0x2072088, field=0x2078a98, no_conversions=true) at item.cc:4675 #138 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x2072088, field=0x2078a98, no_conversions=true) at item.cc:974 #139 0x0000000000825b85 in get_mm_leaf (param=0x44076aa0, conf_func=0x20721b8, field=0x2078a98, key_part=0x2103b48, type=Item_func::GT_FUNC, value=0x2072088) at opt_range.cc:5676 #140 0x0000000000826426 in get_mm_parts (param=0x44076aa0, cond_func=0x20721b8, field=0x2078a98, type=Item_func::GT_FUNC, value=0x2072088, cmp_type=INT_RESULT) at opt_range.cc:5485 #141 0x0000000000826f03 in get_func_mm_tree (param=0x44076aa0, cond_func=0x20721b8, field=0x2078a98, value=0x2072088, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #142 0x00000000008270ca in get_full_func_mm_tree (param=0x44076aa0, cond_func=0x20721b8, field_item=0x2048e38, value=0x2072088, inv=false) at opt_range.cc:5267 #143 0x0000000000827eaf in get_mm_tree (param=0x44076aa0, cond=0x20721b8) at opt_range.cc:5453 #144 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20f9138, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #145 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20f9138, table=0x2077ef8, keys=0x20f8d48, limit=18446744073709551615) at sql_select.cc:3632 #146 0x000000000079ebb7 in make_join_statistics (join=0x20b58b0, tables=0x0, conds=0x20721b8, keyuse_array=0x20b7250) at sql_select.cc:4043 #147 0x00000000007a1acb in JOIN::optimize (this=0x20b58b0) at sql_select.cc:1488 #148 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x20725d0) at item_subselect.cc:2170 #149 0x00000000006b3375 in Item_subselect::exec (this=0x20724e0) at item_subselect.cc:277 #150 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x20724e0, decimal_value=0x4407a190) at item_subselect.cc:645 #151 0x000000000063c4b6 in Item::save_in_field (this=0x20724e0, field=0x2076d58, no_conversions=true) at item.cc:4675 #152 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x20724e0, field=0x2076d58, no_conversions=true) at item.cc:974 #153 0x0000000000825b85 in get_mm_leaf (param=0x4407b120, conf_func=0x2072610, field=0x2076d58, key_part=0x21024c8, type=Item_func::GT_FUNC, value=0x20724e0) at opt_range.cc:5676 #154 0x0000000000826426 in get_mm_parts (param=0x4407b120, cond_func=0x2072610, field=0x2076d58, type=Item_func::GT_FUNC, value=0x20724e0, cmp_type=INT_RESULT) at opt_range.cc:5485 #155 0x0000000000826f03 in get_func_mm_tree (param=0x4407b120, cond_func=0x2072610, field=0x2076d58, value=0x20724e0, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #156 0x00000000008270ca in get_full_func_mm_tree (param=0x4407b120, cond_func=0x2072610, field_item=0x2048048, value=0x20724e0, inv=false) at opt_range.cc:5267 #157 0x0000000000827eaf in get_mm_tree (param=0x4407b120, cond=0x2072610) at opt_range.cc:5453 #158 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20f8a68, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #159 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20f8a68, table=0x2036898, keys=0x20f8678, limit=18446744073709551615) at sql_select.cc:3632 #160 0x000000000079ebb7 in make_join_statistics (join=0x20b2ec8, tables=0x0, conds=0x2072610, keyuse_array=0x20b4868) at sql_select.cc:4043 #161 0x00000000007a1acb in JOIN::optimize (this=0x20b2ec8) at sql_select.cc:1488 #162 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x2072a28) at item_subselect.cc:2170 #163 0x00000000006b3375 in Item_subselect::exec (this=0x2072938) at item_subselect.cc:277 #164 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x2072938, decimal_value=0x4407e810) at item_subselect.cc:645 #165 0x000000000063c4b6 in Item::save_in_field (this=0x2072938, field=0x201bec8, no_conversions=true) at item.cc:4675 #166 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x2072938, field=0x201bec8, no_conversions=true) at item.cc:974 #167 0x0000000000825b85 in get_mm_leaf (param=0x4407f7a0, conf_func=0x2072a68, field=0x201bec8, key_part=0x2100e48, type=Item_func::GT_FUNC, value=0x2072938) at opt_range.cc:5676 #168 0x0000000000826426 in get_mm_parts (param=0x4407f7a0, cond_func=0x2072a68, field=0x201bec8, type=Item_func::GT_FUNC, value=0x2072938, cmp_type=INT_RESULT) at opt_range.cc:5485 #169 0x0000000000826f03 in get_func_mm_tree (param=0x4407f7a0, cond_func=0x2072a68, field=0x201bec8, value=0x2072938, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #170 0x00000000008270ca in get_full_func_mm_tree (param=0x4407f7a0, cond_func=0x2072a68, field_item=0x20472e0, value=0x2072938, inv=false) at opt_range.cc:5267 #171 0x0000000000827eaf in get_mm_tree (param=0x4407f7a0, cond=0x2072a68) at opt_range.cc:5453 #172 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20f8398, thd=0x1eaf5a8, keys_to_use={map = 3}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #173 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20f8398, table=0x2035fc8, keys=0x20f7fa8, limit=18446744073709551615) at sql_select.cc:3632 #174 0x000000000079ebb7 in make_join_statistics (join=0x20afa98, tables=0x0, conds=0x2072a68, keyuse_array=0x20b1438) at sql_select.cc:4043 #175 0x00000000007a1acb in JOIN::optimize (this=0x20afa98) at sql_select.cc:1488 #176 0x00000000006b68a1 in subselect_single_select_engine::exec (this=0x2072e80) at item_subselect.cc:2170 #177 0x00000000006b3375 in Item_subselect::exec (this=0x2072d90) at item_subselect.cc:277 #178 0x00000000006b3746 in Item_singlerow_subselect::val_decimal (this=0x2072d90, decimal_value=0x44082e90) at item_subselect.cc:645 #179 0x000000000063c4b6 in Item::save_in_field (this=0x2072d90, field=0x201c318, no_conversions=true) at item.cc:4675 #180 0x0000000000631faf in Item::save_in_field_no_warnings (this=0x2072d90, field=0x201c318, no_conversions=true) at item.cc:974 #181 0x0000000000825b85 in get_mm_leaf (param=0x44083e20, conf_func=0x2072ec0, field=0x201c318, key_part=0x2074858, type=Item_func::GT_FUNC, value=0x2072d90) at opt_range.cc:5676 #182 0x0000000000826426 in get_mm_parts (param=0x44083e20, cond_func=0x2072ec0, field=0x201c318, type=Item_func::GT_FUNC, value=0x2072d90, cmp_type=INT_RESULT) at opt_range.cc:5485 #183 0x0000000000826f03 in get_func_mm_tree (param=0x44083e20, cond_func=0x2072ec0, field=0x201c318, value=0x2072d90, cmp_type=INT_RESULT, inv=false) at opt_range.cc:5168 #184 0x00000000008270ca in get_full_func_mm_tree (param=0x44083e20, cond_func=0x2072ec0, field_item=0x20419c0, value=0x2072d90, inv=false) at opt_range.cc:5267 #185 0x0000000000827eaf in get_mm_tree (param=0x44083e20, cond=0x2072ec0) at opt_range.cc:5453 #186 0x000000000082cec4 in SQL_SELECT::test_quick_select (this=0x20f7cc8, thd=0x1eaf5a8, keys_to_use={map = 1}, prev_tables=0, limit=18446744073709551615, force_quick_range=false, ordered_output=false) at opt_range.cc:2308 #187 0x000000000079d18e in get_quick_record_count (thd=0x1eaf5a8, select=0x20f7cc8, table=0x2038858, keys=0x20f78d8, limit=18446744073709551615) at sql_select.cc:3632 #188 0x000000000079ebb7 in make_join_statistics (join=0x20acf48, tables=0x0, conds=0x2072ec0, keyuse_array=0x20ae8e8) at sql_select.cc:4043 #189 0x00000000007a1acb in JOIN::optimize (this=0x20acf48) at sql_select.cc:1488 #190 0x00000000007a62a3 in mysql_select (thd=0x1eaf5a8, rref_pointer_array=0x1eb14d0, tables=0x2041658, wild_num=0, fields=@0x1eb13f0, conds=0x2072ec0, og_num=1, order=0x0, group=0x2073120, having=0x0, proc_param=0x0, select_options=2147764736, result=0x20732e0, unit=0x1eb0ea8, select_lex=0x1eb12e8) at sql_select.cc:2885 #191 0x00000000007ab432 in handle_select (thd=0x1eaf5a8, lex=0x1eb0e08, result=0x20732e0, setup_tables_done_option=0) at sql_select.cc:283 #192 0x00000000007190da in execute_sqlcom_select (thd=0x1eaf5a8, all_tables=0x2041658) at sql_parse.cc:4566 #193 0x000000000071a99e in mysql_execute_command (thd=0x1eaf5a8) at sql_parse.cc:1902 #194 0x0000000000722a1d in mysql_parse (thd=0x1eaf5a8, inBuf=0x2040558 "select sum(a),a from t1 where a> (\nselect sum(a) from t1 where a> ( select sum(a) from t1 where a> (\nselect sum(a) from t1 where a> ( select sum(a) from t1 where a> (\nselect sum(a) from t1 where a> ( "..., length=1640, found_semicolon=0x44088f20) at sql_parse.cc:5446 #195 0x00000000007235c4 in dispatch_command (command=COM_QUERY, thd=0x1eaf5a8, packet=0x201e869 "select sum(a),a from t1 where a> (\nselect sum(a) from t1 where a> ( select sum(a) from t1 where a> (\nselect sum(a) from t1 where a> ( select sum(a) from t1 where a> (\nselect sum(a) from t1 where a> ( "..., packet_length=1640) at sql_parse.cc:988 #196 0x0000000000724989 in do_command (thd=0x1eaf5a8) at sql_parse.cc:696 #197 0x0000000000711da4 in handle_one_connection (arg=0x1eaf5a8) at sql_connect.cc:1133 #198 0x00002b06507633f7 in start_thread () from /lib/libpthread.so.0 #199 0x00002b0651c5d91d in clone () from /lib/libc.so.6 Cannot access memory at address 0x2b0651c5d8b0 (gdb)