micro-ROS / micro-ROS/micro_ros_setup
rclc_support_init is corrupting FreeRTOS Heap
オープン
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 509
- フォーク
- 183
- 平均マージ
- 22時間 26分
- マージ済み PR(30日)
- 7
説明
Issue template
- Hardware description: STM32L4
- RTOS: FreeRTOS
- Installation type: standard
- Version or commit hash: humble
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、16 kB のヒープ、12,000-byte Standard Task、2 つのバイナリセマフォを使用して、STM32L4 上の FreeRTOS で問題を再現します。rclc_support_init の前後でセマフォの状態を比較します。セマフォに影響を与えずにヒープ破壊を特定して防止できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- embedded-iot, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100