-
Notifications
You must be signed in to change notification settings - Fork 27.7k
Seg fault using as_strided #39281
Copy link
Copy link
Closed
Labels
high prioritymodule: crashProblem manifests as a hard crash, as opposed to a RuntimeErrorProblem manifests as a hard crash, as opposed to a RuntimeErrortriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Milestone
Metadata
Metadata
Assignees
Labels
high prioritymodule: crashProblem manifests as a hard crash, as opposed to a RuntimeErrorProblem manifests as a hard crash, as opposed to a RuntimeErrortriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Bug
The following code seg faults:
To Reproduce
See above.
Expected behavior
Expected an error message. Not a segmentation fault (which also kills the python interpreter).
Environment
Able to reproduce on colab and on Mac OSX. The following env is from colab. The Mac OSX env is also with torch 1.5.0, but without cuda.
cc @ezyang @gchanan @zou3519