This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/20061] backtrace() is not async signal safe (malloc in _dl_load_cache_lookup)


https://sourceware.org/bugzilla/show_bug.cgi?id=20061

--- Comment #2 from dx <dx at dxzone dot com.ar> ---
Thanks for the reply, but where does it say that? The man page I have here says
nothing about this. http://linux.die.net/man/3/backtrace

There's a slight indirect implication of backtrace_symbols_fd() being more
async-signal-safe than backtrace_symbols(), but no direct mention of that and
nothing about backtrace() itself.

Does this mean we're not supposed to use backtrace() from segfault handlers at
all?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]