Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database is locked after hot restart and sometimes in production #835

Closed
kuhnroyal opened this issue Sep 24, 2020 · 24 comments
Closed

Database is locked after hot restart and sometimes in production #835

kuhnroyal opened this issue Sep 24, 2020 · 24 comments

Comments

@kuhnroyal
Copy link
Contributor

I am using a single instance of my database with VmDatabase as executor.

When the app starts , data is loaded from remote and inserted into the database in several transactions.
If I hot restart the app during this time, there is a chance, that the database is locked after the restart.

This would be ok if it was only happening during development but I am seeing the same stacktraces in Sentry from production users, very rarely but it happens. I am not sure how that can happen.

I have a similar problem with Sembast using sqflite_ffi (tekartik/sembast_sqflite#5) which seems to have been solved by not using the ffi implementation.

Since both use sqlite3, I wonder if it is related or if you have any idea what could prevent this.

@simolus3
Copy link
Owner

Thanks for the report and for linking the original issue.

It strongly sounds like this is due to multiple VmDatabase's being active at the same time. However, I'm not yet sure how this could sometimes happen after a hot reload (and even outside of that in production). If you set a breakpoint on the VmDatabase factory and hot-reload, does it get hit?

@kuhnroyal
Copy link
Contributor Author

I am using get_it and the injector instance is empty after a hot-restart (everything works fine with hot-reload), Everything get's recreated.

If there is a 2nd instance then I don't know where. I am aware of the multiple instances problem, however I don't think it is the case here.

I am suspecting the production problem occurring due to the app being killed when another activity comes to foreground (camera), as this has so far only happened on low powered Android devices.

@simolus3
Copy link
Owner

If there is a 2nd instance then I don't know where

I think I see the problem now. The Dart object gets destroyed of course, but we don't have a chance to ever call sqlite3_close() on the underlying database handle.

It sounds like we could use dart-lang/sdk#35770 to fix this, the docs say that Dart_NewWeakPersistentHandle_DL also invokes the finalizer if the isolate shuts down.

I am suspecting the production problem occurring due to the app being killed when another activity comes to foreground

Is there a way for the Dart runtime to terminate without the entire app process terminating too? If the entire process goes away there shouldn't be an issue I think.

@kuhnroyal
Copy link
Contributor Author

That looks interesting. So you think the native instance ist still around while the Dart VM restarted. Is there a way to locate an existing native instance when the VM starts and possible reconnect/cleanup?

Is there a way for the Dart runtime to terminate without the entire app process terminating too?

I have no idea, I will see check the next time it happens, need to see if there is some memory pressure before this occurs.

@simolus3
Copy link
Owner

So you think the native instance ist still around while the Dart VM restarted

Yes, exactly. We create a database connection by calling sqlite3_open_v2 and keep a reference to that. However, we only call sqlite3_close when the database is closed in Dart. So destroying a VmDatabase object (through GC or because the Dart VM restarts) without properly closing it will leak the underlying sqlite struct.

Leaking resources is bad enough, but when the underlying database is in a transaction, it blocks a second connection trying to write. I'm pretty sure that's what you're seeing here.

Is there a way to locate an existing native instance

I'm not aware of any approach that would work in pure-Dart. Sqflite works around this by essentially storing these references in Java, so that they can survive Dart VM restarts.

When that api is available, using finalizable handles to auto-dispose the native resources is probably the best approach here. I'll try to setup a small Flutter-specific package to implement the sqflite workaround for VmDatabase until then.

@simolus3
Copy link
Owner

I found a way to do this in pure Dart. We can open a named in-memory database to keep track of open database connections! That database would have the same lifecycle as the problematic connections locking your actual app database.

On the develop version of moor, we create an in-memory sqlite3 database to store active database connection pointers. This database can survive Dart VM restarts, but is bound to the process otherwise. I added the VmDatabase.closeExistingInstances() method to call sqlite3_close_v2 on all database pointers collected in there.

You could try out the develop version of moor and add this to your main:

void main() {
  // Put this somewhere before you open your first VmDatabase
  assert(() {
    VmDatabase.closeExistingInstances();
    return true;
  }());

  // remaining main
}

It's very important to only call closeExistingInstances when there aren't any Dart database instances (not even on another isolate). Otherwise you'd get VmDatabase instances with a closed database connection, which can cause segfaults.
There shouldn't be any problem doing that on release builds too, but since we're not sure a VM stop is causing the lock here the risk might not be worth it.

Alas, I hope we won't need this workaround for long.

@kuhnroyal
Copy link
Contributor Author

I'll try this tomorrow.

@kuhnroyal
Copy link
Contributor Author

This crashes on iOS 14 Simulator, I have not tested it on a real device, older iOS or Android yet.

Process:               Runner [72153]
Path:                  /Users/USER/Library/Developer/CoreSimulator/Devices/05A6121D-D7CA-4461-AC34-39CD23AFD037/data/Containers/Bundle/Application/AC107C35-411E-4D3D-9D70-3972E0D68307/Runner.app/Runner
Identifier:            Runner
Version:               0.16.0 (1)
Code Type:             X86-64 (Native)
Parent Process:        launchd_sim [60982]
Responsible:           SimulatorTrampoline [54873]
User ID:               502

Date/Time:             2020-10-02 16:12:11.157 +0200
OS Version:            Mac OS X 10.15.6 (19G2021)
Report Version:        12
Bridge OS Version:     4.6 (17P6610)
Anonymous UUID:        579C5240-5ED6-9E09-51A7-87D96C0DC66C

Sleep/Wake UUID:       5221B93C-23BE-457E-A720-D9239346A299

Time Awake Since Boot: 110000 seconds
Time Since Wake:       14000 seconds

System Integrity Protection: enabled

Crashed Thread:        2  io.flutter.1.ui

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000000011332000a
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [72153]

VM Regions Near 0x11332000a:
    SQLite page cache      0000000113300000-0000000113310000 [   64K] rw-/rwx SM=PRV  
--> 
    MALLOC metadata        0000000113360000-0000000113361000 [    4K] r--/rwx SM=ZER  NWMallocZone_0x113360000 zone structure

Application Specific Information:
CoreSimulator 732.17 - Device: iPad Pro (12.9-inch) (4th generation) (05A6121D-D7CA-4461-AC34-39CD23AFD037) - Runtime: iOS 14.0 (18A372) - DeviceType: iPad Pro (12.9-inch) (4th generation)

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff5dc9fdfa mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff5dca0170 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff203a7e77 __CFRunLoopServiceMachPort + 316
3   com.apple.CoreFoundation      	0x00007fff203a258d __CFRunLoopRun + 1284
4   com.apple.CoreFoundation      	0x00007fff203a1b9e CFRunLoopRunSpecific + 567
5   com.apple.GraphicsServices    	0x00007fff2b773db3 GSEventRunModal + 139
6   com.apple.UIKitCore           	0x00007fff24660af3 -[UIApplication _run] + 912
7   com.apple.UIKitCore           	0x00007fff24665a04 UIApplicationMain + 101
8   com.example       	0x000000010cd83ddb main + 75 (AppDelegate.swift:5)
9   libdyld.dylib                 	0x00007fff20257415 start + 1

Thread 1:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib        	0x00007fff5dc9fdfa mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff5dca0170 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff203a7e77 __CFRunLoopServiceMachPort + 316
3   com.apple.CoreFoundation      	0x00007fff203a258d __CFRunLoopRun + 1284
4   com.apple.CoreFoundation      	0x00007fff203a1b9e CFRunLoopRunSpecific + 567
5   com.apple.Foundation          	0x00007fff20846e61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
6   com.apple.Foundation          	0x00007fff208470d0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
7   com.apple.UIKitCore           	0x00007fff24717a45 -[UIEventFetcher threadMain] + 464
8   com.apple.Foundation          	0x00007fff2086f521 __NSThread__start__ + 1042
9   libsystem_pthread.dylib       	0x00007fff5dcdc109 _pthread_start + 148
10  libsystem_pthread.dylib       	0x00007fff5dcd7b8b thread_start + 15

Thread 2 Crashed:: io.flutter.1.ui
0   ???                           	0x000000011332000a 0 + 4617011210
1   libsqlite3.dylib              	0x00007fff21bf421d sqlite3LeaveMutexAndCloseZombie + 637
2   libsqlite3.dylib              	0x00007fff21c0338f sqlite3Close + 1439

alextekartik added a commit to tekartik/sqflite that referenced this issue Oct 2, 2020
…ackground of information here simolus3/drift#835

The solution from Simon Binder is simple and brilliant
@alextekartik
Copy link
Contributor

alextekartik commented Oct 2, 2020

@simolus3 This is brilliant! Simple et efficient. I copied your database_tracker to sqflite_common_ffi since it solves the same issue. I slightly adapt your solution: https://github.com/tekartik/sqflite/blob/master/sqflite_common_ffi/lib/src/database_tracker.dart

  • I only store the database pointer and close automatically all existing databases if the tracker table exists
  • I added a catch on the insert. sqlite tend to reuse the same pointer and somehow I had a unit test showing this issue (constraint issue inserting twice the same pointer) in some edge case scenario

I have a manual test that was showing the issue (open, begin transaction, hot restart, open, begin transaction) which is now fixed.

I will likely do something similar (close the database instead of trying to use a connection like i do in Android/iOS/MacOS)

@simolus3
Copy link
Owner

simolus3 commented Oct 3, 2020

Great! And thanks for pointing me towards your initial workaround which I used for inspiration.

Did you see the problem this caused on iOS? It might be related to sqlite re-using pointers where we might end up closing the same database twice.

@alextekartik
Copy link
Contributor

Did you see the problem this caused on iOS

I only tested on Android and Linux. When a database is closed and another is opened, typically the pointer is the same (just saw this using print)

@kuhnroyal
Copy link
Contributor Author

@simolus3 Do you need more information on that iOS crash or do you already have a suspicion?

@simolus3
Copy link
Owner

simolus3 commented Oct 6, 2020

I suspect that this would happen because we somehow close the same database more than once. So far I didn't have access to a Mac so I couldn't verify this though. If you want to help, adding a debug print here (something like print('sqlite3_close_v2(_handle.address)')) would help to verify this.

@kuhnroyal
Copy link
Contributor Author

It is always a different pointer and only gets called once. The app immediately crashes afterwards.

flutter: #################################
flutter: sqlite3_close_v2(140232487987744)
flutter: sqlite3_close_v2(Pointer<sqlite3>: address=0x7f8a6ba1ea20)
flutter: #################################
Lost connection to device.

@kuhnroyal
Copy link
Contributor Author

Same happens on a real iOS device.

On Android this actually does not get executed or I can't get it to log.

markOpen gets called, markClose doesn't seem to get called. And in closeExisting the result is always empty.

@simolus3
Copy link
Owner

simolus3 commented Oct 9, 2020

Yeah I can reproduce this on Android too. The cached in-memory database used by the tracker seems to always be empty after a stateless restart, it doesn't even contain the table :/ So far I don't know why that happens, it doesn't seem like the VM would call dlclose or anything.

Either way, that just makes it even weirder since I'd expect the real database to be closed too if in-memory databases vanish. Maybe the lock we're seeing here is file based and we can free it by deleting some files manually.

@drriguz
Copy link

drriguz commented Nov 11, 2020

I created a sqlite(sqlcipher actually) plugin using ffi, and I got the same issue, database get locked after hot-reload. What I don't understand is that, when I reload the app, there is no database operation existing, thus there should not be any transaction happening, why it's still get locked?

@fryette
Copy link
Contributor

fryette commented Dec 19, 2020

any news on it?
Struggling with it too...

@wph144
Copy link

wph144 commented Jul 8, 2021

I tried VmDatabase.closeExistingInstances() on MainApp.initState(). It does not work properly on Android as written in method comment.

Additional info about 'database is locked': #1042 (comment)

@vanlooverenkoen
Copy link

When we kill our app. and restart. the app our database said

SqliteException(26): file is not a database, file is not a database (code 26)
Causing statement: PRAGMA user_version;

When we restart our device the database is readable again.
When the app goes out of memory because you have used other apps in the meantime.

For us it seems that the database file is not released when the app is killed.

Anybody who has had the same issue?

@jaumard
Copy link

jaumard commented Oct 20, 2022

Hello, look like I hit this issue, for quite some time hot restart is broken and I never search for the reason ^^ but each time I try a hot restart on iOS Simulator, the app just close without any errors in the console. I search a bit and look like it crash when trying to open the DB, I'm using NativeDatabase on my side like this:

LazyDatabase _openConnection(int shopId, PublishSubject<DatabaseConnectionEvent> status) {
  // the LazyDatabase util lets us find the right location for the file async.
  return LazyDatabase(() async {
    // put the database file, called db.sqlite here, into the documents folder
    // for your app.
    final dbFolder = await getApplicationDocumentsDirectory();
    // fix for https://github.com/simolus3/moor/issues/1061
    await applyWorkaroundToOpenSqlite3OnOldAndroidVersions();
    final file = File(path.join(dbFolder.path, 'db_${shopId}_${Config().env.flavor == EnvironmentType.prod ? 'prod' : 'staging'}.sqlite'));
    if (!kIsProductionMode) {
      kDebugLogger.info('database path is: ${file.path}');
    }
    return NativeDatabase(
      file,
      logStatements: !kIsProductionMode && kDatabaseDebug && Config().env.flavor != EnvironmentType.testing,
      setup: (db) {
        db.execute('PRAGMA foreign_keys = ON;');
        status.add(DatabaseConnectionEvent.open);
      },
    );
  });
}

I've tried added same hack before launching the app:

WidgetsFlutterBinding.ensureInitialized();
  assert(
    () {
      NativeDatabase.closeExistingInstances();
      return true;
    }(),
    'Close existing DBs',
  );

But app still crash after hot restart. I manage the get a crash report, here it is:

iOS logs
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 6FCCBC66-F968-4941-9A81-75EEE38B4E8A
CrashReporter Key:   D3523D2C-B256-0896-AC70-D2967B309D3A
Hardware Model:      MacBookPro18,3
Process:             Runner [35441]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B/data/Containers/Bundle/Application/71A93041-E5D4-42CC-8D73-B2F24F4C3A76/Runner.app/Runner
Identifier:          com.kiwi.merchant
Version:             4.9.2 (4090200)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [68404]
Coalition:           com.apple.CoreSimulator.SimDevice.C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B [22006]
Responsible Process: SimulatorTrampoline [988]

Date/Time:           2022-10-20 08:18:04.6574 +0200
Launch Time:         2022-10-20 08:17:11.8162 +0200
OS Version:          macOS 12.6 (21G115)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000014fc9a00a
Exception Codes: 0x0000000000000002, 0x000000014fc9a00a
VM Region Info: 0x14fc9a00a is in 0x14fc9a000-0x14fc9b000;  bytes after start: 10  bytes before end: 4085
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      Rosetta Generic             14fc99000-14fc9a000    [    4K] rw-/rwx SM=PRV  
--->  Rosetta Generic             14fc9a000-14fc9b000    [    4K] rw-/rwx SM=PRV  
      Rosetta Generic             14fc9b000-14fc9c000    [    4K] rw-/rwx SM=PRV  
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 10 Bus error: 10
Terminating Process: exc handler [35441]

Triggered by Thread:  5

Kernel Triage:
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get


Thread 0::  Dispatch queue: com.apple.main-thread
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x102e87cc4 ???
2   libsystem_kernel.dylib        	       0x113e91ce8 mach_msg + 56
3   CoreFoundation                	       0x112b80766 __CFRunLoopServiceMachPort + 145
4   CoreFoundation                	       0x112b7af6f __CFRunLoopRun + 1371
5   CoreFoundation                	       0x112b7a637 CFRunLoopRunSpecific + 560
6   GraphicsServices              	       0x11477828a GSEventRunModal + 139
7   UIKitCore                     	       0x12b6ef425 -[UIApplication _run] + 994
8   UIKitCore                     	       0x12b6f4301 UIApplicationMain + 123
9   Runner                        	       0x10285a8bf main + 63 (AppDelegate.swift:10)
10  dyld_sim                      	       0x10b51c2bf start_sim + 10
11  dyld                          	       0x20318b52e start + 462

Thread 1:: com.apple.rosetta.exceptionserver
0   ???                           	    0x7ff7ffdb1944 ???
1   ???                           	    0x7ff7ffdca1f0 ???

Thread 2::  Dispatch queue: com.apple.root.default-qos
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x109396b94 ???
2   libsystem_c.dylib             	       0x113dc7cac nanosleep + 206
3   libsystem_c.dylib             	       0x113dc7b9d usleep + 53
4   Rudder                        	       0x10e3d58b5 __40-[RSEventRepository __initiateProcessor]_block_invoke + 784
5   libdispatch.dylib             	       0x113cb97fb _dispatch_call_block_and_release + 12
6   libdispatch.dylib             	       0x113cbaa3a _dispatch_client_callout + 8
7   libdispatch.dylib             	       0x113cbd91a _dispatch_queue_override_invoke + 1278
8   libdispatch.dylib             	       0x113ccddf7 _dispatch_root_queue_drain + 414
9   libdispatch.dylib             	       0x113cce928 _dispatch_worker_thread2 + 251
10  libsystem_pthread.dylib       	       0x113e02f8a _pthread_wqthread + 256
11  libsystem_pthread.dylib       	       0x113e01f57 start_wqthread + 15

Thread 3:: com.apple.uikit.eventfetch-thread
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x102e87cc4 ???
2   libsystem_kernel.dylib        	       0x113e91ce8 mach_msg + 56
3   CoreFoundation                	       0x112b80766 __CFRunLoopServiceMachPort + 145
4   CoreFoundation                	       0x112b7af6f __CFRunLoopRun + 1371
5   CoreFoundation                	       0x112b7a637 CFRunLoopRunSpecific + 560
6   Foundation                    	       0x1117779fc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
7   Foundation                    	       0x111777c75 -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
8   UIKitCore                     	       0x12b7c2e7e -[UIEventFetcher threadMain] + 535
9   Foundation                    	       0x1117a1247 __NSThread__start__ + 1009
10  libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
11  libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 4:
0   ???                           	    0x7ff7ffdcf814 ???

Thread 5 Crashed:: io.flutter.1.ui
0   <translation info unavailable>	       0x108ed8f80 ???
1   <translation info unavailable>	       0x106f95d38 ???
2   sqlite3                       	       0x10ec1d438 functionDestroy + 35 (sqlite3.c:171814)
3   sqlite3                       	       0x10eb90b7b sqlite3LeaveMutexAndCloseZombie + 234 (sqlite3.c:172029)
4   sqlite3                       	       0x10eb9848a sqlite3Close + 291 (sqlite3.c:171915)
5   ???                           	       0x14fc05bbb ???
6   ???                           	       0x15f6970e3 ???
7   ???                           	       0x15f696cbf ???
8   ???                           	       0x15f695668 ???
9   ???                           	       0x15f680eaf ???
10  ???                           	       0x1556734bf ???
11  ???                           	       0x155673412 ???
12  ???                           	       0x15562f1fe ???
13  ???                           	       0x15562caec ???
14  ???                           	       0x15562c8d9 ???
15  ???                           	       0x15562c65c ???
16  ???                           	       0x15562c809 ???
17  ???                           	       0x15562c65c ???
18  ???                           	       0x15562b4f0 ???
19  ???                           	       0x15562b27f ???
20  ???                           	       0x15562aaf3 ???
21  ???                           	       0x14fc02a0c ???
22  Flutter                       	       0x117fa6288 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*) + 296
23  Flutter                       	       0x117fa610b dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long) + 299
24  Flutter                       	       0x117fa81d2 dart::DartLibraryCalls::HandleMessage(long long, dart::Instance const&) + 306
25  Flutter                       	       0x117fca008 dart::IsolateMessageHandler::HandleMessage(std::__1::unique_ptr<dart::Message, std::__1::default_delete<dart::Message> >) + 872
26  Flutter                       	       0x117ff306d dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) + 301
27  Flutter                       	       0x117ff3220 dart::MessageHandler::HandleNextMessage() + 64
28  Flutter                       	       0x1182c793f Dart_HandleMessage + 239
29  Flutter                       	       0x117dcc616 tonic::DartMessageHandler::OnHandleMessage(tonic::DartState*) + 130
30  Flutter                       	       0x117dcc98c std::__1::__function::__func<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0, std::__1::allocator<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0>, void ()>::operator()() + 50
31  Flutter                       	       0x117f50087 std::__1::__function::__func<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner>)::$_3::operator()(std::__1::function<void ()>) const::'lambda'(), std::__1::allocator<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner>)::$_3::operator()(std::__1::function<void ()>) const::'lambda'()>, void ()>::operator()() + 43
32  Flutter                       	       0x117cba615 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 163
33  Flutter                       	       0x117cc05dc fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 26
34  CoreFoundation                	       0x112b816a1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
35  CoreFoundation                	       0x112b811eb __CFRunLoopDoTimer + 812
36  CoreFoundation                	       0x112b80962 __CFRunLoopDoTimers + 243
37  CoreFoundation                	       0x112b7b262 __CFRunLoopRun + 2126
38  CoreFoundation                	       0x112b7a637 CFRunLoopRunSpecific + 560
39  Flutter                       	       0x117cc0719 fml::MessageLoopDarwin::Run() + 65
40  Flutter                       	       0x117cba526 fml::MessageLoopImpl::DoRun() + 22
41  Flutter                       	       0x117cbf617 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
42  libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
43  libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 6:: io.flutter.1.raster
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x102e87cc4 ???
2   libsystem_kernel.dylib        	       0x113e91ce8 mach_msg + 56
3   CoreFoundation                	       0x112b80766 __CFRunLoopServiceMachPort + 145
4   CoreFoundation                	       0x112b7af6f __CFRunLoopRun + 1371
5   CoreFoundation                	       0x112b7a637 CFRunLoopRunSpecific + 560
6   Flutter                       	       0x117cc0719 fml::MessageLoopDarwin::Run() + 65
7   Flutter                       	       0x117cba526 fml::MessageLoopImpl::DoRun() + 22
8   Flutter                       	       0x117cbf617 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
9   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
10  libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 7:: io.flutter.1.io
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x102e87cc4 ???
2   libsystem_kernel.dylib        	       0x113e91ce8 mach_msg + 56
3   CoreFoundation                	       0x112b80766 __CFRunLoopServiceMachPort + 145
4   CoreFoundation                	       0x112b7af6f __CFRunLoopRun + 1371
5   CoreFoundation                	       0x112b7a637 CFRunLoopRunSpecific + 560
6   Flutter                       	       0x117cc0719 fml::MessageLoopDarwin::Run() + 65
7   Flutter                       	       0x117cba526 fml::MessageLoopImpl::DoRun() + 22
8   Flutter                       	       0x117cbf617 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
9   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
10  libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 8:: io.flutter.1.profiler
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x102e87cc4 ???
2   libsystem_kernel.dylib        	       0x113e91ce8 mach_msg + 56
3   CoreFoundation                	       0x112b80766 __CFRunLoopServiceMachPort + 145
4   CoreFoundation                	       0x112b7af6f __CFRunLoopRun + 1371
5   CoreFoundation                	       0x112b7a637 CFRunLoopRunSpecific + 560
6   Flutter                       	       0x117cc0719 fml::MessageLoopDarwin::Run() + 65
7   Flutter                       	       0x117cba526 fml::MessageLoopImpl::DoRun() + 22
8   Flutter                       	       0x117cbf617 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
9   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
10  libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 9:: io.worker.1
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06a6f _pthread_cond_wait + 1249
3   libc++.1.dylib                	       0x10b44ebe2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
4   Flutter                       	       0x117cb7629 fml::ConcurrentMessageLoop::WorkerMain() + 187
5   Flutter                       	       0x117cb7de5 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 10:: io.worker.2
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06a6f _pthread_cond_wait + 1249
3   libc++.1.dylib                	       0x10b44ebe2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
4   Flutter                       	       0x117cb7629 fml::ConcurrentMessageLoop::WorkerMain() + 187
5   Flutter                       	       0x117cb7de5 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 11:: io.worker.3
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06a6f _pthread_cond_wait + 1249
3   libc++.1.dylib                	       0x10b44ebe2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
4   Flutter                       	       0x117cb7629 fml::ConcurrentMessageLoop::WorkerMain() + 187
5   Flutter                       	       0x117cb7de5 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 12:: io.worker.4
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06a6f _pthread_cond_wait + 1249
3   libc++.1.dylib                	       0x10b44ebe2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
4   Flutter                       	       0x117cb7629 fml::ConcurrentMessageLoop::WorkerMain() + 187
5   Flutter                       	       0x117cb7de5 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 13:: io.worker.5
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06a6f _pthread_cond_wait + 1249
3   libc++.1.dylib                	       0x10b44ebe2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
4   Flutter                       	       0x117cb7629 fml::ConcurrentMessageLoop::WorkerMain() + 187
5   Flutter                       	       0x117cb7de5 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 14:: io.worker.6
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06a6f _pthread_cond_wait + 1249
3   libc++.1.dylib                	       0x10b44ebe2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
4   Flutter                       	       0x117cb7629 fml::ConcurrentMessageLoop::WorkerMain() + 187
5   Flutter                       	       0x117cb7de5 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 15:: io.worker.7
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06a6f _pthread_cond_wait + 1249
3   libc++.1.dylib                	       0x10b44ebe2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
4   Flutter                       	       0x117cb7629 fml::ConcurrentMessageLoop::WorkerMain() + 187
5   Flutter                       	       0x117cb7de5 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 16:: io.worker.8
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06a6f _pthread_cond_wait + 1249
3   libc++.1.dylib                	       0x10b44ebe2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
4   Flutter                       	       0x117cb7629 fml::ConcurrentMessageLoop::WorkerMain() + 187
5   Flutter                       	       0x117cb7de5 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 17:: dart:io EventHandler
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10385a53c ???
2   Flutter                       	       0x117ec76c8 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 344
3   Flutter                       	       0x117ee6488 dart::bin::ThreadStart(void*) + 40
4   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
5   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 18:: Dart Profiler ThreadInterrupter
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06aa4 _pthread_cond_wait + 1302
3   Flutter                       	       0x11808ac36 dart::Monitor::WaitMicros(long long) + 134
4   Flutter                       	       0x11810e5bf dart::ThreadInterrupter::ThreadMain(unsigned long) + 303
5   Flutter                       	       0x11808a22f dart::ThreadStart(void*) + 159
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 19:: Dart Profiler SampleBlockProcessor
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06aa4 _pthread_cond_wait + 1302
3   Flutter                       	       0x11808ac36 dart::Monitor::WaitMicros(long long) + 134
4   Flutter                       	       0x1180903a5 dart::SampleBlockProcessor::ThreadMain(unsigned long) + 181
5   Flutter                       	       0x11808a22f dart::ThreadStart(void*) + 159
6   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
7   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 20:: com.apple.NSURLConnectionLoader
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x102e87cc4 ???
2   libsystem_kernel.dylib        	       0x113e91ce8 mach_msg + 56
3   CoreFoundation                	       0x112b80766 __CFRunLoopServiceMachPort + 145
4   CoreFoundation                	       0x112b7af6f __CFRunLoopRun + 1371
5   CoreFoundation                	       0x112b7a637 CFRunLoopRunSpecific + 560
6   CFNetwork                     	       0x110ba6324 0x110978000 + 2286372
7   Foundation                    	       0x1117a1247 __NSThread__start__ + 1009
8   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
9   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 21:: com.apple.CFNetwork.CustomProtocols
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x102e87cc4 ???
2   libsystem_kernel.dylib        	       0x113e91ce8 mach_msg + 56
3   CoreFoundation                	       0x112b80766 __CFRunLoopServiceMachPort + 145
4   CoreFoundation                	       0x112b7af6f __CFRunLoopRun + 1371
5   CoreFoundation                	       0x112b7a637 CFRunLoopRunSpecific + 560
6   CFNetwork                     	       0x110ba6324 0x110978000 + 2286372
7   Foundation                    	       0x1117a1247 __NSThread__start__ + 1009
8   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
9   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 22:
0   ???                           	    0x7ff7ffdcf814 ???

