-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Revise segfault on small changes in large package (v1.8.0-beta3 regression from v1.7) #44954
Comments
might be similar to #44913 |
I can't say anything with the truncated backtrace. I attempted to run this on master a couple times, but it worked for me so far. Could you run with |
Here's a new version of the test script using two different BAT branches, this one seems to be more reproducible: using Pkg
pkg"add [email protected]"
using Revise
pkg"activate --temp"
pkg"dev BAT"
cd(dirname(dirname(Base.find_package("BAT"))))
run(`git checkout revise-test-3`)
pkg"precompile"
using BAT
run(`git checkout revise-test-4`)
1+1 Running with |
Update: found a way, see below. |
Running the test script above with Running with
Then, running with
Result:
@vtjnash can you work with that? |
This is a shot in the dark, but does this issue still occur if you downgrade JuliaInterpreter to 0.9.11? With 0.9.12, Revise also seems to be crashing for me. (I am on Julia master) Edit: I get the following with JuliaInterpreter 0.9.12:
So it seems like this might be an unrelated issue. Sorry for the noise. |
Just tried, I get the same segfault as before. |
you seem to be on an old version of Julia (missing #44855), but that should be unrelated to the segfault |
I thought I had run this on v1.8.0-beta1, did I use v1.7.2 by mistake? |
That comment is for @cafaxo, who appears to be using julia-master to test this |
Ah, sorry :-) |
Caused JuliaLang/julia#44954 crash because of the incorrect semantics
* eval `=` is not functionally equivalent to global assignment Caused JuliaLang/julia#44954 crash because of the incorrect semantics * Update interpret.jl
Is this fixed by JuliaDebug/JuliaInterpreter.jl#534? |
I was running into the same issue with Julia 1.8.0-beta3, but updating to Revise v3.3.3 with JuliaInterpreter 0.9.13 appears to have fixed it. |
Jeff also fixed it in #44974 (2 related bugs) |
Thanks @vtjnash and @JeffBezanson !! |
With v1.8.0-beta3, I run into a segfault immediately with Revise on a (large) package (BAT.jl), even with very small changes. I don't really have an MWE, and the behavior is intermittent. I've used Revise very extensively with the package on Julia v1.7 without any trouble.
Steps to reproduce (starting with a completly empty
DEPOT_PATH
), all steps in a single Julia session (segfault doesn't always occur):This runs fine on Julia v1.7.2 (segfault never occurs).
More compact version of steps-to-reproduce, without switching REPL modes:
The text was updated successfully, but these errors were encountered: