-
Notifications
You must be signed in to change notification settings - Fork 62
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
Memory leak problem when running in 20.04 #73
Comments
I think that it a memory leak problem.
I ran ambf_simulator with valgrind --leak-check=yes --log-file="leak.txt" ./ambf_simulator Here is my log file from running it with those tags This somewhat makes sense because the debug mode sets things to 0 where release mode had garbage collection problem or something like that. Why this problem is happening in 20.04 is still strange. |
Here is the similar report but running with the debug flag. When running in debug mode, the simulator window opens up |
Thanks for trying to figure this out. I am not very well versed with the output of Valgrind other than the commonly reported metrics. I would like to go over this using GDB with breakpoints. Can you confirm that this is the master branch that you are running? Can you quickly test this branch and report if you see similar issues. https://github.com/WPI-AIM/ambf/tree/feat-communication If so, it would be easier to add the fixes here as well as this will be merged into the master soon. |
Same issue, I am trying to spin up a VM to test in a vanilla environment |
Are any of the branches stable on Ubuntu 20.04 yet? |
no, I just tied on my VM running PopOs 20.04 on it still throws the same mem error |
I don't have much bandwidth these days to debug on Ubuntu 20.04, although based on a quick session with Nathaniel, we found that in Debug mode, there weren't any memory leak issues. This makes it super tricky to debug and thus I am postponing it for the moment. |
It appears that two methods with a |
interesting, ill check it soon |
I just downloaded & built the ambf-1.0 branch on Kubuntu 20.04; It seems to be have built successfully and it is launching the demo objects without issue. |
Thanks for checking @montematico. I found out that not https://eel.is/c++draft/stmt.return C++ Section 8.7.4
|
Should be fixed in ambf-2.0 |
When attempting to launch the simulator in 20.04 I get the following error:
The text was updated successfully, but these errors were encountered: