Bug #67488 | mysqld got signal 11 ; | ||
---|---|---|---|
Submitted: | 6 Nov 2012 18:13 | Modified: | 17 Dec 2012 18:49 |
Reporter: | leo strashnoy | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.5.28 | OS: | Linux (fedora 17) |
Assigned to: | CPU Architecture: | Any |
[6 Nov 2012 18:13]
leo strashnoy
[7 Nov 2012 18:51]
Sveta Smirnova
Thank you for the report. Do you experience this error on slave? Will crash happen if you run query INSERT INTO mgmt_link_status (LINK_ID, LINK_ROLE, LINK_BEHAVIOR, UPSTREAM_ADDR_TYP, UPSTREAM_ADDR, DOWNSTREAM_ADDR_TYP, DOWNSTREAM_ADDR, DOWNSTREAM_STATUS, DOWNSTREAM_RSS, RUNTIME_SECS, CHG_TIMESTAMP) VALUES (5417, 1, 128, 0, '', 1, '00:12:6F:04:2E:BC', 0, -47, 1352034271, '2012-11-05 16:50:51') ON DUPLICATE KEY UPDATE LINK_ROLE = 1, LINK_BEHAVIOR = 128, UPSTREAM_ADDR_TYP = 0, UPSTREAM_ADDR = '', DOWNSTREAM_ADDR_TYP = 1, DOWNSTREAM_ADDR = '00:12:6F:04:2E:BC', DOWNSTREAM_STATUS = 0, DOWNSTREAM_RSS = -47, RUNTIME_SECS = 1352034271, CHG_TIMESTAMP = '2012-11-05 16:50:51' using normal connection, not slave SQL thread?
[8 Nov 2012 18:56]
leo strashnoy
this table has a trigger
[12 Nov 2012 21:42]
leo strashnoy
Thanks Sveta, Error log that you see is from the slave. It will crash the slave... We can reproduce the problem from clean database by doing this on master: create table x(md5 int); CREATE DEFINER=`root`@`localhost` TRIGGER `test`.`x` BEFORE INSERT ON test.x FOR EACH ROW if (@DISABLE_TRIGER IS NULL OR @DISABLE_TRIGER <> 1) then SET new.MD5 = 1; end if; insert into x values(5); -- the insert crashes the slave. Let me know if you need my.cnf from slave or master. Thanks, Leonard Strashnoy
[12 Nov 2012 21:47]
leo strashnoy
BTW Sveta, I don't think it even get to the SQL thread - it will crash a slave even when I delete this table on the slave. As I see it - replication itself causing crash... -Leonard Strashnoy
[13 Nov 2012 18:59]
leo strashnoy
my.cnf from slave and master
Attachment: my.cnf slave.cnf (application/octet-stream, text), 1.73 KiB.
[13 Nov 2012 20:24]
leo strashnoy
master cnf
Attachment: my.cnf master.cnf (application/octet-stream, text), 944 bytes.
[13 Nov 2012 21:44]
MySQL Verification Team
uninitialized user variables in a query, in combination with replicate-wild-*-table options on slave is known to cause memory corruption.. 5.5.29 will see a fix for that.
[13 Nov 2012 22:54]
leo strashnoy
We removed replicate-wild and it still the same crash. Do you recommend work-around user variables? Thx, -Leonard Strashnoy
[13 Nov 2012 22:59]
leo strashnoy
updated my.cnf (replicate-wild removed)
Attachment: my.cnf (application/octet-stream, text), 948 bytes.
[17 Dec 2012 18:49]
Sveta Smirnova
Thank you for the report. This is fixed in current development tree. Please wait when version 5.5.29 is released, test it and update the report if issue still repeatable for you.