You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
signal (22): SIGABRT
while loading c.jl, in expression starting on line 53
raise at C:\windows\SYSTEM32\msvcrt.dll (unknown line)
abort at C:\windows\SYSTEM32\msvcrt.dll (unknown line)
.text at C:\projects\julia\usr\bin\libjulia.dll (unknown line)
__assert at C:\projects\julia\usr\bin\libjulia.dll (unknown line)
runtime_sym_gvs<LazyModule<emit_plt(llvm::FunctionType*, const llvm::AttributeSet&, llvm::CallingConv::ID, char const*, char const*)::<lambda()> >&> at C:/projects/julia/src\ccall.cpp:100 [inlined]
emit_plt at C:/projects/julia/src\ccall.cpp:316 [inlined]
emit_a_ccall at C:/projects/julia/src\ccall.cpp:2048
emit_ccall at C:/projects/julia/src\ccall.cpp:1870
emit_expr at C:/projects/julia/src\codegen.cpp:4002
emit_assignment at C:/projects/julia/src\codegen.cpp:3681 [inlined]
emit_expr at C:/projects/julia/src\codegen.cpp:4005
emit_stmtpos at C:/projects/julia/src\codegen.cpp:3907 [inlined]
emit_function at C:/projects/julia/src\codegen.cpp:5981
jl_compile_linfo at C:/projects/julia/src\codegen.cpp:1171
jl_compile_for_dispatch at C:/projects/julia/src\gf.c:1670
jl_compile_method_internal at C:/projects/julia/src\julia_internal.h:337 [inlined]
jl_call_method_internal at C:/projects/julia/src\julia_internal.h:384 [inlined]
jl_toplevel_eval_flex at C:/projects/julia/src\toplevel.c:594
jl_parse_eval_all at C:/projects/julia/src\ast.c:908
jl_load at C:/projects/julia/src\toplevel.c:620 [inlined]
jl_load_ at C:/projects/julia/src\toplevel.c:627
include at .\sysimg.jl:21
unknown function (ip: 0693C0B7)
jl_call_fptr_internal at C:/projects/julia/src\julia_internal.h:369 [inlined]
jl_call_method_internal at C:/projects/julia/src\julia_internal.h:388 [inlined]
jl_apply_generic at C:/projects/julia/src\gf.c:1928
do_call at C:/projects/julia/src\interpreter.c:66
eval at C:/projects/julia/src\interpreter.c:246
jl_interpret_toplevel_expr_in at C:/projects/julia/src\interpreter.c:46
jl_toplevel_eval_flex at C:/projects/julia/src\toplevel.c:582
jl_eval_module_expr at C:/projects/julia/src\toplevel.c:204
jl_toplevel_eval_flex at C:/projects/julia/src\toplevel.c:482
jl_parse_eval_all at C:/projects/julia/src\ast.c:908
jl_load at C:/projects/julia/src\toplevel.c:620
exec_program at C:/projects/julia/ui\repl.c:35
true_main at C:/projects/julia/ui\repl.c:125
wmain at C:/projects/julia/ui\repl.c:250
___tmainCRTStartup at C:\projects\julia\usr\bin\julia.exe (unknown line)
BaseThreadInitThunk at C:\windows\SYSTEM32\KERNEL32.DLL (unknown line)
RtlInitializeExceptionChain at C:\windows\SYSTEM32\ntdll.dll (unknown line)
RtlInitializeExceptionChain at C:\windows\SYSTEM32\ntdll.dll (unknown line)
Allocations: 942240 (Pool: 942229; Big: 11); GC: 5
Assertion failed!
ararslan
changed the title
Multiple ccalls to jl_get_UNAME causes AppVeyor to SIGABRT
Multiple ccalls to jl_get_UNAME in base/c.jl causes AppVeyor to SIGABRT
Jul 8, 2017
Using that in #22182 seems to have gotten around it. As of this writing CI on that PR hasn't finished, but AV has at least gotten well beyond the point at which it failed with SIGABRT when I tried it without @static. Edit: AV finished and passed.
So it's likely that @static is a good solution for this, but it would still be good to know what the underlying issue with it is.
The second
ccall
in following change triggers a SIGABRT on AppVeyor:The error portion of the log:
Full log: https://gist.github.com/ararslan/5a023867d8f58b241b015fd20ec93def
The text was updated successfully, but these errors were encountered: