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
$ julia --project test/basedocstrings.jl
Precompiling MarkdownAST...
1 dependency successfully precompiled in 1 seconds. 3 already precompiled.
Unreachable reached at 0x7b92c0862a74
[3077028] signal 4 (2): Illegal instruction
in expression starting at /home/mortenpi/juliadocs/clones/MarkdownAST.jl/test/basedocstrings.jl:59
moduledocstrings! at /home/mortenpi/juliadocs/clones/MarkdownAST.jl/test/basedocstrings.jl:41
alldocstrings at /home/mortenpi/juliadocs/clones/MarkdownAST.jl/test/basedocstrings.jl:54 [inlined]
macro expansion at /home/mortenpi/juliadocs/clones/MarkdownAST.jl/test/basedocstrings.jl:60 [inlined]
macro expansion at /home/mortenpi/julia/usr/share/julia/stdlib/v1.12/Test/src/Test.jl:164 [inlined]
top-level scope at /home/mortenpi/juliadocs/clones/MarkdownAST.jl/test/basedocstrings.jl:60
jl_toplevel_eval_flex at /home/mortenpi/julia/src/toplevel.c:944
jl_toplevel_eval_flex at /home/mortenpi/julia/src/toplevel.c:893
ijl_toplevel_eval at /home/mortenpi/julia/src/toplevel.c:964
ijl_toplevel_eval_in at /home/mortenpi/julia/src/toplevel.c:1006
eval at ./boot.jl:432 [inlined]
include_string at ./loading.jl:2535
_include at ./loading.jl:2595
include at ./Base.jl:559 [inlined]
exec_options at ./client.jl:255
_start at ./client.jl:533
jfptr__start_69654 at /home/mortenpi/julia/usr/lib/julia/sys.so (unknown line)
jl_apply at /home/mortenpi/julia/src/julia.h:2184 [inlined]
true_main at /home/mortenpi/julia/src/jlapi.c:900
jl_repl_entrypoint at /home/mortenpi/julia/src/jlapi.c:1059
main at /home/mortenpi/julia/cli/loader_exe.c:58
unknown function (ip: 0x7b92c1e29d8f)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /home/mortenpi/julia/julia (unknown line)
Allocations: 3914780 (Pool: 3914677; Big: 103); GC: 6
Illegal instruction (core dumped)
This was with a local build:
Julia Version 1.12.0-DEV.240
Commit 61caaa886a* (2024-03-25 17:54 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 16 × 12th Gen Intel(R) Core(TM) i7-1260P
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, alderlake)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
(juliaup nightly) Julia Version 1.12.0-DEV.423 (2024-04-26) 0b7ee9d
Linux (x86_64-linux-gnu); Windows (x86_64-w64-mingw32)
NOTE: Save as a script and run it, don't run it in REPL.
import_repl() = Base.eval(@__MODULE__, :(import REPL))
for _ in1:2import_repl()
docstr = Base.Docs.DocStr(Base.Core.svec(), 0, Dict())
# NOTE: Docs.parsedoc is empty, parsedoc defined in REPL
Base.Docs.parsedoc(docstr)
end
The problem here is trying to call an empty function
With the current nightly. For an MWE, just run in the MarkdownAST repo (master at 30844f9 right now):
This was with a local build:
But it also showed up in the nightly CI with the official nightly binary: https://github.com/JuliaDocs/MarkdownAST.jl/actions/runs/8427886618/job/23079304876?pr=27#step:6:11
The text was updated successfully, but these errors were encountered: