-
Notifications
You must be signed in to change notification settings - Fork 137
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
rclc_support_init is corrupting FreeRTOS Heap #657
Comments
Hello, Dear experts! I defined custom allocators (identically to @DrMarkusKrug's example) for heap_4 according to many examples out of box, then wanted to initialize rcl as well, but it seems the program crashed at the last function call
I see the issue was opened, but it really makes sense to investigate the problem further. I will do an effort from my side too. UPD: detected issue comes from |
Hi, I did not investigate the matter further after I got it working for me. As I recall, I changed the recommended memory allocation scheme significantly and used the FreeRTOS malloc wrappers. Best Regards |
Issue template
Steps to reproduce the issue
I created a FreeRTOS heap with 16kByte and a 'Standard Task' with 12000 Bytes. Additionally I created 2 binary Semaphores.
Expected behavior
Semaphores stay as they are, completely independent of the micro ROS function cals
Actual behavior
in the function call rclc_support_init it seems that the FreeRTOS Heap gets corrupted and the semaphores get affected. Maybe other FreeRTOS elements as well
Additional information
The text was updated successfully, but these errors were encountered: