[Bug]: [Android 10 / EMUI 12] Kernel watchdog reset (AP_S_AWDT / HI_APWDT_LPM3) under QUIC/UDP load on Lantern v11 (Radiance)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- android, dart, linux
- Domain
- mobile, networking
Research direction
Start by reading the attached lantern_android.log and tracing the Android connection setup for the Radiance TUN backend, UDP handling, and UID exclusion rules. The issue does not identify relevant source files or a failing test, and its kernel deadlock evidence does not isolate a cause. Done means reproducing the watchdog reset and confirming a fix or a documented workaround on the described device and workload.
Written by the indexing model from the issue text.
Description
What happened?
Environment
- Device: Huawei Nova 5T (
YAL-L61/YAL-L21H, HiSilicon Kirin 980,arm64-v8a) - OS & Kernel: EMUI 12 (Android 10,
Linux version 4.14.116) - Wi-Fi Chipset:
hi1103(wlan0) - Lantern Version: v11 Stable (
Radiancecore)
Issue Description
When connected to Lantern v11 on Wi-Fi (wlan0), sustained parallel UDP/QUIC traffic (e.g., downloading/updating apps in Google Play Store or scrolling video feeds in Instagram for ~5–10 minutes) causes a complete system freeze followed by a hard hardware watchdog reboot.
Kernel & Diagnostic Evidence
-
Bootloader Reboot Reason (extracted via
adb bugreport):reboot_reason=AP_S_AWDT exception_subtype=HI_APWDT_LPM3 androidboot.bootreason=abnormalThis confirms an Application Processor kernel-space deadlock (
AP_S_AWDT) caught by the LPM3 power management controller (HI_APWDT_LPM3), rather than an app-level crash or OOM kill. -
Lantern Logs:
lantern-crash.logis0 bytesbecause the kernel deadlocks before user-space exception handlers can write to disk.- In
lantern_android.log, the session terminates abruptly afterConnected to serverwith noDisconnectingorpostServiceCloseevents, and the subsequent boot's log starts with0x00null bytes. - Note: Kernel
iptableson EMUI 12 runs customhaware_firewall/xt_bpfchains (prog_hwnetd_skfilter_*), which may conflict with Radiance's TUN packet handling and automatic UID exclusion rules (Excluded com.eg.android.AlipayGphone,com.tencent.mm) under heavy UDP bursts.
Steps to Reproduce
- Run Lantern v11 Stable on a Kirin 980 / Android 10 (Kernel 4.14, EMUI 12) device.
- Connect to any server over Wi-Fi (
wlan0). - Start an app download in Google Play Store or browse Instagram Reels for 5–10 minutes.
- Device freezes completely and triggers an
AP_S_AWDThardware reboot.
Expected Behavior
The Radiance TUN backend should handle parallel UDP/QUIC traffic on Linux Kernel 4.14 without triggering a kernel driver deadlock or hardware watchdog reset (or provide an option to disable UDP/QUIC tunneling / UID filtering on older kernels).
Attachments
- Attached
lantern_android.log(13 KB) capturing the abrupt reset timestamp.
Version
11 and others
Which platform(s) does this affect?
- Android
- iOS
- Desktop (Windows)
- Desktop (MacOS)
- Desktop (Linux)
Related Support Tickets
No response
- Dominant language
- Dart
- Stars
- 16.9k
- Forks
- 11k
- Avg merge
- 16h 25m
- Merged PRs (30d)
- 128
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getlantern/lantern
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
getlantern/lantern#9387 ·
Maintainers usually reply within 1 day
-
[Feature]: Memory Tagging Extension (MTE) asynchronous modeMay be free again @jigar-f claimed this 57 days ago, and no pull request is open. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
getlantern/lantern#9095 · 6 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
getlantern/lantern#9386 ·
Maintainers usually reply within 1 day
-
[Bug]: Network Extension installation fails with "code signature invalid" after updating to v11.0.0Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
getlantern/lantern#9379 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 12/100
getlantern/lantern#9368 ·
Maintainers usually reply within 1 day
All issues in getlantern/lantern
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
TomBursch/kitchenowl#1255 ·
Maintainers usually reply within 1 day
-
documentation good first issue P3-Low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
basictech01/uniun#328 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
maplibre/flutter-maplibre#709 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 91/100
bannzai/medicalarm#602 · 2 comments ·
Maintainers usually reply within 1 day