-
-
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
Weird finalizer bug: finalize() does not execute installed finalizer function sometimes #13986
Comments
amitmurthy
added
bug
Indicates an unexpected problem or unintended behavior
GC
Garbage collector
labels
Nov 14, 2015
Cc @carnaval |
yuyichao
added a commit
that referenced
this issue
Nov 14, 2015
The reason is that the finalizer is moved to the list for the old objects and we were not checking that list for finalizers when you explicitly call the Fixed in #13988 |
zhmz90
pushed a commit
to zhmz90/julia
that referenced
this issue
Nov 21, 2015
yuyichao
added a commit
that referenced
this issue
Nov 29, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ran into this while working on DistributedArrays. A somewhat reduced test case is described here:
The finalizer on
Foo
is NOT called if the equality testf1==f1
is performed on Foo sizes greater than (54,54)Examples:
Called with equality test and sizes (54, 54) and (54, 55).
(54,55) is not predictable - sometimes it is called and sometimes not.
NOT called with equality test and size (55,55)
Called with equality test commented out.
The text was updated successfully, but these errors were encountered: