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
Libhermit's use of halt
and the panic_handler
#45
Comments
Doesn't the patch solve this issue? |
Is this issue completely solved? I'd like to link to the Travis CI build for commit 4a2381ccc192b3d699fd4b54fb007e297bac9e2d. In release mode it seems a race condition occured that caused a Panic due to a BorrowError: I've saved the log output here so it doesn't get lost if someone reruns the build. Originally posted by @jschwe in hermit-os/uhyve#7 (comment) |
I guess that an interrupt handler is trying to borrow something, which is already borrowed. I will check it. In my opinion, it is a completely different problem and has nothing to do with this issue. |
The reason I'm mentioning this here is because uhyve doesn't exit after the Panic. |
Ah... You tested with the current patch? |
The Travis CI build was for hermit-os/uhyve@4a2381c and tested against hermit-os/hermit-rs@18a0235 (current state of the master branch as of 14 hours ago) Regarding uhyve this means that the Halt State is ignored since hermit-os/uhyve#14 is already merged, so if the panic handler still enters the halt state, this would explain why uhyve doesn't exit. |
I hope that PR #51 helps to fix the issue. |
The travis job for fc5d048 failed and entered the idle loop. Before merging the branch all tests passed. Backtrace
|
Further locations of
|
Closed by 7decb24 |
When panicing, RustyHermit loops
arch::processor::halt()
infinitely. Uhyve treatshlt
instructions by shutting down the vm with exit code 0. (hermit-os/uhyve#7)Related Issue: hermit-os/uhyve#11
RustyHermit should not use
arch::processor::halt
when running in a VM but use the proper shutdown command.out
instructions to a non-existing port.The text was updated successfully, but these errors were encountered: