You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kaimast I'm not sure when it started popping up. I don't think it's even related to changes in async-wormhole.
For the sake of stability I think I will abandon the original goal of having cross-stack backtraces. There are so many subtle ways this can fail, depending on the OS, architecture and optimisation mode. It's also super tricky to debug.
A big issue here is the use of inline asm! in Rust. We don't control the surrounding Rust code the compiler will generate different DWARF directives around us. I'm constantly running into the issue that it either works in debug or release modes, but not in both because the generated directives don't play nicely with the hand written ones.
I just need to figure out how to stop the backtrace on a specific function in Windows. On DWARF systems this can be accomplished using .cfi_undefined rip. I wonder if there is an equivalent .seh_ alternative on Windows. I found this in the Julia compiler, but would like to avoid writing a custom exception handler.
Having a split stack makes it really easy to break backtracing libraries. For now I have disabled the test on Linux.
Could be a bug inside of the backtrace crate. Default backtraces on rust panics work.
The text was updated successfully, but these errors were encountered: