Segfault in find_wsrep_new_cluster() when loading plugin.
Bug #1238331 reported by
Alex Yurchenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
High
|
Alex Yurchenko | |||
5.6 |
Fix Released
|
High
|
Alex Yurchenko | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
It appears that some options in the argv list passed to find_wsrep_
1. find_wsrep_
2. mysql_install_
So we end up with modified argv vector but original argc count.
Related branches
description: | updated |
To post a comment you must log in.
The solution seems to be: move find_wsrep_ new_cluster( ) out of my_load_defaults() and into main(), before setting orig_argc, since --wsrep-new-cluster is an option that should be seen only by mysqld and only once..