-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
Description
The code below crashes the julia kernel, when jacobian function is executed:
using Enzyme
foo12(x, y) = x .+ y .+ 1.0
x = [2.0, 3.0]
y = [4.0, 1.0]
Enzyme.jacobian(Forward, foo12, x, y)I am using VS Code an I get the following message after terminal crashes:
The terminal process "julia.exe '-i', '--banner=no', '--project=c:\Code\JuliaTest', 'c:\Users\<YourUser>\.vscode\extensions\julialang.language-julia-1.140.2\scripts\terminalserver\terminalserver.jl', '\\.\pipe\vsc-jl-repl-74dc23b7-b24e-4743-bab1-88300ecaf830', '\\.\pipe\vsc-jl-repldbg-7292e86f-ca64-4e98-95ff-e66433f33b21', '\\.\pipe\vsc-jl-cr-7a5b9c5c-f783-47d8-b737-fc079d9985d0', 'USE_REVISE=true', 'USE_PLOTPANE=true', 'USE_PROGRESS=true', 'ENABLE_SHELL_INTEGRATION=true', 'DEBUG_MODE=false'" terminated with exit code: -1073741819.
VS Code version and OS:
Version: 1.100.2 (user setup)
Commit: 848b80aeb52026648a8ff9f7c45a9b0a80641e2e
Date: 2025-05-14T21:47:40.416Z
Electron: 34.5.1
ElectronBuildId: 11369351
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045
Julia and Enzyme version:
(JuliaTest) pkg> st
Status `C:\Code\JuliaTest\Project.toml`
[7da242da] Enzyme v0.13.46
julia> versioninfo()
Julia Version 1.11.4
Commit 8561cc3d68 (2025-03-10 11:36 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 14 × Intel(R) Core(TM) Ultra 7 165U
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, alderlake)
Threads: 1 default, 0 interactive, 1 GC (on 14 virtual cores)
Environment:
JULIA_EDITOR = code
JULIA_VSCODE_REPL = 1