Within function error - in atom

juno

#1

I’m getting the error shown below. The code is long and involved so I’m not sure it’s helpful to share at this point, but the error seems to occur when I am evaluating code that sits within a function, called elsewhere. Let me know if what clarification would be helpful.

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 0x775b0f68 -- RtlReAllocateHeap at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
while loading C:\Users\uctpdtz\.atom\packages\julia-client\script\boot.jl, in expression starting on line 327
RtlReAllocateHeap at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
RtlReAllocateHeap at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
realloc at C:\Windows\system32\msvcrt.dll (unknown line)
ZN4llvm15SmallVectorBase8grow_podEPvyy at C:\Julia\Julia-0.5.0\bin\LLVM-3.7.dll (unknown line)
ZN4llvm19raw_svector_ostream10write_implEPKcy at C:\Julia\Julia-0.5.0\bin\LLVM-3.7.dll (unknown line)
ZN4llvm11raw_ostream5writeEPKcy at C:\Julia\Julia-0.5.0\bin\LLVM-3.7.dll (unknown line)
ZN4llvm21createELFObjectWriterEPNS_23MCELFObjectTargetWriterERNS_17raw_pwrite_streamEb at C:\Julia\Julia-0.5.0\bin\LLVM-3.7.dll (unknown line)
ZN4llvm11MCAssembler6FinishEv at C:\Julia\Julia-0.5.0\bin\LLVM-3.7.dll (unknown line)
ZN4llvm10AsmPrinter14doFinalizationERNS_6ModuleE at C:\Julia\Julia-0.5.0\bin\LLVM-3.7.dll (unknown line)
ZN4llvm13FPPassManager14doFinalizationERNS_6ModuleE at C:\Julia\Julia-0.5.0\bin\LLVM-3.7.dll (unknown line)
ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at C:\Julia\Julia-0.5.0\bin\LLVM-3.7.dll (unknown line)
operator() at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\jitlayers.cpp:411 [inlined]
_M_invoke at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/usr/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++\functional:2025
operator() at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/usr/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++\functional:2439 [inlined]
addModuleSet<llvm::SmallVector<std::unique_ptr<llvm::Module>, 1u>, llvm::RTDyldMemoryManager*, std::unique_ptr<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::unique_ptr<llvm::Module>)::<lambda(const string&)>, JuliaOJIT::addModule(std::unique_ptr<llvm::Module>)::<lambda(const string&)> >, std::default_delete<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::unique_ptr<llvm::Module>)::<lambda(const string&)>, JuliaOJIT::addModule(std::unique_ptr<llvm::Module>)::<lambda(const string&)> > > > > at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/usr/include/llvm/ExecutionEngine/Orc\IRCompileLayer.h:76 [inlined]
addModule at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\jitlayers.cpp:521
jl_finalize_function at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\jitlayers.cpp:769
jl_finalize_function at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\jitlayers.cpp:778
getAddressForFunction at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\codegen.cpp:933
jl_generate_fptr at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\codegen.cpp:966
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:186 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1942
parse_object at C:\Julia\PkgDir\v0.5\JSON\src\Parser.jl:216
unknown function (ip: 000000001B19AB5A)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:189 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1942
parse_value at C:\Julia\PkgDir\v0.5\JSON\src\Parser.jl:157
unknown function (ip: 000000001B197D8A)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:189 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1942
parse_array at C:\Julia\PkgDir\v0.5\JSON\src\Parser.jl:187
unknown function (ip: 000000001B19A5CA)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:189 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1942
parse_value at C:\Julia\PkgDir\v0.5\JSON\src\Parser.jl:159
unknown function (ip: 000000001B197D8A)
#parse#2 at C:\Julia\PkgDir\v0.5\JSON\src\Parser.jl:384
unknown function (ip: 000000001B197B32)
parse at C:\Julia\PkgDir\v0.5\JSON\src\Parser.jl:383
unknown function (ip: 000000001B1979F6)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:189 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1942
macro expansion at C:\Julia\PkgDir\v0.5\Atom\src\comm.jl:108 [inlined]
#13 at .\task.jl:360
unknown function (ip: 000000001B1960B3)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:189 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1942
jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1392 [inlined]
start_task at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:253
Allocations: 1957838896 (Pool: 1957836385; Big: 2511); GC: 1435
LLVM ERROR: symbol '__UnwindData' is already defined