Created
November 20, 2019 14:53
-
-
Save oxinabox/8722470a4eb7936d8646ca858cfe4c9a to your computer and use it in GitHub Desktop.
Distrubuted Fault
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[Base64]] | |
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | |
[[BinaryProvider]] | |
deps = ["Libdl", "SHA"] | |
git-tree-sha1 = "5b08ed6036d9d3f0ee6369410b830f8873d4024c" | |
uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232" | |
version = "0.5.8" | |
[[Compat]] | |
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"] | |
git-tree-sha1 = "ed2c4abadf84c53d9e58510b5fc48912c2336fbb" | |
uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" | |
version = "2.2.0" | |
[[Dates]] | |
deps = ["Printf"] | |
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" | |
[[DelimitedFiles]] | |
deps = ["Mmap"] | |
uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab" | |
[[Distributed]] | |
deps = ["LinearAlgebra", "Random", "Serialization", "Sockets"] | |
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" | |
[[EzXML]] | |
deps = ["BinaryProvider", "Libdl", "Printf"] | |
git-tree-sha1 = "aed48d722e528bc634bd36a7d0e090fa2952a3c0" | |
uuid = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615" | |
version = "0.9.4" | |
[[InteractiveUtils]] | |
deps = ["LinearAlgebra", "Markdown"] | |
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" | |
[[Intervals]] | |
deps = ["Compat", "TimeZones"] | |
git-tree-sha1 = "32ea55c8a545aaa90f5e3f8432abe7857a6156f0" | |
uuid = "d8418881-c3e1-53bb-8760-2df7ec849ed5" | |
version = "0.5.1" | |
[[LibGit2]] | |
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" | |
[[Libdl]] | |
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" | |
[[LinearAlgebra]] | |
deps = ["Libdl"] | |
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | |
[[Logging]] | |
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" | |
[[Markdown]] | |
deps = ["Base64"] | |
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" | |
[[Mmap]] | |
uuid = "a63ad114-7e13-5084-954f-fe012c677804" | |
[[Mocking]] | |
git-tree-sha1 = "bd2623f8b728af988d2afec53d611acb621f3bc4" | |
uuid = "78c3b35d-d492-501b-9361-3d52fe80e533" | |
version = "0.7.0" | |
[[Pkg]] | |
deps = ["Dates", "LibGit2", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"] | |
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | |
[[Printf]] | |
deps = ["Unicode"] | |
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" | |
[[REPL]] | |
deps = ["InteractiveUtils", "Markdown", "Sockets"] | |
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | |
[[Random]] | |
deps = ["Serialization"] | |
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | |
[[SHA]] | |
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" | |
[[Serialization]] | |
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" | |
[[SharedArrays]] | |
deps = ["Distributed", "Mmap", "Random", "Serialization"] | |
uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383" | |
[[Sockets]] | |
uuid = "6462fe0b-24de-5631-8697-dd941f90decc" | |
[[SparseArrays]] | |
deps = ["LinearAlgebra", "Random"] | |
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" | |
[[Statistics]] | |
deps = ["LinearAlgebra", "SparseArrays"] | |
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | |
[[Test]] | |
deps = ["Distributed", "InteractiveUtils", "Logging", "Random"] | |
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | |
[[TimeZones]] | |
deps = ["Dates", "EzXML", "Mocking", "Printf", "Serialization", "Unicode"] | |
git-tree-sha1 = "29c7ae3f50f291358043e21db47b3e1a516df891" | |
uuid = "f269a46b-ccf7-5d73-abea-4c690281aa53" | |
version = "0.10.3" | |
[[UUIDs]] | |
deps = ["Random"] | |
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | |
[[Unicode]] | |
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[deps] | |
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | |
Intervals = "d8418881-c3e1-53bb-8760-2df7ec849ed5" | |
TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Distributed | |
addprocs(3) | |
@everywhere using Pkg | |
@everywhere Pkg.activate(".") | |
@everywhere using Dates, TimeZones, Intervals | |
const dts = DateTime(2000,11,10) .+ Hour.(0:24*60) | |
const zdts = ZonedDateTime.(dts, localzone()) | |
const ivals = Interval.(zdts, zdts.+Hour(1)) | |
const many = rand(ivals, 297_944) | |
mkfun(data) = ii->(ii, Distributed.myid(), sizeof(data)) | |
const fun2 = mkfun(many) | |
# Odds are that one of these will fail | |
pmap(fun2, CachingPool(workers()), 1:10) | |
pmap(fun2, CachingPool(workers()), 1:10) | |
pmap(fun2, CachingPool(workers()), 1:10) | |
pmap(fun2, CachingPool(workers()), 1:10) | |
pmap(fun2, CachingPool(workers()), 1:10) | |
#== | |
# Error is: | |
ERROR: IOError: write: bad address in system call argument (EFAULT) | |
Stacktrace: | |
[1] (::getfield(Base, Symbol("##684#686")))(::Task) at ./asyncmap.jl:178 | |
[2] foreach(::getfield(Base, Symbol("##684#686")), ::Array{Any,1}) at ./abstractarray.jl:1835 | |
[3] maptwice(::Function, ::Channel{Any}, ::Array{Any,1}, ::UnitRange{Int64}) at ./asyncmap.jl:178 | |
[4] #async_usemap#669 at ./asyncmap.jl:154 [inlined] | |
[5] #async_usemap at ./none:0 [inlined] | |
[6] #asyncmap#668 at ./asyncmap.jl:81 [inlined] | |
[7] #asyncmap at ./none:0 [inlined] | |
[8] #pmap#213(::Bool, ::Int64, ::Nothing, ::Array{Any,1}, ::Nothing, ::Function, ::Function, ::CachingPool, ::UnitRange{Int64}) at /User | |
s/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.0/Distributed/src/pmap.jl:126 | |
[9] pmap(::Function, ::CachingPool, ::UnitRange{Int64}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1. | |
0/Distributed/src/pmap.jl:101 | |
[10] top-level scope at none:0 | |
==# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment