Skip to content

Instantly share code, notes, and snippets.

@thofma
Created April 3, 2020 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thofma/3cb90e5f329b3194fc162a39a0ccb0bf to your computer and use it in GitHub Desktop.
Save thofma/3cb90e5f329b3194fc162a39a0ccb0bf to your computer and use it in GitHub Desktop.
julia> M = matrix(FlintZZ, 4, 4, fmpz[584067842, 0, 24573982, 521334123, 0, -584067842, -434026422, -496760141, 24573982, -434026422, -321495282, -347212699, 521334123, -496760141, -347212699, 42835143])
[584067842 0 24573982 521334123]
[ 0 -584067842 -434026422 -496760141]
[ 24573982 -434026422 -321495282 -347212699]
[521334123 -496760141 -347212699 42835143]
julia> for i in 1:100000; @show i
lll_gram(M)
end
...
i = 6042
i = 6043
i = 6044
signal (11): Segmentation fault
in expression starting at no file:0
_fmpz_clear_mpz at /workspace/srcdir/flint2/fmpz/fmpz.c:127
_fmpz_demote at /workspace/srcdir/flint2/fmpz.h:97 [inlined]
fmpz_set_ui at /workspace/srcdir/flint2/fmpz.h:236 [inlined]
fmpz_lll_check_babai at /workspace/srcdir/flint2/fmpz_lll/babai.c:416
fmpz_lll_d_with_removal_knapsack at /workspace/srcdir/flint2/fmpz_lll/d_lll.c:502
fmpz_lll_wrapper_with_removal_knapsack at /workspace/srcdir/flint2/fmpz_lll/wrapper_with_removal_knapsack.c:20
fmpz_lll_with_removal_ulll at /workspace/srcdir/flint2/fmpz_lll/lll_with_removal_ulll.c:125
lll_gram at /home/thofmann/.julia/packages/Nemo/J7Y4Z/src/flint/fmpz_mat.jl:859
lll_gram at /home/thofmann/.julia/packages/Nemo/J7Y4Z/src/flint/fmpz_mat.jl:858 [inlined]
top-level scope at ./REPL[3]:2 [inlined]
top-level scope at ./none:0
jl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1842
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:758
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:793
eval at ./boot.jl:328
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
eval_user_input at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:85
macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:117 [inlined]
#26 at ./task.jl:259
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2197
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1571 [inlined]
start_task at /buildworker/worker/package_linux64/build/src/task.c:572
unknown function (ip: 0xffffffffffffffff)
Allocations: 5921220 (Pool: 5920228; Big: 992); GC: 12
Speicherzugriffsfehler (Speicherabzug geschrieben)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment