[GH-ISSUE #85] iOS crash opening camera #58

Open
opened 2026-03-03 19:11:24 +03:00 by kerem · 7 comments
Owner

Originally created by @wayne800 on GitHub (Sep 21, 2021).
Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/85

Originally assigned to: @NghiaTranUIT on GitHub.

iOS: This crash is gone without starting Atlantis.

Screen Shot 2021-09-21 at 4 00 50 PM

Originally created by @wayne800 on GitHub (Sep 21, 2021). Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/85 Originally assigned to: @NghiaTranUIT on GitHub. iOS: This crash is gone without starting Atlantis. ![Screen Shot 2021-09-21 at 4 00 50 PM](https://user-images.githubusercontent.com/83689709/134258645-93cf905a-71ab-42d3-bccf-d83f336646f3.png)
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 22, 2021):

Thanks, I will check out this week 👍

<!-- gh-comment-id:924519669 --> @NghiaTranUIT commented on GitHub (Sep 22, 2021): Thanks, I will check out this week 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 23, 2021):

@wayne800 Just wondering: Have you still encountered this crash on the latest Atlantis version 🤔

and what iOS version are you using? I test on iOS 15 and I could not reproduce it anymore 😄

<!-- gh-comment-id:950053052 --> @NghiaTranUIT commented on GitHub (Oct 23, 2021): @wayne800 Just wondering: Have you still encountered this crash on the latest Atlantis version 🤔 and what iOS version are you using? I test on iOS 15 and I could not reproduce it anymore 😄
Author
Owner

@swiatrzyk commented on GitHub (Jan 24, 2022):

I'm also experiencing app crashes inside Atlantis after Proxyman update to 3.0.0. Crashes doesn't occur on the previous version (v2.35.4)

<!-- gh-comment-id:1019894092 --> @swiatrzyk commented on GitHub (Jan 24, 2022): I'm also experiencing app crashes inside Atlantis after Proxyman update to 3.0.0. Crashes doesn't occur on the previous version (v2.35.4)
Author
Owner

@wayne800 commented on GitHub (Mar 16, 2022):

We do have the crash in iOS 15 or above.

<!-- gh-comment-id:1069715791 --> @wayne800 commented on GitHub (Mar 16, 2022): We do have the crash in iOS 15 or above.
Author
Owner

@zhejia0428 commented on GitHub (Mar 17, 2022):

Working with @wayne800 we discovered the crash breakpoint is inside a Proxyman method.
Screen Shot 2022-03-17 at 1 16 28 PM

<!-- gh-comment-id:1071178675 --> @zhejia0428 commented on GitHub (Mar 17, 2022): Working with @wayne800 we discovered the crash breakpoint is inside a Proxyman method. <img width="1600" alt="Screen Shot 2022-03-17 at 1 16 28 PM" src="https://user-images.githubusercontent.com/3178137/158869335-6cb8a1f3-ec1c-496f-b544-13da0130520b.png">
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 18, 2022):

Thanks @zhejia0428 @wayne800. I'm working on it now 👍

<!-- gh-comment-id:1072047396 --> @NghiaTranUIT commented on GitHub (Mar 18, 2022): Thanks @zhejia0428 @wayne800. I'm working on it now 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 18, 2022):

@zhejia0428 @wayne800

I tested with iOS Simulator 15.2 and My iPad 15.2, but I could not reproduce it. The code is successfully executed without crashing.

Screen Shot 2022-03-18 at 13 36 23

Code

    @IBAction func uploadBtnOnClick(_ sender: Any) {
        let data = "123".data(using: .utf8)!

        DispatchQueue.global(qos: DispatchQoS.QoSClass.background).async {
            let request = try! URLRequest(url: "https://httpbin.org/anything", method: .post, headers: nil)
            let task = URLSession.shared.uploadTask(with: request, from: data) { data, _, _ in
                if let data = data {
                    print(String(data: data, encoding: .utf8))
                }
            }
            task.resume()
        }

    }

  1. It seems you're using the old Atlantis version, please try to upgrade to Atlantis 1.6.0 and test again 👍
  2. If you don't mind, please share with me Upload Swift code? I would like to run on my machine.
<!-- gh-comment-id:1072078031 --> @NghiaTranUIT commented on GitHub (Mar 18, 2022): @zhejia0428 @wayne800 I tested with iOS Simulator 15.2 and My iPad 15.2, but I could not reproduce it. The code is successfully executed without crashing. <img width="1767" alt="Screen Shot 2022-03-18 at 13 36 23" src="https://user-images.githubusercontent.com/5878421/158949884-1de806f5-de8c-404c-9127-9c01d3f8a90d.png"> ### Code ```swift @IBAction func uploadBtnOnClick(_ sender: Any) { let data = "123".data(using: .utf8)! DispatchQueue.global(qos: DispatchQoS.QoSClass.background).async { let request = try! URLRequest(url: "https://httpbin.org/anything", method: .post, headers: nil) let task = URLSession.shared.uploadTask(with: request, from: data) { data, _, _ in if let data = data { print(String(data: data, encoding: .utf8)) } } task.resume() } } ``` ----------- 1. It seems you're using the old Atlantis version, please try to upgrade to Atlantis 1.6.0 and test again 👍 2. If you don't mind, please share with me Upload Swift code? I would like to run on my machine.
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#58
No description provided.