Force address validation on x86-64 to avoid frequent crashes, caused both by .eh_frame info inaccuracies and current libunwind limitations. It is not sufficient to validate only in or after signal frames. --- src/x86_64/Ginit_local.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/x86_64/Ginit_local.c b/src/x86_64/Ginit_local.c index 1e80cb8..908e2b9 100644 --- a/src/x86_64/Ginit_local.c +++ b/src/x86_64/Ginit_local.c @@ -51,7 +51,7 @@ unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) c->dwarf.as = unw_local_addr_space; c->dwarf.as_arg = c; c->uc = uc; - c->validate = 0; + c->validate = 1; return common_init (c); }
_______________________________________________ Libunwind-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/libunwind-devel