Thread 23:
0   ???                           	    0x7ff7ffdcf814 ???

Thread 24:
0   ???                           	    0x7ff7ffdcf814 ???

Thread 25:: DartWorker
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06aa4 _pthread_cond_wait + 1302
3   Flutter                       	       0x11808ac36 dart::Monitor::WaitMicros(long long) + 134
4   Flutter                       	       0x117fc599f dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 207
5   Flutter                       	       0x11810f14d dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 109
6   Flutter                       	       0x11810f509 dart::ThreadPool::Worker::Main(unsigned long) + 121
7   Flutter                       	       0x11808a22f dart::ThreadStart(void*) + 159
8   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
9   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 26:
0   ???                           	    0x7ff7ffdcf814 ???

Thread 27:: DartWorker
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06aa4 _pthread_cond_wait + 1302
3   Flutter                       	       0x11808ac36 dart::Monitor::WaitMicros(long long) + 134
4   Flutter                       	       0x11810f31f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 575
5   Flutter                       	       0x11810f509 dart::ThreadPool::Worker::Main(unsigned long) + 121
6   Flutter                       	       0x11808a22f dart::ThreadStart(void*) + 159
7   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
8   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15

Thread 28:: DartWorker
0   ???                           	       0x102dcd940 ???
1   <translation info unavailable>	       0x10383809c ???
2   libsystem_pthread.dylib       	       0x113e06aa4 _pthread_cond_wait + 1302
3   Flutter                       	       0x11808ac36 dart::Monitor::WaitMicros(long long) + 134
4   Flutter                       	       0x11810f31f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 575
5   Flutter                       	       0x11810f509 dart::ThreadPool::Worker::Main(unsigned long) + 121
6   Flutter                       	       0x11808a22f dart::ThreadStart(void*) + 159
7   libsystem_pthread.dylib       	       0x113e064e1 _pthread_start + 125
8   libsystem_pthread.dylib       	       0x113e01f6b thread_start + 15


Thread 5 crashed with X86 Thread State (64-bit):
  rax: 0x00007f9d00c5d1d0  rbx: 0x0000600003e99300  rcx: 0x000000008f078877  rdx: 0x000000008f279037
  rdi: 0x0000000000000009  rsi: 0x00007f9d05949ad0  rbp: 0x0000000309f44130  rsp: 0x0000000309f44118
   r8: 0x00000000000001ff   r9: 0x00000000000006c0  r10: 0x0000000000000200  r11: 0x0000600003ee8000
  r12: 0x0000600003e99320  r13: 0x0000000000000002  r14: 0x00007f9d00c5cf60  r15: 0x00007f9d00c5cf60
  rip: <unavailable>       rfl: 0x0000000000000242
 tmp0: 0x0000000000000001 tmp1: 0x000000014fc9a00a tmp2: 0x0000000106f95d38


Binary Images:
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x113e90000 -        0x113ec7fff libsystem_kernel.dylib (*) <8cc28466-fd2f-3c80-9834-9525b7beac19> /usr/lib/system/libsystem_kernel.dylib
       0x112afc000 -        0x112e83fff com.apple.CoreFoundation (6.9) <b5a38680-23b2-3ada-8f11-32c707243f2f> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
       0x114775000 -        0x11477cfff com.apple.GraphicsServices (1.0) <48f162ca-ddc3-3479-8660-020ca125d2b8> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
       0x12a8bf000 -        0x12c364fff com.apple.UIKitCore (1.0) <35e99f75-b102-3980-ad6e-a8ce4d94ca2b> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
       0x10284b000 -        0x102b2afff com.kiwi.merchant (4.9.2) <148ca007-2401-3407-a6dd-4ff8fdfecd18> /Users/USER/Library/Developer/CoreSimulator/Devices/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B/data/Containers/Bundle/Application/71A93041-E5D4-42CC-8D73-B2F24F4C3A76/Runner.app/Runner
       0x10b51a000 -        0x10b579fff dyld_sim (*) <db2ea9eb-03d5-3b81-a6ce-26ec4dd81b07> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
       0x203186000 -        0x2031f1fff dyld (*) <71febccd-d9dc-3599-9971-2b3407c588a8> /usr/lib/dyld
       0x113d4d000 -        0x113dd1fff libsystem_c.dylib (*) <d16715ed-312b-3a16-8e14-89060a206292> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_c.dylib
       0x10e3c6000 -        0x10e3e9fff org.cocoapods.Rudder (1.7.0) <18e665a9-b6ed-3ae2-b0ab-083637c259c0> /Users/USER/Library/Developer/CoreSimulator/Devices/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B/data/Containers/Bundle/Application/71A93041-E5D4-42CC-8D73-B2F24F4C3A76/Runner.app/Frameworks/Rudder.framework/Rudder
       0x113cb8000 -        0x113d03fff libdispatch.dylib (*) <c7362476-68b1-3ebe-aa4a-46c0b676b3f7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib
       0x113e00000 -        0x113e0bfff libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /usr/lib/system/libsystem_pthread.dylib
       0x11121d000 -        0x111b4ffff com.apple.Foundation (6.9) <0ccd4306-bb63-3964-8ff5-e8d30bf494f5> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation
       0x10eb84000 -        0x10ec4bfff org.cocoapods.sqlite3 (3.39.3) <c319321d-bd3c-3a16-8161-781fa1b5c091> /Users/USER/Library/Developer/CoreSimulator/Devices/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B/data/Containers/Bundle/Application/71A93041-E5D4-42CC-8D73-B2F24F4C3A76/Runner.app/Frameworks/sqlite3.framework/sqlite3
       0x117956000 -        0x119582fff io.flutter.flutter (1.0) <4c4c44d3-5555-3144-a1e1-8c58c4699815> /Users/USER/Library/Developer/CoreSimulator/Devices/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B/data/Containers/Bundle/Application/71A93041-E5D4-42CC-8D73-B2F24F4C3A76/Runner.app/Frameworks/Flutter.framework/Flutter
       0x10b446000 -        0x10b49bfff libc++.1.dylib (*) <8bac67d5-4013-3665-8383-c68aca4d5862> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++.1.dylib
       0x110978000 -        0x110d11fff com.apple.CFNetwork (1390) <44df2ea0-cc20-327e-bfca-cceab8e61799> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CFNetwork.framework/CFNetwork

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed

EOF

-----------
Full Report
-----------

{"app_name":"Runner","timestamp":"2022-10-20 08:18:19.00 +0200","app_version":"4.9.2","slice_uuid":"148ca007-2401-3407-a6dd-4ff8fdfecd18","build_version":"4090200","platform":7,"bundleID":"com.kiwi.merchant","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6 (21G115)","incident_id":"6FCCBC66-F968-4941-9A81-75EEE38B4E8A","name":"Runner"}
{
  "uptime" : 150000,
  "procLaunch" : "2022-10-20 08:17:11.8162 +0200",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "procStartAbsTime" : 3759427842238,
  "coalitionID" : 22006,
  "osVersion" : {
    "train" : "macOS 12.6",
    "build" : "21G115",
    "releaseType" : "User"
  },
  "captureTime" : "2022-10-20 08:18:04.6574 +0200",
  "incident" : "6FCCBC66-F968-4941-9A81-75EEE38B4E8A",
  "bug_type" : "309",
  "pid" : 35441,
  "procExitAbsTime" : 3760689732840,
  "translated" : true,
  "cpuType" : "X86-64",
  "procName" : "Runner",
  "procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B\/data\/Containers\/Bundle\/Application\/71A93041-E5D4-42CC-8D73-B2F24F4C3A76\/Runner.app\/Runner",
  "bundleInfo" : {"CFBundleShortVersionString":"4.9.2","CFBundleVersion":"4090200","CFBundleIdentifier":"com.kiwi.merchant"},
  "storeInfo" : {"deviceIdentifierForVendor":"5C4C8F39-06D7-5E8A-9085-81DA7466477A","thirdParty":true},
  "parentProc" : "launchd_sim",
  "parentPid" : 68404,
  "coalitionName" : "com.apple.CoreSimulator.SimDevice.C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B",
  "crashReporterKey" : "D3523D2C-B256-0896-AC70-D2967B309D3A",
  "responsiblePid" : 988,
  "responsibleProc" : "SimulatorTrampoline",
  "wakeTime" : 4255,
  "sleepWakeUUID" : "17C882C7-1C1F-45B6-8A77-35A398B9482C",
  "sip" : "enabled",
  "vmRegionInfo" : "0x14fc9a00a is in 0x14fc9a000-0x14fc9b000;  bytes after start: 10  bytes before end: 4085\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      Rosetta Generic             14fc99000-14fc9a000    [    4K] rw-\/rwx SM=PRV  \n--->  Rosetta Generic             14fc9a000-14fc9b000    [    4K] rw-\/rwx SM=PRV  \n      Rosetta Generic             14fc9b000-14fc9c000    [    4K] rw-\/rwx SM=PRV  ",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000002, 0x000000014fc9a00a","rawCodes":[2,5633581066],"type":"EXC_BAD_ACCESS","signal":"SIGBUS","subtype":"KERN_PROTECTION_FAILURE at 0x000000014fc9a00a"},
  "termination" : {"flags":0,"code":10,"namespace":"SIGNAL","indicator":"Bus error: 10","byProc":"exc handler","byPid":35441},
  "ktriageinfo" : "VM - Compressor failed a blocking pager_get\nVM - Compressor failed a blocking pager_get\nVM - Compressor failed a blocking pager_get\nVM - Compressor failed a blocking pager_get\nVM - Compressor failed a blocking pager_get\n",
  "vmregioninfo" : "0x14fc9a00a is in 0x14fc9a000-0x14fc9b000;  bytes after start: 10  bytes before end: 4085\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      Rosetta Generic             14fc99000-14fc9a000    [    4K] rw-\/rwx SM=PRV  \n--->  Rosetta Generic             14fc9a000-14fc9b000    [    4K] rw-\/rwx SM=PRV  \n      Rosetta Generic             14fc9b000-14fc9c000    [    4K] rw-\/rwx SM=PRV  ",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 5,
  "threads" : [{"id":3658850,"queue":"com.apple.main-thread","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4343758020,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":542566,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":2},{"imageOffset":520047,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":2},{"imageOffset":517687,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":2},{"imageOffset":12938,"symbol":"GSEventRunModal","symbolLocation":139,"imageIndex":3},{"imageOffset":14877733,"symbol":"-[UIApplication _run]","symbolLocation":994,"imageIndex":4},{"imageOffset":14897921,"symbol":"UIApplicationMain","symbolLocation":123,"imageIndex":4},{"imageOffset":63679,"sourceLine":10,"sourceFile":"AppDelegate.swift","symbol":"main","imageIndex":5,"symbolLocation":63},{"imageOffset":8895,"symbol":"start_sim","symbolLocation":10,"imageIndex":6},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":7}]},{"id":3658851,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":140703126198596,"imageIndex":0},{"imageOffset":140703126299120,"imageIndex":0}]},{"id":3658988,"queue":"com.apple.root.default-qos","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4449725332,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":502956,"symbol":"nanosleep","symbolLocation":206,"imageIndex":8},{"imageOffset":502685,"symbol":"usleep","symbolLocation":53,"imageIndex":8},{"imageOffset":63669,"sourceFile":"RSEventRepository.m","symbol":"__40-[RSEventRepository __initiateProcessor]_block_invoke","symbolLocation":784,"imageIndex":9},{"imageOffset":6139,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":10},{"imageOffset":10810,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":10},{"imageOffset":22810,"symbol":"_dispatch_queue_override_invoke","symbolLocation":1278,"imageIndex":10},{"imageOffset":89591,"symbol":"_dispatch_root_queue_drain","symbolLocation":414,"imageIndex":10},{"imageOffset":92456,"symbol":"_dispatch_worker_thread2","symbolLocation":251,"imageIndex":10},{"imageOffset":12170,"symbol":"_pthread_wqthread","symbolLocation":256,"imageIndex":11},{"imageOffset":8023,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":11}]},{"id":3659014,"name":"com.apple.uikit.eventfetch-thread","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4343758020,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":542566,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":2},{"imageOffset":520047,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":2},{"imageOffset":517687,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":2},{"imageOffset":5614076,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":213,"imageIndex":12},{"imageOffset":5614709,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":72,"imageIndex":12},{"imageOffset":15744638,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":535,"imageIndex":4},{"imageOffset":5784135,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":12},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659024,"frames":[{"imageOffset":140703126321172,"imageIndex":0}]},{"triggered":true,"id":3659059,"name":"io.flutter.1.ui","threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":13051904304},"r12":{"value":105553181905696},"rosetta":{"tmp2":{"value":4411972920},"tmp1":{"value":5633581066},"tmp0":{"value":1}},"rbx":{"value":105553181905664},"r8":{"value":511},"r15":{"value":140312299556704},"r10":{"value":512},"rdx":{"value":2401734711},"rdi":{"value":9},"r9":{"value":1728},"r13":{"value":2},"rflags":{"value":578},"rax":{"value":140312299557328},"rsp":{"value":13051904280},"r11":{"value":105553182228480},"rcx":{"value":2399635575},"r14":{"value":140312299556704},"rsi":{"value":140312380218064}},"frames":[{"imageOffset":4444753792,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":4411972920,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":627768,"sourceLine":171814,"sourceFile":"sqlite3.c","symbol":"functionDestroy","imageIndex":13,"symbolLocation":35},{"imageOffset":52091,"sourceLine":172029,"sourceFile":"sqlite3.c","symbol":"sqlite3LeaveMutexAndCloseZombie","imageIndex":13,"symbolLocation":234},{"imageOffset":83082,"sourceLine":171915,"sourceFile":"sqlite3.c","symbol":"sqlite3Close","imageIndex":13,"symbolLocation":291},{"imageOffset":5632973755,"imageIndex":0},{"imageOffset":5895712995,"imageIndex":0},{"imageOffset":5895711935,"imageIndex":0},{"imageOffset":5895706216,"imageIndex":0},{"imageOffset":5895622319,"imageIndex":0},{"imageOffset":5727794367,"imageIndex":0},{"imageOffset":5727794194,"imageIndex":0},{"imageOffset":5727515134,"imageIndex":0},{"imageOffset":5727505132,"imageIndex":0},{"imageOffset":5727504601,"imageIndex":0},{"imageOffset":5727503964,"imageIndex":0},{"imageOffset":5727504393,"imageIndex":0},{"imageOffset":5727503964,"imageIndex":0},{"imageOffset":5727499504,"imageIndex":0},{"imageOffset":5727498879,"imageIndex":0},{"imageOffset":5727496947,"imageIndex":0},{"imageOffset":5632961036,"imageIndex":0},{"imageOffset":6619784,"symbol":"dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)","symbolLocation":296,"imageIndex":14},{"imageOffset":6619403,"symbol":"dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)","symbolLocation":299,"imageIndex":14},{"imageOffset":6627794,"symbol":"dart::DartLibraryCalls::HandleMessage(long long, dart::Instance const&)","symbolLocation":306,"imageIndex":14},{"imageOffset":6766600,"symbol":"dart::IsolateMessageHandler::HandleMessage(std::__1::unique_ptr<dart::Message, std::__1::default_delete<dart::Message> >)","symbolLocation":872,"imageIndex":14},{"imageOffset":6934637,"symbol":"dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)","symbolLocation":301,"imageIndex":14},{"imageOffset":6935072,"symbol":"dart::MessageHandler::HandleNextMessage()","symbolLocation":64,"imageIndex":14},{"imageOffset":9902399,"symbol":"Dart_HandleMessage","symbolLocation":239,"imageIndex":14},{"imageOffset":4679190,"symbol":"tonic::DartMessageHandler::OnHandleMessage(tonic::DartState*)","symbolLocation":130,"imageIndex":14},{"imageOffset":4680076,"symbol":"std::__1::__function::__func<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0, std::__1::allocator<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0>, void ()>::operator()()","symbolLocation":50,"imageIndex":14},{"imageOffset":6267015,"symbol":"std::__1::__function::__func<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner>)::$_3::operator()(std::__1::function<void ()>) const::'lambda'(), std::__1::allocator<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner>)::$_3::operator()(std::__1::function<void ()>) const::'lambda'()>, void ()>::operator()()","symbolLocation":43,"imageIndex":14},{"imageOffset":3556885,"symbol":"fml::MessageLoopImpl::FlushTasks(fml::FlushType)","symbolLocation":163,"imageIndex":14},{"imageOffset":3581404,"symbol":"fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)","symbolLocation":26,"imageIndex":14},{"imageOffset":546465,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__","symbolLocation":20,"imageIndex":2},{"imageOffset":545259,"symbol":"__CFRunLoopDoTimer","symbolLocation":812,"imageIndex":2},{"imageOffset":543074,"symbol":"__CFRunLoopDoTimers","symbolLocation":243,"imageIndex":2},{"imageOffset":520802,"symbol":"__CFRunLoopRun","symbolLocation":2126,"imageIndex":2},{"imageOffset":517687,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":2},{"imageOffset":3581721,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":14},{"imageOffset":3556646,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":14},{"imageOffset":3577367,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659060,"name":"io.flutter.1.raster","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4343758020,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":542566,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":2},{"imageOffset":520047,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":2},{"imageOffset":517687,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":2},{"imageOffset":3581721,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":14},{"imageOffset":3556646,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":14},{"imageOffset":3577367,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659061,"name":"io.flutter.1.io","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4343758020,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":542566,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":2},{"imageOffset":520047,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":2},{"imageOffset":517687,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":2},{"imageOffset":3581721,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":14},{"imageOffset":3556646,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":14},{"imageOffset":3577367,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659062,"name":"io.flutter.1.profiler","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4343758020,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":542566,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":2},{"imageOffset":520047,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":2},{"imageOffset":517687,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":2},{"imageOffset":3581721,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":14},{"imageOffset":3556646,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":14},{"imageOffset":3577367,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659063,"name":"io.worker.1","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":11},{"imageOffset":35810,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":15},{"imageOffset":3544617,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":14},{"imageOffset":3546597,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659064,"name":"io.worker.2","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":11},{"imageOffset":35810,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":15},{"imageOffset":3544617,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":14},{"imageOffset":3546597,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659065,"name":"io.worker.3","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":11},{"imageOffset":35810,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":15},{"imageOffset":3544617,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":14},{"imageOffset":3546597,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659066,"name":"io.worker.4","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":11},{"imageOffset":35810,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":15},{"imageOffset":3544617,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":14},{"imageOffset":3546597,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659067,"name":"io.worker.5","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":11},{"imageOffset":35810,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":15},{"imageOffset":3544617,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":14},{"imageOffset":3546597,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659068,"name":"io.worker.6","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":11},{"imageOffset":35810,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":15},{"imageOffset":3544617,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":14},{"imageOffset":3546597,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659069,"name":"io.worker.7","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":11},{"imageOffset":35810,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":15},{"imageOffset":3544617,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":14},{"imageOffset":3546597,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659070,"name":"io.worker.8","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":11},{"imageOffset":35810,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":15},{"imageOffset":3544617,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":14},{"imageOffset":3546597,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659071,"name":"dart:io EventHandler","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4354057532,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":5707464,"symbol":"dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long)","symbolLocation":344,"imageIndex":14},{"imageOffset":5833864,"symbol":"dart::bin::ThreadStart(void*)","symbolLocation":40,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659072,"name":"Dart Profiler ThreadInterrupter","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27300,"symbol":"_pthread_cond_wait","symbolLocation":1302,"imageIndex":11},{"imageOffset":7556150,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":14},{"imageOffset":8095167,"symbol":"dart::ThreadInterrupter::ThreadMain(unsigned long)","symbolLocation":303,"imageIndex":14},{"imageOffset":7553583,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659073,"name":"Dart Profiler SampleBlockProcessor","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27300,"symbol":"_pthread_cond_wait","symbolLocation":1302,"imageIndex":11},{"imageOffset":7556150,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":14},{"imageOffset":7578533,"symbol":"dart::SampleBlockProcessor::ThreadMain(unsigned long)","symbolLocation":181,"imageIndex":14},{"imageOffset":7553583,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659145,"name":"com.apple.NSURLConnectionLoader","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4343758020,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":542566,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":2},{"imageOffset":520047,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":2},{"imageOffset":517687,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":2},{"imageOffset":2286372,"imageIndex":16},{"imageOffset":5784135,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":12},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659871,"name":"com.apple.CFNetwork.CustomProtocols","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4343758020,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":1},{"imageOffset":542566,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":2},{"imageOffset":520047,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":2},{"imageOffset":517687,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":2},{"imageOffset":2286372,"imageIndex":16},{"imageOffset":5784135,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":12},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3659907,"frames":[{"imageOffset":140703126321172,"imageIndex":0}]},{"id":3660232,"frames":[{"imageOffset":140703126321172,"imageIndex":0}]},{"id":3660678,"frames":[{"imageOffset":140703126321172,"imageIndex":0}]},{"id":3660810,"name":"DartWorker","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27300,"symbol":"_pthread_cond_wait","symbolLocation":1302,"imageIndex":11},{"imageOffset":7556150,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":14},{"imageOffset":6748575,"symbol":"dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*)","symbolLocation":207,"imageIndex":14},{"imageOffset":8098125,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":109,"imageIndex":14},{"imageOffset":8099081,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":121,"imageIndex":14},{"imageOffset":7553583,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3661119,"frames":[{"imageOffset":140703126321172,"imageIndex":0}]},{"id":3661124,"name":"DartWorker","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27300,"symbol":"_pthread_cond_wait","symbolLocation":1302,"imageIndex":11},{"imageOffset":7556150,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":14},{"imageOffset":8098591,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":575,"imageIndex":14},{"imageOffset":8099081,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":121,"imageIndex":14},{"imageOffset":7553583,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":3661125,"name":"DartWorker","frames":[{"imageOffset":4342995264,"imageIndex":0},{"imageOffset":4353917084,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":27300,"symbol":"_pthread_cond_wait","symbolLocation":1302,"imageIndex":11},{"imageOffset":7556150,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":14},{"imageOffset":8098591,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":575,"imageIndex":14},{"imageOffset":8099081,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":121,"imageIndex":14},{"imageOffset":7553583,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":14},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]}],
  "usedImages" : [
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4629004288,
    "size" : 229376,
    "uuid" : "8cc28466-fd2f-3c80-9834-9525b7beac19",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4608475136,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 3702784,
    "uuid" : "b5a38680-23b2-3ada-8f11-32c707243f2f",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1946.102"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4638330880,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.GraphicsServices",
    "size" : 32768,
    "uuid" : "48f162ca-ddc3-3479-8660-020ca125d2b8",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices",
    "name" : "GraphicsServices",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 5008781312,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.UIKitCore",
    "size" : 27942912,
    "uuid" : "35e99f75-b102-3980-ad6e-a8ce4d94ca2b",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore",
    "name" : "UIKitCore",
    "CFBundleVersion" : "6092.1.111"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4337217536,
    "CFBundleShortVersionString" : "4.9.2",
    "CFBundleIdentifier" : "com.kiwi.merchant",
    "size" : 3014656,
    "uuid" : "148ca007-2401-3407-a6dd-4ff8fdfecd18",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B\/data\/Containers\/Bundle\/Application\/71A93041-E5D4-42CC-8D73-B2F24F4C3A76\/Runner.app\/Runner",
    "name" : "Runner",
    "CFBundleVersion" : "4090200"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4484866048,
    "size" : 393216,
    "uuid" : "db2ea9eb-03d5-3b81-a6ce-26ec4dd81b07",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
    "name" : "dyld_sim"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8641863680,
    "size" : 442368,
    "uuid" : "71febccd-d9dc-3599-9971-2b3407c588a8",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4627681280,
    "size" : 544768,
    "uuid" : "d16715ed-312b-3a16-8e14-89060a206292",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4533805056,
    "CFBundleShortVersionString" : "1.7.0",
    "CFBundleIdentifier" : "org.cocoapods.Rudder",
    "size" : 147456,
    "uuid" : "18e665a9-b6ed-3ae2-b0ab-083637c259c0",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B\/data\/Containers\/Bundle\/Application\/71A93041-E5D4-42CC-8D73-B2F24F4C3A76\/Runner.app\/Frameworks\/Rudder.framework\/Rudder",
    "name" : "Rudder",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4627070976,
    "size" : 311296,
    "uuid" : "c7362476-68b1-3ebe-aa4a-46c0b676b3f7",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4628414464,
    "size" : 49152,
    "uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4582395904,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 9646080,
    "uuid" : "0ccd4306-bb63-3964-8ff5-e8d30bf494f5",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1946.102"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4541923328,
    "CFBundleShortVersionString" : "3.39.3",
    "CFBundleIdentifier" : "org.cocoapods.sqlite3",
    "size" : 819200,
    "uuid" : "c319321d-bd3c-3a16-8161-781fa1b5c091",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B\/data\/Containers\/Bundle\/Application\/71A93041-E5D4-42CC-8D73-B2F24F4C3A76\/Runner.app\/Frameworks\/sqlite3.framework\/sqlite3",
    "name" : "sqlite3",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4690632704,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "io.flutter.flutter",
    "size" : 29544448,
    "uuid" : "4c4c44d3-5555-3144-a1e1-8c58c4699815",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/C4F5E2C1-EC2B-4FC1-84BC-7DB209F69B5B\/data\/Containers\/Bundle\/Application\/71A93041-E5D4-42CC-8D73-B2F24F4C3A76\/Runner.app\/Frameworks\/Flutter.framework\/Flutter",
    "name" : "Flutter",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4483997696,
    "size" : 352256,
    "uuid" : "8bac67d5-4013-3665-8383-c68aca4d5862",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/libc++.1.dylib",
    "name" : "libc++.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4573331456,
    "CFBundleShortVersionString" : "1390",
    "CFBundleIdentifier" : "com.apple.CFNetwork",
    "size" : 3776512,
    "uuid" : "44df2ea0-cc20-327e-bfca-cceab8e61799",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CFNetwork.framework\/CFNetwork",
    "name" : "CFNetwork",
    "CFBundleVersion" : "1390"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=1.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.0G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               256K        2 \nActivity Tracing                   256K        1 \nColorSync                          168K       24 \nCoreAnimation                      220K        2 \nFoundation                          16K        1 \nIOSurface                         43.0M        3 \nImage IO                           212K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           261.6M      137 \nMALLOC guard page                   48K       11 \nMALLOC_LARGE (reserved)             64K        1         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nRosetta Arena                     4096K        2 \nRosetta Generic                   25.7M     6588 \nRosetta IndirectBranch            4096K        1 \nRosetta JIT                      128.0M        1 \nRosetta Return Stack               560K       56 \nRosetta Thread Context             560K       56 \nSQLite page cache                  704K       11 \nSTACK GUARD                         20K        5 \nStack                             24.8M       30 \nStack Guard                       56.1M       23 \nVM_ALLOCATE                      129.6M      315 \nVM_ALLOCATE (reserved)              20K        2         reserved VM address space (unallocated)\n__DATA                            21.6M      800 \n__DATA_CONST                      56.3M      580 \n__DATA_DIRTY                        92K       13 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       364.4M      645 \n__TEXT                           652.6M      642 \ndyld private memory               1568K        5 \nlibnetwork                         128K        8 \nmapped file                        6.2G       62 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              8.3G    10032 \nTOTAL, minus reserved VM space     7.9G    10032 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "name" : "io.flutter.1.ui"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60186475825c62000ccf5450",
      "factorPackIds" : {

      },
      "deploymentId" : 240000026
    },
    {
      "rolloutId" : "61af99aeda72d16a4beb7756",
      "factorPackIds" : {

      },
      "deploymentId" : 240000396
    }
  ],
  "experiments" : [

  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed"
]
}

