-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
With Julia 1.7.0-beta3 on Windows and an empty default environment, Libtask installs cleanly from current master (7c404c4), but the tests throw an error:
(@v1.7) pkg> st
Status `C:\Users\abc\.julia\environments\v1.7\Project.toml` (empty project)
(@v1.7) pkg> add Libtask#7c404c4
Updating registry at `C:\Users\abc\.julia\registries\General.toml`
Resolving package versions...
Updating `C:\Users\abc\.julia\environments\v1.7\Project.toml`
[6f1fad26] + Libtask v0.5.3 `https://github.com/TuringLang/Libtask.jl.git#7c404c4`
Updating `C:\Users\abc\.julia\environments\v1.7\Manifest.toml`
[692b3bcd] + JLLWrappers v1.3.0
[6f1fad26] + Libtask v0.5.3 `https://github.com/TuringLang/Libtask.jl.git#7c404c4`
[21216c6a] + Preferences v1.2.2
[3ae2931a] + Libtask_jll v0.5.1+0
[0dad84c5] + ArgTools
[56f22d72] + Artifacts
[2a0f44e3] + Base64
[ade2ca70] + Dates
[f43a241f] + Downloads
[b77e0a4c] + InteractiveUtils
[b27032c2] + LibCURL
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[ca575930] + NetworkOptions
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[fa267f1f] + TOML
[a4e569a6] + Tar
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
[e66e0078] + CompilerSupportLibraries_jll
[deac9b47] + LibCURL_jll
[29816b5a] + LibSSH2_jll
[c8ffd9c3] + MbedTLS_jll
[14a3606d] + MozillaCACerts_jll
[4536629a] + OpenBLAS_jll
[83775a58] + Zlib_jll
[8e850b90] + libblastrampoline_jll
[8e850ede] + nghttp2_jll
[3f19e933] + p7zip_jll
(@v1.7) pkg> st
Status `C:\Users\abc\.julia\environments\v1.7\Project.toml`
[6f1fad26] Libtask v0.5.3 `https://github.com/TuringLang/Libtask.jl.git#7c404c4`
(@v1.7) pkg> test Libtask
Testing Libtask
Status `C:\Users\abc\AppData\Local\Temp\jl_i0IMgj\Project.toml`
[6e4b80f9] BenchmarkTools v1.1.1
[6f1fad26] Libtask v0.5.3 `https://github.com/TuringLang/Libtask.jl.git#7c404c4`
[3ae2931a] Libtask_jll v0.5.1+0
[8f399da3] Libdl `@stdlib/Libdl`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[10745b16] Statistics `@stdlib/Statistics`
[8dfed614] Test `@stdlib/Test`
Status `C:\Users\abc\AppData\Local\Temp\jl_i0IMgj\Manifest.toml`
[6e4b80f9] BenchmarkTools v1.1.1
[692b3bcd] JLLWrappers v1.3.0
[682c06a0] JSON v0.21.2
[6f1fad26] Libtask v0.5.3 `https://github.com/TuringLang/Libtask.jl.git#7c404c4`
[69de0a69] Parsers v2.0.2
[21216c6a] Preferences v1.2.2
[3ae2931a] Libtask_jll v0.5.1+0
[0dad84c5] ArgTools `@stdlib/ArgTools`
[56f22d72] Artifacts `@stdlib/Artifacts`
[2a0f44e3] Base64 `@stdlib/Base64`
[ade2ca70] Dates `@stdlib/Dates`
[f43a241f] Downloads `@stdlib/Downloads`
[b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
[b27032c2] LibCURL `@stdlib/LibCURL`
[76f85450] LibGit2 `@stdlib/LibGit2`
[8f399da3] Libdl `@stdlib/Libdl`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[56ddb016] Logging `@stdlib/Logging`
[d6f4376e] Markdown `@stdlib/Markdown`
[a63ad114] Mmap `@stdlib/Mmap`
[ca575930] NetworkOptions `@stdlib/NetworkOptions`
[44cfe95a] Pkg `@stdlib/Pkg`
[de0858da] Printf `@stdlib/Printf`
[3fa0cd96] REPL `@stdlib/REPL`
[9a3f8284] Random `@stdlib/Random`
[ea8e919c] SHA `@stdlib/SHA`
[9e88b42a] Serialization `@stdlib/Serialization`
[6462fe0b] Sockets `@stdlib/Sockets`
[2f01184e] SparseArrays `@stdlib/SparseArrays`
[10745b16] Statistics `@stdlib/Statistics`
[fa267f1f] TOML `@stdlib/TOML`
[a4e569a6] Tar `@stdlib/Tar`
[8dfed614] Test `@stdlib/Test`
[cf7118a7] UUIDs `@stdlib/UUIDs`
[4ec0a83e] Unicode `@stdlib/Unicode`
[e66e0078] CompilerSupportLibraries_jll `@stdlib/CompilerSupportLibraries_jll`
[deac9b47] LibCURL_jll `@stdlib/LibCURL_jll`
[29816b5a] LibSSH2_jll `@stdlib/LibSSH2_jll`
[c8ffd9c3] MbedTLS_jll `@stdlib/MbedTLS_jll`
[14a3606d] MozillaCACerts_jll `@stdlib/MozillaCACerts_jll`
[4536629a] OpenBLAS_jll `@stdlib/OpenBLAS_jll`
[83775a58] Zlib_jll `@stdlib/Zlib_jll`
[8e850b90] libblastrampoline_jll `@stdlib/libblastrampoline_jll`
[8e850ede] nghttp2_jll `@stdlib/nghttp2_jll`
[3f19e933] p7zip_jll `@stdlib/p7zip_jll`
Testing Running tests...
stack allocated objects: Error During Test at C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:13
Test threw exception
Expression: consume(ctask) == 0
ReadOnlyMemoryError()
Stacktrace:
[1] setproperty!
@ .\Base.jl:43 [inlined]
[2] consume(::CTask)
@ Libtask C:\Users\abc\.julia\packages\Libtask\8YyQv\src\ctask.jl:218
[3] macro expansion
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:445 [inlined]
[4] macro expansion
@ C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:13 [inlined]
[5] macro expansion
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:1282 [inlined]
[6] macro expansion
@ C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:4 [inlined]
[7] macro expansion
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:1282 [inlined]
[8] top-level scope
@ C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:3
stack allocated objects: Error During Test at C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:3
Got exception outside of a @test
KeyError: key :_libtask_bt not found
Stacktrace:
[1] getindex(d::IdDict{Any, Any}, key::Any)
@ Base .\iddict.jl:108
[2] showerror(io::IOContext{IOBuffer}, ex::Libtask.CTaskException)
@ Libtask C:\Users\abc\.julia\packages\Libtask\8YyQv\src\ctask.jl:34
[3] showerror(io::IOContext{IOBuffer}, ex::Libtask.CTaskException, bt::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}}; backtrace::Bool)
@ Base .\errorshow.jl:88
[4] show_exception_stack(io::IOContext{IOBuffer}, stack::Vector{Any})
@ Base .\errorshow.jl:862
[5] sprint(f::Function, args::Vector{Any}; context::Base.TTY, sizehint::Int64)
@ Base .\strings\io.jl:110
[6] Test.Error(test_type::Any, orig_expr::Any, value::Any, bt::Any, source::Any)
@ Test C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:170
[7] do_test(result::Test.ExecutionResult, orig_expr::Any)
@ Test C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:634
[8] macro expansion
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:445 [inlined]
[9] macro expansion
@ C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:14 [inlined]
[10] macro expansion
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:1282 [inlined]
[11] macro expansion
@ C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:4 [inlined]
[12] macro expansion
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:1282 [inlined]
[13] top-level scope
@ C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:3
[14] include(fname::String)
@ Base.MainInclude .\client.jl:451
[15] top-level scope
@ C:\Users\abc\.julia\packages\Libtask\8YyQv\test\runtests.jl:4
[16] include(fname::String)
@ Base.MainInclude .\client.jl:451
[17] top-level scope
@ none:6
[18] eval
@ .\boot.jl:373 [inlined]
[19] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:268
[20] _start()
@ Base .\client.jl:495
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 0x3c49bfac -- getproperty at .\task.jl:170 [inlined]
produce at C:\Users\abc\.julia\packages\Libtask\8YyQv\src\ctask.jl:154
in expression starting at C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:1
getproperty at .\task.jl:170 [inlined]
produce at C:\Users\abc\.julia\packages\Libtask\8YyQv\src\ctask.jl:154
#176#f at C:\Users\abc\.julia\packages\Libtask\8YyQv\test\ctask.jl:27
#8 at C:\Users\abc\.julia\packages\Libtask\8YyQv\src\ctask.jl:85
unknown function (ip: 000000003c49cd13)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1787 [inlined]
start_task at /cygdrive/c/buildbot/worker/package_win64/build/src\task.c:878
Allocations: 2390953 (Pool: 2390183; Big: 770); GC: 3
ERROR: Package Libtask errored during testing
Project file:
[deps]
Libtask = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f"
Manifest file:
# This file is machine-generated - editing it directly is not advised
julia_version = "1.7.0-beta3.0"
manifest_format = "2.0"
[[deps.ArgTools]]
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
[[deps.Artifacts]]
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
[[deps.Base64]]
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
[[deps.CompilerSupportLibraries_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
[[deps.Dates]]
deps = ["Printf"]
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
[[deps.Downloads]]
deps = ["ArgTools", "LibCURL", "NetworkOptions"]
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
[[deps.InteractiveUtils]]
deps = ["Markdown"]
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
[[deps.JLLWrappers]]
deps = ["Preferences"]
git-tree-sha1 = "642a199af8b68253517b80bd3bfd17eb4e84df6e"
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
version = "1.3.0"
[[deps.LibCURL]]
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
[[deps.LibCURL_jll]]
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"]
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
[[deps.LibGit2]]
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
[[deps.LibSSH2_jll]]
deps = ["Artifacts", "Libdl", "MbedTLS_jll"]
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8"
[[deps.Libdl]]
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
[[deps.Libtask]]
deps = ["Libdl", "Libtask_jll", "LinearAlgebra", "Statistics"]
git-tree-sha1 = "af2d97cb50decc6aa3621f5c02d3cd9cea2d0f30"
repo-rev = "7c404c4"
repo-url = "https://github.com/TuringLang/Libtask.jl.git"
uuid = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f"
version = "0.5.3"
[[deps.Libtask_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
git-tree-sha1 = "3ee8b8e25a657e8f5d4ca702e7b78150521caf0f"
uuid = "3ae2931a-708c-5973-9c38-ccf7496fb450"
version = "0.5.1+0"
[[deps.LinearAlgebra]]
deps = ["Libdl", "libblastrampoline_jll"]
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
[[deps.Logging]]
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
[[deps.Markdown]]
deps = ["Base64"]
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
[[deps.MbedTLS_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"
[[deps.MozillaCACerts_jll]]
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
[[deps.NetworkOptions]]
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
[[deps.OpenBLAS_jll]]
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
[[deps.Pkg]]
deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"]
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
[[deps.Preferences]]
deps = ["TOML"]
git-tree-sha1 = "00cfd92944ca9c760982747e9a1d0d5d86ab1e5a"
uuid = "21216c6a-2e73-6563-6e65-726566657250"
version = "1.2.2"
[[deps.Printf]]
deps = ["Unicode"]
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
[[deps.REPL]]
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
[[deps.Random]]
deps = ["Serialization"]
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
[[deps.SHA]]
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
[[deps.Serialization]]
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
[[deps.Sockets]]
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
[[deps.SparseArrays]]
deps = ["LinearAlgebra", "Random"]
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
[[deps.Statistics]]
deps = ["LinearAlgebra", "SparseArrays"]
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
[[deps.TOML]]
deps = ["Dates"]
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
[[deps.Tar]]
deps = ["ArgTools", "SHA"]
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
[[deps.UUIDs]]
deps = ["Random", "SHA"]
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
[[deps.Unicode]]
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
[[deps.Zlib_jll]]
deps = ["Libdl"]
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
[[deps.libblastrampoline_jll]]
deps = ["Artifacts", "Libdl", "OpenBLAS_jll"]
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
[[deps.nghttp2_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"
[[deps.p7zip_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
Metadata
Metadata
Assignees
Labels
No labels