Memory Tagging Causing Crash

Đang mở
#64 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Kotlin
Star
46
Fork
15
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fosrl/android

Tất cả issue của fosrl/android

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.