rsync sst causes donor crash

Bug #846679 reported by Seppo Jaakola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Fix Released
High
Seppo Jaakola
5.5
Fix Released
High
Seppo Jaakola

Bug Description

In wsrep-5.5, it can happen that rsync SST causes a crash in donor node:

0x00000036a9d2686f in __strlen_sse42 () from /lib64/libc.so.6
(gdb) bt
#0 0x00000036a9d2686f in __strlen_sse42 () from /lib64/libc.so.6
#1 0x000000000067900a in ErrConvString (yythd=0x7ef464000a40)
    at /data/opt/data/vadim/src/codership-mysql/sql/sql_error.h:514
#2 my_parse_error (yythd=0x7ef464000a40) at /data/opt/data/vadim/src/codership-mysql/sql/sql_yacc.yy:152
#3 MYSQLerror (yythd=0x7ef464000a40) at /data/opt/data/vadim/src/codership-mysql/sql/sql_yacc.yy:191
#4 MYSQLparse (yythd=0x7ef464000a40) at /data/opt/data/vadim/src/codership-mysql/sql/sql_yacc.cc:38126
#5 0x00000000005905c4 in parse_sql (thd=0x7ef464000a40, parser_state=<value optimized out>, creation_ctx=0x0)
    at /data/opt/data/vadim/src/codership-mysql/sql/sql_parse.cc:8154
#6 0x000000000059bbef in mysql_parse (thd=0x7ef464000a40, rawbuf=<value optimized out>, length=35,
    parser_state=0x7f0fc1f788b0) at /data/opt/data/vadim/src/codership-mysql/sql/sql_parse.cc:5908
#7 0x00000000006731cf in sst_disallow_writes (thd=0x7ef464000a40, yes=<value optimized out>)
    at /data/opt/data/vadim/src/codership-mysql/sql/wsrep_sst.cc:629
#8 0x0000000000673cbb in sst_donor_thread (a=0x7f0fd0282c20)
    at /data/opt/data/vadim/src/codership-mysql/sql/wsrep_sst.cc:684
#9 0x00000036aa0077e1 in start_thread () from /lib64/libpthread.so.0
#10 0x00000036a9ce68ed in clone () from /lib64/libc.so.6

Changed in codership-mysql:
importance: Undecided → High
assignee: nobody → Seppo Jaakola (seppo-jaakola)
Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote :

so far could not reproduce this issue. But, parser state was not initialized in sst_disallow_writes, this isisue is fixed in push #3543

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.