#Segmentation Fault when updating packages
1 messages · Page 1 of 1 (latest)
one of those may be causing the issue, so it would be helpful to try each package and see if it works
try installing half, then the other half. repeat until you find the problem
although im guessing it's MKL
okay, go to a new environment and see if you can install both of them. It's possible that the other packages have incompatible versions
If you can't install both of them, you can try installing different versions of each
julia> ]
pkg> activate --temp
pkg> install MKL_jll
sometimes updating breaks the .julia/compiled/ folder, and I'm not sure why. It might help to delete it (or move it to another folder as a backup) so that Julia can compile everything fresh
Sometimes I try to delete the Manifest.toml and then go in and ]instantiate
Was this environment running an older version of Julia?
Manifest keeps the last Julia version's resolution of package versions, even if you update Julia and update again
I personally find it kind of annoying
It's because some of the packages defined some versions had to be locked for compatibility or something
Do you still get a segfault though?
Do you have a list of the packages in Package.toml? I wanna check if it's a machine thing or a package problem
Or an OS thing
Hmm GLMakie seems to have failed the precompilation for some reason
I'm guessing perhaps the lock is a file that was written somewhere and persists even after a reboot
Usually I think after some timeout period, it'll be ignored or something
I'm not sure where the lockfile is stored usually
I'm trying to add LanguageServer on my side, it's giving me v4.5.1
Now I'm getting that "Waiting for background task / IO / timer
And got the same error, I just restart julia and run ]precompile
I think it works
Yeah
I could do using LanguageServer too
My guess is maybe LanguageServer couldn't precompile because a language server was running lol, but I have no idea
Is that also from LanguageServer?
Do you have a ]status screenshot? I just wanna see if I can add the same list of packages
Ok thanks, gonna try adding
It seems to be ok on my side
How do you recreate the segfault?
yeah it seems ok for me
The only other thing I can think of is nuking .julia folder and starting over (you can save the Project.toml in .julia\environments\v1.10\Project.toml and then put it back in when Julia reinstantiates the folder)
it did error something about libcurl from the Julia installation folder, so maybe full-uninstalling and reinstalling Julia might help or something
I use juliaup to install Julia
which one? Scoop or chocolatey or something else?
or winget
Thru winget I think is the same as the official means of installation
Running winget install julia -s msstore is the means
Oh wait I'm dumb, I didn't read the location of project.toml properly
Usually package managers would have juliaup
Might be a good idea to uninstall Julia before juliaup first of course
I guess try quitting julia and try to precompile again
Glad that the segfault doesn't appear anymore tho
I feel that since juliaup serves as the official hub for installing Julia, it's easier to make the installation consistent, compared to an OS package manager where it's focused on way more packages than there are Julia versions
You can update Julia and keep/run multiple versions too, it's basically a version manager