Re: [OMPI devel] [patch] async-signal-safe signal handler

2013-12-18 Thread Jeff Squyres (jsquyres)
This patch looks good to me (sorry for the delay in replying -- MPI Forum + OMPI dev meeting got in the way). Brian -- do you have any opinions on it? On Dec 11, 2013, at 1:43 AM, Kawashima, Takahiro wrote: > Hi, > > Open MPI's signal handler (show_stackframe function defined in > opal/util

[OMPI devel] [patch] async-signal-safe signal handler

2013-12-11 Thread Kawashima, Takahiro
Hi, Open MPI's signal handler (show_stackframe function defined in opal/util/stacktrace.c) calls non-async-signal-safe functions and it causes a problem. See attached mpisigabrt.c. Passing corrupted memory to realloc(3) will cause SIGABRT and show_stackframe function will be invoked. But invoked