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

KERNEL PANIC from bad arg to localTimerService from REPL #3845

Closed
dckc opened this issue Sep 17, 2021 · 0 comments · Fixed by #3853
Closed

KERNEL PANIC from bad arg to localTimerService from REPL #3845

dckc opened this issue Sep 17, 2021 · 0 comments · Fixed by #3853
Assignees
Labels
bug Something isn't working SwingSet package: SwingSet

Comments

@dckc
Copy link
Member

dckc commented Sep 17, 2021

Describe the bug

From the REPL, if I provide a number where the localTimerService is expecting a bigint, the kernel panics... presumably because the timer device throws a TypeError and the kernel considers this fatal.

To Reproduce

  1. Start a REPL
  2. Enter E(home.localTimerService).setWakeup(3, handler)
  3. kerflewey: 2021-09-17T18:50:36.864Z SwingSet: kernel: ##### KERNEL PANIC: error during syscall/device.invoke: TypeError: (a number) must be a bigint #####

Expected behavior

a user-level error, i.e. a rejected promise in the REPL

Platform Environment

  • what version of the Agoric-SDK are you using? (run git describe --tags --always) agorictest-17-75-ge34f7c30e

cc @FUDCo @Chris-Hibbert

@dckc dckc added bug Something isn't working SwingSet package: SwingSet labels Sep 17, 2021
@dckc dckc added this to the Beta Phase 4: Governance milestone Sep 17, 2021
@dckc dckc assigned warner and dckc Sep 17, 2021
@michaelfig michaelfig self-assigned this Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SwingSet package: SwingSet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants