Bug #45259 | 2 stored procedures caused crashes of the mysqld process in 5.1.x | ||
---|---|---|---|
Submitted: | 2 Jun 2009 10:06 | Modified: | 4 Jun 2009 9:36 |
Reporter: | Anthony Mann | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 5.1.34 | OS: | Windows (Server 2003) |
Assigned to: | CPU Architecture: | Any | |
Tags: | assertion failure, crash, stored procedure, Windows Server 2003 |
[2 Jun 2009 10:06]
Anthony Mann
[2 Jun 2009 10:15]
MySQL Verification Team
Antony, if you comment out innodb_locks_unsafe_for_binlog in my.ini and never use read committed transaction isolation level does it still crash ? could be bug #39320
[2 Jun 2009 10:37]
Anthony Mann
Antony, if you comment out innodb_locks_unsafe_for_binlog in my.ini -- This is not currently set in the my.ini file (see file now attached) Thank you for the quick response
[2 Jun 2009 11:04]
Anthony Mann
my.ini
Attachment: my.ini (application/octet-stream, text), 8.82 KiB.
[2 Jun 2009 11:12]
MySQL Verification Team
Thank you for the feedback. Could you please provide the complete test case (create table, data, procedure, procedure query which crash, etc) to test against the current source server, looks like the same case as bug commented by Shane and the fix will be applied in the next release 5.1.35. Thanks in advance.
[2 Jun 2009 12:35]
Anthony Mann
data submitted
[3 Jun 2009 19:40]
MySQL Verification Team
Thank you for the feedback. I couldn't repeat with current source server: mysql 5.1 >CALL SP_GetAccessLevelByID(1); +---------+ | Level | +---------+ | module1 | +---------+ 1 row in set (0.10 sec) Query OK, 0 rows affected (0.11 sec) mysql 5.1 >show variables like "%version%"; +-------------------------+---------------------+ | Variable_name | Value | +-------------------------+---------------------+ | protocol_version | 10 | | version | 5.1.36-Win X64-log | | version_comment | Source distribution | | version_compile_machine | unknown | | version_compile_os | Win64 | +-------------------------+---------------------+ 5 rows in set (0.00 sec) mysql 5.1 >
[4 Jun 2009 9:30]
Anthony Mann
Hi there, i have just re-installed SQL version 5.1.34 on our test machine (osx 10.4 - powerpc 64bit) which also had the same issue as our windows server when tested. Here is a dump of the entire query log string leading up to the crash. 090604 10:19:35 24 Query SELECT tbl_users.userID, tbl_users.userPassedTest, tbl_users.userUsername, tbl_users.TitleID, tbl_titles.titleName AS userTitle, tbl_users.userFirstname, tbl_users.userSurname, tbl_users.userTel, tbl_users.userEmail, tbl_users.PracticeID, tbl_users.userDOB, tbl_users.userHide, tbl_users.userDefaultTerritory, tbl_users.userLastActive, tbl_users.userLastUpdated, tbl_users.userUpdatedBy, tbl_users.userSeenRegConfirm, tbl_users.userMovedToNonAR FROM tbl_users LEFT JOIN tbl_titles ON tbl_users.TitleID= tbl_titles.titleID WHERE tbl_users.userEmail = 'testing@redantsolutions.com' AND tbl_users.userPassword = 'passwo' AND userEnabled = 1 AND userHide = 0 AND userRetestIncomplete = 0 24 Query SELECT tbl_join_userroles.RoleID AS RoleID, tbl_roles.roleName AS roleName FROM tbl_join_userroles, tbl_roles WHERE tbl_join_userroles.UserID = 1 AND tbl_roles.roleID = tbl_join_userroles.RoleID 24 Query USE `piawgreen` 24 Query SELECT DATABASE() 24 Query USE `piawgreen` 24 Query SHOW CREATE PROCEDURE `piawgreen`.`SP_GetAccessLevelByID` 24 Query CALL SP_GetAccessLevelByID(1) /usr/local/mysql/bin/mysqld, Version: 5.1.34-log (MySQL Community Server (GPL)). started with: Tcp port: 0 Unix socket: (null) Time Id Command Argument if necessary i can provide you with remote access to the machine itself. Let me know if there is anything i can do to provide more information.
[4 Jun 2009 9:36]
Anthony Mann
the version of mySQL used in the previous dump was: 5.1.34 osx10.4 powerpc 64bit
[4 Jun 2009 9:44]
Sveta Smirnova
Thank you for the feedback. Stack trace looks similar to bug #39320 which is fixed in version 5.1.35. Please wait next release, upgrade, try in your environment and reopen bug if the problem still exists.