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 has panicked during upgrade on MacOS #23555

Open
bitsnaps opened this issue Apr 25, 2024 · 1 comment
Open

Deno has panicked during upgrade on MacOS #23555

bitsnaps opened this issue Apr 25, 2024 · 1 comment

Comments

@bitsnaps
Copy link

I get the same message when running deno upgrade to upgrade from deno 1.42.1 to deno 1.42.4, here is the full log:

Looking up latest version
Found latest version 1.42.4
Downloading https://github.com/denoland/deno/releases/download/v1.42.4/deno-x86_64-apple-darwin.zip
Deno is upgrading to version 1.42.4
Archive:  /var/folders/qp/cd4kbj9d0_g03l5_cmtj44xw0000gn/T/.tmpVRAlt0/deno.zip
  inflating: deno                    
dyld: cannot load 'deno' (load command 0x80000034 is unknown)

============================================================
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 x86_64
Version: 1.42.1
Args: ["deno", "upgrade"]

thread 'main' panicked at cli/tools/upgrade.rs:660:3:
assertion failed: output.status.success()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Run on: MacOS Mojave 10.14.6.

@bitsnaps
Copy link
Author

bitsnaps commented May 5, 2024

Same issue with the current version -at this time- v1.43.1, here is a full backtrace:

❯ export RUST_BACKTRACE=full; deno upgrade
Looking up latest version
Found latest version 1.43.1
Downloading https://github.com/denoland/deno/releases/download/v1.43.1/deno-x86_64-apple-darwin.zip
Deno is upgrading to version 1.43.1
Archive:  /var/folders/qp/cd4kbj9d0_g03l5_cmtj44xw0000gn/T/.tmptPMFw3/deno.zip
  inflating: deno                    
dyld: cannot load 'deno' (load command 0x80000034 is unknown)

============================================================
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 x86_64
Version: 1.42.1
Args: ["deno", "upgrade"]

thread 'main' panicked at cli/tools/upgrade.rs:660:3:
assertion failed: output.status.success()
stack backtrace:
   0:        0x10bddb025 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbd71adb7a72f4105
   1:        0x10ac7c023 - core::fmt::write::h30346430340bc336
   2:        0x10bda726e - std::io::Write::write_fmt::heb3d6316c565d5b1
   3:        0x10bdddd59 - std::sys_common::backtrace::print::h67e51ff2e3d5cfbd
   4:        0x10bddd642 - std::panicking::default_hook::{{closure}}::hc666c9a55318d1f1
   5:        0x10bddd200 - std::panicking::default_hook::hf980b1da49948523
   6:        0x10aaaeac2 - deno::setup_panic_hook::{{closure}}::h0fa65b334405b2e8
   7:        0x10bdde312 - std::panicking::rust_panic_with_hook::h683bce980186bbbe
   8:        0x10bdde07c - std::panicking::begin_panic_handler::{{closure}}::ha6dbd11ba0ec8af1
   9:        0x10bdde009 - std::sys_common::backtrace::__rust_end_short_backtrace::h889430bddc786c98
  10:        0x10bdddff2 - _rust_begin_unwind
  11:        0x10d650fe5 - core::panicking::panic_fmt::hff768cef35397791
  12:        0x10d651187 - core::panicking::panic::h4b431f82891b8f60
  13:        0x10aa9f702 - deno::spawn_subcommand::{{closure}}::hc05479f98c33b154
  14:        0x10a8237a6 - <deno_unsync::task::MaskFutureAsSend<F> as core::future::future::Future>::poll::hf28cd9d8b88caa14
  15:        0x10a7373ee - tokio::runtime::task::raw::poll::h23132704720c8da8
  16:        0x10aab0d8e - deno::main::h274bea523cf29371
  17:        0x10a66ac92 - std::sys_common::backtrace::__rust_begin_short_backtrace::h335e5d3b06464cd8
  18:        0x10ab49c2a - _main

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