Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure on Master #24

Open
vchuravy opened this issue Jan 13, 2022 · 2 comments
Open

Test failure on Master #24

vchuravy opened this issue Jan 13, 2022 · 2 comments

Comments

@vchuravy
Copy link

Seen during PkgEval

@v1.8) pkg> activate --temp
  Activating new project at `/tmp/jl_cRFjDF`

(jl_cRFjDF) pkg> add OptionalArgChecks
    Updating registry at `~/.julia/registries/Experimental`
    Updating git-repo `https://github.com/vchuravy/Experimental`
    Updating registry at `~/.julia/registries/General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
   Installed IRTools ─────────── v0.4.4
   Installed OptionalArgChecks ─ v0.3.1
    Updating `/tmp/jl_cRFjDF/Project.toml`
  [dfbeeb84] + OptionalArgChecks v0.3.1
    Updating `/tmp/jl_cRFjDF/Manifest.toml`
  [dce04be8] + ArgCheck v2.1.0
  [7869d1d1] + IRTools v0.4.4
  [1914dd2f] + MacroTools v0.5.9
  [dfbeeb84] + OptionalArgChecks v0.3.1
  [2a0f44e3] + Base64
  [b77e0a4c] + InteractiveUtils
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [8dfed614] + Test
Precompiling project...
  4 dependencies successfully precompiled in 3 seconds

(jl_cRFjDF) pkg> test OptionalArgChecks
     Testing OptionalArgChecks
      Status `/tmp/jl_1oo9OG/Project.toml`
  [e30172f5] Documenter v0.27.10
  [dfbeeb84] OptionalArgChecks v0.3.1
  [8dfed614] Test `@stdlib/Test`
      Status `/tmp/jl_1oo9OG/Manifest.toml`
  [a4c015fc] ANSIColoredPrinters v0.0.1
  [dce04be8] ArgCheck v2.1.0
  [ffbed154] DocStringExtensions v0.8.6
  [e30172f5] Documenter v0.27.10
  [b5f81e59] IOCapture v0.2.2
  [7869d1d1] IRTools v0.4.4
  [682c06a0] JSON v0.21.2
  [1914dd2f] MacroTools v0.5.9
  [dfbeeb84] OptionalArgChecks v0.3.1
  [69de0a69] Parsers v2.1.3
  [2a0f44e3] Base64 `@stdlib/Base64`
  [ade2ca70] Dates `@stdlib/Dates`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [76f85450] LibGit2 `@stdlib/LibGit2`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [a63ad114] Mmap `@stdlib/Mmap`
  [ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
  [de0858da] Printf `@stdlib/Printf`
  [3fa0cd96] REPL `@stdlib/REPL`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA v0.7.0 `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [6462fe0b] Sockets `@stdlib/Sockets`
  [8dfed614] Test `@stdlib/Test`
  [4ec0a83e] Unicode `@stdlib/Unicode`
Precompiling project...
  6 dependencies successfully precompiled in 5 seconds. 4 already precompiled.
     Testing Running tests...
WARNING: Method definition g(Any) in module Main at /home/vchuravy/.julia/packages/OptionalArgChecks/V6lE7/test/runtests.jl:18 overwritten at /home/vchuravy/.julia/packages/OptionalArgChecks/V6lE7/test/runtests.jl:25.
Test Summary: | Pass  Total   Time
argcheck      |   19     19  16.3s
Internal error: encountered unexpected error in runtime:
BoundsError(a=Array{Core.Compiler.BasicBlock, (1,)}[Core.Compiler.BasicBlock(stmts=Core.Compiler.StmtRange(start=1, stop=2), preds=Array{Int64, (0,)}[], succs=Array{Int64, (0,)}[])], i=(2,))
ijl_bounds_error_ints at /home/vchuravy/src/julia/src/rtutils.c:194
getindex at ./array.jl:921 [inlined]
compute_basic_blocks at ./compiler/ssair/ir.jl:104
convert_to_ircode at ./compiler/optimize.jl:585
run_passes at ./compiler/optimize.jl:513
optimize at ./compiler/optimize.jl:508 [inlined]
_typeinf at ./compiler/typeinfer.jl:255
typeinf at ./compiler/typeinfer.jl:209
typeinf_ext at ./compiler/typeinfer.jl:909
typeinf_ext_toplevel at ./compiler/typeinfer.jl:942
typeinf_ext_toplevel at ./compiler/typeinfer.jl:938
jfptr_typeinf_ext_toplevel_11273 at /home/vchuravy/builds/julia/usr/lib/julia/sys.so (unknown line)
_jl_invoke at /home/vchuravy/src/julia/src/gf.c:2285 [inlined]
ijl_apply_generic at /home/vchuravy/src/julia/src/gf.c:2486
jl_apply at /home/vchuravy/src/julia/src/julia.h:1777 [inlined]
jl_type_infer at /home/vchuravy/src/julia/src/gf.c:295
jl_generate_fptr_impl at /home/vchuravy/src/julia/src/jitlayers.cpp:305
jl_compile_method_internal at /home/vchuravy/src/julia/src/gf.c:2020 [inlined]
jl_compile_method_internal at /home/vchuravy/src/julia/src/gf.c:1964
_jl_invoke at /home/vchuravy/src/julia/src/gf.c:2296 [inlined]
ijl_apply_generic at /home/vchuravy/src/julia/src/gf.c:2486
jl_apply at /home/vchuravy/src/julia/src/julia.h:1777 [inlined]
do_call at /home/vchuravy/src/julia/src/interpreter.c:126
eval_value at /home/vchuravy/src/julia/src/interpreter.c:215
eval_stmt_value at /home/vchuravy/src/julia/src/interpreter.c:166 [inlined]
eval_body at /home/vchuravy/src/julia/src/interpreter.c:599
eval_body at /home/vchuravy/src/julia/src/interpreter.c:523
eval_body at /home/vchuravy/src/julia/src/interpreter.c:523
eval_body at /home/vchuravy/src/julia/src/interpreter.c:523
jl_interpret_toplevel_thunk at /home/vchuravy/src/julia/src/interpreter.c:745
macro expansion at /home/vchuravy/builds/julia/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:479 [inlined]
macro expansion at /home/vchuravy/.julia/packages/OptionalArgChecks/V6lE7/test/runtests.jl:55 [inlined]
macro expansion at /home/vchuravy/builds/julia/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:1375 [inlined]
top-level scope at /home/vchuravy/.julia/packages/OptionalArgChecks/V6lE7/test/runtests.jl:46
jl_toplevel_eval_flex at /home/vchuravy/src/julia/src/toplevel.c:888
jl_toplevel_eval_flex at /home/vchuravy/src/julia/src/toplevel.c:832
ijl_toplevel_eval_in at /home/vchuravy/src/julia/src/toplevel.c:947
eval at ./boot.jl:369 [inlined]
include_string at ./loading.jl:1251
_jl_invoke at /home/vchuravy/src/julia/src/gf.c:2285 [inlined]
ijl_apply_generic at /home/vchuravy/src/julia/src/gf.c:2486
_include at ./loading.jl:1308
include at ./client.jl:460
unknown function (ip: 0x7f870fb71062)
_jl_invoke at /home/vchuravy/src/julia/src/gf.c:2285 [inlined]
ijl_apply_generic at /home/vchuravy/src/julia/src/gf.c:2486
jl_apply at /home/vchuravy/src/julia/src/julia.h:1777 [inlined]
do_call at /home/vchuravy/src/julia/src/interpreter.c:126
eval_value at /home/vchuravy/src/julia/src/interpreter.c:215
eval_stmt_value at /home/vchuravy/src/julia/src/interpreter.c:166 [inlined]
eval_body at /home/vchuravy/src/julia/src/interpreter.c:599
jl_interpret_toplevel_thunk at /home/vchuravy/src/julia/src/interpreter.c:745
top-level scope at none:6
jl_toplevel_eval_flex at /home/vchuravy/src/julia/src/toplevel.c:888
jl_toplevel_eval_flex at /home/vchuravy/src/julia/src/toplevel.c:832
ijl_toplevel_eval_in at /home/vchuravy/src/julia/src/toplevel.c:947
eval at ./boot.jl:369 [inlined]
exec_options at ./client.jl:280
_start at ./client.jl:506
jfptr__start_50857 at /home/vchuravy/builds/julia/usr/lib/julia/sys.so (unknown line)
_jl_invoke at /home/vchuravy/src/julia/src/gf.c:2285 [inlined]
ijl_apply_generic at /home/vchuravy/src/julia/src/gf.c:2486
jl_apply at /home/vchuravy/src/julia/src/julia.h:1777 [inlined]
true_main at /home/vchuravy/src/julia/src/jlapi.c:562
jl_repl_entrypoint at /home/vchuravy/src/julia/src/jlapi.c:706
main at /home/vchuravy/src/julia/cli/loader_exe.c:59
__libc_start_main at /usr/lib/libc.so.6 (unknown line)
_start at /home/vchuravy/builds/julia/usr/bin/julia (unknown line)

