Activity log for bug #1399175

Date Who What changed Old value New value Message
2014-12-04 12:55:34 Alexey Kopytov bug added bug
2014-12-04 12:55:52 Alexey Kopytov nominated for series percona-xtradb-cluster/5.5
2014-12-04 12:55:52 Alexey Kopytov bug task added percona-xtradb-cluster/5.5
2014-12-04 12:55:52 Alexey Kopytov nominated for series percona-xtradb-cluster/5.6
2014-12-04 12:55:52 Alexey Kopytov bug task added percona-xtradb-cluster/5.6
2014-12-04 12:56:04 Alexey Kopytov percona-xtradb-cluster/5.5: status New Triaged
2014-12-04 12:56:13 Alexey Kopytov percona-xtradb-cluster/5.5: importance Undecided Low
2014-12-04 12:56:18 Alexey Kopytov percona-xtradb-cluster/5.6: status New Triaged
2014-12-04 12:56:20 Alexey Kopytov percona-xtradb-cluster/5.6: importance Undecided Low
2014-12-04 12:56:23 Alexey Kopytov percona-xtradb-cluster/5.6: assignee Alexey Kopytov (akopytov)
2014-12-04 12:56:30 Alexey Kopytov percona-xtradb-cluster/5.6: milestone 5.6-future
2014-12-04 16:08:13 Alexey Kopytov percona-xtradb-cluster/5.5: assignee Alexey Kopytov (akopytov)
2014-12-04 16:08:15 Alexey Kopytov percona-xtradb-cluster/5.5: milestone future-5.5
2014-12-04 16:08:58 Alexey Kopytov percona-xtradb-cluster/5.5: status Triaged Fix Committed
2014-12-04 16:09:00 Alexey Kopytov percona-xtradb-cluster/5.6: status Triaged Fix Committed
2014-12-04 16:09:05 Alexey Kopytov branch linked lp:~akopytov/percona-xtradb-cluster/bug1382797-5.5
2014-12-04 16:09:12 Alexey Kopytov branch linked lp:~akopytov/percona-xtradb-cluster/bug1382797-5.6
2014-12-04 16:21:20 Alexey Kopytov description The code in the wsp::process class constructor uses posix_spawn() to create a child process. In particular, it sets the POSIX_SPAWN_SETSIGDEF flag via posix_spawnattr_setflags(): err_ = posix_spawnattr_setflags (&attr, POSIX_SPAWN_SETSIGDEF | POSIX_SPAWN_USEVFORK); The goal was apparently to reset the ignored (SIG_IGN) state set by the server for certain signals (e.g. SIGINT) back to their default handlers. However, the POSIX_SPAWN_SETSIGDEF flag only makes sense when used together with a posix_spawnattr_setsigdefault() call, otherwise it has no effect because it will apply to an empty signal set. Quoting http://linux.die.net/man/3/posix_spawnattr_setsigdefault : " The spawn-sigdefault attribute represents the set of signals to be forced to default signal handling in the new process image (if POSIX_SPAWN_SETSIGDEF is set in the spawn-flags attribute) by a spawn operation. The default value of this attribute shall be an empty signal set. " As a result, the SST process spawn code does not reset any ignored signal as intended. The code in the wsp::process class constructor uses posix_spawn() to create a child process. In particular, it sets the POSIX_SPAWN_SETSIGDEF flag via posix_spawnattr_setflags():    err_ = posix_spawnattr_setflags (&attr, POSIX_SPAWN_SETSIGDEF |                                            POSIX_SPAWN_USEVFORK); The goal was apparently to reset the ignored (SIG_IGN) state set by the server for certain signals (e.g. SIGINT) back to their default handlers. However, the POSIX_SPAWN_SETSIGDEF flag only makes sense when used together with a posix_spawnattr_setsigdefault() call, otherwise it has no effect because it will apply to an empty signal set. Quoting http://linux.die.net/man/3/posix_spawnattr_setsigdefault : " The spawn-sigdefault attribute represents the set of signals to be forced to default signal handling in the new process image (if POSIX_SPAWN_SETSIGDEF is set in the spawn-flags attribute) by a spawn operation. The default value of this attribute shall be an empty signal set. " As a result, the SST process spawn code does not reset any ignored signals as intended.
2014-12-09 10:42:15 Alexey Kopytov percona-xtradb-cluster/5.5: status Fix Committed Fix Released
2014-12-09 10:42:17 Alexey Kopytov percona-xtradb-cluster/5.6: status Fix Committed Fix Released
2015-02-16 10:21:31 Raghavendra D Prabhu percona-xtradb-cluster/5.6: milestone future-5.6 5.6.22-25.7
2015-03-06 14:46:15 Raghavendra D Prabhu percona-xtradb-cluster/5.5: milestone future-5.5 5.5.41-25.11