-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Device: Motorola Moto G 2025
Android: 16 (SDK 36)
Firestack commit: 0fdd34c (n2 branch)
Issue
Firestack native library crashes immediately when the service class is loaded on Android 16. The crash happens before any Java code can run (no onCreate logs appear).
Build setup
- Go 1.25rc1
- NDK 26.3.11579264
- gomobile from ignoramous/mobile fork
- CGO_LDFLAGS with 16KB page alignment:
-Wl,-z,max-page-size=16384 - ARM-only build (arm64-v8a, armeabi-v7a)
Verification
- Native libs show correct 0x4000 (16KB) LOAD alignment via readelf
- Same app with DNS-only VPN (no firestack) works fine on the device
- Crash is 100% isolated to firestack
Crash timing
After user grants permissions, startForegroundService() is called. The service class (which references firestack Bridge interfaces) loads, and native crash occurs before Service.onCreate() runs.
Question
Does Rethink DNS work on Android 16? If so, is there a special build flag or initialization sequence needed?
Any guidance appreciated.
Metadata
Metadata
Assignees
Labels
No labels