Skip to content
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

throw instead of segfault with invalid args in pybindings #5726

Closed
wants to merge 1 commit into from

Conversation

JacobSzwejbka
Copy link
Contributor

@JacobSzwejbka JacobSzwejbka commented Sep 27, 2024

Summary: Fixed some Error() call sites and added better checking on the method name

Reviewed By: larryliu0820

Differential Revision: D63547425

closes #5648

Copy link

pytorch-bot bot commented Sep 27, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5726

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 7a42c03 with merge base 2dd88fb (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 27, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63547425

Summary:
Pull Request resolved: pytorch#5726

Fixed some Error() call sites and added better checking on the method name

Reviewed By: larryliu0820, dbort

Differential Revision: D63547425
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63547425

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9720715.

@mergennachin
Copy link
Contributor

@pytorchbot cherry-pick --onto release/0.4 -c release

pytorchbot pushed a commit that referenced this pull request Oct 10, 2024
Summary:
Pull Request resolved: #5726

Fixed some Error() call sites and added better checking on the method name

Reviewed By: larryliu0820, dbort

Differential Revision: D63547425

fbshipit-source-id: 69e32f90cbc2607b75df5186b0289fe385ce95e3
(cherry picked from commit 9720715)
@pytorchbot
Copy link
Collaborator

Cherry picking #5726

The cherry pick PR is at #6108 The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

dbort pushed a commit that referenced this pull request Oct 11, 2024
Summary:
Pull Request resolved: #5726

Fixed some Error() call sites and added better checking on the method name

Reviewed By: larryliu0820, dbort

Differential Revision: D63547425

fbshipit-source-id: 69e32f90cbc2607b75df5186b0289fe385ce95e3
(cherry picked from commit 9720715)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python run_method API segfaults if given non-existent method
5 participants