hyperion.ng icon indicating copy to clipboard operation
hyperion.ng copied to clipboard

No stacktrace on ARM when Hyperion crashes

Open m-seker opened this issue 5 years ago • 0 comments

  • [x] I confirm that this is an issue rather than a question.

Bug report

We can't get stacktrace on ARM platforms if Hyperion crashes. See https://github.com/bombela/backward-cpp/issues/179

I have tried several approaches to no avail including homwbrew solution, libunwind, libsegfault (support library for this : https://nixdoc.net/man-pages/Linux/man1/catchsegv.1.html), backward.

As a last resort I will give Google Crashpad (succesor of Breakpad) a try. If it fails too, I'll just disable stack trace generation on ARM.

Steps to reproduce

Crash Hyperion on ARM.

int a = 20;
delete &a;

What is expected?

Correct stack generation on ARM.

What is actually happening?

Only last 2 frames are shown, signal handler and print function.

System

m-seker avatar Jul 30 '20 19:07 m-seker