{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12686","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12686/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12686/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12686/events","html_url":"https://github.com/JuliaLang/julia/issues/12686","id":101730586,"number":12686,"title":"Segfault with precompilation","user":{"login":"SimonDanisch","id":1010467,"avatar_url":"https://avatars.githubusercontent.com/u/1010467?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonDanisch","html_url":"https://github.com/SimonDanisch","followers_url":"https://api.github.com/users/SimonDanisch/followers","following_url":"https://api.github.com/users/SimonDanisch/following{/other_user}","gists_url":"https://api.github.com/users/SimonDanisch/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonDanisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonDanisch/subscriptions","organizations_url":"https://api.github.com/users/SimonDanisch/orgs","repos_url":"https://api.github.com/users/SimonDanisch/repos","events_url":"https://api.github.com/users/SimonDanisch/events{/privacy}","received_events_url":"https://api.github.com/users/SimonDanisch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/precompile","name":"precompile","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-18T19:24:06Z","updated_at":"2015-08-23T22:04:25Z","closed_at":"2015-08-20T14:40:07Z","body":"I get a segfault on:\r\n```Julia\r\njulia> versioninfo()\r\nJulia Version 0.4.0-dev+6809\r\nCommit b6654a7 (2015-08-18 08:52 UTC)\r\nPlatform Info:\r\n  System: Windows (x86_64-w64-mingw32)\r\n  CPU: Intel(R) Core(TM) i3-4130 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```\r\nbut not on \r\n```Julia\r\njulia> versioninfo()\r\nJulia Version 0.4.0-dev+6698\r\nCommit 72c344c (2015-08-13 09:51 UTC)\r\nPlatform Info:\r\n  System: Windows (x86_64-w64-mingw32)\r\n  CPU: Intel(R) Core(TM) i3-4130 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```\r\nI'm not able to compile Julia right now, so I can't easily pin this further down.\r\nI got two different segfaults so far. The first one is the norm, the other one showed up just now (and just a single time).\r\nI'm not sure what I did differently.\r\nFirst:\r\n```Julia\r\n# this solved a similar segfault (#12638), but using GLVisualize alone is enough for the error\r\njulia> Base.compilecache(:GLVisualize) \r\n\"C:\\\\Users\\\\Sim\\\\.julia\\\\lib\\\\v0.4\\\\GLVisualize.ji\"\r\njulia> using GLVisualize\r\n\r\nPlease submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.\r\nException: EXCEPTION_ACCESS_VIOLATION at 0x6bf60155 -- jl_egal at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_egal at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_object_id at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\nunknown function (ip: 000000006BF44018)\r\njl_apply_type at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_apply_type at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_apply_type_ at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_apply_type at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_deserialize_lambdas_from_mod at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_deserialize_lambdas_from_mod at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_restore_incremental at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\n_require_from_serialized at loading.jl:83\r\njlcall__require_from_serialized_21394 at  (unknown line)\r\njl_apply_generic at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\nunknown function (ip: 00000000666AE47C)\r\nunknown function (ip: 00000000666AC270)\r\nunknown function (ip: 00000000666AD1E0)\r\njl_apply_generic at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_init_serializer at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_eval_with_compiler_p at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_toplevel_eval_in at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\neval_user_input at REPL.jl:63\r\njlcall_eval_user_input_21243 at  (unknown line)\r\njl_apply_generic at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\nanonymous at task.jl:92\r\njl_unprotect_stack at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\n```\r\nSecond:\r\n```Julia\r\nPlease submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.\r\nException: EXCEPTION_ACCESS_VIOLATION at 0x6bf43449 -- unknown function (ip: 000000006BF43449)\r\nunknown function (ip: 000000006BF43449)\r\njl_apply_type at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_apply_type_ at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_apply_type at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_cell_1d_push2 at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_deserialize_lambdas_from_mod at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_deserialize_lambdas_from_mod at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_restore_incremental at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\n_require_from_serialized at loading.jl:83\r\njlcall__require_from_serialized_21165 at  (unknown line)\r\njl_apply_generic at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\nunknown function (ip: 00000000666AE47C)\r\nunknown function (ip: 00000000666AC270)\r\nunknown function (ip: 00000000666AD1E0)\r\njl_apply_generic at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_init_serializer at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_eval_with_compiler_p at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_eval_with_compiler_p at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_parse_eval_all at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\njl_load_ at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\nunknown function (ip: 00000000664AD7A7)\r\njl_apply_generic at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\nunknown function (ip: 00000000666A4133)\r\njl_apply_generic at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\nunknown function (ip: 000000006669717D)\r\nunknown function (ip: 000000006669560E)\r\nunknown function (ip: 00000000666961DD)\r\njl_apply_generic at C:\\Users\\Sim\\AppData\\Local\\Julia-0.4.0-devSEG\\bin\\libjulia.dll (unknown line)\r\nunknown function (ip: 00000000004018D0)\r\nunknown function (ip: 000000000040282B)\r\nunknown function (ip: 000000000040140C)\r\nunknown function (ip: 000000000040153B)\r\nBaseThreadInitThunk at C:\\Windows\\system32\\KERNEL32.DLL (unknown line)\r\nRtlUserThreadStart at C:\\Windows\\SYSTEM32\\ntdll.dll (unknown line)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/133943801","html_url":"https://github.com/JuliaLang/julia/issues/12686#issuecomment-133943801","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12686","id":133943801,"user":{"login":"stevengj","id":2913679,"avatar_url":"https://avatars.githubusercontent.com/u/2913679?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengj","html_url":"https://github.com/stevengj","followers_url":"https://api.github.com/users/stevengj/followers","following_url":"https://api.github.com/users/stevengj/following{/other_user}","gists_url":"https://api.github.com/users/stevengj/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengj/subscriptions","organizations_url":"https://api.github.com/users/stevengj/orgs","repos_url":"https://api.github.com/users/stevengj/repos","events_url":"https://api.github.com/users/stevengj/events{/privacy}","received_events_url":"https://api.github.com/users/stevengj/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T22:04:25Z","updated_at":"2015-08-23T22:04:25Z","body":"@vtjnash, does this look like a bug on the julia end?\r\n\r\nIt would be easiest to narrow down if you got a minimal crashing example.  (e.g. delete code from your module and dependencies until the crash vanishes)"}}