micro-ROS / micro-ROS/micro_ros_setup

rclc_support_init is corrupting FreeRTOS Heap

オープン
#657 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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
beforeCorruption

Additional information

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。