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

Juliaup Crash Report #1068

Open
LilithHafner opened this issue Oct 10, 2024 · 10 comments
Open

Juliaup Crash Report #1068

LilithHafner opened this issue Oct 10, 2024 · 10 comments

Comments

@LilithHafner
Copy link
Member

report-e6e73013-157e-4c21-bee7-638b11117bb5.toml.txt

@fredrikekre
Copy link
Member

fredrikekre commented Oct 12, 2024

Got the same, pasting it here to help search:

"name" = "Juliaup"
"operating_system" = "Mac OS 14.6.1 [64-bit]"
"crate_version" = "1.17.4"
"explanation" = """
Panic occurred in file 'src/command_update.rs' at line 83
"""
"cause" = "assertion failed: !version.is_empty()"
"method" = "Panic"
"backtrace" = """

   0: 0x10491fc44 - core::panicking::panic::h61ea408fdd25f03d
   1: 0x1047da4d4 - juliaup::command_update::update_channel::h3737618e1bbe561d
   2: 0x1046b51b0 - juliaup::main::hcafec2366675f9f8
   3: 0x1046a9224 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6f69fd9b04946a92
   4: 0x1046b87fc - _main"""

I was running juliaup update. No crash when running the command directly after.

Edit: False alarm, I got further in the download/update process but still got the same crash.

@davidanthoff
Copy link
Collaborator

Can you post the content of your ~/.julia/juliaup/juliaup.json file?

@LilithHafner
Copy link
Member Author

juliaup.json

@davidanthoff
Copy link
Collaborator

And you are still getting the same error? I'm confused... The stack trace indicates that we have a direct download channel that has an empty version element, but at least in @LilithHafner's config that doesn't seem to be the case...

@christiangnrd
Copy link
Contributor

christiangnrd commented Oct 13, 2024

This happened to me on macOS after trying to update (not install) a PR channel. juliaup isn't able to launch the non-codesigned Julia, leading to an emptyversion.

See #1000.

@fredrikekre
Copy link
Member

That's probably it then because I have tried adding a PR.

@LilithHafner
Copy link
Member Author

This happened to me again when trying to update:

x@x ~ % juliaup update
Installing Julia 1.11.1+0.aarch64.apple.darwin14
Checking standard library notarization............................................................done.
Well, this is embarrassing.

Juliaup had a problem and crashed. To help us diagnose the problem you can send us a crash report.

We have generated a report file at "/var/folders/hc/fn82kz1j5vl8w7lwd4l079y80000gn/T/report-8e896c98-6936-4288-8240-3b515a2e43cb.toml". Submit an issue or email with the subject of "Juliaup Crash Report" and include the report as an attachment.


To submit the crash report:

https://github.com/JuliaLang/juliaup

We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.

Thank you kindly!
x@x ~ % julia
The latest version of Julia in the `release` channel is 1.11.1+0.aarch64.apple.darwin14. You currently have `1.10.5+0.aarch64.apple.darwin14` installed. Run:

  juliaup update

in your terminal shell to install Julia 1.11.1+0.aarch64.apple.darwin14 and update the `release` channel to that version.
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.5 (2024-08-27)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> 

report-8e896c98-6936-4288-8240-3b515a2e43cb.toml.txt

@IanButterworth
Copy link
Member

This just started happening to me and I was able to fix it by removing a pr channel I had.

% juliaup update
Updating channel nightly
Well, this is embarrassing.

Juliaup had a problem and crashed. To help us diagnose the problem you can send us a crash report.

We have generated a report file at "/var/folders/1z/jf841bdj73bdj3vk7kc7f_3w0000gn/T/report-4b52df61-db45-4079-b3b2-6747f8ca1a54.toml". Submit an issue or email with the subject of "Juliaup Crash Report" and include the report as an attachment.


To submit the crash report:

https://github.com/JuliaLang/juliaup

We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.

Thank you kindly!
% juliaup status
 Default  Channel  Version                              Update
-------------------------------------------------------------------------
          1.6      1.6.7+0.x64.apple.darwin14
          1.9      1.9.4+0.aarch64.apple.darwin14
          1.10     1.10.5+0.aarch64.apple.darwin14
          1.10.4   1.10.4+0.aarch64.apple.darwin14
          1.11     1.11.1+0.aarch64.apple.darwin14
          lts      1.10.5+0.aarch64.apple.darwin14
          nightly  Development version 1.12.0-DEV.1451  Update available
          pr56276  Development version                  Update available
       *  release  1.11.1+0.aarch64.apple.darwin14
% juliaup rm pr56276
Deleting symlink julia-pr56276.
Julia 'pr56276' successfully removed.
% juliaup update
Updating channel nightly
%

Error was

"name" = "Juliaup"
"operating_system" = "Mac OS 15.0.1 [64-bit]"
"crate_version" = "1.17.9"
"explanation" = """
Panic occurred in file 'src/command_update.rs' at line 86
"""
"cause" = "assertion failed: !version.is_empty()"
"method" = "Panic"
"backtrace" = """
   0:        0x104ff2a7c - backtrace::capture::Backtrace::new::h5f557f67e54ca309
   1:        0x10506f554 - human_panic::handle_dump::hb90d11014046c0fa
   2:        0x104fa72c8 - human_panic::setup_panic::{{closure}}::hb9fde087bbd889fd
   3:        0x105213858 - std::panicking::rust_panic_with_hook::h6a84efe4dcab239c
   4:        0x105212b74 - std::panicking::begin_panic_handler::{{closure}}::h5eef292190467fef
   5:        0x105212b10 - std::sys::backtrace::__rust_end_short_backtrace::hd7e7925203f20af9
   6:        0x105212b04 - _rust_begin_unwind
   7:        0x10523e6d8 - core::panicking::panic_fmt::h410d3f147658259b
   8:        0x10523e75c - core::panicking::panic::hee236ca94fc05047
   9:        0x1050f463c - juliaup::command_update::update_channel::h8529039e8a255316
  10:        0x104fb6148 - juliaup::main::h0f3f9182d208dc71
  11:        0x104faa004 - std::sys::backtrace::__rust_begin_short_backtrace::h70a0edfa2b0746b7
  12:        0x104fb9e20 - _main
"""

The PR in question was merged since I added it. Could that be the issue?

@davidanthoff
Copy link
Collaborator

Maybe, PR being deleted is a good candidate for an explanation, I'd say!

@christiangnrd
Copy link
Contributor

Could anyone try out #1084 and see if it resolves the issue for them?

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

5 participants