signal (11): Segmentation fault
in expression starting at /home/vchuravy/.julia/packages/OptionalArgChecks/V6lE7/test/runtests.jl:45
_ZN4llvm23removeUnreachableBlocksERNS_8FunctionEPNS_14DomTreeUpdaterEPNS_16MemorySSAUpdaterE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZL23simplifyFunctionCFGImplRN4llvm8FunctionERKNS_19TargetTransformInfoEPNS_13DominatorTreeERKNS_18SimplifyCFGOptionsE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
operator() at /home/vchuravy/src/julia/src/jitlayers.cpp:571
_ZN4llvm3orc14IRCompileLayer4emitESt10unique_ptrINS0_29MaterializationResponsibilityESt14default_deleteIS3_EENS0_16ThreadSafeModuleE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc31BasicIRLayerMaterializationUnit11materializeESt10unique_ptrINS0_29MaterializationResponsibilityESt14default_deleteIS3_EE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc19MaterializationTask3runEv at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm6detail18UniqueFunctionBaseIvJSt10unique_ptrINS_3orc4TaskESt14default_deleteIS4_EEEE8CallImplIPFvS7_EEEvPvRS7_ at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession22dispatchOutstandingMUsEv at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession17OL_completeLookupESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EESt10shared_ptrINS0_23AsynchronousSymbolQueryEESt8functionIFvRKNS_8DenseMapIPNS0_8JITDylibENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISF_EEEENSG_ISD_EENS_6detail12DenseMapPairISD_SI_EEEEEE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc25InProgressFullLookupState8completeESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession19OL_applyQueryPhase1ESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EENS_5ErrorE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupENS0_10LookupKindERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS8_EENS0_15SymbolLookupSetENS0_11SymbolStateENS_15unique_functionIFvNS_8ExpectedINS_8DenseMapINS0_15SymbolStringPtrENS_18JITEvaluatedSymbolENS_12DenseMapInfoISI_EENS_6detail12DenseMapPairISI_SJ_EEEEEEEEESt8functionIFvRKNSH_IS6_NS_8DenseSetISI_SL_EENSK_IS6_EENSN_IS6_SV_EEEEEE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS7_EERKNS0_15SymbolLookupSetENS0_10LookupKindENS0_11SymbolStateESt8functionIFvRKNS_8DenseMapIS5_NS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISK_EEEENSL_IS5_EENS_6detail12DenseMapPairIS5_SN_EEEEEE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS7_EENS0_15SymbolStringPtrENS0_11SymbolStateE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupENS_8ArrayRefIPNS0_8JITDylibEEENS0_15SymbolStringPtrENS0_11SymbolStateE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
_ZN4llvm3orc16ExecutionSession6lookupENS_8ArrayRefIPNS0_8JITDylibEEENS_9StringRefENS0_11SymbolStateE at /home/vchuravy/builds/julia/usr/bin/../lib/libLLVM-13jl.so (unknown line)
addModule at /home/vchuravy/src/julia/src/jitlayers.cpp:727
jl_add_to_ee at /home/vchuravy/src/julia/src/jitlayers.cpp:986 [inlined]
jl_add_to_ee at /home/vchuravy/src/julia/src/jitlayers.cpp:1030
jl_add_to_ee at /home/vchuravy/src/julia/src/jitlayers.cpp:1052 [inlined]
_jl_compile_codeinst at /home/vchuravy/src/julia/src/jitlayers.cpp:140
jl_generate_fptr_for_unspecialized_impl at /home/vchuravy/src/julia/src/jitlayers.cpp:362
jl_compile_method_internal at /home/vchuravy/src/julia/src/gf.c:2033 [inlined]
jl_compile_method_internal at /home/vchuravy/src/julia/src/gf.c:1964
_jl_invoke at /home/vchuravy/src/julia/src/gf.c:2296 [inlined]
ijl_apply_generic at /home/vchuravy/src/julia/src/gf.c:2486
jl_apply at /home/vchuravy/src/julia/src/julia.h:1777 [inlined]
do_call at /home/vchuravy/src/julia/src/interpreter.c:126
eval_value at /home/vchuravy/src/julia/src/interpreter.c:215
eval_stmt_value at /home/vchuravy/src/julia/src/interpreter.c:166 [inlined]
eval_body at /home/vchuravy/src/julia/src/interpreter.c:599
eval_body at /home/vchuravy/src/julia/src/interpreter.c:523
eval_body at /home/vchuravy/src/julia/src/interpreter.c:523
eval_body at /home/vchuravy/src/julia/src/interpreter.c:523
jl_interpret_toplevel_thunk at /home/vchuravy/src/julia/src/interpreter.c:745
jl_toplevel_eval_flex at /home/vchuravy/src/julia/src/toplevel.c:888
jl_toplevel_eval_flex at /home/vchuravy/src/julia/src/toplevel.c:832
ijl_toplevel_eval_in at /home/vchuravy/src/julia/src/toplevel.c:947
eval at ./boot.jl:369 [inlined]
include_string at ./loading.jl:1251
_jl_invoke at /home/vchuravy/src/julia/src/gf.c:2285 [inlined]
ijl_apply_generic at /home/vchuravy/src/julia/src/gf.c:2486
_include at ./loading.jl:1308
include at ./client.jl:460
unknown function (ip: 0x7f870fb71062)
_jl_invoke at /home/vchuravy/src/julia/src/gf.c:2285 [inlined]
ijl_apply_generic at /home/vchuravy/src/julia/src/gf.c:2486
jl_apply at /home/vchuravy/src/julia/src/julia.h:1777 [inlined]
do_call at /home/vchuravy/src/julia/src/interpreter.c:126
eval_value at /home/vchuravy/src/julia/src/interpreter.c:215
eval_stmt_value at /home/vchuravy/src/julia/src/interpreter.c:166 [inlined]
eval_body at /home/vchuravy/src/julia/src/interpreter.c:599
jl_interpret_toplevel_thunk at /home/vchuravy/src/julia/src/interpreter.c:745
jl_toplevel_eval_flex at /home/vchuravy/src/julia/src/toplevel.c:888
jl_toplevel_eval_flex at /home/vchuravy/src/julia/src/toplevel.c:832
ijl_toplevel_eval_in at /home/vchuravy/src/julia/src/toplevel.c:947
eval at ./boot.jl:369 [inlined]
exec_options at ./client.jl:280
_start at ./client.jl:506
jfptr__start_50857 at /home/vchuravy/builds/julia/usr/lib/julia/sys.so (unknown line)
_jl_invoke at /home/vchuravy/src/julia/src/gf.c:2285 [inlined]
ijl_apply_generic at /home/vchuravy/src/julia/src/gf.c:2486
jl_apply at /home/vchuravy/src/julia/src/julia.h:1777 [inlined]
true_main at /home/vchuravy/src/julia/src/jlapi.c:562
jl_repl_entrypoint at /home/vchuravy/src/julia/src/jlapi.c:706
main at /home/vchuravy/src/julia/cli/loader_exe.c:59
__libc_start_main at /usr/lib/libc.so.6 (unknown line)
_start at /home/vchuravy/builds/julia/usr/bin/julia (unknown line)
Allocations: 46050455 (Pool: 46037557; Big: 12898); GC: 54
ERROR: Package OptionalArgChecks errored during testing (received signal: 11)

(jl_cRFjDF) pkg> 

Since you are using IRTools I am not yet filing this as a Julia Base issue (it might well be).

@simeonschaub
Copy link
Owner

Yeah, this package has been broken since 1.5 and was always an ugly hack, so this likely means nothing. I really should just archive this, do you know if there's a good way to also exclude this from PkgEval? I put in a compat bound on the Julia version on master, but if I register that, I'd assume it would just use an older version.

@vchuravy
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants