Update of patch from Takahiro Kawashima
Refs trac:3986 This commit was SVN r29984. The following Trac tickets were found above: Ticket 3986 --> https://svn.open-mpi.org/trac/ompi/ticket/3986
Этот коммит содержится в:
родитель
42e3e5cd4b
Коммит
79af9825ac
@ -140,7 +140,7 @@ static void show_stackframe (int signo, siginfo_t * info, void * p)
|
|||||||
#ifdef FPE_FLTRES
|
#ifdef FPE_FLTRES
|
||||||
case FPE_FLTRES: si_code_str = "Floating point inexact result"; break;
|
case FPE_FLTRES: si_code_str = "Floating point inexact result"; break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef FBE_FLTINV
|
#ifdef FPE_FLTINV
|
||||||
case FPE_FLTINV: si_code_str = "Invalid floating point operation"; break;
|
case FPE_FLTINV: si_code_str = "Invalid floating point operation"; break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef FPE_FLTSUB
|
#ifdef FPE_FLTSUB
|
||||||
@ -333,7 +333,6 @@ static void show_stackframe (int signo, siginfo_t * info, void * p)
|
|||||||
/* print out the stack trace */
|
/* print out the stack trace */
|
||||||
snprintf(print_buffer, sizeof(print_buffer), HOSTFORMAT,
|
snprintf(print_buffer, sizeof(print_buffer), HOSTFORMAT,
|
||||||
stacktrace_hostname, getpid());
|
stacktrace_hostname, getpid());
|
||||||
print_buffer[sizeof(print_buffer) - 1] = '\0';
|
|
||||||
ret = opal_backtrace_print(stderr, print_buffer, 2);
|
ret = opal_backtrace_print(stderr, print_buffer, 2);
|
||||||
if (OPAL_SUCCESS != ret) {
|
if (OPAL_SUCCESS != ret) {
|
||||||
write(fileno(stderr), unable_to_print_msg, strlen(unable_to_print_msg));
|
write(fileno(stderr), unable_to_print_msg, strlen(unable_to_print_msg));
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user