-
Notifications
You must be signed in to change notification settings - Fork 4
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
double free or corruption (out) #3
Comments
Can you point out the specific location of this error? I saw a warning above the error message in the picture that shouldn't appear: "Framebuffer with requested attributes not available, Using available framebuffer...". This warning does not come from our library. I searched and found that it comes from the visualization library Pangolin. And this problem is also explained in its readme. Hope this helps! |
This doesn't seem to make sense. We don't have any problems with our computer at all. What do you think is the problem? 😭 |
"Hi bro, I had a similar problem once. I solved the problem by modifying the CMakeLists.txt file. Modify lines 10 and 11 as follows:" set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -march=native")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=native") After modification set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}") |
Bro, you're really talented!" |
Awesome, problem solved 😃 . The This option adjusts the compilation settings according to your CPU architecture and instruction set extensions, optimizing the generated machine code. It selects the best instruction set based on your CPU's capabilities, which can improve program performance. In summary, |
“Bro, I successfully compiled RIVER and RIS-CALIB in Docker, but encountered the same issue for both: 'double free or corruption (out)'. Hope you can provide some guidance!”
![2024-04-12 14-25-27屏幕截图](https://private-user-images.githubusercontent.com/143497038/321876562-eea6a42f-1837-4914-bf8f-3c1d91f9ebce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNTE5MjksIm5iZiI6MTcyNTA1MTYyOSwicGF0aCI6Ii8xNDM0OTcwMzgvMzIxODc2NTYyLWVlYTZhNDJmLTE4MzctNDkxNC1iZjhmLTNjMWQ5MWY5ZWJjZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODMwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgzMFQyMTAwMjlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03MDg0M2Q2Y2YxMjM5NmI1ZTQ0MmQyMTQ4NzdiZDAxOWNiNmJkMjYyYTMxYjA3ZWM3ZmNhMzA2YTAyMmYxMzU2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.YI-I1INtVrxqbkmiRMqlH65W0l0ITPjjhv34vqM8TQY)
The text was updated successfully, but these errors were encountered: