[ovs-dev] [PATCH] timeval: Fix occasional backtrace() related deadlock.

Ben Pfaff blp at nicira.com
Fri Oct 26 20:10:47 UTC 2012


On Fri, Oct 26, 2012 at 12:36:41PM -0700, Ethan Jackson wrote:
> Occasionally, backtrace() will deadlock in the signal handler
> because it does some non signal safe initialization.  Specifically,
> it opens a shared object.  As a work around, this patch forces
> backtrace() to run outside of a signal handler, so that future
> calls will perform as expected.
> 
> Signed-off-by: Ethan Jackson <ethan at nicira.com>

I noticed the hang too but hadn't yet investigated.  Thanks for
finding and fixing the problem.  The patch looks good.



More information about the dev mailing list