Work around for environments that don't handle sigpanic well.
This release should fix several recent reports that some environments don't handle the intentional nil
pointer dereference used by this package to cache the address of runtime.sigpanic
. Caching the address of runtime.sigpanic
was a performance optimization, so stack.Trace
is slower in this release as shown by the benchmarks posted here: #12 (comment).
But correctness takes priority over speed, so this release addresses correctness in the simplest way possible. A future release may be able to regain some of the lost performance.
An incomplete list of Issues in other projects that this release is intended to resolve: