Memory Tagging Causing Crash

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin
領域
mobile

調査の方向性

Start by reproducing the crash on GrapheneOS Android 17 with memory tagging enabled, then trace the connection startup path into the native Go library, where the backtrace points to internal/bytealg.IndexByteString. The report does not identify a source file or test; determine which dependency or call site reaches that function and inspect available crash logs. Done means the app can attempt a connection without crashing with memory tagging enabled.

索引モデルが issue の本文から書いたものです。

説明

bug needs investigating
Describe the Bug

This is specific to GrapheneOS, if memory tagging is enabled, on attempting to connect the app will crash with a notification that memory tagging detected an error. Disabling memory tagging allows it continue and not crash.

Crash error:

type: crash
flags: dev options enabled
package: net.pangolin.Pangolin:29, targetSdk 36
osVersion: google/stallion/stallion:17/CP3A.261005.005/2026102101:user/release-keys
uid: 10285 (u:r:untrusted_app_34:s0:c29,c257,c512,c768)
cmdline: net.pangolin.Pangolin
processUptime: 5s

signal: 11 (SIGSEGV), code 9 (SEGV_MTESERR), faultAddr b00c2c1e08d7ea0
threadName: ngolin.Pangolin
MTE: enabled

backtrace:
    /data/app/~~rsu5wcTOSR26iUfYcqQ-5g==/net.pangolin.Pangolin-xXFRcq-UUFSzKzyfDppcYA==/base.apk!libpangolin-go.so (internal/bytealg.IndexByteString+40, pc 60a9e8)
Environment
  • OS Type & Version: GrapheneOS Android 17
  • Pangolin Version: 1.25.3
  • Edition (Community or Enterprise): Enterprise
  • Client Version: 0.8.2
To Reproduce

GrapheneOS with memory tagging enabled, attempt to connect to Pangolin.

AI Disclosure

Nope.

Expected Behavior

App should not crash with memory tagging on and Pangolin should continue to attempt connection.

主要言語
Kotlin
スター
46
フォーク
15
平均マージ
1分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fosrl/android のほかの issue

fosrl/android の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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