Bug #50724 drop database crashes in remove_table_from_cache
Submitted: 29 Jan 2010 10:05 Modified: 6 May 2010 7:52
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:5.1.42 OS:Any
Assigned to: CPU Architecture:Any

[29 Jan 2010 10:05] Shane Bester
Description:
possibly related to bug #50722 , drop database crashed randomly after some tests:

mysqld.exe!remove_table_from_cache()[sql_base.cc:8472]
mysqld.exe!lock_table_name()[lock.cc:1055]
mysqld.exe!lock_table_names()[lock.cc:1137]
mysqld.exe!lock_table_names_exclusively()[lock.cc:1175]
mysqld.exe!mysql_rm_table_part2()[sql_table.cc:1897]
mysqld.exe!mysql_rm_known_files()[sql_db.cc:1165]
mysqld.exe!mysql_rm_db()[sql_db.cc:933]
mysqld.exe!mysql_execute_command()[sql_parse.cc:3644]
mysqld.exe!mysql_parse()[sql_parse.cc:5974]
mysqld.exe!dispatch_command()[sql_parse.cc:1233]
mysqld.exe!do_command()[sql_parse.cc:872]
mysqld.exe!handle_one_connection()[sql_connect.cc:1127]
mysqld.exe!pthread_start()[my_winthread.c:85]
mysqld.exe!_callthreadstart()[thread.c:295]
mysqld.exe!_threadstart()[thread.c:275]
kernel32.dll!BaseThreadStart()
ariables.
 invalid and cause the dump to abort...
0006ED6FE0=drop database test

rerunning the drop database with freshly started server succeeded.

How to repeat:
no exact testcase yet.