crash at startup if wsrep_cluster_address is not set

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

Bug Description

howto reproduce:

start a node with, without wsrep_cluster_address, .e.g. simply by:
./mysql-galera start

...leads to a segfault in wsrep_start_replication

(gdb) bt
#0 __pthread_kill (threadid=<value optimized out>,
    signo=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:63
#1 0x00000000008f0746 in my_write_core (sig=11)
    at /home/seppo/work/wsrep/wsrep-5.5/mysys/stacktrace.c:423
#2 0x0000000000538d75 in handle_segfault (sig=11)
    at /home/seppo/work/wsrep/wsrep-5.5/sql/mysqld.cc:2650
#3 <signal handler called>
#4 0x00000000006f6cbb in wsrep_start_replication ()
    at /home/seppo/work/wsrep/wsrep-5.5/sql/wsrep_mysqld.cc:457
#5 0x00000000006f6a19 in wsrep_init_startup (first=true)
    at /home/seppo/work/wsrep/wsrep-5.5/sql/wsrep_mysqld.cc:397
#6 0x000000000053b2d3 in init_server_components ()
    at /home/seppo/work/wsrep/wsrep-5.5/sql/mysqld.cc:4013
#7 0x000000000053dbd7 in mysqld_main (argc=44, argv=0x15089c8)
    at /home/seppo/work/wsrep/wsrep-5.5/sql/mysqld.cc:5056
#8 0x0000000000534774 in main (argc=13, argv=0x7ffff939b4a8)
    at /home/seppo/work/wsrep/wsrep-5.5/sql/main.cc:25

Related branches

Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote :

FIx for setting wsrep_cluster_address dynamically was pushed in change set: http://bazaar.launchpad.net/~codership/codership-mysql/wsrep-5.5/revision/3588

However, this fix works only if SST method is mysqldump

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.