swiftlang / swift-docc

Documentation compiler that produces rich API reference documentation and interactive tutorials for your Swift framework or package.
https://swift.org/documentation/docc
Apache License 2.0
1.18k stars 126 forks source link

docc crash traces are not symbolicated on Linux #414

Open franklinsch opened 1 year ago

franklinsch commented 1 year ago

Description

When docc crashes on Linux, crash traces are not symbolicated (i.e., symbol names aren't present and appear as <unavailable> instead) which makes it difficult to investigate the crash. We should look into enabling symbolication on Linux, possible using https://github.com/swift-server/swift-backtrace.

Checklist

franklinsch commented 1 year ago

Nice, looks like backtraces are going to be integrated into Swift directly: https://forums.swift.org/t/backtraces-in-swift/61736