Program received signal SIGABRT, Aborted. 0xb7c548a8 in raise () from /lib/libc.so.0 (gdb) bt #0 0xb7c548a8 in raise () from /lib/libc.so.0 #1 0xb7c4a1e0 in abort () from /lib/libc.so.0 #2 0xb7cf1aa0 in _array_pointer_not_from_vec_new () from /lib/libsupc++.so.5 #3 0xb7d0f290 in get_array_size () from /lib/libsupc++.so.5 #4 0xb7cf1770 in __array_delete_general2 () from /lib/libsupc++.so.5 #5 0xb7cf1918 in __array_delete2 () from /lib/libsupc++.so.5 #6 0x00d03110 in TMP_TABLE_PARAM::cleanup (this=0xb47f3334) at /mysql/mysql-5.0.85-1019/sql/sql_class.h:2228 #7 0x00470190 in JOIN::cleanup (this=0xb47f26c8, full=true) at sql_select.cc:6606 #8 0x0046f180 in JOIN::join_free (this=0xb47f26c8) at sql_select.cc:6473 #9 0x00468710 in JOIN::exec (this=0xb47f26c8) at sql_select.cc:1944 #10 0x003e8f90 in mysql_select (thd=0xb6b6ac40, rref_pointer_array=0xb6b6bd40, tables=0xb47f21d8, wild_num=1, fields=@0xb6b6bcb0, conds=0xb47f2480, og_num=1, order=0x0, group=0xb47f2620, having=0x0, proc_param=0x0, select_options=2156153344, result=0xb47f26b0, unit=0xb6b6b9e0, select_lex=0xb6b6bc18) at sql_select.cc:2337 #11 0x003e76c0 in handle_select (thd=0xb6b6ac40, lex=0xb6b6b988, result=0xb47f26b0, setup_tables_done_option=0) at sql_select.cc:244 #12 0x0032c838 in mysql_execute_command (thd=0xb6b6ac40) at sql_parse.cc:2877 #13 0x00344208 in mysql_parse (thd=0xb6b6ac40, inBuf=0xb47f2098 "select * from t1 WHERE hdl_nr < 2000000 GROUP BY kundentyp", length=58, found_semicolon=0xb47ee6f8) at sql_parse.cc:6437 ---Type to continue, or q to quit--- #14 0x00326e08 in dispatch_command (command=COM_QUERY, thd=0xb6b6ac40, packet=0xb478cd09 "select * from t1 WHERE hdl_nr < 2000000 GROUP BY kundentyp", packet_length=59) at sql_parse.cc:1959 #15 0x00324dd0 in do_command (thd=0xb6b6ac40) at sql_parse.cc:1640 #16 0x00322270 in handle_one_connection (arg=0xb6b6ac40) at sql_parse.cc:1233 #17 0xb7ea77c0 in start_thread () from /lib/libpthread.so.0 #18 0xb7eb6fe8 in __thread_start () from /lib/libpthread.so.0 #19 0xb7eb6fe8 in __thread_start () from /lib/libpthread.so.0 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb)