-
Notifications
You must be signed in to change notification settings - Fork 69
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 when using Enzyme as SymbolicRegression backend #2246
Comments
Also noting here that when I use |
To confirm, what happens on 1.10? |
On 1.10.7 it actually runs for a bit, but then hits a segfault: [69110] signal (11.2): Segmentation fault: 11 second: 7.00e+04. Press 'q' and then <enter> to stop execution early.
in expression starting at REPL[12]:1
gc_mark_outrefs at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XC9YQX9HH2.0/build/default-honeycrisp-XC9YQX9HH2-0/julialang/julia-release-1-dot-10/src/gc.c:2510 [inlined]
gc_mark_and_steal at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XC9YQX9HH2.0/build/default-honeycrisp-XC9YQX9HH2-0/julialang/julia-release-1-dot-10/src/gc.c:2739
gc_mark_loop_parallel at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XC9YQX9HH2.0/build/default-honeycrisp-XC9YQX9HH2-0/julialang/julia-release-1-dot-10/src/gc.c:2886
jl_gc_mark_threadfun at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XC9YQX9HH2.0/build/default-honeycrisp-XC9YQX9HH2-0/julialang/julia-release-1-dot-10/src/partr.c:142
_pthread_start at /usr/lib/system/libsystem_pthread.dylib (unknown line) |
Interesting, can you try to reduce the complexity of the MWE for us to debug? |
I've tried before when I first posted #2081 but I couldn't figure out how to break it down further |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is on Enzyme 0.13.27, Julia 1.11.2.
To reproduce, run the following code. This is the same code in #2081, but now it hits a segfault whereas before it hit the task switch error.
The text was updated successfully, but these errors were encountered: