What would be the steps needed to resolve "unable to protect … swift-backtrace … disabling backtracing"?
Setup: Swift Community Apt Repository installation of Swift on a Raspberry Pi 5 with Raspberry Pi OS.
Steps: The command swift --version
is sufficient to invoke the "unable to protect" messages:
swift --version
#swift runtime: unable to protect path to swift-backtrace at 0x7fff2ffa7000: 22; disabling backtracing.
#swift runtime: unable to protect environment for swift-backtrace at 0x7fff2ff9f000: 22; disabling backtracing.
#swift runtime: unable to protect path to swift-backtrace at 0x7fff8a907000: 22; disabling backtracing.
#swift runtime: unable to protect environment for swift-backtrace at 0x7fff8a8ff000: 22; disabling backtracing.
#swift runtime: unable to protect path to swift-backtrace at 0x7fffafe97000: 22; disabling backtracing.
#swift runtime: unable to protect environment for swift-backtrace at 0x7fffafe8f000: 22; disabling backtracing.
#Swift version 5.10 (swift-5.10-RELEASE)
#Target: aarch64-unknown-linux-gnu
Alternately, any pointers on where to reach the right expertise would be appreciated. Links are provided below for other places that I've reached out to:
- GitHub/swift-server/swift-backtrace: "unable to protect … swift-backtrace … disabling backtracing" #72
- StackOverflow: How to resolve "unable to protect" "swift-backtrace"?