Bug #30091 Deadlock in mysql-test-run during bootstrap on Windows with '--debug'
Submitted: 27 Jul 2007 6:37 Modified: 1 Aug 2007 20:01
Reporter: Antony Curtis Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:5.1.21 OS:Windows
Assigned to: Assigned Account CPU Architecture:Any

[27 Jul 2007 6:37] Antony Curtis
Description:
When running mysql-test-run on windows with --debug flag set, it stalls/deadlocks during bootstrap.
Looking at bootstrap_master.trace, it appears to stop within query cache code.

C:\Work\testbug-5.1-fix\mysql-test>.\mysql-test-run.pl --debug alter_table
Logging: C:\Work\testbug-5.1-fix\mysql-test\mysql-test-run.pl --debug alter_tabl
e
070726 23:24:27 [Note] C:/Work/testbug-5.1-fix/sql/debug/mysqld.exe: Shutdown co
mplete

MySQL Version 5.1.21
Using binlog format 'mixed'
Disable Instance manager - testing not supported on Windows
Skipping ndbcluster, mysqld not compiled with ndbcluster
Setting mysqld to support SSL connections
Binaries are debug compiled
Using MTR_BUILD_THREAD      = 0
Using MASTER_MYPORT         = 9306
Using MASTER_MYPORT1        = 9307
Using SLAVE_MYPORT          = 9308
Using SLAVE_MYPORT1         = 9309
Using SLAVE_MYPORT2         = 9310
Killing Possible Leftover Processes
Removing Stale Files
Creating Directories
Installing Master Database

How to repeat:
Build on Windows and run mysql-test-run.pl with --debug set.
[27 Jul 2007 6:42] Antony Curtis
bootstrap trace file

Attachment: bootstrap_master.trace (text/plain), 39.13 KiB.

[27 Jul 2007 13:18] MySQL Verification Team
Thank you for the bug report.
[31 Jul 2007 23:59] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/31928

ChangeSet@1.2563, 2007-07-31 19:58:18-04:00, dkatz@damien-katzs-computer.local +1 -0
  Bug #30091  Deadlock in mysql-test-run during bootstrap on Windows with '--debug'
[1 Aug 2007 18:41] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/31967

ChangeSet@1.2562, 2007-08-01 14:40:35-04:00, dkatz@damien-katzs-computer.local +1 -0
  Bug #30091  Deadlock in mysql-test-run during bootstrap on Windows with '--debug'
[1 Aug 2007 20:01] Damien Katz
Already fixed by changeset: 1.2529.30.1 2007/07/18 20:52:55 istruewing@chilla.local.