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

Installation failed on Julia-1.8.0-DEV #34

Closed
guberger opened this issue Aug 28, 2021 · 5 comments
Closed

Installation failed on Julia-1.8.0-DEV #34

guberger opened this issue Aug 28, 2021 · 5 comments

Comments

@guberger
Copy link

Hello! I tried to install SDPA.jl on this version of Julia:

julia> versioninfo()
Julia Version 1.8.0-DEV.438
Commit 88a6376e99 (2021-08-28 11:03 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake)

The installation failed, and output the following error:

1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package
[ Info: Precompiling SDPA [b9a10b5b-afa4-512f-a053-bb3d8080febc]
C++ exception while wrapping module SDPA: invalid subtyping in definition of SDPAProblem with supertype Any
ERROR:
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x142a5d7 -- jl_wakeup_thread at /cygdrive/c/buildbot/worker/package_win64/build/src\partr.c:356
in expression starting at none:0
jl_wakeup_thread at /cygdrive/c/buildbot/worker/package_win64/build/src\partr.c:356
enq_work at .\task.jl:646
#schedule#585 at .\task.jl:693
schedule at .\task.jl:684 [inlined]
uv_writecb_task at .\stream.jl:1160
jfptr_uv_writecb_task_20464.clone_1 at C:\Users\guberger\AppData\Local\Programs\Julia-1.8.0-DEV\lib\julia\sys.dll (unknown line)
jlcapi_uv_writecb_task_21280.clone_1 at C:\Users\guberger\AppData\Local\Programs\Julia-1.8.0-DEV\lib\julia\sys.dll (unknown line)
uv_process_tty_write_req at /workspace/srcdir/libuv\src/win\tty.c:2214
uv_process_reqs at /workspace/srcdir/libuv\src/win\req-inl.h:158
uv_run at /workspace/srcdir/libuv\src/win\core.c:478
jl_process_events at /cygdrive/c/buildbot/worker/package_win64/build/src\jl_uv.c:214
jl_task_get_next at /cygdrive/c/buildbot/worker/package_win64/build/src\partr.c:523
poptask at .\task.jl:814
wait at .\task.jl:823
uv_write at .\stream.jl:1042
unsafe_write at .\stream.jl:1114
write at .\strings\io.jl:242 [inlined]
print at .\strings\io.jl:244 [inlined]
#with_output_color#872 at .\util.jl:106
with_output_color##kw at .\util.jl:73 [inlined]
#printstyled#873 at .\util.jl:125 [inlined]
printstyled##kw at .\util.jl:125
jfptr_printstyledYY.YY.kw_37295.clone_1 at C:\Users\guberger\AppData\Local\Programs\Julia-1.8.0-DEV\lib\julia\sys.dll (unknown line)
display_error at .\client.jl:102
unknown function (ip: 000000003ab612aa)
display_error at .\client.jl:107
unknown function (ip: 000000003ab60576)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1771 [inlined]
jl_f__call_latest at /cygdrive/c/buildbot/worker/package_win64/build/src\builtins.c:757
#invokelatest#2 at .\essentials.jl:718 [inlined]
invokelatest at .\essentials.jl:716 [inlined]
_start at .\client.jl:497
jfptr__start_34280.clone_1 at C:\Users\guberger\AppData\Local\Programs\Julia-1.8.0-DEV\lib\julia\sys.dll (unknown line)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1771 [inlined]
true_main at /cygdrive/c/buildbot/worker/package_win64/build/src\jlapi.c:548
jl_repl_entrypoint at /cygdrive/c/buildbot/worker/package_win64/build/src\jlapi.c:690
mainCRTStartup at /cygdrive/c/buildbot/worker/package_win64/build/cli\loader_exe.c:58
BaseThreadInitThunk at C:\WINDOWS\System32\KERNEL32.dll (unknown line)
RtlUserThreadStart at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
Allocations: 3254531 (Pool: 3253334; Big: 1197); GC: 3
@guberger
Copy link
Author

In fact, it failed too on Julia-1.7.0:

julia> versioninfo()
Julia Version 1.7.0-beta3.0
Commit e76c9dad42 (2021-07-07 08:12 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.0 (ORCJIT, skylake)

but did work with Julia-1.6.2:

julia> versioninfo()
Julia Version 1.6.2
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)

@blegat
Copy link
Member

blegat commented Aug 28, 2021

It seems other packages using CxxWrap have issues on Julia v1.7: JuliaImages/OpenCV.jl#2

@blegat
Copy link
Member

blegat commented Mar 1, 2022

I get it on CI as well and updating to CxxWrap v0.12 does not fix it: #37
@barche Any idea what could be wrong ? A change in Julia v1.7 broke the C++ wrapper.

@barche
Copy link

barche commented Mar 2, 2022

Wrappers compiled against Julia 1.6 are binary incompatible with Julia 1.7, so SDPA_jll needs to be recompiled. You may need the workaround used in jlqml: https://github.com/JuliaPackaging/Yggdrasil/pull/4264/files#diff-2cd7b0c64b9608209133b3e0f3ca7a21e798ef2da3d60d92330db49006242d22R5

@blegat
Copy link
Member

blegat commented Apr 25, 2022

Should have been fixed by JuliaPackaging/Yggdrasil#4721
CI is now green (https://github.com/jump-dev/SDPA.jl/runs/6150677980?check_suite_focus=true) with the new version SDPA_jll v700.300.801+0

@blegat blegat closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants