Bug #17211 | QueryBrowser crashes if SP is called under certain circumstances | ||
---|---|---|---|
Submitted: | 7 Feb 2006 22:56 | Modified: | 8 Dec 2006 7:40 |
Reporter: | Markus Popp | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Query Browser | Severity: | S2 (Serious) |
Version: | 1.1.19, 1.1.20 | OS: | Windows (Windows XP) |
Assigned to: | Mike Lischke | CPU Architecture: | Any |
Tags: | Result Set |
[7 Feb 2006 22:56]
Markus Popp
[8 Feb 2006 9:52]
Valeriy Kravchuk
Thank you for a problem report. Please, specify the exact version of MySQL server used. As it can be a server bug, please, check the server error log also. Is there something unusual there?
[8 Feb 2006 20:47]
Markus Popp
The server version is 5.0.18-max-nt. However, the error log doesn't indicate anything and also the uptime is not interrupted, so the server continues to operate - seems to be a QueryBrowser problem (now also tested with 1.1.20). But I have discovered that it's not always the 2nd time when QueryBrowser crashes. Sometimes it has worked several times in a row (before it crashed again), but later it fell back to the behaviour that it used to crash when the procedure is called the 2nd time. So if QueryBrowser doesn't crash on the 2nd try, keep on trying a few times more.
[21 Feb 2006 11:58]
Valeriy Kravchuk
Verified just as described with QB 1.1.20 and MySQL server 5.0.18 on XP. Query Browser crashes upon 2nd or 3rd repeatable execution of that CALL statement.
[9 May 2006 13:14]
Aku Kauste
The problem seems to be a lot more general than in the original post. I don't need to change the user. Just create a procedure and CALL with the same user (or other user). QueryBrowser 1.1.20 crashes randomly (most of the time second or third CALL, but sometimes a bit later). I have up to date WinXP with QueryBrowser 1.1.20 I've tried with server versions: 5.0.17-nt-max 5.0.20a-nt-max Servers keep running normally. Simpliest SP that I was using: DELIMITER $$ CREATE PROCEDURE `testProc`() BEGIN SELECT 1; END $$ DELIMITER ; There might be a difference that more complicated procedures crash sooner than the very basic one above.
[24 May 2006 21:44]
Kirk Hilles
Same thing is happening to me: (Win XP-SP2, QB 1.1.20) If you have one QB open that you're using to Create SPs and another QB to test/execute the SP, after the 2nd or 3rd time of running procedures QB will crash. The funny thing is, is that although you get the notice, if you move it off to the side you can continue working. During a TSQL to MySQL conversion process, I'd rack up a ton of those error message windows and would just ignore them.
[9 Jun 2006 10:06]
Andero Koplus
1.1.20 WindowsXP Pro, Your MySQL connection id is 231 to server version: 5.0.20-nt-max DROP TABLE IF EXISTS `test`.`test`; CREATE TABLE `test`.`test` ( `Id` int(10) unsigned NOT NULL auto_increment, `Data` varchar(45) NOT NULL default '', PRIMARY KEY (`Id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DELIMITER $$ DROP PROCEDURE IF EXISTS `test`.`test_data` $$ CREATE PROCEDURE `test`.`test_data` () BEGIN SELECT * FROM test; END $$ DELIMITER ; Query Browser is zombie, but server does not crash Logs following 060609 12:54:43 [Warning] Aborted connection 225 to db: 'test' user: 'root' host: 'localhost' (Got an error reading communication packets) 060609 13:02:56 [Warning] Aborted connection 247 to db: 'test' user: 'root' host: 'localhost' (Got an error reading communication packets) 060609 13:02:56 [Warning] Aborted connection 248 to db: 'test' user: 'root' host: 'localhost' (Got an error reading communication packets) 060609 13:02:56 [Warning] Aborted connection 227 to db: 'test' user: 'root' host: 'localhost' (Got an error reading communication packets) hope it helps to resolve the problem
[4 Dec 2006 14:12]
Mike Lischke
This problem can no longer be reproduced and is likely already fixed. Please check again with the latest version and let me know the outcome.
[6 Dec 2006 18:08]
Markus Popp
I also could not reproduce it with the latest version, so I assume that the problem is fixed.
[8 Dec 2006 7:40]
Mike Lischke
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/