Bug #45118 | mysqld.exe crashed in debug mode on Windows in dbug.c | ||
---|---|---|---|
Submitted: | 27 May 2009 8:36 | Modified: | 20 Dec 2009 0:46 |
Reporter: | Horst Hunger | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Windows | Severity: | S2 (Serious) |
Version: | 5.1,azalea (5.4) | OS: | Windows (64-bit) |
Assigned to: | Alexander Nozdrin | CPU Architecture: | Any |
[27 May 2009 8:36]
Horst Hunger
[27 May 2009 17:08]
MySQL Verification Team
Thank you for the bug report. Verified as described: c:\build\mysql-azalea\mysql-test>perl mysql-test-run.pl --suite=parts --force partition_alter3_myisam Found handle.exe version 3.42 Logging: mysql-test-run.pl --suite=parts --force partition_alter3_myisam 090527 14:00:15 [Warning] Forcing shutdown of 1 plugins MySQL Version 5.4.4 Checking supported features... - skipping ndbcluster, mysqld not compiled with ndbcluster - SSL connections supported - binaries are debug compiled Collecting tests... vardir: c:/build/mysql-azalea/mysql-test/var Removing old var directory... Creating var directory 'c:/build/mysql-azalea/mysql-test/var'... Installing system database... Using server port 50798 ============================================================================== TEST RESULT TIME (ms) ------------------------------------------------------------ worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009 Failed to open shutdown_event 'safe_process[3528]', error: 2 Couldn't open the winpid: 3528 for pid: 3528, try one more time Failed to open shutdown_event 'safe_process[3528]', error: 2 Couldn't open the winpid: 3528 for pid: 3528, continue and see what happens... Could not open event or process 360, error: 87 Couldn't open the winpid: 360 for pid: 360, try one more time Could not open event or process 360, error: 87 Couldn't open the winpid: 360 for pid: 360, continue and see what happens... parts.partition_alter3_myisam [ fail ] Test ended at 2009-05-27 14:02:26 CURRENT_TEST: parts.partition_alter3_myisam mysqltest: In included file ".\suite\parts\inc\partition_check_drop.inc": At line 35: query 'SET @aux = load_file('$ls_file')' failed: 2013: Lost connection to MySQL server dur ing query The result from queries just before the failure was: < snip > # 1.2.6 Remove partitioning ALTER TABLE t1 REMOVE PARTITIONING; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_date` date DEFAULT NULL, `f_varchar` varchar(30) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1 t1.MYD t1.MYI t1.frm EXPLAIN PARTITIONS SELECT COUNT(*) FROM t1 WHERE f_date = '1000-02-10'; id select_type table partitions type possible_keys key key_len ref rows Extra 1 SIMPLE t1 NULL ALL NULL NULL NULL NULL 20 Using where # check read single success: 1 # check read all success: 1 # check read row by row success: 1 # 1.2.7 Remove partitioning from not partitioned table --> ???? ALTER TABLE t1 REMOVE PARTITIONING; DROP TABLE t1; More results from queries before failure can be found in c:\build\mysql-azalea\mysql-test\var\log\partition_alter3_myisam.log Server [mysqld.1 - pid: 360, winpid: 360, exit: 1280] failed during test run - saving 'c:/build/mysql-azalea/mysql-test/var/log/parts.partition_alter3_myisam/' to 'c:/build/mysql-azalea/mysql-test/var/log/parts.partition_alter3_myisam/' - found 'mysqld.dmp' (0/5) Trying 'cdb' to get a backtrace <cuT>
[26 Aug 2009 15:05]
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/81620 3082 Alexander Nozdrin 2009-08-26 A patch for Bug#45118 (mysqld.exe crashed in debug mode on Windows in dbug.c) -- part 2: a patch for the DBUG subsystem to detect misuse of DBUG_ENTER / DBUG_RETURN macros. 5.1 version.
[26 Aug 2009 17:26]
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/81635 2800 Alexander Nozdrin 2009-08-26 A patch for Bug#45118 (mysqld.exe crashed in debug mode on Windows in dbug.c) -- part 3: mysql-next specific fix.
[28 Aug 2009 9:53]
Bugs System
Pushed into 5.4.4-alpha (revid:alik@sun.com-20090828095047-jbux7pie1yjnwpce) (version source revid:alik@sun.com-20090826172543-mvrsx03j9r5v8fw0) (merge vers: 5.4.4-alpha) (pib:11)
[29 Aug 2009 23:24]
Paul DuBois
Noted in 5.4.4 changelog. Debug builds of the server on Windows crashed in debugging code.
[10 Sep 2009 7: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/82887 3111 Alexander Nozdrin 2009-09-10 A patch for Bug#45118 (mysqld.exe crashed in debug mode on Windows in dbug.c) -- part 2: a patch for the DBUG subsystem to detect misuse of DBUG_ENTER / DBUG_RETURN macros. 5.1 version.
[10 Sep 2009 8:24]
Alexander Nozdrin
Queued into mysql-5.1-bugteam, mysql-pe. No changelog entry is needed for this push.
[14 Sep 2009 16:04]
Bugs System
Pushed into 5.4.4-alpha (revid:alik@sun.com-20090914155317-m1g9wodmndzdj4l1) (version source revid:alik@sun.com-20090914155317-m1g9wodmndzdj4l1) (merge vers: 5.4.4-alpha) (pib:11)
[6 Oct 2009 9:00]
Bugs System
Pushed into 5.1.40 (revid:joro@sun.com-20091006073316-lea2cpijh9r6on7c) (version source revid:ingo.struewing@sun.com-20090916070128-6053el2ucp5z7pyn) (merge vers: 5.1.39) (pib:11)
[7 Oct 2009 18:40]
Paul DuBois
The 5.4 fix has been pushed to 5.4.3.
[18 Dec 2009 10:38]
Bugs System
Pushed into 5.1.41-ndb-7.1.0 (revid:jonas@mysql.com-20091218102229-64tk47xonu3dv6r6) (version source revid:jonas@mysql.com-20091218095730-26gwjidfsdw45dto) (merge vers: 5.1.41-ndb-7.1.0) (pib:15)
[18 Dec 2009 10:53]
Bugs System
Pushed into 5.1.41-ndb-6.2.19 (revid:jonas@mysql.com-20091218100224-vtzr0fahhsuhjsmt) (version source revid:jonas@mysql.com-20091217101452-qwzyaig50w74xmye) (merge vers: 5.1.41-ndb-6.2.19) (pib:15)
[18 Dec 2009 11:08]
Bugs System
Pushed into 5.1.41-ndb-6.3.31 (revid:jonas@mysql.com-20091218100616-75d9tek96o6ob6k0) (version source revid:jonas@mysql.com-20091217154335-290no45qdins5bwo) (merge vers: 5.1.41-ndb-6.3.31) (pib:15)
[18 Dec 2009 11:22]
Bugs System
Pushed into 5.1.41-ndb-7.0.11 (revid:jonas@mysql.com-20091218101303-ga32mrnr15jsa606) (version source revid:jonas@mysql.com-20091218064304-ezreonykd9f4kelk) (merge vers: 5.1.41-ndb-7.0.11) (pib:15)