Index: unwind.c =================================================================== RCS file: /cvsroot/src/lib/libexecinfo/unwind.c,v retrieving revision 1.2 diff -p -u -r1.2 unwind.c --- unwind.c 24 Mar 2014 21:26:01 -0000 1.2 +++ unwind.c 29 Jan 2019 22:11:44 -0000 @@ -52,6 +52,8 @@ tracer(struct _Unwind_Context *ctx, void } if (t->n < t->len) t->arr[t->n++] = (void *)_Unwind_GetIP(ctx); + else + return _URC_FOREIGN_EXCEPTION_CAUGHT; return 0; }