JuliaLang / juliaup

Julia installer and version multiplexer
MIT License
1k stars 85 forks source link

Juliaup Crash Report #1068

Open LilithHafner opened 1 week ago

LilithHafner commented 1 week ago

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

fredrikekre commented 6 days ago

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 commented 6 days ago

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

LilithHafner commented 6 days ago

juliaup.json

davidanthoff commented 6 days ago

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 commented 5 days ago

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 https://github.com/JuliaLang/juliaup/issues/1000.

fredrikekre commented 5 days ago

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

LilithHafner commented 2 hours ago

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