Memory Tagging Causing Crash

Aperta
#64 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Kotlin
Stelle
46
Fork
15
Merge medio
1m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fosrl/android

Tutte le issue di fosrl/android

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.