swift-backtrace icon indicating copy to clipboard operation
swift-backtrace copied to clipboard

"unable to protect … swift-backtrace … disabling backtracing"

Open marc-medley opened this issue 1 year ago • 4 comments

Could an "unable to protect … swift-backtrace … disabling backtracing" message come from this package via a Swift Community Apt Repository distribution of Swift? If yes, what might steps resolve the "unable to protect" issue. If not, any idea of where I should be asking this question?

Scenario: 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

marc-medley avatar May 26 '24 04:05 marc-medley