-
-
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
GC error (probable corruption) when list comprehending a custom iterator #26803
Comments
ararslan
added
bug
Indicates an unexpected problem or unintended behavior
GC
Garbage collector
labels
Apr 14, 2018
On 000f243:
|
Perhaps related to #27952 |
The original test case is actually doing something very dangerous: Overriding the iteration protocol for BitArray. I think everybody missed it, because of the typedef on the first line. BitArray is used extensively in the system, so messing with it causes crashes (just like overriding +). What you meant to do was something like:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am consistently getting the error I pasted below when trying to collect the elements produced by this iterator implementation. I'm not sure if I'm misusing the iterator interface but I doubt that my abuse should crash julia.
Error:
I also got this segfault doing the exact same thing:
The text was updated successfully, but these errors were encountered: