test: Add a test for backtraces#1353
Conversation
6ad2586 to
7d0a9c5
Compare
|
Do we have any CI job that supports sframe? Probably Tumbleweed will be the most likely. |
|
My dev box is running Ubuntu 25.10. AFAICT, the sframe version of the test appeared to work as expected. When enabled, it passed with GNU ld and failed with wild. I guess we'll probably need to do some check. Perhaps Unrelatedly, the non-sframe version of the test that this PR introduces was failing on Nix. I tried in the Nix docker image and the failure didn't reproduce, so I added some print statements to help debug the issue in CI and now it passes. If anyone has any idea why, I'd be interested. My best guess is inlining, but we're compiling without any optimisation flags, so I wouldn't expect it to be doing any inlining. Also, I tried with |
|
Although, I'm not sure that inlining makes sense. The exit code when it fails is 21, which indicates that |
7d0a9c5 to
162484e
Compare
162484e to
d5b6f0a
Compare
|
I ended up changing the test to not rely on symbol names and that seems to have worked. |
No description provided.