{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12468","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12468/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12468/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12468/events","html_url":"https://github.com/JuliaLang/julia/issues/12468","id":99226616,"number":12468,"title":"Assigning value on remote worker: SIGSEGV (regression, parallel)","user":{"login":"bermanmaxim","id":5989894,"avatar_url":"https://avatars.githubusercontent.com/u/5989894?v=3","gravatar_id":"","url":"https://api.github.com/users/bermanmaxim","html_url":"https://github.com/bermanmaxim","followers_url":"https://api.github.com/users/bermanmaxim/followers","following_url":"https://api.github.com/users/bermanmaxim/following{/other_user}","gists_url":"https://api.github.com/users/bermanmaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/bermanmaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bermanmaxim/subscriptions","organizations_url":"https://api.github.com/users/bermanmaxim/orgs","repos_url":"https://api.github.com/users/bermanmaxim/repos","events_url":"https://api.github.com/users/bermanmaxim/events{/privacy}","received_events_url":"https://api.github.com/users/bermanmaxim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-05T15:06:31Z","updated_at":"2015-08-06T09:26:55Z","closed_at":null,"body":"I ran into this crash while testing the assignment of globals on remote workers\r\n\r\n```\r\n   _       _ _(_)_     |  A fresh approach to technical computing\r\n  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org\r\n   _ _   _| |_  __ _   |  Type \"help()\" for help.\r\n  | | | | | | |/ _` |  |\r\n  | | |_| | | | (_| |  |  Version 0.4.0-dev+6478 (2015-08-03 04:22 UTC)\r\n _/ |\\__'_|_|_|\\__'_|  |  Commit 4d08b6d* (2 days old master)\r\n|__/                   |  x86_64-linux-gnu\r\n\r\njulia> addprocs(1);\r\n\r\njulia> a = [1,2,3];\r\n\r\njulia> @spawnat 2 global b = a;\r\n\r\njulia> @everywhere println(b)\r\n\r\nsignal (11): Segmentation fault\r\nunknown function (ip: 0x7f0ca8b36e86)\r\njl_f_isa at /home/maxim/julia/usr/bin/../lib/libjulia.so (unknown line)\r\ntypeinf_uncached at ./inference.jl:1481\r\nunknown function (ip: 0x7f0ca59facc0)\r\njl_apply_generic at /home/maxim/julia/usr/bin/../lib/libjulia.so (unknown line)\r\ntypeinf at ./inference.jl:1340\r\nunknown function (ip: 0x7f0ca59f5416)\r\njl_apply_generic at /home/maxim/julia/usr/bin/../lib/libjulia.so (unknown line)\r\ntypeinf_ext at ./inference.jl:1284\r\njl_apply_generic at /home/maxim/julia/usr/bin/../lib/libjulia.so (unknown line)\r\nunknown function (ip: 0x7f0ca8b4a69d)\r\nunknown function (ip: 0x7f0ca8b4b107)\r\njl_apply_generic at /home/maxim/julia/usr/bin/../lib/libjulia.so (unknown line)\r\nsync_end at ./task.jl:406\r\nanonymous at multi.jl:421\r\nunknown function (ip: 0x7f0ca8bb4ceb)\r\njl_toplevel_eval_in at /home/maxim/julia/usr/bin/../lib/libjulia.so (unknown line)\r\neval_user_input at REPL.jl:63\r\njlcall_eval_user_input_21091 at  (unknown line)\r\njl_apply_generic at /home/maxim/julia/usr/bin/../lib/libjulia.so (unknown line)\r\nanonymous at task.jl:92\r\nunknown function (ip: 0x7f0ca8ba7580)\r\nunknown function (ip: (nil))\r\nfish: “julia” terminated by signal SIGSEGV (Address boundary error)\r\n```\r\n\r\nA git bisect narrowed the commit introducing this behavior to 4d08b6d ; before that, there is no SIGSEGV, only the expected output:\r\n\r\n```\r\njulia> @everywhere println(b)\r\nexception on 1: ERROR: UndefVarError: b not defined\r\n in eval at sysimg.jl:14\r\n in anonymous at multi.jl:1321\r\n in run_work_thunk at multi.jl:584\r\n in remotecall_fetch at multi.jl:657\r\n in remotecall_fetch at multi.jl:672\r\n in anonymous at task.jl:365\r\n\tFrom worker 2:\t[1,2,3]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/128305076","html_url":"https://github.com/JuliaLang/julia/issues/12468#issuecomment-128305076","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12468","id":128305076,"user":{"login":"bermanmaxim","id":5989894,"avatar_url":"https://avatars.githubusercontent.com/u/5989894?v=3","gravatar_id":"","url":"https://api.github.com/users/bermanmaxim","html_url":"https://github.com/bermanmaxim","followers_url":"https://api.github.com/users/bermanmaxim/followers","following_url":"https://api.github.com/users/bermanmaxim/following{/other_user}","gists_url":"https://api.github.com/users/bermanmaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/bermanmaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bermanmaxim/subscriptions","organizations_url":"https://api.github.com/users/bermanmaxim/orgs","repos_url":"https://api.github.com/users/bermanmaxim/repos","events_url":"https://api.github.com/users/bermanmaxim/events{/privacy}","received_events_url":"https://api.github.com/users/bermanmaxim/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T09:26:55Z","updated_at":"2015-08-06T09:26:55Z","body":"You were right, I don't see this problem anymore after `make clean` and rebuilding, I guess `make` alone wasn't enough (the bug seemed strangely consistent during my git bisect)... Thanks for the help !\r\n\r\n```\r\njulia> versioninfo()\r\nJulia Version 0.4.0-dev+6511\r\nCommit a2391b9 (2015-08-06 08:55 UTC)\r\nPlatform Info:\r\n  System: Linux (x86_64-linux-gnu)\r\n  CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz\r\n  WORD_SIZE: 64\r\n  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)\r\n  LAPACK: libopenblas\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-3.3\r\n```"}}