Bug #6729 | Lost connection during "regexp" query | ||
---|---|---|---|
Submitted: | 20 Nov 2004 11:53 | Modified: | 7 Feb 2005 15:13 |
Reporter: | Vaclav Vobornik | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S2 (Serious) |
Version: | bk 4.1.8-latest/5.0 | OS: | Linux (Linux) |
Assigned to: | Sergei Glukhov | CPU Architecture: | Any |
[20 Nov 2004 11:53]
Vaclav Vobornik
[21 Nov 2004 0:09]
MySQL Verification Team
Thank you for the bug report I was able to repeat on Linux and Windows. Also happens for 5.0 BK source. Below Call Stack: > mysqld.exe!othercase(charset_info_st * charset=0x007fe3f0, int ch=100) Line 867 + 0xa C mysqld.exe!ordinary(parse * p=0x0457ebc8, int ch=100) Line 911 + 0x39 C mysqld.exe!p_ere_exp(parse * p=0x0457ebc8) Line 337 + 0xe C mysqld.exe!p_ere(parse * p=0x0457ebc8, int stop=128) Line 225 + 0x9 C mysqld.exe!regcomp(regex_t * preg=0x03f8d678, const char * pattern=0x00e6f950, int cflags=7, charset_info_st * charset=0x007fe3f0) Line 177 + 0xe C mysqld.exe!Item_func_regex::fix_fields(THD * thd=0x03f8b9c0, st_table_list * tables=0x03f8d128, Item * * ref=0x03f8d74c) Line 2370 + 0x41 C++ mysqld.exe!Item_cond::fix_fields(THD * thd=0x03f8b9c0, st_table_list * tables=0x03f8d128, Item * * ref=0x03f8d7e4) Line 1948 + 0x27 C++ mysqld.exe!Item_cond::fix_fields(THD * thd=0x03f8b9c0, st_table_list * tables=0x03f8d128, Item * * ref=0x03f8e3ac) Line 1948 + 0x27 C++ mysqld.exe!setup_conds(THD * thd=0x03f8b9c0, st_table_list * tables=0x03f8d128, Item * * conds=0x03f8e3ac) Line 2602 + 0x2a C++ mysqld.exe!setup_without_group(THD * thd=0x03f8b9c0, Item * * ref_pointer_array=0x03f8e3e8, st_table_list * tables=0x03f8d128, List<Item> & fields={...}, List<Item> & all_fields={...}, Item * * conds=0x03f8e3ac, st_order * order=0x03f8d8e8, st_order * group=0x00000000, int * hidden_group_fields=0x03f8e324) Line 229 + 0x11 C++ mysqld.exe!JOIN::prepare(Item * * * rref_pointer_array=0x03f8bbf8, st_table_list * tables_init=0x03f8d128, unsigned int wild_num=0, Item * conds_init=0x03f8d750, unsigned int og_num=2, st_order * order_init=0x03f8d8e8, st_order * group_init=0x00000000, Item * having_init=0x00000000, st_order * proc_param_init=0x00000000, st_select_lex * select_lex_arg=0x03f8bb0c, st_select_lex_unit * unit_arg=0x03f8ba0c) Line 278 + 0x112 C++ mysqld.exe!mysql_select(THD * thd=0x03f8b9c0, Item * * * rref_pointer_array=0x03f8bbf8, st_table_list * tables=0x03f8d128, unsigned int wild_num=0, List<Item> & fields={...}, Item * conds=0x03f8d750, unsigned int og_num=2, st_order * order=0x03f8d8e8, st_order * group=0x00000000, Item * having=0x00000000, st_order * proc_param=0x00000000, unsigned long select_options=8669696, select_result * result=0x03f8d9d8, st_select_lex_unit * unit=0x03f8ba0c, st_select_lex * select_lex=0x03f8bb0c) Line 1564 + 0x34 C++ mysqld.exe!handle_select(THD * thd=0x03f8b9c0, st_lex * lex=0x03f8ba00, select_result * result=0x03f8d9d8) Line 193 + 0x87 C++ mysqld.exe!mysql_execute_command(THD * thd=0x03f8b9c0) Line 2006 + 0x11 C++ mysqld.exe!mysql_parse(THD * thd=0x03f8b9c0, char * inBuf=0x03f8cd68, unsigned int length=223) Line 4061 + 0x9 C++ mysqld.exe!dispatch_command(enum_server_command command=COM_QUERY, THD * thd=0x03f8b9c0, char * packet=0x03f80081, unsigned int packet_length=224) Line 1466 + 0x1d C++ mysqld.exe!do_command(THD * thd=0x03f8b9c0) Line 1280 + 0x31 C++ mysqld.exe!handle_one_connection(void * arg=0x03f8b9c0) Line 1024 + 0x9 C++ mysqld.exe!pthread_start(void * param=0x03f8b278) Line 63 + 0x7 C mysqld.exe!_threadstart(void * ptd=0x03f8b2b0) Line 173 + 0xd C kernel32.dll!7c80b50b() kernel32.dll!7c8399f3()
[7 Feb 2005 9:47]
Sergei Glukhov
Verified on latest 4.1/5.0 trees. Can't repeat
[7 Feb 2005 15:13]
MySQL Verification Team
I can confirm what Gluh found. I am not anymore for to crash the server with a Windows server build with latest BK source.