[GH-ISSUE #170] Crash on Atlantis NetworkInjector class during Airplane Mode #103

Closed
opened 2026-03-03 19:11:48 +03:00 by kerem · 6 comments
Owner

Originally created by @manusalinas-ust on GitHub (Jun 30, 2025).
Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/170

Originally assigned to: @NghiaTranUIT on GitHub.

Using Atlantis 1.28.0 framework and recommended setup on AppDelegate.swift. A crash occurs following next steps using real devices:

  1. Set the device in air plane mode
  2. Launch the app and wait for more then 1 min
  3. App will crash

We can observe this crash on NetworkInjector class extension

Image
  • MacOS Sequia Version 15.5 (24F74)
  • Xcode Version 16.3 (16E140)
  • Device iOS version 18.5
  • Atlantis version 1.28.0
  • Device uses a VPN client that works perfectly when Airplane mode is off
Originally created by @manusalinas-ust on GitHub (Jun 30, 2025). Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/170 Originally assigned to: @NghiaTranUIT on GitHub. Using Atlantis **1.28.0** framework and recommended setup on `AppDelegate.swift`. A crash occurs following next steps using real devices: 1. Set the device in air plane mode 2. Launch the app and wait for more then 1 min 3. App will crash We can observe this crash on `NetworkInjector` class extension <img width="2957" alt="Image" src="https://github.com/user-attachments/assets/5996cfca-1e2b-4d63-a1ce-912960ecc3a9" /> --- - MacOS Sequia Version 15.5 (24F74) - Xcode Version 16.3 (16E140) - Device iOS version 18.5 - Atlantis version 1.28.0 - Device uses a VPN client that works perfectly when Airplane mode is off
kerem 2026-03-03 19:11:48 +03:00
  • closed this issue
  • added the
    Done
    bug
    labels
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 1, 2025):

@manusalinas-ust Is this class NRMAHexUploader from a 3rd-party lib? If yes, what is it? 🤔

I'd like to reproduce it in my end

<!-- gh-comment-id:3024383238 --> @NghiaTranUIT commented on GitHub (Jul 1, 2025): @manusalinas-ust Is this class `NRMAHexUploader` from a 3rd-party lib? If yes, what is it? 🤔 I'd like to reproduce it in my end
Author
Owner

@manusalinas-ust commented on GitHub (Jul 1, 2025):

@manusalinas-ust Is this class NRMAHexUploader from a 3rd-party lib? If yes, what is it? 🤔

I'd like to reproduce it in my end

Hello, @NghiaTranUIT We have NewRelic framework in the project. NRMAHexUploader.m class in coming from there

thanks for quick answer.
When we don't initialize the Atlantis library and launch the app in ariplane mode the app is no crashing. When we initialize Atlantis and repeat the process. App got crashes

<!-- gh-comment-id:3024462513 --> @manusalinas-ust commented on GitHub (Jul 1, 2025): > [@manusalinas-ust](https://github.com/manusalinas-ust) Is this class `NRMAHexUploader` from a 3rd-party lib? If yes, what is it? 🤔 > > I'd like to reproduce it in my end Hello, @NghiaTranUIT We have NewRelic framework in the project. `NRMAHexUploader.m` class in coming from there - https://github.com/newrelic/newrelic-ios-agent-spm thanks for quick answer. When we don't initialize the Atlantis library and launch the app in ariplane mode the app is no crashing. When we initialize Atlantis and repeat the process. App got crashes
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 2, 2025):

@manusalinas-ust can you try this commit: f15806af1271e7b01221767407c4235742a6bef2 ? In SPM, you can check out specific commit.

Ref: https://github.com/ProxymanApp/atlantis/pull/171

<!-- gh-comment-id:3026055380 --> @NghiaTranUIT commented on GitHub (Jul 2, 2025): @manusalinas-ust can you try this commit: `f15806af1271e7b01221767407c4235742a6bef2` ? In SPM, you can check out specific commit. Ref: https://github.com/ProxymanApp/atlantis/pull/171
Author
Owner

@manusalinas-ust commented on GitHub (Jul 2, 2025):

@manusalinas-ust can you try this commit: f15806af1271e7b01221767407c4235742a6bef2 ? In SPM, you can check out specific commit.

Ref: #171

Sure let me try. Thanks!

====== update ======
@NghiaTranUIT I tested the commit and fix branch and crash on Airplane mode is not happening anymore!
We appreciate quick solution so much.

We are looking forward for the next release where this fix is included to update the SPM repo

<!-- gh-comment-id:3028326846 --> @manusalinas-ust commented on GitHub (Jul 2, 2025): > [@manusalinas-ust](https://github.com/manusalinas-ust) can you try this commit: `f15806af1271e7b01221767407c4235742a6bef2` ? In SPM, you can check out specific commit. > > Ref: [#171](https://github.com/ProxymanApp/atlantis/pull/171) Sure let me try. Thanks! ====== update ====== @NghiaTranUIT I tested the commit and fix branch and crash on Airplane mode is not happening anymore! We appreciate quick solution so much. We are looking forward for the next release where this fix is included to update the SPM repo
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 3, 2025):

Fixed with 1.29.0 (https://github.com/ProxymanApp/atlantis/releases/tag/1.29.0)

<!-- gh-comment-id:3030174097 --> @NghiaTranUIT commented on GitHub (Jul 3, 2025): Fixed with 1.29.0 (https://github.com/ProxymanApp/atlantis/releases/tag/1.29.0)
Author
Owner

@manusalinas-ust commented on GitHub (Jul 3, 2025):

Fixed with 1.29.0 (https://github.com/ProxymanApp/atlantis/releases/tag/1.29.0)

@NghiaTranUIT Thank you so much. We appreciate your quick effort on this. Updating package...

<!-- gh-comment-id:3032776612 --> @manusalinas-ust commented on GitHub (Jul 3, 2025): > Fixed with 1.29.0 (https://github.com/ProxymanApp/atlantis/releases/tag/1.29.0) @NghiaTranUIT Thank you so much. We appreciate your quick effort on this. Updating package...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/atlantis#103
No description provided.