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

Crash(es) after upgrade #916

Closed
laurentbartholdi opened this issue Jul 12, 2023 · 3 comments
Closed

Crash(es) after upgrade #916

laurentbartholdi opened this issue Jul 12, 2023 · 3 comments

Comments

@laurentbartholdi
Copy link

I used to work with julia 1.10.dev from github, in which GAP, Oscar etc. worked. Now with 1.11.dev or 1.10.alpha1 I can't get GAP to work anymore.

First error message:

ERROR: LoadError: InitError: could not load library "/Users/laurent/.julia/artifacts/c56d3675888f91d089fc9892a2490c546dbdd00a/lib/libgap.8.dylib"
dlopen(/Users/laurent/.julia/artifacts/c56d3675888f91d089fc9892a2490c546dbdd00a/lib/libgap.8.dylib, 0x0001): Library not loaded: @rpath/libjulia.1.dylib
  Referenced from: <D0EC8992-88C9-3FE3-A1F7-45842287C112> /Users/laurent/.julia/artifacts/c56d3675888f91d089fc9892a2490c546dbdd00a/lib/libgap.8.dylib

because it seems that libjulia.1.dylib doesn't exist anymore. I symlinked /usr/local/lib/libjulia.1.dylib to libjulia.1.10.dylib, and now GAP can precompile, but when it loads I get

julia> using GAP
 ┌───────┐   GAP 4.12.2 of 2022-12-18
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: aarch64-apple-darwin20-julia1.10-64-kv8
 Configuration:  gmp 6.2.1, Julia GC, Julia 1.10.0-alpha1, readline
 Loading the library and packages ...

[47385] signal (11.2): Segmentation fault: 11
in expression starting at REPL[1]:1
DoOperation2Args at /Users/laurent/.julia/artifacts/c56d3675888f91d089fc9892a2490c546dbdd00a/lib/libgap.8.dylib (unknown line)
Allocations: 1382941 (Pool: 1379834; Big: 3107); GC: 4
@laurentbartholdi
Copy link
Author

(This is with 1.10.alpha, which hopefully should have been almost the same as 1.10.dev. 1.11.dev doesn't work at all, with the error

julia> using GAP
Precompiling GAP
  ✗ GAP
  0 dependencies successfully precompiled in 1 seconds. 10 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

GAP [c863536a-3901-11e9-33e7-d5cd0df7b904]

Failed to precompile GAP [c863536a-3901-11e9-33e7-d5cd0df7b904] to "/Users/laurent/.julia/compiled/v1.11/GAP/jl_dtuLET".
[ Info: Set up gaproot at /Users/laurent/.julia/packages/GAP/lK1LP/gaproot/v1.11
ERROR: LoadError: UndefVarError: `find_artifact_dir` not defined

at loading)

@benlorenz
Copy link
Member

Have you done Pkg.update()? (there were some rebuilds for GAP_jll after recent changes on julia master)
Please post using Pkg; Pkg.status(mode=PKGMODE_MANIFEST) if that doesn't help.

Works fine here:

$ julia-1.10.0-alpha1 
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.0-alpha1 (2023-07-06)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.10) pkg> activate --temp
  Activating new project at `/tmp/jl_7ddL5g`

(jl_7ddL5g) pkg> add GAP
   Resolving package versions...
    Updating `/tmp/jl_7ddL5g/Project.toml`
  [c863536a] + GAP v0.9.7
    Updating `/tmp/jl_7ddL5g/Manifest.toml`
  [c863536a] + GAP v0.9.7
  [692b3bcd] + JLLWrappers v1.4.1
  [1914dd2f] + MacroTools v0.5.10
  [fa939f87] + Pidfile v1.3.0
  [21216c6a] + Preferences v1.4.0
  [6c6a2e73] + Scratch v1.2.0
  [5cd7a574] + GAP_jll v400.1200.200+5
  [de1ad85e] + GAP_lib_jll v400.1201.200+0
  [ba154793] + GAP_pkg_juliainterface_jll v0.800.202+4
  [68e3532b] + Ncurses_jll v6.4.1+0
  [05236dd9] + Readline_jll v8.2.1+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.10.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [781609d7] + GMP_jll v6.2.1+2
  [deac9b47] + LibCURL_jll v8.0.1+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.2+0
  [14a3606d] + MozillaCACerts_jll v2023.1.10
  [83775a58] + Zlib_jll v1.2.13+0
  [8e850ede] + nghttp2_jll v1.52.0+0
  [3f19e933] + p7zip_jll v17.4.0+0

julia> using GAP
 ┌───────┐   GAP 4.12.2 of 2022-12-18
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: x86_64-pc-linux-gnu-julia1.10-64-kv8
 Configuration:  gmp 6.2.1, Julia GC, Julia 1.10.0-alpha1, readline
 Loading the library and packages ...
 Packages:   AClib 1.3.2, Alnuth 3.2.1, AtlasRep 2.1.6, AutPGrp 1.11, Browse 1.8.21, CRISP 1.4.6, Cryst 4.1.25, CrystCat 1.1.10, CTblLib 1.3.4, FactInt 1.6.3, FGA 1.4.0, GAPDoc 1.6.6, IRREDSOL 1.4.4, 
             JuliaInterface 0.9.7, LAGUNA 3.9.5, Polenta 1.3.10, Polycyclic 2.16, PrimGrp 3.4.3, RadiRoot 2.9, ResClasses 4.7.3, SmallGrp 1.5.1, Sophus 1.27, SpinSym 1.5.2, TomLib 1.2.9, TransGrp 3.6.3, 
             utils 0.81
 Try '??help' for help. See also '?copyright', '?cite' and '?authors'

julia>

Version 1.11.0-DEV.63 (2023-07-12) Commit 4995d3f5c0 also works fine.

PS: ~/.julia/artifacts/c56d3675888f91d089fc9892a2490c546dbdd00a/lib/libgap.8.dylib seems to be from January (400.1200.200+0) and the current one is 400.1200.200+5.

@laurentbartholdi
Copy link
Author

OK, I don't know what happened but a clean re-install worked.

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