-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
fix a bug, c api, if enable inplace_update_support, and use create sn… #9471
fix a bug, c api, if enable inplace_update_support, and use create sn… #9471
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @shenxingwuying for the fix.
Once ready to merge, please add an entry to "Behavior changes" in HISTORY.md.
The PR description will be the final commit message. A clear and concise description will be appreciated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @shenxingwuying for the PR.
Mostly LGTM with a few minor comments.
btw, can you rebase to latest main so that the CIs can run? |
79eee27
to
fdc2ff5
Compare
fdc2ff5
to
00daaaf
Compare
@riversand963 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…apshot, release it will core
Summary: This bug meets two conditions: - the option inplace_update_support is enabled - users use Snapshot Because get snapshot will be nullptr, and then release a nullptr snapshot will core dump.
00daaaf
to
1952ae7
Compare
@shenxingwuying has updated the pull request. You must reimport the pull request before landing. |
@riversand963 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
c api release snapshot will core dump when enable inplace_update_support and create snapshot