[Bug 929] rte_dump_stack() is not safe to call from signal handler
bugzilla at dpdk.org
bugzilla at dpdk.org
Thu Jan 27 21:47:39 CET 2022
https://bugs.dpdk.org/show_bug.cgi?id=929
Bug ID: 929
Summary: rte_dump_stack() is not safe to call from signal
handler
Product: DPDK
Version: 21.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: dev at dpdk.org
Reporter: stephen at networkplumber.org
Target Milestone: ---
A common scenario is to have a signal handler call rte_dump_stack().
Unfortunately, existing version is not safe in signal handler because it
assumes that malloc pool is not corrupted.
https://www.gnu.org/software/libc/manual/html_node/Backtraces.html
Better alternative is libunwind or libbacktrace
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list