-
Notifications
You must be signed in to change notification settings - Fork 42
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
[SDK] Memory allocation error using the Python bindings of MasterBoardInterface #37
Comments
I could investigate, if no one with more experience with the code has enough time. |
When I did my tests of When you say that the error happens at the line If yes then the issue is likely because you are creating a masterboard interface ( Here is an example of creation, initialization and stop:
When you call Init() that happens:
And when you call Stop():
So if you call Stop() without calling Init() then |
Yes, I used some
I think the line I think, the better way to solve this would be to run the example.py programm with Python3 on the RT computer in salle Bauzil. |
I tested the current master branch on adaRT with python3 and did not get any error. I will close this issue for now, fell free to reopen it if the bug persist. |
After more testing, this issue still persist ! |
Hello all,
I am using the Python bindings of the MasterBoardInterface in a Python script to test some P_controller on the robot. The experimentation runs well but when arriving at the line
MasterBoardInterface(name_interface).Stop()
, I get errors such asError in 'python3' : double free or corruption (out)
orError in 'python3' : free() : invalid pointer
as well asSegmentation fault
, which make me think that there is an issue with the allocation memory in the C++ file.Could someone solve this problem ?
Thanks,
The text was updated successfully, but these errors were encountered: