memory read failed for 0x0

Hello!

I found a crash at the start of the app with an error:

[VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(37)] Using the Impeller rendering backend.
* 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.

Xcode Version 15.0 (15A240d)

macOS Somona 14.0

Simulator Ios 17.0

same issue

same issue. Did you find a solution?

same issue :(

In My case the error was

Runner[567:39453] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(37)] Using the Impeller rendering backend.

* 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

In the Xcode It was showing error in NWPathMonitor().

The Problem was with connectivity_plus Flutter package.

Temporary Solution

Remove the connectivity_plus Flutter package, it will work fine.

or You can upgrade the package. Else you can find the alternate package.

Suffering from last 2 days but didnt get any solution. This helps a lot. Thanks for sharing.

Thanks @wrOngD3s1ci0n I had the same issue

memory read failed for 0x0
 
 
Q