Skip to content

[Bug]: ERROR encountered only below iOS 17 devices "Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)" #2162

@syedmurtaza108

Description

@syedmurtaza108

Platform

iOS 16

Plugin

connectivity_plus

Version

4.0.2

Flutter SDK

3.13.2

Steps to reproduce

Flutter app is crashing on my iOS 16 device, throwing the error show in logs. When I remove connectivity_plus plugin, it starts behave normally.

Code Sample

No response

Logs

(lldb) 2023-09-27 13:12:50.112759+0500 Runner[1388:60478] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(37)] Using the Impeller rendering backend.
<SKPaymentQueue: 0x280741450>: No observers found that respond to "paymentQueue:shouldAddStorePayment:forProduct:", will not check for purchase intents
10.12.0 - [FirebaseAnalytics][I-ACS023007] Analytics v.10.12.0 started
10.12.0 - [FirebaseAnalytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
[Firebase/Crashlytics] Version 10.12.0
10.12.0 - [FirebaseAnalytics][I-ACS025036] App Delegate Proxy is disabled
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000000000000
error: memory read failed for 0x0
Target 0: (Runner) stopped.


### Flutter Doctor

```shell
✓] Flutter (Channel stable, 3.13.2, on macOS 13.5.2 22G91 darwin-arm64, locale en-GB)
    • Flutter version 3.13.2 on channel stable at /Users/syedmurtaza/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (5 weeks ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/syedmurtaza/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/syedmurtaza/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Users/syedmurtaza/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (3 available)
    • Murtaza’s iPhone (mobile) • 15b7679d6175f73480d9c20b6c7fe652f292628c • ios            • iOS 16.7 20H19
    • macOS (desktop)           • macos                                    • darwin-arm64   • macOS 13.5.2 22G91 darwin-arm64
    • Chrome (web)              • chrome                                   • web-javascript • Google Chrome 117.0.5938.92

[✓] Network resources
    • All expected network resources are available.


### Checklist before submitting a bug

- [X] I Google'd a solution and I couldn't find it
- [X] I searched on StackOverflow for a solution and I couldn't find it
- [X] I read the README.md file of the plugin
- [X] I'm using the latest version of the plugin
- [X] All dependencies are up to date with `flutter pub upgrade`
- [X] I did a `flutter clean`
- [X] I tried running the example project

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions