Bug 2177760

Summary: [RFE] Extend libunwind with a supported library/approach
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Eelco Chaudron <echaudro>
Component: openvswitch3.1Assignee: Ales Musil <amusil>
Status: POST --- QA Contact: Christian Trautman <ctrautma>
Severity: low Docs Contact:
Priority: unspecified    
Version: FDP 23.ACC: amusil, ctrautma, jhsiao, ralongi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2164058    

Description Eelco Chaudron 2023-03-13 14:56:08 UTC
OVS uses libunwind to report backtraces when one of its daemons crash (when the --monitor options is supplied). For code details see:

https://github.com/openvswitch/ovs/blob/master/lib/backtrace.c


However libunwind is no longer supported by RHEL, and we need to come up with a replacement. Alternatives are:

- glibc's backtrace()
- elfutils/libdw

However, it's not clear if elfutils/libdw can be used to unwind an internal unwinder. Where "internal" (in process) or "external" (attach to a running process, inspect core files, etc).