[GH-ISSUE #99] Atlantis.start() produces EXC_BAD_ACCESS #63

Closed
opened 2026-03-03 19:11:27 +03:00 by kerem · 13 comments
Owner

Originally created by @valentinperignon on GitHub (May 5, 2022).
Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/99

Originally assigned to: @NghiaTranUIT on GitHub.

With Atlantis 1.16.0 and Xcode 13.3.1, running Atlantis.start() sometimes produces a EXC_BAD_ACCESS error (in NetworkInjector:injectAllURLConnection() function).
The error does not occur with Xcode 13.3.0.

Originally created by @valentinperignon on GitHub (May 5, 2022). Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/99 Originally assigned to: @NghiaTranUIT on GitHub. With Atlantis 1.16.0 and Xcode 13.3.1, running Atlantis.start() sometimes produces a EXC_BAD_ACCESS error (in NetworkInjector:injectAllURLConnection() function). The error does not occur with Xcode 13.3.0.
kerem 2026-03-03 19:11:27 +03:00
  • closed this issue
  • added the
    Done
    bug
    labels
Author
Owner

@NghiaTranUIT commented on GitHub (May 5, 2022):

I'd like to reproduce it:

  1. Which iOS version are you using?
  2. Does it happen on iOS Simulator or Physical devices?
<!-- gh-comment-id:1118250680 --> @NghiaTranUIT commented on GitHub (May 5, 2022): I'd like to reproduce it: 1. Which iOS version are you using? 2. Does it happen on iOS Simulator or Physical devices?
Author
Owner

@valentinperignon commented on GitHub (May 5, 2022):

  1. We are using iOS 15.4
  2. It happens on both iOS Simulator and Physical devices (tested on iPhone 13 Pro)
<!-- gh-comment-id:1118253635 --> @valentinperignon commented on GitHub (May 5, 2022): 1. We are using iOS 15.4 2. It happens on both iOS Simulator and Physical devices (tested on iPhone 13 Pro)
Author
Owner

@NghiaTranUIT commented on GitHub (May 5, 2022):

Thanks. I'm checking out tonight 👍

<!-- gh-comment-id:1118269074 --> @NghiaTranUIT commented on GitHub (May 5, 2022): Thanks. I'm checking out tonight 👍
Author
Owner

@NghiaTranUIT commented on GitHub (May 6, 2022):

@valentinperignon if you don't mind, when the exception occurs on NetworkInjector:injectAllURLConnection please share with me the screenshot that shows the number of lines 👍

I'd like to investigate it since I'm unable to reproduce it.

<!-- gh-comment-id:1119232871 --> @NghiaTranUIT commented on GitHub (May 6, 2022): @valentinperignon if you don't mind, when the exception occurs on `NetworkInjector:injectAllURLConnection` please share with me the screenshot that shows the number of lines 👍 I'd like to investigate it since I'm unable to reproduce it.
Author
Owner

@NghiaTranUIT commented on GitHub (May 6, 2022):

Hey @valentinperignon let's try this branch:

Changelog

  • I decide to remove all legacy support (In this case, it's NSURLConnection). It's where your crash occurs.

How to install

Cocoapod

pod 'atlantis-proxyman', :git => 'https://github.com/ProxymanApp/atlantis.git', :commit => '379e15a9a24856fee583135d353326fbed2960ca'

SPM

  • Checkout this commit: 379e15a9a24856fee583135d353326fbed2960ca

Let me know if it works for you 👍

<!-- gh-comment-id:1119691976 --> @NghiaTranUIT commented on GitHub (May 6, 2022): Hey @valentinperignon let's try this branch: ### Changelog - I decide to remove all legacy support (In this case, it's NSURLConnection). It's where your crash occurs. ### How to install #### Cocoapod ``` pod 'atlantis-proxyman', :git => 'https://github.com/ProxymanApp/atlantis.git', :commit => '379e15a9a24856fee583135d353326fbed2960ca' ``` ### SPM - Checkout this commit: `379e15a9a24856fee583135d353326fbed2960ca` --------------------- Let me know if it works for you 👍
Author
Owner

@valentinperignon commented on GitHub (May 6, 2022):

Hi @NghiaTranUIT,

Thank you for your answers. I'm sorry I didn't reply, I'm not in the office today.
I will try it on Monday! Thanks for your time!

Have a great weekend

<!-- gh-comment-id:1119698461 --> @valentinperignon commented on GitHub (May 6, 2022): Hi @NghiaTranUIT, Thank you for your answers. I'm sorry I didn't reply, I'm not in the office today. I will try it on Monday! Thanks for your time! Have a great weekend
Author
Owner

@valentinperignon commented on GitHub (May 9, 2022):

After several tests, the app doesn't seem to crash anymore 🥳

<!-- gh-comment-id:1120743359 --> @valentinperignon commented on GitHub (May 9, 2022): After several tests, the app doesn't seem to crash anymore 🥳
Author
Owner

@NghiaTranUIT commented on GitHub (May 10, 2022):

Just a friendly reminder that I've released Atlantis 1.17.0. It fixes the bug 🐛

<!-- gh-comment-id:1122005692 --> @NghiaTranUIT commented on GitHub (May 10, 2022): Just a friendly reminder that I've released Atlantis 1.17.0. It fixes the bug 🐛
Author
Owner

@Blyabtroi commented on GitHub (Apr 10, 2023):

I'm afraid it happens again.
pod 'atlantis-proxyman', '1.21.0'
Xcode 14.2
iOS 16.2
Screenshot 2023-04-10 at 17 22 17

<!-- gh-comment-id:1501880704 --> @Blyabtroi commented on GitHub (Apr 10, 2023): I'm afraid it happens again. pod 'atlantis-proxyman', '1.21.0' Xcode 14.2 iOS 16.2 <img width="1125" alt="Screenshot 2023-04-10 at 17 22 17" src="https://user-images.githubusercontent.com/5969637/230920330-16132c6e-f1dc-4c28-b3ec-f55480422a8c.png">
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 10, 2023):

@Blyabtroi does it often happen or rarely?

<!-- gh-comment-id:1501893463 --> @NghiaTranUIT commented on GitHub (Apr 10, 2023): @Blyabtroi does it often happen or rarely?
Author
Owner

@Blyabtroi commented on GitHub (Apr 10, 2023):

It started rarely, but now it happens every time.

<!-- gh-comment-id:1502022240 --> @Blyabtroi commented on GitHub (Apr 10, 2023): It started rarely, but now it happens every time.
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 13, 2023):

Tried to reproduce but not luck @Blyabtroi. Just wondering: Does it your 3rd-party library? It looks like it's a Analytic library.

230920330-16132c6e-f1dc-4c28-b3ec-f55480422a8c

<!-- gh-comment-id:1506284441 --> @NghiaTranUIT commented on GitHub (Apr 13, 2023): Tried to reproduce but not luck @Blyabtroi. Just wondering: Does it your 3rd-party library? It looks like it's a Analytic library. ![230920330-16132c6e-f1dc-4c28-b3ec-f55480422a8c](https://user-images.githubusercontent.com/5878421/231642142-9c8a8538-474b-4832-8b3f-48cd2e60397a.jpg)
Author
Owner

@Blyabtroi commented on GitHub (Apr 13, 2023):

@NghiaTranUIT yes, it's FirebasePerformance

<!-- gh-comment-id:1506575863 --> @Blyabtroi commented on GitHub (Apr 13, 2023): @NghiaTranUIT yes, it's FirebasePerformance
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#63
No description provided.