5.0.24a-pro-nt -------------- mysqld_nt!Cached_item_decimal::cmp+0x5b mysqld_nt!count_field_types+0x157 mysqld_nt!remove_eq_conds+0x4c4 mysqld_nt!free_tmp_table+0x233 mysqld_nt!sub_select+0xa6 mysqld_nt!setup_end_select_func+0x264 mysqld_nt!JOIN::exec+0xe82 mysqld_nt!mysql_select+0x1c7 mysqld_nt!handle_select+0xad mysqld_nt!mysql_execute_command+0x54e mysqld_nt!mysql_parse+0x102 mysqld_nt!dispatch_command+0x562 mysqld_nt!do_command+0xad mysqld_nt!handle_one_connection+0x26e mysqld_nt!pthread_start+0x3b mysqld_nt!_threadstart+0x6c 5.0.25-debug-win32 ------------------ mysqld_debug!my_decimal2decimal(class my_decimal * from = 0x00000000, class my_decimal * to = 0x027c564c)+0x10 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\my_decimal.h @ 199] mysqld_debug!Cached_item_decimal::cmp(void)+0x74 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\item_buff.cpp @ 138] mysqld_debug!test_if_group_changed(class List * list = 0x02805434)+0x74 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_select.cpp @ 13074] mysqld_debug!end_send_group(class JOIN * join = 0x02804808, struct st_join_table * join_tab = 0x027c5470, int end_of_records = 0)+0x394 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_select.cpp @ 10751] mysqld_debug!evaluate_join_record(class JOIN * join = 0x02804808, struct st_join_table * join_tab = 0x027c52e8, int error = 0, char * report_error = 0x0149ca54 "")+0x1f9 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_select.cpp @ 9906] mysqld_debug!sub_select(class JOIN * join = 0x02804808, struct st_join_table * join_tab = 0x027c52e8, int end_of_records = 0)+0x115 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_select.cpp @ 9791] mysqld_debug!do_select(class JOIN * join = 0x02804808, class List * fields = 0x028055a0, struct st_table * table = 0x00000000, class Procedure * procedure = 0x00000000)+0x231 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_select.cpp @ 9554] mysqld_debug!JOIN::exec(void)+0x19f0 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_select.cpp @ 1818] mysqld_debug!mysql_select(class THD * thd = 0x0149bf18, class Item *** rref_pointer_array = 0x0149c364, struct st_table_list * tables = 0x027a0870, unsigned int wild_num = 0, class List * fields = 0x0149c2c8, class Item * conds = 0x00000000, unsigned int og_num = 1, struct st_order * order = 0x00000000, struct st_order * group = 0x027a0c10, class Item * having = 0x00000000, struct st_order * proc_param = 0x00000000, unsigned long select_options = 0x80844a00, class select_result * result = 0x027984b8, class st_select_lex_unit * unit = 0x0149bfc0, class st_select_lex * select_lex = 0x0149c230)+0x291 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_select.cpp @ 1984] mysqld_debug!handle_select(class THD * thd = 0x0149bf18, struct st_lex * lex = 0x0149bf58, class select_result * result = 0x027984b8, unsigned long setup_tables_done_option = 0)+0x138 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_select.cpp @ 254] mysqld_debug!mysql_execute_command(class THD * thd = 0x0149bf18)+0x612 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_parse.cpp @ 2573] mysqld_debug!mysql_parse(class THD * thd = 0x0149bf18, char * inBuf = 0x0279a5d8 "select . week(date)/10 as week, group_concat(distinct t) .from (.select . from_days(s) as date,t. from (select 1 as s,'t' as t union select null, null ) as sub1.) as sub2. group by week(date)/10", unsigned int length = 0xc2)+0x1ad [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_parse.cpp @ 5831] mysqld_debug!dispatch_command(enum_server_command command = COM_QUERY (3), class THD * thd = 0x0149bf18, char * packet = 0x02792529 "", unsigned int packet_length = 0xc3)+0x78b [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_parse.cpp @ 1766] mysqld_debug!do_command(class THD * thd = 0x0149bf18)+0x1f6 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_parse.cpp @ 1550] mysqld_debug!handle_one_connection(void * arg = 0x0149bf18)+0x241 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\sql\sql_parse.cpp @ 1181] mysqld_debug!pthread_start(void * param = 0x0149ba08)+0x53 [g:\builds\mysql-5.0.25-win-src\mysql-5.0.25\mysys\my_winthread.c @ 63] mysqld_debug!_threadstart(void * ptd = 0x0149fbe8)+0xb7 [f:\vs70builds\3077\vc\crtbld\crt\src\thread.c @ 196] KERNEL32!BaseThreadStart+0x52 5.0.26-debug ------------ 0x80db22b handle_segfault + 417 0x83c921d __pthread_sighandler + 173 0x806c73b _ZN19Cached_item_decimal3cmpEv + 123 0x81459f2 _Z21test_if_group_changedR4ListI11Cached_itemE + 104 0x814123b _Z14end_send_groupP4JOINP13st_join_tableb + 827 0x813f59e _Z20evaluate_join_recordP4JOINP13st_join_tableiPc + 424 0x813f397 _Z10sub_selectP4JOINP13st_join_tableb + 209 0x813eeb2 _Z9do_selectP4JOINP4ListI4ItemEP8st_tableP9Procedure + 696 0x812f6e5 _ZN4JOIN4execEv + 6789 0x812fb6b _Z12mysql_selectP3THDPPP4ItemP13st_table_listjR4ListIS1_ES2_jP8st_orderSB_S2_SB_mP13select_resultP18st_select_lex_unitP13st_sel + 617 0x812aefe _Z13handle_selectP3THDP6st_lexP13select_resultm + 302 0x80f2531 _Z21mysql_execute_commandP3THD + 1643 0x80fb2d4 _Z11mysql_parseP3THDPcj + 370 0x80f07d8 _Z16dispatch_command19enum_server_commandP3THDPcj + 1946 0x80f0033 _Z10do_commandP3THD + 523 0x80ef1cf handle_one_connection + 799 0x83c40f1 pthread_start_thread + 225 0x841e88a __clone + 106 5.1.12-debug ------------- 0x81a0ed7 handle_segfault + 417 0xffffe420 _end + -141154640 0x8d27ae0 _end + 6864240 0x821090b _Z14end_send_groupP4JOINP13st_join_tableb + 821 0x820eb95 _Z20evaluate_join_recordP4JOINP13st_join_tableiPc + 415 0x820e995 _Z10sub_selectP4JOINP13st_join_tableb + 209 0x820e4d4 _Z9do_selectP4JOINP4ListI4ItemEP8st_tableP9Procedure + 708 0x81feb72 _ZN4JOIN4execEv + 6838 0x81ff002 _Z12mysql_selectP3THDPPP4ItemP13st_table_listjR4ListIS1_ES2_jP8st_orderSB_S2_SB_mP13select_resultP18st_select_lex_unitP13st_sel + 628 0x81fa42e _Z13handle_selectP3THDP6st_lexP13select_resultm + 302 0x81c2c8f _Z21execute_sqlcom_selectP3THDP13st_table_list + 759 0x81bb2cb _Z21mysql_execute_commandP3THD + 1443 0x81c45e0 _Z11mysql_parseP3THDPcj + 410 0x81b964f _Z16dispatch_command19enum_server_commandP3THDPcj + 1915 0x81b8ec8 _Z10do_commandP3THD + 522 0x81b7fe8 handle_one_connection + 790 0x4004caa7 _end + 932908343 0x4017dc2e _end + 934158014