Bug #83541 | Assertion `tab->ref().use_count' failed. | ||
---|---|---|---|
Submitted: | 26 Oct 2016 8:23 | Modified: | 18 Nov 2016 6:33 |
Reporter: | Roel Van de Paar | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S1 (Critical) |
Version: | 5.5.52, 5.6.34, 5.7.16 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Oct 2016 8:23]
Roel Van de Paar
[26 Oct 2016 9:05]
MySQL Verification Team
Thanks for the report; Affects debug builds of 5.5, 5.6, 5.7, 8.0 -- set sql_mode=''; drop table if exists t,s; create table t(a int,b int)engine=innodb; insert into t values(2,0),(0,0); create table s(a int auto_increment key,b int)engine=archive; insert into s values(1,1),(2,2),(3,2),(4,3),(5,3); select * from t natural join s; -- Version: '5.7.17-debug' (Built on 2016/10/21) Assertion failed: tab->ref().use_count, file sql_executor.cc, line 2127 abort() has been called mysqld-debug.exe!my_sigabrt_handler()[my_thr_init.c:449] mysqld-debug.exe!raise()[signal.cpp:522] mysqld-debug.exe!abort()[abort.cpp:71] mysqld-debug.exe!common_assert_to_stderr_direct()[assert.cpp:124] mysqld-debug.exe!common_assert_to_stderr<wchar_t>()[assert.cpp:142] mysqld-debug.exe!common_assert<wchar_t>()[assert.cpp:383] mysqld-debug.exe!_wassert()[assert.cpp:405] mysqld-debug.exe!join_read_key_unlock_row()[sql_executor.cc:2127] mysqld-debug.exe!evaluate_join_record()[sql_executor.cc:1701] mysqld-debug.exe!sub_select()[sql_executor.cc:1291] mysqld-debug.exe!evaluate_join_record()[sql_executor.cc:1639] mysqld-debug.exe!sub_select()[sql_executor.cc:1291] mysqld-debug.exe!do_select()[sql_executor.cc:944] mysqld-debug.exe!JOIN::exec()[sql_executor.cc:199] mysqld-debug.exe!handle_query()[sql_select.cc:185] mysqld-debug.exe!execute_sqlcom_select()[sql_parse.cc:5180] mysqld-debug.exe!mysql_execute_command()[sql_parse.cc:2793] mysqld-debug.exe!mysql_parse()[sql_parse.cc:5596] mysqld-debug.exe!dispatch_command()[sql_parse.cc:1462] mysqld-debug.exe!do_command()[sql_parse.cc:998] mysqld-debug.exe!handle_connection()[connection_handler_per_thread.cc:300] mysqld-debug.exe!pfs_spawn_thread()[pfs.cc:2190] mysqld-debug.exe!win_thread_start()[my_thread.c:37] mysqld-debug.exe!invoke_thread_procedure()[thread.cpp:92]
[26 Oct 2016 9:07]
MySQL Verification Team
duplicate of: http://bugs.mysql.com/bug.php?id=74780 Bug 20007114 - ASSERTION `TAB->REF.USE_COUNT' FAILED IN JOIN_READ_KEY_UNLOCK_ROW
[18 Nov 2016 6:33]
Erlend Dahl
Duplicate of Bug#74780 Assertion `tab->ref.use_count' failed in join_read_key_unlock_row