<p dir="auto">See here for a trace: <a href="https://github.com/JuliaMolSim/DFTK.jl/runs/3035339708?check_suite_focus=true#step:7:453">https://github.com/JuliaMolSim/DFTK.jl/runs/3035339708?check_suite_focus=true#step:7:453</a>. Can be reproduced by adding and testing DFTK.jl on 1.7 beta.<br>
The issue appears to happen when we run a computation in Float64 precision then run it again in Float32.<br>
I hesitated to post this since this is pretty far from a MWE, but I have zero idea how to reduce this and since 1.7 is in beta I figured it could be of interest.<br>
Downstream issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="941234381" data-permission-text="Title is private" data-url="https://github.com/JuliaMolSim/DFTK.jl/issues/480" data-hovercard-type="issue" data-hovercard-url="/JuliaMolSim/DFTK.jl/issues/480/hovercard" href="https://github.com/JuliaMolSim/DFTK.jl/issues/480">JuliaMolSim/DFTK.jl#480</a></p>
<p dir="auto">A recent version of Julia nightly started throwing errors on tests in Manifolds.jl, see for example these CI runs: <a href="https://github.com/JuliaManifolds/Manifolds.jl/pull/381/checks?check_run_id=3010181089">https://github.com/JuliaManifolds/Manifolds.jl/pull/381/checks?check_run_id=3010181089</a> . On Windows, for example, a part of the error reads:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1f9b127 -- jl_datatype_isinlinealloc at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:253 [inlined]
jl_datatype_isinlinealloc at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:250 [inlined]
union_isinlinable at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:277 [inlined]
union_isinlinable at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:266
in expression starting at D:\a\Manifolds.jl\Manifolds.jl\test\centered_matrices.jl:3"><pre class="notranslate"><code class="notranslate">Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1f9b127 -- jl_datatype_isinlinealloc at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:253 [inlined]
jl_datatype_isinlinealloc at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:250 [inlined]
union_isinlinable at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:277 [inlined]
union_isinlinable at /cygdrive/c/buildbot/worker/package_win64/build/src\datatype.c:266
in expression starting at D:\a\Manifolds.jl\Manifolds.jl\test\centered_matrices.jl:3
</code></pre></div>
<p dir="auto">and on Ubuntu:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="signal (11): Segmentation fault
in expression starting at /home/runner/work/Manifolds.jl/Manifolds.jl/test/centered_matrices.jl:3
jl_datatype_isinlinealloc at /buildworker/worker/package_linux64/build/src/datatype.c:253 [inlined]
union_isinlinable at /buildworker/worker/package_linux64/build/src/datatype.c:277 [inlined]
jl_islayout_inline at /buildworker/worker/package_linux64/build/src/datatype.c:300
jl_compute_field_offsets at /buildworker/worker/package_linux64/build/src/datatype.c:446
inst_datatype_inner at /buildworker/worker/package_linux64/build/src/jltypes.c:1520"><pre class="notranslate"><code class="notranslate">signal (11): Segmentation fault
in expression starting at /home/runner/work/Manifolds.jl/Manifolds.jl/test/centered_matrices.jl:3
jl_datatype_isinlinealloc at /buildworker/worker/package_linux64/build/src/datatype.c:253 [inlined]
union_isinlinable at /buildworker/worker/package_linux64/build/src/datatype.c:277 [inlined]
jl_islayout_inline at /buildworker/worker/package_linux64/build/src/datatype.c:300
jl_compute_field_offsets at /buildworker/worker/package_linux64/build/src/datatype.c:446
inst_datatype_inner at /buildworker/worker/package_linux64/build/src/jltypes.c:1520
</code></pre></div>
<p dir="auto">I'll try making an MWE.</p>