JuliaGPU/Metal.jl

Panic during profiling tests on 14.4 beta

maleadt opened this issue · 5 comments

❯ julia --project -L setup.jl profiling.jl
Starting recording with the Blank template and GPU, Time Profiler, Metal Application, Metal GPU Counters, Metal Resource Events Instruments. Attaching to: julia (1228).
<panic>

The panic log itself doesn't contain anything Metal(.jl) related though.

julia> Metal.versioninfo()
macOS 14.4.0, Darwin 23.4.0

Toolchain:
- Julia: 1.10.0
- LLVM: 15.0.7

Julia packages:
- Metal.jl: 1.0.0
- Metal_LLVM_Tools_jll: 0.5.1+0

1 device:
- Apple M1 (64.000 KiB allocated)

Still happens on beta 5. I filed an crash with Apple, FB13661856.

I was unable to reproduce this on an M1 Mac mini with 14.4. Is it possible that this was fixed with the release of Xcode 15.3?

We normally don't use anything from the Xcode SDK, so that would surprise me. You did notice that I disabled the test on master?

We normally don't use anything from the Xcode SDK, so that would surprise me.

I believe xctrace requires full Xcode to be installed.

You did notice that I disabled the test on master?

Yes. I renabled them when checking.

We normally don't use anything from the Xcode SDK, so that would surprise me.

I believe xctrace requires full Xcode to be installed.

Oh, of course, I didn't consider that this kind of hard crash could be caused by xctrace. Let me check on my M1.

EDIT: I'm still on Xcode 15.0 beta and macOS 14.4.0 there, so I can try and see which update fixes the bug.