Bug #666 | elt with null crashes deamon | ||
---|---|---|---|
Submitted: | 18 Jun 2003 2:12 | Modified: | 24 Jun 2003 5:00 |
Reporter: | Tomasz Dubinski | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.13/12 | OS: | Linux (linux, intel) |
Assigned to: | Alexey Botchkov | CPU Architecture: | Any |
[18 Jun 2003 2:12]
Tomasz Dubinski
[18 Jun 2003 6:28]
Alexander Keremidarski
Below is backtrace for this bug. (gdb) bt #0 Item::save_in_field(Field*, bool) (this=0x8a5beb8, field=0x8a5d098, no_conversions=true) at sql_string.h:59 #1 0x080cc62a in Item_result_field::save_in_result_field(bool) (this=0x8a4aab9) at item.h:375 #2 0x0814ec03 in copy_funcs(Item**) (func_ptr=0x8a5ad50) at sql_select.cc:7240 #3 0x0814af6a in end_write (join=0x41ee8f18, join_tab=0x8a5cb68, end_of_records=false) at sql_select.cc:5319 #4 0x08149a4d in flush_cached_records (join=0x41ee8f18, join_tab=0x8a5ca40, skipp_last=false) at sql_select.cc:4677 #5 0x08149677 in sub_select_cache (join=0x41ee8f18, join_tab=0x8a5ca40, end_of_records=true) at sql_select.cc:4554 #6 0x081496d9 in sub_select (join=0x41ee8f18, join_tab=0x41ee8f18, end_of_records=185) at sql_select.cc:4566 #7 0x08149496 in do_select (join=0x41ee8f18, fields=0x8a5c918, table=0x8a5a958, procedure=0xfe) at sql_select.cc:4486 #8 0x081404b3 in mysql_select(THD*, st_table_list*, List<Item>&, Item*, st_order*, st_order*, Item*, st_order*, unsigned long, select_result*) (thd=0x8a495e0, tables=0x8a5bf48, fields=@0x8a49794, conds=0x8a5c278, order=0x0, group=0x8a5c328, having=0x0, proc_param=0xfe, select_options=17339392, result=0x8a5c348) at sql_select.cc:779 #9 0x0813e524 in handle_select(THD*, st_lex*, select_result*) (thd=0x8a495e0, lex=0x0, result=0x8a5c348) at sql_select.cc:183 #10 0x081220ae in mysql_execute_command() () at sql_parse.cc:1988 #11 0x0812493c in mysql_parse(THD*, char*, unsigned) (thd=0x8a495e0, inBuf=0x8a49710 "\001", length=153) at sql_parse.cc:2926 #12 0x0811f41c in dispatch_command(enum_server_command, THD*, char*, unsigned) (command=COM_QUERY, thd=0x8a495e0, packet=0x8a53be9 "SELECT elt(status_wnio,data_sporz,data_podp,data_zaak,data_arch) as data_stat FROM wnioski, users, poz_wn WHERE wniosek = wid and user = uid GROUP BY wid", packet_length=153) at sql_parse.cc:1056 #13 0x0811edc3 in do_command(THD*) (thd=0x8a495e0) at sql_parse.cc:931 #14 0x0811e339 in handle_one_connection (arg=0xfe) at sql_parse.cc:714 #15 0x40048332 in start_thread () from /lib/tls/libpthread.so.0
[24 Jun 2003 5:00]
Alexey Botchkov
Thank you for your bug report. This issue has been fixed in the latest development tree for that product. You can find more information about accessing our development trees at http://www.mysql.com/doc/en/Installing_source_tree.html