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

removed dbBlock::duplicate which causes memory corruption issues #6536

Merged

Conversation

jeffng-or
Copy link
Contributor

Removed the dbBlock::duplicate method, which causes memory corruptions when used in the context of a Python unit test that destroys the DB as part of the tearDown method. The duplicate method doesn't appear to be used in any other OR code after checking .c, .h, *.i, *.tcl, and *.py files.

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Member

@maliberty maliberty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused and buggy API

@maliberty maliberty enabled auto-merge January 15, 2025 19:35
@eder-matheus
Copy link
Contributor

@jeffng-or Could you try merging the latest master branch in this PR? The CI failure seems unrelated to your changes, and a merge should fix it.

@jeffng-or
Copy link
Contributor Author

@jeffng-or Could you try merging the latest master branch in this PR? The CI failure seems unrelated to your changes, and a merge should fix it.

Thanks, I've merged the latest onto my branch. Is that sufficient for Jenkins to pick up the change and re-run it?

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@eder-matheus
Copy link
Contributor

@jeffng-or Could you try merging the latest master branch in this PR? The CI failure seems unrelated to your changes, and a merge should fix it.

Thanks, I've merged the latest onto my branch. Is that sufficient for Jenkins to pick up the change and re-run it?

Yes, it should be enough. The pipelines restarted now.

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

2 similar comments
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@maliberty maliberty merged commit 08da6f1 into The-OpenROAD-Project:master Jan 17, 2025
10 of 11 checks passed
@jeffng-or jeffng-or deleted the remove-dbblock-duplicate branch January 24, 2025 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants