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

Applications compiled with Genie 5.23.x crashes (expected package TimeZones [f269a46b] to exist in the manifest) #694

Open
vitornesello opened this issue Dec 1, 2023 · 1 comment
Assignees

Comments

@vitornesello
Copy link
Contributor

Describe the bug
When compiling an executable with PackageCompiler, containing Genie versions 5.23.x, the application crashes at startup saying:

InitError(mod=:Assets, error=Pkg.Types.PkgError(msg="expected package `TimeZones [f269a46b]` to exist in the manifest (use `resolve` to populate the manifest)"))

Error stacktrace

fatal: error thrown and no exception handler available.
InitError(mod=:Assets, error=Pkg.Types.PkgError(msg="expected package `TimeZones [f269a46b]` to exist in the manifest (use `resolve` to populate the manifest)"))
pkgerror at /opt/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67
package_info at /opt/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:55 [inlined]
#9 at ./none:0 [inlined]
iterate at ./generator.jl:47 [inlined]
_all at ./reduce.jl:1250
all at ./reduce.jl:1246 [inlined]
Dict at ./dict.jl:131
dependencies at /opt/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:85 [inlined]
dependencies at /opt/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:82 [inlined]
package_version at /home/vitornesello/.julia/packages/Genie/7wIt2/src/Assets.jl:32
__init__ at /home/vitornesello/.julia/packages/Genie/7wIt2/src/Assets.jl:54
jfptr___init___147418.clone_1 at /home/vitornesello/mtvrp-genie5.23.3/dist/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
jl_apply at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/julia.h:1843 [inlined]
jl_module_run_initializer at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/toplevel.c:75
_finish_julia_init at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/init.c:765
julia_init at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/init.c:698
ijl_init_with_image at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/jlapi.c:74 [inlined]
ijl_init_with_image at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/jlapi.c:63
ijl_init at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/jlapi.c:90
main at ./dist/bin/MTVRPApp (unknown line)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at ./dist/bin/MTVRPApp (unknown line)

To reproduce

  • Compile an executable using Genie v5.23.x
  • execute it

Expected behavior
The executable should start without erroring due to inexistent TimeZones package in manifest

Additional context
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 32 × AMD Ryzen 9 3950X 16-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, znver2)
Threads: 1 on 32 virtual cores
Environment:
LD_LIBRARY_PATH = :/opt/gurobi902/linux64/lib:/opt/gurobi902/linux64/lib

] st
  [a93c6f00] DataFrames v1.6.1
  [c43c736e] Genie v5.23.3
  [87dc4568] HiGHS v1.7.5
  [0f8b85d8] JSON3 v1.13.2
  [4076af6c] JuMP v1.16.0
  [295af30f] Revise v3.5.10
  [856f2bd8] StructTypes v1.10.0
  [f269a46b] TimeZones v1.13.0
  [ade2ca70] Dates
@essenciary
Copy link
Member

@vitornesello Can you share an example app with instructions on how to reproduce the issue on our side? Thanks!

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