On Thu, Sep 6, 2018 at 3:56 PM Doug Moore <[email protected]> wrote:
>
> It seems that unw_get_proc_info calls dwarf_make_proc_info, calls
> fetch_proc_info, calls dwarf_find_proc_info, calls dl_iterate_phdr,
> calls dwarf_callback, calls dwarf_find_debug_frame, calls calloc, and
> callloc is not signal safe on the aarch64 device I'm testing on.

FWIW, dl_iterate_phdr in GLIBC is not async signal safe either (may
call malloc).

https://lists.nongnu.org/archive/html/libunwind-devel/2010-05/msg00006.html
https://lists.nongnu.org/archive/html/libunwind-devel/2016-02/msg00024.html

etc.



-- 
Paul Pluzhnikov

_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to