-
-
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
Segfault with one(::Type) and Base.checked_add on Julia 1.0 #32203
Comments
Would be good if someone could do a bisect and find the commit that fixed it. Then we might be able to backport it to the next 1.0 release. |
I did a bisect, the relevant commit is 500d669:
This is part of #29721, which apparently cannot be backported so easily? At least that’s how I interpret the discussion there. |
Closing as this was only a 1.0.x issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code segfaults on Julia 1.0.4 (it works on 1.1.1 and 1.2.0-rc1):
The segfault also happens when
Int8
is replaced byInt16
,UInt8
orUInt16
(it works correctly for the other integer types). The segfault also doesn’t happen whenBase.checked_add
is replaced by+
.The text was updated successfully, but these errors were encountered: