Error passing inner function to pmap #9231 Closed simonster opened this Issue on Dec 2, 2014 · 0 comments Projects None yet Labels bug parallel regression Milestone No milestone Assignees No one assigned 1 participant @simonster Notifications You’re not receiving notifications from this thread. @simonster The Julia Language member simonster commented on Dec 2, 2014 $ julia -p 1 [...] | | |_| | | | (_| | | Version 0.4.0-dev+1922 (2014-12-02 23:10 UTC) _/ |\__'_|_|_|\__'_| | Commit e4e1688* (0 days old master) |__/ | x86_64-linux-gnu julia> function f() function inner(x) end pmap(inner, 1:3) end; julia> f() fatal error on 2: ERROR: type: setfield!: expected Function, got Type{()} in deserialize at serialize.jl:559 in deserialize at serialize.jl:514 in handle_deserialize at serialize.jl:352 in deserialize at serialize.jl:559 in deserialize at serialize.jl:514 in handle_deserialize at serialize.jl:352 in deserialize at serialize.jl:402 in handle_deserialize at serialize.jl:352 in anonymous at task.jl:824 Worker 2 terminated. 1-element Array{Any,1}: ProcessExitedException() This works fine on Julia 0.3, so it looks like a regression. I'll bisect if no one can guess where the problem is. @simonster simonster added parallel regression bug labels on Dec 2, 2014 @JeffBezanson JeffBezanson added a commit that closed this issue on Dec 3, 2014 @JeffBezanson fix #9231, type error deserializing function 894ea51 @JeffBezanson JeffBezanson closed this in 894ea51 on Dec 3, 2014