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

Segfault on julia master during precompilation #868

Closed
zickgraf opened this issue May 9, 2023 · 3 comments
Closed

Segfault on julia master during precompilation #868

zickgraf opened this issue May 9, 2023 · 3 comments

Comments

@zickgraf
Copy link

zickgraf commented May 9, 2023

Bisected to e26b63cf41cff80783621ed193e794be5978be20 (I hope this is correct) from JuliaLang/julia#49556

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.0-DEV.1233 (2023-05-06)
 _/ |\__'_|_|_|\__'_|  |  Commit e26b63cf41 (3 days old master)
|__/                   |

julia> using GAP
Precompiling GAP
  10 dependencies successfully precompiled in 7 seconds. 2 already precompiled.
  1 dependency had warnings during precompilation:
┌ GAP [c863536a-3901-11e9-33e7-d5cd0df7b904]
│  WARNING: could not import REPLCompletions.get_value into GAP
└  
 ┌───────┐   GAP 4.12.2 of 2022-12-18
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: x86_64-pc-linux-gnu-julia1.10-64-kv8
 Configuration:  gmp 6.2.1, Julia GC, Julia 1.10.0-DEV, readline
 Loading the library and packages ...

[57833] signal (11.1): Segmentation fault
in expression starting at REPL[1]:1
ELM_PLIST at /workspace/srcdir/gap-4.12.2/src/plist.h:203 [inlined]
DoOperationNArgs<2, 0, 0> at /workspace/srcdir/gap-4.12.2/src/opers.cc:1903 [inlined]
DoOperation2Args at /workspace/srcdir/gap-4.12.2/src/opers.cc:2005
EqObject at /workspace/srcdir/gap-4.12.2/src/ariths.c:550
EQ at /workspace/srcdir/gap-4.12.2/src/ariths.h:273 [inlined]
EvalNe at /workspace/srcdir/gap-4.12.2/src/exprs.c:281
EVAL_BOOL_EXPR at /workspace/srcdir/gap-4.12.2/src/exprs.h:128 [inlined]
ExecIf at /workspace/srcdir/gap-4.12.2/src/stats.c:221
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat6 at /workspace/srcdir/gap-4.12.2/src/stats.c:185
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
EXEC_CURR_FUNC at /workspace/srcdir/gap-4.12.2/src/stats.c:61
DoExecFunc at /workspace/srcdir/gap-4.12.2/src/funcs.c:468 [inlined]
DoExecFunc0args at /workspace/srcdir/gap-4.12.2/src/funcs.c:483
CALL_2ARGS at /workspace/srcdir/gap-4.12.2/src/calls.h:316 [inlined]
IntrFuncCallEnd at /workspace/srcdir/gap-4.12.2/src/intrprtr.c:398
EvalRef at /workspace/srcdir/gap-4.12.2/src/read.c:382
ReadCallVarAss at /workspace/srcdir/gap-4.12.2/src/read.c:889
ReadAtom at /workspace/srcdir/gap-4.12.2/src/read.c:1603
ReadFactor at /workspace/srcdir/gap-4.12.2/src/read.c:1674
ReadTerm at /workspace/srcdir/gap-4.12.2/src/read.c:1723
ReadAri at /workspace/srcdir/gap-4.12.2/src/read.c:1755
ReadRel at /workspace/srcdir/gap-4.12.2/src/read.c:1792
ReadAnd at /workspace/srcdir/gap-4.12.2/src/read.c:1829
ReadExpr at /workspace/srcdir/gap-4.12.2/src/read.c:1904
ReadEvalCommand at /workspace/srcdir/gap-4.12.2/src/read.c:2577
READ_INNER at /workspace/srcdir/gap-4.12.2/src/streams.c:291
FuncREAD at /workspace/srcdir/gap-4.12.2/src/streams.c:810
CALL_1ARGS at /workspace/srcdir/gap-4.12.2/src/calls.h:311 [inlined]
EvalOrExecCall at /workspace/srcdir/gap-4.12.2/src/funcs.c:147 [inlined]
EvalFunccall1args at /workspace/srcdir/gap-4.12.2/src/funcs.c:303
EVAL_EXPR at /workspace/srcdir/gap-4.12.2/src/exprs.h:98 [inlined]
EvalUnknownBool at /workspace/srcdir/gap-4.12.2/src/exprs.c:101
EVAL_BOOL_EXPR at /workspace/srcdir/gap-4.12.2/src/exprs.h:128 [inlined]
EvalNot at /workspace/srcdir/gap-4.12.2/src/exprs.c:212
EVAL_BOOL_EXPR at /workspace/srcdir/gap-4.12.2/src/exprs.h:128 [inlined]
ExecIf at /workspace/srcdir/gap-4.12.2/src/stats.c:221
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat4 at /workspace/srcdir/gap-4.12.2/src/stats.c:175
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
EXEC_CURR_FUNC at /workspace/srcdir/gap-4.12.2/src/stats.c:61
DoExecFunc at /workspace/srcdir/gap-4.12.2/src/funcs.c:468 [inlined]
DoExecFunc1args at /workspace/srcdir/gap-4.12.2/src/funcs.c:489
CALL_1ARGS at /workspace/srcdir/gap-4.12.2/src/calls.h:311 [inlined]
CallNArgs<1> at /workspace/srcdir/gap-4.12.2/src/opers.cc:1826 [inlined]
DoOperationNArgs<1, 0, 0> at /workspace/srcdir/gap-4.12.2/src/opers.cc:1986 [inlined]
DoOperation1Args at /workspace/srcdir/gap-4.12.2/src/opers.cc:2000
CALL_1ARGS at /workspace/srcdir/gap-4.12.2/src/calls.h:311 [inlined]
EvalOrExecCall at /workspace/srcdir/gap-4.12.2/src/funcs.c:147 [inlined]
ExecProccall1args at /workspace/srcdir/gap-4.12.2/src/funcs.c:218
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat4 at /workspace/srcdir/gap-4.12.2/src/stats.c:175
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat4 at /workspace/srcdir/gap-4.12.2/src/stats.c:175
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
EXEC_CURR_FUNC at /workspace/srcdir/gap-4.12.2/src/stats.c:61
DoExecFunc at /workspace/srcdir/gap-4.12.2/src/funcs.c:468 [inlined]
DoExecFunc1args at /workspace/srcdir/gap-4.12.2/src/funcs.c:489
CALL_2ARGS at /workspace/srcdir/gap-4.12.2/src/calls.h:316 [inlined]
EvalOrExecCall at /workspace/srcdir/gap-4.12.2/src/funcs.c:150 [inlined]
ExecProccall2args at /workspace/srcdir/gap-4.12.2/src/funcs.c:224
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat at /workspace/srcdir/gap-4.12.2/src/stats.c:160
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecForHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:402 [inlined]
ExecFor at /workspace/srcdir/gap-4.12.2/src/stats.c:457
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat7 at /workspace/srcdir/gap-4.12.2/src/stats.c:190
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecForRangeHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:538 [inlined]
ExecForRange at /workspace/srcdir/gap-4.12.2/src/stats.c:550
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat at /workspace/srcdir/gap-4.12.2/src/stats.c:160
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat7 at /workspace/srcdir/gap-4.12.2/src/stats.c:190
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
EXEC_CURR_FUNC at /workspace/srcdir/gap-4.12.2/src/stats.c:61
DoExecFunc at /workspace/srcdir/gap-4.12.2/src/funcs.c:468 [inlined]
DoExecFunc1args at /workspace/srcdir/gap-4.12.2/src/funcs.c:489
CALL_3ARGS at /workspace/srcdir/gap-4.12.2/src/calls.h:321 [inlined]
EvalOrExecCall at /workspace/srcdir/gap-4.12.2/src/funcs.c:153 [inlined]
EvalFunccall3args at /workspace/srcdir/gap-4.12.2/src/funcs.c:313
EVAL_EXPR at /workspace/srcdir/gap-4.12.2/src/exprs.h:98 [inlined]
EvalNe at /workspace/srcdir/gap-4.12.2/src/exprs.c:275
EVAL_BOOL_EXPR at /workspace/srcdir/gap-4.12.2/src/exprs.h:128 [inlined]
ExecIf at /workspace/srcdir/gap-4.12.2/src/stats.c:221
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecForHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:402 [inlined]
ExecFor at /workspace/srcdir/gap-4.12.2/src/stats.c:457
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat5 at /workspace/srcdir/gap-4.12.2/src/stats.c:180
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat at /workspace/srcdir/gap-4.12.2/src/stats.c:160
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat7 at /workspace/srcdir/gap-4.12.2/src/stats.c:190
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
EXEC_CURR_FUNC at /workspace/srcdir/gap-4.12.2/src/stats.c:61
DoExecFunc at /workspace/srcdir/gap-4.12.2/src/funcs.c:468 [inlined]
DoExecFunc0args at /workspace/srcdir/gap-4.12.2/src/funcs.c:483
CALL_0ARGS at /workspace/srcdir/gap-4.12.2/src/calls.h:306 [inlined]
EvalOrExecCall at /workspace/srcdir/gap-4.12.2/src/funcs.c:144 [inlined]
ExecProccall0args at /workspace/srcdir/gap-4.12.2/src/funcs.c:212
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
ExecSeqStatHelper at /workspace/srcdir/gap-4.12.2/src/stats.c:147 [inlined]
ExecSeqStat4 at /workspace/srcdir/gap-4.12.2/src/stats.c:175
EXEC_STAT at /workspace/srcdir/gap-4.12.2/src/stats.c:55 [inlined]
EXEC_CURR_FUNC at /workspace/srcdir/gap-4.12.2/src/stats.c:61
DoExecFunc at /workspace/srcdir/gap-4.12.2/src/funcs.c:468 [inlined]
DoExecFunc1args at /workspace/srcdir/gap-4.12.2/src/funcs.c:489
CALL_1ARGS at /workspace/srcdir/gap-4.12.2/src/calls.h:311 [inlined]
IntrFuncCallEnd at /workspace/srcdir/gap-4.12.2/src/intrprtr.c:397
EvalRef at /workspace/srcdir/gap-4.12.2/src/read.c:382
ReadCallVarAss at /workspace/srcdir/gap-4.12.2/src/read.c:889
ReadAtom at /workspace/srcdir/gap-4.12.2/src/read.c:1603
ReadFactor at /workspace/srcdir/gap-4.12.2/src/read.c:1674
ReadTerm at /workspace/srcdir/gap-4.12.2/src/read.c:1723
ReadAri at /workspace/srcdir/gap-4.12.2/src/read.c:1755
ReadRel at /workspace/srcdir/gap-4.12.2/src/read.c:1792
ReadAnd at /workspace/srcdir/gap-4.12.2/src/read.c:1829
ReadExpr at /workspace/srcdir/gap-4.12.2/src/read.c:1904
ReadEvalCommand at /workspace/srcdir/gap-4.12.2/src/read.c:2577
READ_GAP_ROOT at /workspace/srcdir/gap-4.12.2/src/streams.c:409
initialize at /home/gap/.julia/packages/GAP/iWfJi/src/GAP.jl:153
#4 at /home/gap/.julia/packages/GAP/iWfJi/src/GAP.jl:298 [inlined]
withenv at ./env.jl:235
__init__ at /home/gap/.julia/packages/GAP/iWfJi/src/GAP.jl:297
jfptr___init___490 at /home/gap/.julia/compiled/v1.10/GAP/YqHod_IfvkQ.so (unknown line)
jl_apply at /tmp/julia/src/julia.h:1958 [inlined]
jl_module_run_initializer at /tmp/julia/src/toplevel.c:76
run_module_init at ./loading.jl:1087
register_restored_modules at ./loading.jl:1075
_include_from_serialized at ./loading.jl:1020
_require_search_from_serialized at ./loading.jl:1481
_require at ./loading.jl:1820
_require_prelocked at ./loading.jl:1694
macro expansion at ./loading.jl:1680 [inlined]
macro expansion at ./lock.jl:267 [inlined]
require at ./loading.jl:1643
jfptr_require_56922 at /tmp/julia/usr/lib/julia/sys.so (unknown line)
jl_apply at /tmp/julia/src/julia.h:1958 [inlined]
call_require at /tmp/julia/src/toplevel.c:467 [inlined]
eval_import_path at /tmp/julia/src/toplevel.c:504
jl_toplevel_eval_flex at /tmp/julia/src/toplevel.c:729
jl_toplevel_eval_flex at /tmp/julia/src/toplevel.c:854
ijl_toplevel_eval_in at /tmp/julia/src/toplevel.c:970
eval at ./boot.jl:385 [inlined]
eval_user_input at /tmp/julia/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:150
repl_backend_loop at /tmp/julia/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:246
#start_repl_backend#46 at /tmp/julia/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:231
start_repl_backend at /tmp/julia/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:228
#run_repl#59 at /tmp/julia/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:376
run_repl at /tmp/julia/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:362
jfptr_run_repl_63007 at /tmp/julia/usr/lib/julia/sys.so (unknown line)
#992 at ./client.jl:421
jfptr_YY.992_58274 at /tmp/julia/usr/lib/julia/sys.so (unknown line)
jl_apply at /tmp/julia/src/julia.h:1958 [inlined]
jl_f__call_latest at /tmp/julia/src/builtins.c:812
#invokelatest#2 at ./essentials.jl:863 [inlined]
invokelatest at ./essentials.jl:860 [inlined]
run_main_repl at ./client.jl:405
exec_options at ./client.jl:322
_start at ./client.jl:541
jfptr__start_58281 at /tmp/julia/usr/lib/julia/sys.so (unknown line)
jl_apply at /tmp/julia/src/julia.h:1958 [inlined]
true_main at /tmp/julia/src/jlapi.c:582
jl_repl_entrypoint at /tmp/julia/src/jlapi.c:734
main at /tmp/julia/cli/loader_exe.c:58
unknown function (ip: 0x7f10e41abd8f)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at ./julia (unknown line)
Allocations: 3324631 (Pool: 3321467; Big: 3164); GC: 7
Segmentation fault
@benlorenz
Copy link
Member

benlorenz commented May 9, 2023

Some GAP releated jll packages might need to be rebuilt for these changes on julia master. I just prepared a new libjulia_jll for this, then @fingolfin can continue with the other jlls.

@benlorenz
Copy link
Member

This should be fixed on GAP.jl master now (via several jll rebuilds and #869).

@zickgraf
Copy link
Author

Confirmed, thank you @benlorenz and @fingolfin!

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