Bug #34162 crash on query cache insertion due to invalid lock
Submitted: 30 Jan 2008 12:36 Modified: 27 May 2008 10:10
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Query Cache Severity:S1 (Critical)
Version:5.1.23-maria-alpha-pb297 OS:Windows
Assigned to: CPU Architecture:Any

[30 Jan 2008 12:36] Shane Bester
Description:
Seeing this crash in the mysql-5.1.23-maria-alpha-pb297 build when running my application testsuite.

I used engine=myisam, so it's not a Maria bug.

ntdll.dll!RtlCheckForOrphanedCriticalSections()
mysqld.exe!my_rw_wrlock
mysqld.exe!query_cache_insert
mysqld.exe!net_real_write
mysqld.exe!net_flush
mysqld.exe!net_send_eof
mysqld.exe!net_end_statement
mysqld.exe!dispatch_command
mysqld.exe!do_command
mysqld.exe!handle_one_connection
mysqld.exe!pthread_start
mysqld.exe!_callthreadstart

How to repeat:
will upload a standalone testcase later.
[30 Jan 2008 12:38] MySQL Verification Team
full stack trace and local variables

Attachment: bug34162_stack_trace.txt (text/plain), 1.75 KiB.

[30 Jan 2008 13:09] MySQL Verification Team
It seems very likely I had just missed the updates made in bug #30887 . I will retest and if no crash happens, this I close this bug.
[27 May 2008 10:10] MySQL Verification Team
cannot repeat this crash anymore with 5.1.26