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

Ctrl-C in interactive morello-purecap session hits assertion and brings down QEMU. #173

Open
jacobbramley opened this issue Oct 12, 2021 · 2 comments · Fixed by #149
Open

Comments

@jacobbramley
Copy link

Running ./cheribuild.py run-morello-purecap, then sending SIGINT to end a process inside CheriBSD, results in Qemu crashing:

qemu-system-morello: ../../morello-qemu/target/cheri-common/cheri_utils.h:225: void cap_unseal_entry(cap_register_t *): Assertion `c-
>cr_tag && cap_is_sealed_entry(c) && "Should only be used with sentry capabilities"' failed.

This causes me no end of bother because I use ctrl-c quite often, it seems. It does not happen with FVP.

@arichardson arichardson transferred this issue from CTSRD-CHERI/cheribuild Oct 12, 2021
@arichardson
Copy link
Member

arichardson commented Oct 12, 2021

@jacobbramley this should be fixed in the qemu-morello-rebased branch. Could you try building that instead? We hope to merge that branch shortly.

@jacobbramley
Copy link
Author

Confirmed, that branch seems to work fine. Thanks :-)

@arichardson arichardson linked a pull request Oct 12, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants