[Bug 1354114] Re: multipath segmentation Fault (libmultipath: update waiter handling)
Rafael David Tinoco
rafael.tinoco at canonical.com
Thu Aug 7 20:07:05 UTC 2014
And maybe this also:
Maybe this:
commit 03ec4efe8775f0ca076df3fb85b9defab4ffad30
Author: Benjamin Marzinski <bmarzins at redhat.com>
Date: Fri Feb 10 12:10:11 2012 -0600
multipath: fix shutdown crashes
A number of processes don't reach a pthread cancellation point
before they use the pathvec or mpvec vectors, after they've
locked the vecs lock. This can cause crashes on shutdown, since
these vectors are deallocated. Also, the log thread accesses a
number of resources which may have been deallocated during shutdown
without holding any locks. This patch avoids these issues by
adding pthread_testcancel() checks after acquiring the vecs lock,
and having the child process make sure the log thread has exitted
before deallocating the resources.
Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1354114
Title:
multipath segmentation Fault (libmultipath: update waiter handling)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1354114/+subscriptions
More information about the Ubuntu-server-bugs
mailing list