Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanly handle runtime issues #30

Closed
jaseemabid opened this issue Apr 15, 2020 · 1 comment
Closed

Cleanly handle runtime issues #30

jaseemabid opened this issue Apr 15, 2020 · 1 comment

Comments

@jaseemabid
Copy link
Owner

Panics in the runtime code prints this to stderr and gets segfaulted.

 ✔  …/inc/295c5a3b  LD_LIBRARY_PATH=~/src/inc/rs/target/debug ./inc
thread '<unnamed>' panicked at 'assertion failed: (val & MASK) == STR', src/rt.rs:131:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

The test output is pretty crap in this case making debugging way harder.

image

@jaseemabid
Copy link
Owner Author

Fixed in 35df3e9

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant