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

Fix segmentation fault when moving blocks manually #2804

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

soheilshahrouz
Copy link
Contributor

@soheilshahrouz soheilshahrouz commented Nov 8, 2024

This bug was introduced when BlkLocRegistry was added to the project. In manual_move_generator, the global instance of BlkLocRegistry was used instead the one stored in placer_state_. This caused a segfault as the global object is initialized at the end of placement.

@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Nov 8, 2024
@vaughnbetz
Copy link
Contributor

Thanks @soheilshahrouz !

@vaughnbetz vaughnbetz merged commit 88e7b1e into master Nov 9, 2024
37 checks passed
@vaughnbetz vaughnbetz deleted the temp_manual_move_fix branch November 9, 2024 02:29
@MohamedElgammal MohamedElgammal mentioned this pull request Nov 9, 2024
3 tasks
@MohamedElgammal
Copy link
Contributor

Still facing segmentation fault whenever you accept or reject the move. Fixed in PR #2805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-cpp C/C++ code VPR VPR FPGA Placement & Routing Tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants