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

Deno panics: serde_v8/de.rs #23769

Closed
len0xx opened this issue May 10, 2024 · 1 comment
Closed

Deno panics: serde_v8/de.rs #23769

len0xx opened this issue May 10, 2024 · 1 comment

Comments

@len0xx
Copy link

len0xx commented May 10, 2024

Steps to reproduce:

  1. Clone https://github.com/len0xx/sequoia
  2. Run deno task test or deno test --allow-read=test --allow-net test

Full output:

running 4 tests from ./test/app.test.ts
Application instance works as expected ...
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: macos aarch64
Version: 1.43.2
Args: ["deno", "test", "--allow-read", "--allow-net", "test"]

thread 'tokio-runtime-worker' panicked at /private/tmp/deno-20240509-6954-7relwc/deno_core/serde_v8/de.rs:628:53:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0:        0x1032b8390 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he735dbc19bf16515
   1:        0x1025d079c - core::fmt::write::hef5cddb56c038e23
   2:        0x1032a1cbc - std::io::Write::write_fmt::h0dc631791748dd86
   3:        0x1032b81f0 - std::sys_common::backtrace::print::h104bc4229e84cb49
   4:        0x1032cd398 - std::panicking::default_hook::{{closure}}::he5ba2bc230f0bb9e
   5:        0x1032cd0a0 - std::panicking::default_hook::hf55ea1ed61f9a330
   6:        0x1024e5dcc - deno::setup_panic_hook::{{closure}}::h7307ecd77fda00e1
   7:        0x1032cde90 - std::panicking::rust_panic_with_hook::h29cd1affa2bec942
   8:        0x1032b86c0 - std::panicking::begin_panic_handler::{{closure}}::h20e35afb75c4d3ea
   9:        0x1032b8650 - std::sys_common::backtrace::__rust_end_short_backtrace::h3caf01002b4ebcc2
  10:        0x1032cd6fc - _rust_begin_unwind
  11:        0x1025d7024 - core::panicking::panic_fmt::hd47b186e02bbaa3c
  12:        0x1025d7104 - core::panicking::panic::ha648f70647740d82
  13:        0x1025daea8 - core::option::unwrap_failed::h171df7a6c74555d8
  14:        0x102ec9088 - <serde_v8::de::SeqAccess as serde::de::SeqAccess>::next_element_seed::h2f4e151aa45eda05
  15:        0x102ee98ec - <serde_v8::de::MapObjectAccess as serde::de::MapAccess>::next_key_seed::h5061d1acff7e8028
  16:        0x10224b590 - serde::de::MapAccess::next_entry::he8884ac0f6919a6f
  17:        0x10224a44c - deno_core::runtime::ops::serde_v8_to_rust::h656c2ff9ed4bfcc1
  18:        0x102249b10 - deno::ops::testing::op_pledge_test_permissions::op_pledge_test_permissions::v8_fn_ptr_metrics::h09f50be165b25666
@mmastrac
Copy link
Contributor

Collecting these as #23763

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

2 participants