[MDEV-5079] binlog_annotate_row_events option can cause slave crash Created: 2013-09-29 Updated: 2013-09-29 Resolved: 2013-09-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.32-galera |
| Fix Version/s: | 5.5.33a-galera |
| Type: | Bug | Priority: | Major |
| Reporter: | Seppo Jaakola | Assignee: | Seppo Jaakola |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Server can crash when binlog_annotate_row_events option is set. #0 0x00007f497a9ae69c in pthread_kill () from /lib64/libpthread.so.0 The probable cause for the issue is generic non safe type cast in wsrep_apply_rbr, but the problem surfaces only in MariaDB version. However, the fix has to go in MySQL version as well. Problem is tracked in MySQL version in bug tracker: https://bugs.launchpad.net/codership-mysql/+bug/1232890 |
| Comments |
| Comment by Seppo Jaakola [ 2013-09-29 ] |
|
Here is a potential way to reproduce this issue. Use annotation and a table with no primary key: MariaDB(Galera) localhost [skysql]> create table tbl2 (a serial, b char(32)); MariaDB(Galera) localhost [skysql]> insert into tbl2 (b) SELECT MD5(RAND()) ; MariaDB(Galera) localhost [skysql]> insert into tbl2 (b) SELECT MD5(RAND()) ; MariaDB(Galera) localhost [skysql]> insert into tbl2 (b) SELECT MD5(RAND()) ; MariaDB(Galera) localhost [skysql]> insert into tbl2 (b) SELECT MD5(RAND()) ; MariaDB(Galera) localhost [skysql]> insert into tbl2 (b) SELECT MD5(RAND()) FROM tbl2 ; MariaDB(Galera) localhost [skysql]> insert into tbl2 (b) SELECT MD5(RAND()) FROM tbl2 ; MariaDB(Galera) localhost [skysql]> insert into tbl2 (b) SELECT MD5(RAND()) FROM tbl2 ; MariaDB(Galera) localhost [skysql]> insert into tbl2 (b) SELECT MD5(RAND()) FROM tbl2 ; MariaDB(Galera) localhost [skysql]> insert into tbl2 (b) SELECT MD5(RAND()) FROM tbl2 ; |
| Comment by Seppo Jaakola [ 2013-09-29 ] |
|
Fix pushed in revision: http://bazaar.launchpad.net/~maria-captains/maria/maria-5.5-galera/revision/3428 |