Bug #37904 | SELECT FROM dual WHERE in-subquery causes server crash | ||
---|---|---|---|
Submitted: | 6 Jul 2008 15:59 | Modified: | 7 Sep 2008 22:21 |
Reporter: | Davi Arnaut (OCA) | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
Version: | 6.0 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | =any, =some, crash, IN, subquery |
[6 Jul 2008 15:59]
Davi Arnaut
[6 Jul 2008 17:46]
MySQL Verification Team
Thank you for the bug report. Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... 00000001403B3A37 mysqld.exe!convert_subq_to_sj()[sql_select.cc:3246] 00000001403B48F8 mysqld.exe!JOIN::flatten_subqueries()[sql_select.cc:3442] 00000001403B30FE mysqld.exe!mysql_select()[sql_select.cc:2980] 00000001403A9664 mysqld.exe!handle_select()[sql_select.cc:302] 0000000140364AAB mysqld.exe!execute_sqlcom_select()[sql_parse.cc:4847] 000000014035B100 mysqld.exe!mysql_execute_command()[sql_parse.cc:2015] 0000000140367238 mysqld.exe!mysql_parse()[sql_parse.cc:5815] 0000000140358F39 mysqld.exe!dispatch_command()[sql_parse.cc:1053] 00000001403584C3 mysqld.exe!do_command()[sql_parse.cc:724] 0000000140319FD6 mysqld.exe!handle_one_connection()[sql_connect.cc:1153] 00000001405603C5 mysqld.exe!pthread_start()[my_winthread.c:86] 00000001408F2635 mysqld.exe!_callthreadstart()[thread.c:295] 00000001408F2607 mysqld.exe!_threadstart()[thread.c:277] 00000000779FCDCD kernel32.dll!BaseThreadInitThunk() 0000000077B4C6E1 ntdll.dll!RtlUserThreadStart() Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0000000004222F00=SELECT 1 FROM DUAL WHERE 1 = SOME (SELECT 1 FROM t1) thd->thread_id=1 thd->killed=NOT_KILLED
[19 Jul 2008 13:00]
Sergey Petrunya
Changed to a more precise synopsis.
[7 Sep 2008 22:21]
Sergey Petrunya
The same issue as BUG#36896. Changing status to duplicate.