libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] unw_get_proc_info is not signal-safe with debug-fr


From: Paul Pluzhnikov
Subject: Re: [Libunwind-devel] unw_get_proc_info is not signal-safe with debug-frames enabled
Date: Thu, 6 Sep 2018 16:49:56 -0700

On Thu, Sep 6, 2018 at 3:56 PM Doug Moore <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]