PS: not crash on Android at all.

@kuhnroyal
Copy link
Contributor Author

I have not seen this problem occur in a long while in any of my projects.
If anyone still experiences a similar problem, please open a new issue.

@kuhnroyal kuhnroyal closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2022
SixtoMartin added a commit to SixtoMartin/sqflite that referenced this issue Feb 17, 2023
…ackground of information here simolus3/drift#835

The solution from Simon Binder is simple and brilliant
@kfieldi5
Copy link

When we kill our app. and restart. the app our database said

SqliteException(26): file is not a database, file is not a database (code 26)
Causing statement: PRAGMA user_version;

When we restart our device the database is readable again. When the app goes out of memory because you have used other apps in the meantime.

For us it seems that the database file is not released when the app is killed.

Anybody who has had the same issue?

Yes I'm experiencing this in production

@simolus3
Copy link
Owner

simolus3 commented Oct 26, 2024

@kfieldi5 A "file is not a database" error can also occur when using SQLCipher to open an encrypted database and providing the wrong key. Could you check whether it's possible that the key you used to create databases has changed between different versions of your app?

You could also consider running a statement like SELECT * FROM sqlite_schema immediately after setting the key to provoke an exception if the key is wrong:

      setup: (rawDb) {
        assert(_debugCheckHasCipher(rawDb));
        rawDb.execute("PRAGMA key = '$dbPassphrase';");
        // Make sure the database is readable after unlocking it:
        rawDb.execute("SELECT * FROM sqlite_schema");
      },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants