firebase / firebase-android-sdk

Firebase Android SDK
https://firebase.google.com
Apache License 2.0
2.28k stars 579 forks source link

Cloud Firestore crashes with android.database.CursorWindowAllocationException #629

Open creativecreatorormaybenot opened 5 years ago

creativecreatorormaybenot commented 5 years ago

Environment

Problem

This is a crash that a Flutter app produces. As all of the stack trace is code that is not part of the Flutter plugin, I figured that it might be useful to report the issue here.

Essentially, users are reporting crashes when scrolling very fast, i.e. loading documents very fast. The stack trace can be found here and I included the device names and Android versions in the title.

Reproduction

I was not able to reproduce this with any physical devices or emulator images available to me. Hopefully, the stack trace is enough to pinpoint the problem.
Furthermore, there is no code available as this is not caused by a specific implementation. The Flutter plugin calls query.get, but as I said, there are no traces of Dart code in the stack trace. It seems like this issue is exclusively caused by the Android plugin.

382 might be related, however, it is a different exception.

wilhuff commented 5 years ago

Try as we might, we haven't been able to narrow down a possible cause for these CursorWindowAllocationExceptions.

The stack trace you've referenced here is strangely imprecise so it's even less indicative of where the problem might be. We really need to get this reproduced to make progress.

It sounds like repeatedly calling query.get may be a possible way forward. I'll give a repro a shot based on that.

Regarding dart code in the stack, all Firestore API calls internally dispatch to a serializing queue that helps us provide consistency guarantees. It does have the unfortunate effect of removing the calling code from the stack trace.

creativecreatorormaybenot commented 5 years ago

@wilhuff These are the complete stack traces from the Play Store. I do not know if they are shortened, however, I might be able to provide them from other sources in the future. Do you think that a crash reporting tool like Crashlytics would help?

wilhuff commented 5 years ago

We've had other, complete stack traces and it hasn't really helped, so I wouldn't go too far out of my way to try to get one. Then again, another stack could help confirm that this is indeed the same issue as #382 or something else.

creativecreatorormaybenot commented 5 years ago

@wilhuff I am not sure if it is exactly the same, however, I got another stack trace from the same device that looks fairly similar. Maybe this gives some more insights.

wilhuff commented 5 years ago

The issue with these stacks is that they're saying that essentially anything in the remote document cache failed while performing nearly any operation in the local store.

  at com.google.firebase.firestore.local.SQLiteRemoteDocumentCache.add (SQLiteRemoteDocumentCache.java)
  or                     .decodeMaybeDocument (SQLiteRemoteDocumentCache.java)
  or                     .get (SQLiteRemoteDocumentCache.java)
  or                     .getAll (SQLiteRemoteDocumentCache.java)
  or                     .getAllDocumentsMatchingQuery (SQLiteRemoteDocumentCache.java)
  or                     .lambda$get$0 (SQLiteRemoteDocumentCache.java)
  or                     .lambda$getAll$1 (SQLiteRemoteDocumentCache.java)
  or                     .lambda$getAllDocumentsMatchingQuery$2 (SQLiteRemoteDocumentCache.java)
  at com.google.firebase.firestore.local.LocalStore.acknowledgeBatch (LocalStore.java)
  or                     .allocateQuery (LocalStore.java)
  or                     .applyRemoteEvent (LocalStore.java)
  or                     .collectGarbage (LocalStore.java)
  or                     .getLastRemoteSnapshotVersion (LocalStore.java)
  or                     .getNextMutationBatch (LocalStore.java)
  or                     .handleUserChange (LocalStore.java)
  or                     .lambda$acknowledgeBatch$2 (LocalStore.java)
  or                     .lambda$allocateQuery$7 (LocalStore.java)
  or                     .lambda$applyRemoteEvent$5 (LocalStore.java)
  or                     .lambda$collectGarbage$9 (LocalStore.java)
  or                     .lambda$notifyLocalViewChanges$6 (LocalStore.java)
  or                     .lambda$rejectBatch$3 (LocalStore.java)
  or                     .lambda$releaseQuery$8 (LocalStore.java)
  or                     .lambda$setLastStreamToken$4 (LocalStore.java)
  or                     .lambda$startMutationQueue$0 (LocalStore.java)
  or                     .lambda$writeLocally$1 (LocalStore.java)
  or                     .notifyLocalViewChanges (LocalStore.java)
  or                     .readDocument (LocalStore.java)
  or                     .setLastStreamToken (LocalStore.java)
  or                     .shouldPersistQueryData (LocalStore.java)

This makes it hard to construct a thesis for the failure. At this point the best lead is try to reproduce the many query.gets very quickly approach. I'll report back when I have something working.

creativecreatorormaybenot commented 5 years ago

@wilhuff Thanks for that. For me the problem is that I cannot reproduce it myself, i.e. it seems to only happen on specific devices, which I do not have access to.

creativecreatorormaybenot commented 5 years ago

@wilhuff I have two new stack traces. They are very similar to the ones that I already shared, but it might help I suppose..

android.database.CursorWindowAllocationException in android.database.CursorWindow.<init>

android.database.CursorWindowAllocationExceptionin in io.grpc.ForwardingClientCallListener.onClose

creativecreatorormaybenot commented 5 years ago

@wilhuff I was able to gather some information from a different user (the new stack traces I shared belong to that device) and I found out the following things:

At this point the best lead is try to reproduce the many query.gets very quickly approach. I'll report back when I have something working.

Considering what I found out now, I am not sure if this approach will yield anything. The problem here is that I can only work off user reports, which sometimes might bring fallacies to the table..

wilhuff commented 5 years ago

Yeah, I haven't been able to reproduce by just running tons of queries. It does seem like there's some component of this that's dependent on what data is actually returned. In #382 @var-const tried a bunch of variations on document sizes and quantities with randomly generated data but couldn't reproduce either. It seems like to follow this track we'll need more data about what sorts of documents might be causing problems. Do you have any indication from your reports as to what operations you're attempting to perform?

You can enable debug logging in Firestore, in which case we'll log a lot of information about what we were trying to do, but this is a lot of information to dump in the log which I wouldn't recommend doing by default in your app that you're distributing. An alternative might be to log which queries you're running before you run them.

Another track to follow is to see if there's any device/version/configuration in common. From the reports you have, does there seem to be any pattern to the kinds of devices that are affected? In particular, CursorWindowAllocationException normally indicates that there just wasn't enough memory available to perform the allocation. Are the devices reporting the issue reporting low memory at all?

creativecreatorormaybenot commented 5 years ago

@wilhuff RAM on the devices is between 1.5 and 2 GB.

I tried to replicate the request the user was performing myself with logging enabled and here are the debug logs. Note that I "censored" user data, but I did it in a consistent manner, i.e. document_b is the same original document everywhere.

creativecreatorormaybenot commented 5 years ago

@wilhuff Any updates on this, did my debug logs help?

I have some more insights, but they would only be that this is definitely an issue for specific devices. It seems (from user reports, what they remember might be skewed) that it does not matter what the user is currently doing in the app, it happens regularly on the devices I named previously - in all kinds of scenarios, not only the one I shared in my previous comment, however, it never happens on any other devices (there might be other devices it would happen on, but just including the devices that my app has been used on).

var-const commented 5 years ago

@creativecreatorormaybenot We'll try to get a hold of one of the devices you listed and see if it helps reproducing the issue.

var-const commented 5 years ago

@creativecreatorormaybenot IIUC, the devices in question are:

Is this correct? Have I missed any?

creativecreatorormaybenot commented 5 years ago

@var-const You have not missed any. I really hope that this is reproducible with any Firestore setup.

rsgowman commented 5 years ago

The problem might be that try-with-resources and https://developer.android.com/reference/java/lang/AutoCloseable requires API level 19, whereas Firestore currently requires a minSdk of 14. @creativecreatorormaybenot, what's your app's minSdk setting?

Regardless, I'll see about eliminating our try-with-resource usage, since I think that may cause problems at least some of the time.

rsgowman commented 5 years ago

The problem might be that try-with-resources

As discussed on #741, this is likely not the problem. :(

creativecreatorormaybenot commented 5 years ago

@rsgowman Minimum SDK requirement for my project is 16. It seems like this might be redundant now, but I just added it to be sure.

Also, it is important to note that this crash does not occur at the start or when the first Firestore action happens. I can confirm that this crash happened after data had already been fetched successfully earlier.

creativecreatorormaybenot commented 5 years ago

I have a few new ones again, so I created a collection that I will update in the future if I encounter new stack traces of this crash.

I named the files by the device and Android version the crash occured on: https://gist.github.com/creativecreatorormaybenot/1ebbd1825ad8b769967628677bff459a

These are some of the crashes that I saw in the Goolge Play Console, however, I could also try to get some more data from Crashlytics if that helps.

mikelehen commented 5 years ago

Just to update the state of this on our end, @var-const actually spent a bunch more time trying to reproduce this using an Android emulator with 128MB of RAM (the lowest amount Android Studio would allow) and API 23 (which is the API level on one of the two devices reported to have this error). He tried various operations:

So we're basically stuck unless somebody can provide us a working repro. Sorry.

creativecreatorormaybenot commented 5 years ago

@mikelehen

Android emulator with 128MB of RAM (the lowest amount Android Studio would allow) and API 23 (which is the API level on one of the two devices reported to have this error)

https://www.gsmarena.com/samsung_galaxy_j3_emerge-8486.php user told me they have 300 MB RAM available and it should be API 24. As I said, this seems to be a device specific issue (in addition to the obvious memory problems).

  • writing many batches of ~1MB documents;
  • reading a collection with a huge number of small documents;
    • reading a lot of documents with small fields that add up to ~1MB per document;
  • reading a lot of documents with a single string field that is ~1MB.
  • But unfortunately was unable to reproduce the issue.

I opened this as a Flutter issue initially and the problem might be connected to the fact that the app is accessing the Cloud Firestore Android API via Flutter.
Specifically, the app awaits many document gets at the same time and has many active snapchot listeners (peak for any device according to the Firebase Console is 17, but the crash certainly happens with less). The way these are added is potentially different in the Flutter API, or the way threads are handled in the Java code because Dart does not use threads.
It is also important to note that I am doing some memory intensive stuff alongside loading the documents, e.g. spinning up Isolates and loading data from storage or Firebase Storage into memory.

I can try to create an APK using Flutter that does these actions simultaneosly if you think this could help.

Another suggestion: Would it help you if the user that has this problem in my app would somehow debug this (by sending them an APK or something)?

mikelehen commented 5 years ago

@creativecreatorormaybenot Thanks for the added info. I'll check with the team to see if we think there's something we could put into a debug APK that would help us. In the meantime, would it be possible for you to (as a test) remove the memory intensive stuff you are doing and see if that helps for this user? That could be a big clue.

creativecreatorormaybenot commented 5 years ago

@mikebonnell

I was able to do it fairly quickly, which is awesome and the result was that the user did not see any of the crashing. I will quickly mention all the differences:

That would be it I think. So again, this crash happened for only a few percent of the users (maybe even less), but for those it persists, i.e. it happens all the time they try to scroll in the app (which triggers pagination and loading documents + doing the other image download and conversion stuff).

mikelehen commented 5 years ago

@creativecreatorormaybenot Very interesting! I hate to say this, but it's starting to seem possible that Firestore isn't really to blame for the crash. It may just be the symptom that shows up first when memory usage gets too high (e.g. once the JVM allocates too much memory, then SQLite's native memory allocations start failing causing the Firestore crash)... It might be useful for you to play around with Android Studio's memory profiler tools (https://developer.android.com/studio/profile/memory-profiler). Perhaps Flutter Isolate or Firebase Storage is leaking memory or using an inordinate amount for some reason? If you can optimize the memory usage somehow, perhaps the Firestore crashes will go away.

keremcankabadayi commented 4 years ago

Check this out!

evelant commented 4 years ago

I'm seeing this happen on my react-native project using react-native-firebase. It seems to happen primarily on Samsung devices (94% of 50 occurrences). None of the devices with this crash had full ram, they all had 300+mb free and were at or below 85% usage. I don't have r8 enabled. I can't reliably reproduce this, it only seems to happen in production. This is a tough one!

mdietrichstein commented 4 years ago

We stumbled across the exact same problem in our native Android app. Our device is a Galaxy Grand Prime Pro, running Android 7.1.

RAM free: 433.46 MB
Disk free: 770.34 MB 

Our logs may provide an indication of the cause though. Shortly before the android.database.CursorWindowAllocationException occurred, another exception was logged in our app:

java.io.FileNotFoundException: <SOME_FILE> (Too many open files) at 
java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init
(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:169) at
....

Maybe Firebase can't open it's db file because of an Too many open files issue...

evelant commented 4 years ago

This one still plagues us. Mostly Samsung devices. Crashing when saving a doc to firestore with an OOM even though devices always seem to have 400+mb RAM free.

(Console Logs) 03-09 18:51:41.935  I/art     (27293): Background sticky concurrent mark sweep GC freed 80554(4MB) AllocSpace objects, 34(6MB) LOS objects, 17% free, 48MB/58MB, paused 32.591ms total 160.305ms
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048cb
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048c5
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048cd
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048bf
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048c1
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048ad
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048a3
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048a5
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048a7
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004899
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000488f
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000489b
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048b7
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x000048b9
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000487d
(Console Logs) 03-09 18:51:40.935  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004873
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004875
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004879
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004869
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000485f
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000486b
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004887
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004889
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000484d
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004843
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004847
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004849
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004839
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000482f
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000483d
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004857
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000485b
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000481f
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004815
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004817
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004819
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000480b
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004801
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000480d
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004829
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000482b
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047ef
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047e5
(Console Logs) 03-09 18:51:40.925  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047e7
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047e9
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047db
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047d1
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047dd
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047f9
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047fb
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047bf
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047b5
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047b7
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047bb
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047ab
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047a1
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047ad
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047c9
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x000047cb
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000478f
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004785
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004789
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000478b
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000477b
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004771
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000477f
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004799
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000479d
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004761
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004757
(Console Logs) 03-09 18:51:40.915  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004759
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000475b
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000474d
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004743
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000474f
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000476b
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000476d
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004731
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000472b
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004721
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004725
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004727
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004717
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000470d
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000471b
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000473b
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000473d
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046cd
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046d1
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046c5
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046c3
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046c1
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046c7
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046b9
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046bd
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046d5
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046d9
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046db
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000046df
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000287
(Console Logs) 03-09 18:51:40.905  W/ResourceType(27293): No package identifier when getting name for resource number 0x000002b7
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c27
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c2b
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c1b
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c17
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c13
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c21
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c0d
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c31
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004bff
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c03
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c09
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004d29
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004d23
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004d1f
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004d19
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004d17
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004d11
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004d2d
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c63
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c67
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c6b
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c6d
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c6f
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c71
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c75
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c77
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c79
(Console Logs) 03-09 18:51:40.895  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c7b
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c7f
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c81
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c43
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c47
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c49
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c4d
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c4f
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c51
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c53
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c57
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c59
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c5b
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c5d
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c61
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c3f
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c83
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c85
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00004c33
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000061
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000005f
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000005d
(Console Logs) 03-09 18:51:40.885  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000057
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000041
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000043
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000003f
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000039
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000045
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000002b
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000002d
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000027
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000002f
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000004d
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x0000004f
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000053
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000055
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x00000023
(Console Logs) 03-09 18:51:40.875  W/ResourceType(27293): No package identifier when getting name for resource number 0x000002b9
(Console Logs) 03-09 18:51:40.865  I/art     (27293): Alloc partial concurrent mark sweep GC freed 44772(7MB) AllocSpace objects, 0(0B) LOS objects, 27% free, 42MB/58MB, paused 33.632ms total 224.555ms
(Console Logs) 03-09 18:51:40.645  I/art     (27293): Starting a blocking GC Alloc
(Console Logs) 03-09 18:51:40.645  I/art     (27293): WaitForGcToComplete blocked for 201.644ms for cause Alloc
(Console Logs) 03-09 18:51:40.645  I/art     (27293): Background partial concurrent mark sweep GC freed 99865(6MB) AllocSpace objects, 8(17MB) LOS objects, 24% free, 49MB/65MB, paused 36.747ms total 2.918s
(Console Logs) 03-09 18:51:40.445  I/art     (27293): Waiting for a blocking GC Alloc
(Console Logs) 03-09 18:51:40.435  W/art     (27293): Large object allocation failed: Failed anonymous mmap(0x0, 3690496, 0x3, 0x2, 55, 0): Out of memory. See process maps in the log.
(Console Logs) 03-09 18:51:40.435  W/art     (27293): ffff0000-ffff1000 r-xp 00000000 00:00 0          [vectors]
(Console Logs) 03-09 18:51:40.435  W/art     (27293): befed000-befee000 r-xp 00000000 00:00 0          [sigpage]
(Console Logs) 03-09 18:51:40.435  W/art     (27293): be7de000-befdd000 rw-p 00000000 00:00 0          [stack]
(Console Logs) 03-09 18:51:40.435  W/art     (27293): be7dd000-be7de000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): be7dd000-be7dd000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): be39a000-be71f000 rw-p 00000000 00:01 619679     /dev/ashmem/dalvik-large object space allocation_27293_31508 (deleted)
(Console Logs) 03-09 18:51:40.435  W/art     (27293): be297000-be39a000 rw-p 00000000 00:00 0          [stack:31507]
(Console Logs) 03-09 18:51:40.435  W/art     (27293): be296000-be297000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): be295000-be296000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bdf10000-be295000 rw-p 00000000 00:01 619599     /dev/ashmem/dalvik-large object space allocation_27293_31333 (deleted)
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bdb85000-bdf0a000 rw-p 00000000 00:01 619705     /dev/ashmem/dalvik-large object space allocation_27293_31508 (deleted)
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd800000-bdb85000 rw-p 00000000 00:01 619652     /dev/ashmem/dalvik-large object space allocation_27293_31333 (deleted)
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd7ca000-bd800000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd702000-bd7ca000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd700000-bd702000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd681000-bd700000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd600000-bd681000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd40c000-bd50f000 rw-p 00000000 00:00 0          [stack:31502]
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd40a000-bd40c000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd307000-bd40a000 rw-p 00000000 00:00 0          [stack:31501]
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd305000-bd307000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd202000-bd305000 rw-p 00000000 00:00 0          [stack:31500]
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd200000-bd202000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd181000-bd200000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bd100000-bd181000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bcff9000-bd0fc000 rw-p 00000000 00:00 0          [stack:31383]
(Console Logs) 03-09 18:51:40.435  W/art     (27293): bcff8000-bcff9000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bcff7000-bcff8000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bce96000-bcf99000 rw-p 00000000 00:00 0          [stack:31493]
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bce94000-bce96000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bcd91000-bce94000 rw-p 00000000 00:00 0          [stack:31491]
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bcd90000-bcd91000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bcd8f000-bcd90000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bca0a000-bcd8f000 rw-p 00000000 00:01 620557     /dev/ashmem/dalvik-large object space allocation_27293_31508 (deleted)
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc907000-bca0a000 rw-p 00000000 00:00 0          [stack:31488]
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc905000-bc907000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc802000-bc905000 rw-p 00000000 00:00 0          [stack:31489]
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc801000-bc802000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc800000-bc801000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc781000-bc800000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc700000-bc781000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc5a6000-bc6a9000 rw-p 00000000 00:00 0          [stack:31380]
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc5a5000-bc5a6000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc5a4000-bc5a5000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc3a6000-bc4a9000 rw-p 00000000 00:00 0          [stack:31381]
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc3a5000-bc3a6000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc3a4000-bc3a5000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc1b5000-bc2b8000 rw-p 00000000 00:00 0          [stack:31426]
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc1b4000-bc1b5000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc1b3000-bc1b4000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc002000-bc105000 rw-p 00000000 00:00 0          [stack:31520]
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bc000000-bc002000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bbf81000-bc000000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bbf00000-bbf81000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bbd2b000-bbe2e000 rw-p 00000000 00:00 0          [stack:31421]
(Console Logs) 03-09 18:51:40.425  W/art     (27293): bbd29000-bbd2b000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bbc26000-bbd29000 rw-p 00000000 00:00 0          [stack:31420]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bbc24000-bbc26000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bbb21000-bbc24000 rw-p 00000000 00:00 0          [stack:31378]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bbb20000-bbb21000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bbb1f000-bbb20000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb9a6000-bbaa9000 rw-p 00000000 00:00 0          [stack:31484]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb9a4000-bb9a6000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb8a1000-bb9a4000 rw-p 00000000 00:00 0          [stack:31472]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb89f000-bb8a1000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb79c000-bb89f000 rw-p 00000000 00:00 0          [stack:31450]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb79b000-bb79c000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb79a000-bb79b000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb681000-bb700000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb600000-bb681000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb417000-bb51a000 rw-p 00000000 00:00 0          [stack:31485]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb415000-bb417000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb312000-bb415000 rw-p 00000000 00:00 0          [stack:31346]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb310000-bb312000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb20d000-bb310000 rw-p 00000000 00:00 0          [stack:31345]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb20c000-bb20d000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb20b000-bb20c000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb091000-bb194000 rw-p 00000000 00:00 0          [stack:31377]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb090000-bb091000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): bb08f000-bb090000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.415  W/art     (27293): baf16000-bb019000 rw-p 00000000 00:00 0          [stack:31401]
(Console Logs) 03-09 18:51:40.415  W/art     (27293): baf14000-baf16000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): bae11000-baf14000 rw-p 00000000 00:00 0          [stack:31387]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): bae0f000-bae11000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): bad0c000-bae0f000 rw-p 00000000 00:00 0          [stack:31384]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): bad0a000-bad0c000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): bac07000-bad0a000 rw-p 00000000 00:00 0          [stack:31362]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): bac05000-bac07000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): bab02000-bac05000 rw-p 00000000 00:00 0          [stack:31350]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): bab00000-bab02000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): baa81000-bab00000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): baa00000-baa81000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba7d9000-ba8dc000 rw-p 00000000 00:00 0          [stack:31514]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba7d7000-ba7d9000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba6d4000-ba7d7000 rw-p 00000000 00:00 0          [stack:31361]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba6d2000-ba6d4000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba5cf000-ba6d2000 rw-p 00000000 00:00 0          [stack:31272]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba5ce000-ba5cf000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba5cd000-ba5ce000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba4ca000-ba5cd000 rw-p 00000000 00:00 0          [stack:31358]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba4c8000-ba4ca000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba3c5000-ba4c8000 rw-p 00000000 00:00 0          [stack:31357]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba3c4000-ba3c5000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba3c3000-ba3c4000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba202000-ba305000 rw-p 00000000 00:00 0          [stack:31374]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba200000-ba202000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba181000-ba200000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): ba100000-ba181000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): b9f0c000-ba00f000 rw-p 00000000 00:00 0          [stack:31329]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): b9f0a000-b9f0c000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.405  W/art     (27293): b9e07000-b9f0a000 rw-p 00000000 00:00 0          [stack:31328]
(Console Logs) 03-09 18:51:40.405  W/art     (27293): b9e05000-b9e07000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9d02000-b9e05000 rw-p 00000000 00:00 0          [stack:31318]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9d00000-b9d02000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9c81000-b9d00000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9c00000-b9c81000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9a44000-b9b47000 rw-p 00000000 00:00 0          [stack:31236]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9a43000-b9a44000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9a42000-b9a43000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9883000-b9986000 rw-p 00000000 00:00 0          [stack:31262]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9882000-b9883000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9881000-b9882000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b96bf000-b97c2000 rw-p 00000000 00:00 0          [stack:31283]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b96be000-b96bf000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b96bd000-b96be000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b953a000-b963d000 rw-p 00000000 00:00 0          [stack:31302]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9539000-b953a000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9538000-b9539000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b933a000-b943d000 rw-p 00000000 00:00 0          [stack:31307]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9338000-b933a000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9235000-b9338000 rw-p 00000000 00:00 0          [stack:31171]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9234000-b9235000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b9233000-b9234000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b90ba000-b91bd000 rw-p 00000000 00:00 0          [stack:31304]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b90b8000-b90ba000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b8fb5000-b90b8000 rw-p 00000000 00:00 0          [stack:31293]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b8fb3000-b8fb5000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b8eb0000-b8fb3000 rw-p 00000000 00:00 0          [stack:31291]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b8eae000-b8eb0000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b8dab000-b8eae000 rw-p 00000000 00:00 0          [stack:31164]
(Console Logs) 03-09 18:51:40.395  W/art     (27293): b8daa000-b8dab000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8da9000-b8daa000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8c30000-b8d33000 rw-p 00000000 00:00 0          [stack:31282]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8c2e000-b8c30000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8b2b000-b8c2e000 rw-p 00000000 00:00 0          [stack:31274]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8b29000-b8b2b000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8a26000-b8b29000 rw-p 00000000 00:00 0          [stack:31261]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8a24000-b8a26000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8921000-b8a24000 rw-p 00000000 00:00 0          [stack:31163]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8920000-b8921000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b891f000-b8920000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b87a6000-b88a9000 rw-p 00000000 00:00 0          [stack:31240]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b87a4000-b87a6000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b86a1000-b87a4000 rw-p 00000000 00:00 0          [stack:31239]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b869f000-b86a1000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b859c000-b869f000 rw-p 00000000 00:00 0          [stack:31238]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b859a000-b859c000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8497000-b859a000 rw-p 00000000 00:00 0          [stack:31161]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8496000-b8497000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8495000-b8496000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b82bb000-b83be000 rw-p 00000000 00:00 0          [stack:31235]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b82ba000-b82bb000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b82b9000-b82ba000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b8150000-b82b9000 rw-p 00000000 00:01 616737     /dev/ashmem/dalvik-large object space allocation_27293_27559 (deleted)
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b78c8000-b8150000 rw-p 00000000 00:01 614862     /dev/ashmem/dalvik-large object space allocation_27293_27552 (deleted)
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b77c5000-b78c8000 rw-p 00000000 00:00 0          [stack:31202]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b77c4000-b77c5000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b77c3000-b77c4000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b7602000-b7705000 rw-p 00000000 00:00 0          [stack:31234]
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b7600000-b7602000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.385  W/art     (27293): b75e3000-b7600000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b75e2000-b75e3000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b75dd000-b75e2000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b75dc000-b75dd000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b75d5000-b75dc000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b75d4000-b75d5000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b7559000-b75d4000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b7558000-b7559000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b7514000-b7558000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b7513000-b7514000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b7500000-b7513000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b736d000-b7470000 rw-p 00000000 00:00 0          [stack:31214]
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b736b000-b736d000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b7268000-b736b000 rw-p 00000000 00:00 0          [stack:31210]
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b7267000-b7268000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b7266000-b7267000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b70a5000-b71a8000 rw-p 00000000 00:00 0          [stack:31213]
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b70a3000-b70a5000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6fa0000-b70a3000 rw-p 00000000 00:00 0          [stack:31111]
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f9f000-b6fa0000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f9e000-b6f9f000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f9c000-b6f9e000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f9a000-b6f9c000 rw-p 0001d000 103:0d 818       /system/bin/linker
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f99000-b6f9a000 r--p 0001c000 103:0d 818       /system/bin/linker
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f98000-b6f99000 r--p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f7c000-b6f98000 r-xp 00000000 103:0d 818       /system/bin/linker
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f7a000-b6f7c000 rw-p 00000000 00:00 0          [anon:thread signal stack]
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f79000-b6f7a000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f49000-b6f79000 r--s 00000000 00:0d 10929      /dev/__properties__
(Console Logs) 03-09 18:51:40.375  W/art     (27293): b6f48000-b6f49000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f47000-b6f48000 rw-p 00000000 00:00 0          [anon:linker_alloc_32]
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f46000-b6f47000 rw-p 00000000 00:00 0          [anon:linker_alloc_vector]
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f45000-b6f46000 rw-p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f44000-b6f45000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f43000-b6f44000 rw-p 00000000 00:00 0          [anon:linker_alloc_64]
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f42000-b6f43000 rw-p 00000000 00:00 0          [anon:linker_alloc_vector]
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f41000-b6f42000 rw-p 0000f000 103:0d 2303      /system/lib/libcutils.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f40000-b6f41000 r--p 0000e000 103:0d 2303      /system/lib/libcutils.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f31000-b6f40000 r-xp 00000000 103:0d 2303      /system/lib/libcutils.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f30000-b6f31000 rw-p 00019000 103:0d 2663      /system/lib/libutils.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f2f000-b6f30000 r--p 00018000 103:0d 2663      /system/lib/libutils.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f2e000-b6f2f000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f16000-b6f2e000 r-xp 00000000 103:0d 2663      /system/lib/libutils.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f15000-b6f16000 rw-p 00008000 103:0d 2419      /system/lib/liblog.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f14000-b6f15000 r--p 00007000 103:0d 2419      /system/lib/liblog.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f13000-b6f14000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f0c000-b6f13000 r-xp 00000000 103:0d 2419      /system/lib/liblog.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f0b000-b6f0c000 rw-p 0002c000 103:0d 2271      /system/lib/libbinder.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f04000-b6f0b000 r--p 00025000 103:0d 2271      /system/lib/libbinder.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6f03000-b6f04000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6ede000-b6f03000 r-xp 00000000 103:0d 2271      /system/lib/libbinder.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6eda000-b6ede000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6ed9000-b6eda000 rw-p 00000000 00:00 0          [anon:linker_alloc_vector]
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6ed8000-b6ed9000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6ed0000-b6ed8000 rw-p 000dd000 103:0d 2210      /system/lib/libandroid_runtime.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6ec9000-b6ed0000 r--p 000d6000 103:0d 2210      /system/lib/libandroid_runtime.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6df2000-b6ec9000 r-xp 00000000 103:0d 2210      /system/lib/libandroid_runtime.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6df1000-b6df2000 rw-p 0002c000 103:0d 2672      /system/lib/libwilhelm.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6dee000-b6df1000 r--p 00029000 103:0d 2672      /system/lib/libwilhelm.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6dc4000-b6dee000 r-xp 00000000 103:0d 2672      /system/lib/libwilhelm.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6dc3000-b6dc4000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6dc2000-b6dc3000 rw-p 0008c000 103:0d 2282      /system/lib/libc++.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6dbe000-b6dc2000 r--p 00088000 103:0d 2282      /system/lib/libc++.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6d35000-b6dbe000 r-xp 00000000 103:0d 2282      /system/lib/libc++.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6d2c000-b6d35000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6d29000-b6d2c000 rw-p 0005e000 103:0d 2283      /system/lib/libc.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6d26000-b6d29000 r--p 0005b000 103:0d 2283      /system/lib/libc.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6cca000-b6d26000 r-xp 00000000 103:0d 2283      /system/lib/libc.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6cc9000-b6cca000 rw-p 00020000 103:0d 2421      /system/lib/libm.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6cc8000-b6cc9000 r--p 0001f000 103:0d 2421      /system/lib/libm.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6cc7000-b6cc8000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6ca8000-b6cc7000 r-xp 00000000 103:0d 2421      /system/lib/libm.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6ca7000-b6ca8000 rw-p 00009000 103:0d 2267      /system/lib/libbacktrace.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6ca6000-b6ca7000 r--p 00008000 103:0d 2267      /system/lib/libbacktrace.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c9d000-b6ca6000 r-xp 00000000 103:0d 2267      /system/lib/libbacktrace.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c9c000-b6c9d000 rw-p 00003000 103:0d 2435      /system/lib/libmemtrack.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c9b000-b6c9c000 r--p 00002000 103:0d 2435      /system/lib/libmemtrack.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c98000-b6c9b000 r-xp 00000000 103:0d 2435      /system/lib/libmemtrack.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c97000-b6c98000 rw-p 00029000 103:0d 2190      /system/lib/libandroidfw.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c95000-b6c97000 r--p 00027000 103:0d 2190      /system/lib/libandroidfw.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c6d000-b6c95000 r-xp 00000000 103:0d 2190      /system/lib/libandroidfw.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c6c000-b6c6d000 rw-p 00015000 103:0d 2355      /system/lib/libexpat.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c6a000-b6c6c000 r--p 00013000 103:0d 2355      /system/lib/libexpat.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c56000-b6c6a000 r-xp 00000000 103:0d 2355      /system/lib/libexpat.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c55000-b6c56000 rw-p 00007000 103:0d 2456      /system/lib/libnativehelper.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c54000-b6c55000 r--p 00006000 103:0d 2456      /system/lib/libnativehelper.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c4d000-b6c54000 r-xp 00000000 103:0d 2456      /system/lib/libnativehelper.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c4c000-b6c4d000 rw-p 00009000 103:0d 2454      /system/lib/libnetutils.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c4b000-b6c4c000 r--p 00008000 103:0d 2454      /system/lib/libnetutils.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c4a000-b6c4b000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c42000-b6c4a000 r-xp 00000000 103:0d 2454      /system/lib/libnetutils.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c41000-b6c42000 rw-p 0000e000 103:0d 2700      /system/lib/libui.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c40000-b6c41000 r--p 0000d000 103:0d 2700      /system/lib/libui.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c3f000-b6c40000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c32000-b6c3f000 r-xp 00000000 103:0d 2700      /system/lib/libui.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c31000-b6c32000 rw-p 0005a000 103:0d 2377      /system/lib/libgui.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c25000-b6c31000 r--p 0004e000 103:0d 2377      /system/lib/libgui.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6c24000-b6c25000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6bd6000-b6c24000 r-xp 00000000 103:0d 2377      /system/lib/libgui.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6bd5000-b6bd6000 rw-p 0001f000 103:0d 2390      /system/lib/libinput.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6bd1000-b6bd5000 r--p 0001b000 103:0d 2390      /system/lib/libinput.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6bd0000-b6bd1000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6bb5000-b6bd0000 r-xp 00000000 103:0d 2390      /system/lib/libinput.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6bb4000-b6bb5000 rw-p 00049000 103:0d 2376      /system/lib/libinputflinger.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6bb1000-b6bb4000 r--p 00046000 103:0d 2376      /system/lib/libinputflinger.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6bb0000-b6bb1000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6b6a000-b6bb0000 r-xp 00000000 103:0d 2376      /system/lib/libinputflinger.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6b69000-b6b6a000 rw-p 00038000 103:0d 2285      /system/lib/libcamera_client.so
(Console Logs) 03-09 18:51:40.365  W/art     (27293): b6b62000-b6b69000 r--p 00031000 103:0d 2285      /system/lib/libcamera_client.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6b61000-b6b62000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6b30000-b6b61000 r-xp 00000000 103:0d 2285      /system/lib/libcamera_client.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6b2f000-b6b30000 rw-p 00009000 103:0d 2264      /system/lib/libcamera_metadata.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6b2e000-b6b2f000 r--p 00008000 103:0d 2264      /system/lib/libcamera_metadata.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): 0 103:0d 2264      /system/lib/libcamera_metadata.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6b25000-b6b2e000 r-xp 0000000
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6b20000-b6b25000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6b1a000-b6b20000 rw-p 003ec000 103:0d 2562      /system/lib/libskia.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6aff000-b6b1a000 r--p 003d1000 103:0d 2562      /system/lib/libskia.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6afe000-b6aff000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): a.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b672d000-b6afe000 r-xp 00000000 103:0d 2562      /system/lib/libski
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b672c000-b672d000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b672b000-b672c000 rw-p 00092000 103:0d 2626      /system/lib/libsqlite.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6729000-b672b000 r--p 00090000 103:0d 2626      /system/lib/libsqlite.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6698000-b6729000 r-xp 00000000 103:0d 2626      /system/lib/libsqlite.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6695000-b6698000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b668c000-b6695000 rw-p 00068000 103:0d 2161      /system/lib/libEGL.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b668a000-b668c000 r--p 00066000 103:0d 2161      /system/lib/libEGL.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6689000-b668a000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6623000-b6689000 r-xp 00000000 103:0d 2161      /system/lib/libEGL.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6622000-b6623000 rw-p 0000a000 103:0d 2146      /system/lib/libGLESv1_CM.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6621000-b6622000 r--p 00009000 103:0d 2146      /system/lib/libGLESv1_CM.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6617000-b6621000 r-xp 00000000 103:0d 2146      /system/lib/libGLESv1_CM.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6616000-b6617000 rw-p 00010000 103:0d 2166      /system/lib/libGLESv2.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6615000-b6616000 r--p 0000f000 103:0d 2166      /system/lib/libGLESv2.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6605000-b6615000 r-xp 00000000 103:0d 2166      /system/lib/libGLESv2.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6604000-b6605000 rw-p 00004000 103:0d 2162      /system/lib/libETC1.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6603000-b6604000 r--p 00003000 103:0d 2162      /system/lib/libETC1.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65ff000-b6603000 r-xp 00000000 103:0d 2162      /system/lib/libETC1.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65fe000-b65ff000 rw-p 00003000 103:0d 2378      /system/lib/libhardware.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65fd000-b65fe000 r--p 00002000 103:0d 2378      /system/lib/libhardware.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65fa000-b65fd000 r-xp 00000000 103:0d 2378      /system/lib/libhardware.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65f9000-b65fa000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65f8000-b65f9000 rw-p 00007000 103:0d 2379      /system/lib/libhardware_legacy.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): 00006000 103:0d 2379      /system/lib/libhardware_legacy.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65f7000-b65f8000 r--p 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65f0000-b65f7000 r-xp 00000000 103:0d 2379      /system/lib/libhardware_legacy.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65ef000-b65f0000 rw-p 00013000 103:0d 2566      /system/lib/libselinux.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65ee000-b65ef000 r--p 00012000 103:0d 2566      /system/lib/libselinux.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): elinux.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65db000-b65ee000 r-xp 00000000 103:0d 2566      /system/lib/libs
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65d6000-b65db000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65d5000-b65d6000 rw-p 00053000 103:0d 2436      /system/lib/libsonivox.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65d4000-b65d5000 r--p 00052000 103:0d 2436      /system/lib/libsonivox.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b65d3000-b65d4000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6581000-b65d3000 r-xp 00000000 103:0d 2436      /system/lib/libsonivox.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b657f000-b6581000 rw-p 000b8000 103:0d 2301      /system/lib/libcrypto.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6572000-b657f000 r--p 000ab000 103:0d 2301      /system/lib/libcrypto.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6571000-b6572000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b64c6000-b6571000 r-xp 00000000 103:0d 2301      /system/lib/libcrypto.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b64c5000-b64c6000 rw-p 00025000 103:0d 2633      /system/lib/libssl.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b64c3000-b64c5000 r--p 00023000 103:0d 2633      /system/lib/libssl.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b649f000-b64c3000 r-xp 00000000 103:0d 2633      /system/lib/libssl.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b649b000-b649f000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b649a000-b649b000 rw-p 00119000 103:0d 2387      /system/lib/libicuuc.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b648f000-b649a000 r--p 0010e000 103:0d 2387      /system/lib/libicuuc.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6380000-b648f000 r-xp 00000000 103:0d 2387      /system/lib/libicuuc.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b637f000-b6380000 rw-p 00170000 103:0d 2386      /system/lib/libicui18n.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6374000-b637f000 r--p 00165000 103:0d 2386      /system/lib/libicui18n.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6373000-b6374000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b620e000-b6373000 r-xp 00000000 103:0d 2386      /system/lib/libicui18n.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b620d000-b620e000 rw-p 000bd000 103:0d 2121      /system/lib/libmedia.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b61ef000-b620d000 r--p 0009f000 103:0d 2121      /system/lib/libmedia.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b61ee000-b61ef000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b614f000-b61ee000 r-xp 00000000 103:0d 2121      /system/lib/libmedia.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b614e000-b614f000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b614d000-b614e000 rw-p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b614c000-b614d000 rw-p 00036000 103:0d 2399      /system/lib/libjpeg.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b614b000-b614c000 r--p 00035000 103:0d 2399      /system/lib/libjpeg.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6115000-b614b000 r-xp 00000000 103:0d 2399      /system/lib/libjpeg.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6114000-b6115000 rw-p 00005000 103:0d 2704      /system/lib/libusbhost.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6113000-b6114000 r--p 00004000 103:0d 2704      /system/lib/libusbhost.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b610e000-b6113000 r-xp 00000000 103:0d 2704      /system/lib/libusbhost.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b610d000-b610e000 rw-p 0004a000 103:0d 2380      /system/lib/libharfbuzz_ng.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b610c000-b610d000 r--p 00049000 103:0d 2380      /system/lib/libharfbuzz_ng.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b610b000-b610c000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b60c2000-b610b000 r-xp 00000000 103:0d 2380      /system/lib/libharfbuzz_ng.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b60c1000-b60c2000 rw-p 0001a000 103:0d 2719      /system/lib/libz.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b60c0000-b60c1000 r--p 00019000 103:0d 2719      /system/lib/libz.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b60a6000-b60c0000 r-xp 00000000 103:0d 2719      /system/lib/libz.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b60a5000-b60a6000 rw-p 00007000 103:0d 2266      /system/lib/libaudioutils.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b60a4000-b60a5000 r--p 00006000 103:0d 2266      /system/lib/libaudioutils.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b609d000-b60a4000 r-xp 00000000 103:0d 2266      /system/lib/libaudioutils.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b609c000-b609d000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b6098000-b609c000 rw-p 00407000 103:0d 2468      /system/lib/libpdfium.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b608f000-b6098000 r--p 003fe000 103:0d 2468      /system/lib/libpdfium.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b608e000-b608f000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c90000-b608e000 r-xp 00000000 103:0d 2468      /system/lib/libpdfium.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c8f000-b5c90000 rw-p 0000e000 103:0d 2389      /system/lib/libimg_utils.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c8d000-b5c8f000 r--p 0000c000 103:0d 2389      /system/lib/libimg_utils.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c80000-b5c8d000 r-xp 00000000 103:0d 2389      /system/lib/libimg_utils.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c7f000-b5c80000 rw-p 00004000 103:0d 2459      /system/lib/libnetd_client.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c7e000-b5c7f000 r--p 00003000 103:0d 2459      /system/lib/libnetd_client.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c7a000-b5c7e000 r-xp 00000000 103:0d 2459      /system/lib/libnetd_client.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c79000-b5c7a000 rw-p 0000c000 103:0d 2498      /system/lib/libradio.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c76000-b5c79000 r--p 00009000 103:0d 2498      /system/lib/libradio.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c6c000-b5c76000 r-xp 00000000 103:0d 2498      /system/lib/libradio.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c6b000-b5c6c000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c6a000-b5c6b000 rw-p 0000c000 103:0d 2625      /system/lib/libsoundtrigger.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c67000-b5c6a000 r--p 00009000 103:0d 2625      /system/lib/libsoundtrigger.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c5d000-b5c67000 r-xp 00000000 103:0d 2625      /system/lib/libsoundtrigger.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c5c000-b5c5d000 rw-p 0000f000 103:0d 2432      /system/lib/libminikin.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c5b000-b5c5c000 r--p 0000e000 103:0d 2432      /system/lib/libminikin.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c5a000-b5c5b000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c4c000-b5c5a000 r-xp 00000000 103:0d 2432      /system/lib/libminikin.so
(Console Logs) 03-09 18:51:40.355  W/art     (27293): b5c4b000-b5c4c000 rw-p 00004000 103:0d 2482      /system/lib/libprocessgroup.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c4a000-b5c4b000 r--p 00003000 103:0d 2482      /system/lib/libprocessgroup.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c46000-b5c4a000 r-xp 00000000 103:0d 2482      /system/lib/libprocessgroup.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c45000-b5c46000 rw-p 00004000 103:0d 2455      /system/lib/libnativebridge.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c44000-b5c45000 r--p 00003000 103:0d 2455      /system/lib/libnativebridge.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c40000-b5c44000 r-xp 00000000 103:0d 2455      /system/lib/libnativebridge.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c3f000-b5c40000 rw-p 00003000 103:0d 2499      /system/lib/libradio_metadata.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c3e000-b5c3f000 r--p 00002000 103:0d 2499      /system/lib/libradio_metadata.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c3b000-b5c3e000 r-xp 00000000 103:0d 2499      /system/lib/libradio_metadata.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c3a000-b5c3b000 rw-p 00006000 103:0d 2559      /system/lib/libsecnativefeature.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c39000-b5c3a000 r--p 00005000 103:0d 2559      /system/lib/libsecnativefeature.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c38000-b5c39000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c33000-b5c38000 r-xp 00000000 103:0d 2559      /system/lib/libsecnativefeature.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c32000-b5c33000 rw-p 00003000 103:0d 2289      /system/lib/libcc_manager.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c31000-b5c32000 r--p 00002000 103:0d 2289      /system/lib/libcc_manager.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c2e000-b5c31000 r-xp 00000000 103:0d 2289      /system/lib/libcc_manager.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c2d000-b5c2e000 rw-p 00073000 103:0d 2385      /system/lib/libhwui.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c2a000-b5c2d000 r--p 00070000 103:0d 2385      /system/lib/libhwui.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5c29000-b5c2a000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5bb9000-b5c29000 r-xp 00000000 103:0d 2385      /system/lib/libhwui.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5bb5000-b5bb9000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5bb2000-b5bb5000 rw-p 00019000 103:0d 2423      /system/lib/libmctraster.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5bb1000-b5bb2000 r--p 00018000 103:0d 2423      /system/lib/libmctraster.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b98000-b5bb1000 r-xp 00000000 103:0d 2423      /system/lib/libmctraster.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b97000-b5b98000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b96000-b5b97000 rw-p 00005000 103:0d 2474      /system/lib/libpersona.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b95000-b5b96000 r--p 00004000 103:0d 2474      /system/lib/libpersona.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b94000-b5b95000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b90000-b5b94000 r-xp 00000000 103:0d 2474      /system/lib/libpersona.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b8f000-b5b90000 rw-p 0000a000 103:0d 2356      /system/lib/libext2_blkid.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b8e000-b5b8f000 r--p 00009000 103:0d 2356      /system/lib/libext2_blkid.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b8d000-b5b8e000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b84000-b5b8d000 r-xp 00000000 103:0d 2356      /system/lib/libext2_blkid.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b83000-b5b84000 rw-p 00012000 103:0d 2524      /system/lib/libsamsungeffect.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b82000-b5b83000 r--p 00011000 103:0d 2524      /system/lib/libsamsungeffect.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b81000-b5b82000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b70000-b5b81000 r-xp 00000000 103:0d 2524      /system/lib/libsamsungeffect.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b6f000-b5b70000 rw-p 00010000 103:0d 2388      /system/lib/libimagefilter.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b6e000-b5b6f000 r--p 0000f000 103:0d 2388      /system/lib/libimagefilter.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): lib/libimagefilter.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b5e000-b5b6e000 r-xp 00000000 103:0d 2388      /system/
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b5d000-b5b5e000 rw-p 001a7000 103:0d 2620      /system/lib/libstagefright.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b50000-b5b5d000 r--p 0019a000 103:0d 2620      /system/lib/libstagefright.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5b4f000-b5b50000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): :0d 2620      /system/lib/libstagefright.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b59b5000-b5b4f000 r-xp 00000000 103
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b59b4000-b59b5000 rw-p 00019000 103:0d 2634      /system/lib/libstagefright_foundation.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b59b3000-b59b4000 r--p 00018000 103:0d 2634      /system/lib/libstagefright_foundation.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b59b2000-b59b3000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): ght_foundation.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b599a000-b59b2000 r-xp 00000000 103:0d 2634      /system/lib/libstagefri
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5999000-b599a000 rw-p 00004000 103:0d 2638      /system/lib/libstagefright_http_support.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5998000-b5999000 r--p 00003000 103:0d 2638      /system/lib/libstagefright_http_support.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5997000-b5998000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5994000-b5997000 r-xp 00000000 103:0d 2638      /system/lib/libstagefright_http_support.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5993000-b5994000 rw-p 00005000 103:0d 2344      /system/lib/libeffects.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5992000-b5993000 r--p 00004000 103:0d 2344      /system/lib/libeffects.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b598d000-b5992000 r-xp 00000000 103:0d 2344      /system/lib/libeffects.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b598c000-b598d000 rw-p 00009000 103:0d 2268      /system/lib/libbase.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b598b000-b598c000 r--p 00008000 103:0d 2268      /system/lib/libbase.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5982000-b598b000 r-xp 00000000 103:0d 2268      /system/lib/libbase.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5981000-b5982000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b593b000-b5981000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b593a000-b593b000 rw-p 00010000 103:0d 2703      /system/lib/libunwind.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5939000-b593a000 r--p 0000f000 103:0d 2703      /system/lib/libunwind.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5929000-b5939000 r-xp 00000000 103:0d 2703      /system/lib/libunwind.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5928000-b5929000 rw-p 00005000 103:0d 2666      /system/lib/libstdc++.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5927000-b5928000 r--p 00004000 103:0d 2666      /system/lib/libstdc++.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5926000-b5927000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5922000-b5926000 r-xp 00000000 103:0d 2666      /system/lib/libstdc++.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5921000-b5922000 rw-p 00003000 103:0d 2675      /system/lib/libsync.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5920000-b5921000 r--p 00002000 103:0d 2675      /system/lib/libsync.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b591d000-b5920000 r-xp 00000000 103:0d 2675      /system/lib/libsync.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b591c000-b591d000 rw-p 00009000 103:0d 2503      /system/lib/libremotedesktop_client.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b591a000-b591c000 r--p 00007000 103:0d 2503      /system/lib/libremotedesktop_client.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5912000-b591a000 r-xp 00000000 103:0d 2503      /system/lib/libremotedesktop_client.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5911000-b5912000 rw-p 00026000 103:0d 2478      /system/lib/libpng.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5910000-b5911000 r--p 00025000 103:0d 2478      /system/lib/libpng.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b590f000-b5910000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b58ea000-b590f000 r-xp 00000000 103:0d 2478      /system/lib/libpng.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b58e9000-b58ea000 rw-p 00062000 103:0d 2058      /system/lib/libft2.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b58e7000-b58e9000 r--p 00060000 103:0d 2058      /system/lib/libft2.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5886000-b58e7000 r-xp 00000000 103:0d 2058      /system/lib/libft2.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5885000-b5886000 rw-p 0001c000 103:0d 1125      /system/lib/libquramimagecodec.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5884000-b5885000 r--p 0001b000 103:0d 1125      /system/lib/libquramimagecodec.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5868000-b5884000 r-xp 00000000 103:0d 1125      /system/lib/libquramimagecodec.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): tem/vendor/lib/libqc-opt.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5867000-b5868000 rw-p 00037000 103:0d 4182      /sys
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5866000-b5867000 r--p 00036000 103:0d 4182      /system/vendor/lib/libqc-opt.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5865000-b5866000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b582f000-b5865000 r-xp 00000000 103:0d 4182      /system/vendor/lib/libqc-opt.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5818000-b582f000 rw-p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5817000-b5818000 rw-p 00082000 103:0d 2157      /system/lib/libAstcEnc.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5816000-b5817000 r--p 00081000 103:0d 2157      /system/lib/libAstcEnc.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5794000-b5816000 r-xp 00000000 103:0d 2157      /system/lib/libAstcEnc.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5793000-b5794000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5792000-b5793000 rw-p 00007000 103:0d 2538      /system/lib/libsdp_crypto.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5791000-b5792000 r--p 00006000 103:0d 2538      /system/lib/libsdp_crypto.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b578a000-b5791000 r-xp 00000000 103:0d 2538      /system/lib/libsdp_crypto.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5789000-b578a000 rw-p 0006f000 103:0d 2164      /system/lib/libGLES_trace.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5787000-b5789000 r--p 0006d000 103:0d 2164      /system/lib/libGLES_trace.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5719000-b5787000 r-xp 00000000 103:0d 2164      /system/lib/libGLES_trace.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5718000-b5719000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5717000-b5718000 rw-p 00005000 103:0d 2717      /system/lib/libwpa_client.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5716000-b5717000 r--p 00004000 103:0d 2717      /system/lib/libwpa_client.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5711000-b5716000 r-xp 00000000 103:0d 2717      /system/lib/libwpa_client.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5710000-b5711000 rw-p 00012000 103:0d 2471      /system/lib/libpcre.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b570f000-b5710000 r--p 00011000 103:0d 2471      /system/lib/libpcre.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b56fd000-b570f000 r-xp 00000000 103:0d 2471      /system/lib/libpcre.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b56fc000-b56fd000 rw-p 0009c000 103:0d 2300      /system/lib/libcrypto-rename.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b56f1000-b56fc000 r--p 00091000 103:0d 2300      /system/lib/libcrypto-rename.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b56f0000-b56f1000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b565f000-b56f0000 r-xp 00000000 103:0d 2300      /system/lib/libcrypto-rename.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b565e000-b565f000 rw-p 0000a000 103:0d 2458      /system/lib/libnbaio.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b565d000-b565e000 r--p 00009000 103:0d 2458      /system/lib/libnbaio.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b565c000-b565d000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5653000-b565c000 r-xp 00000000 103:0d 2458      /system/lib/libnbaio.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5652000-b5653000 rw-p 00007000 103:0d 2341      /system/lib/libedmnativehelper.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5651000-b5652000 r--p 00006000 103:0d 2341      /system/lib/libedmnativehelper.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5650000-b5651000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b564a000-b5650000 r-xp 00000000 103:0d 2341      /system/lib/libedmnativehelper.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5649000-b564a000 rw-p 00007000 103:0d 2629      /system/lib/libspeexresampler.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5648000-b5649000 r--p 00006000 103:0d 2629      /system/lib/libspeexresampler.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5641000-b5648000 r-xp 00000000 103:0d 2629      /system/lib/libspeexresampler.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b5640000-b5641000 rw-p 00040000 103:0d 2182      /system/lib/libRS.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b563e000-b5640000 r--p 0003e000 103:0d 2182      /system/lib/libRS.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b563d000-b563e000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b55ff000-b563d000 r-xp 00000000 103:0d 2182      /system/lib/libRS.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b55fe000-b55ff000 r--p 00000000 00:00 0          [anon:linker_alloc]
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b55fd000-b55fe000 rw-p 0001f000 103:0d 2193      /system/lib/libRScpp.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b55fc000-b55fd000 r--p 0001e000 103:0d 2193      /system/lib/libRScpp.so
(Console Logs) 03-09 18:51:40.345  W/art     (27293): b55fb000-b55fc000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55dd000-b55fb000 r-xp 00000000 103:0d 2193      /system/lib/libRScpp.so
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55dc000-b55dd000 rw-p 00005000 103:0d 2361      /system/lib/libext2_uuid.so
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55db000-b55dc000 r--p 00004000 103:0d 2361      /system/lib/libext2_uuid.so
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55d6000-b55db000 r-xp 00000000 103:0d 2361      /system/lib/libext2_uuid.so
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55d5000-b55d6000 rw-p 0001a000 103:0d 2317      /system/lib/libdrmframework.so
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55d2000-b55d5000 r--p 00017000 103:0d 2317      /system/lib/libdrmframework.so
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55d1000-b55d2000 ---p 00000000 00:00 0 
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55ba000-b55d1000 r-xp 00000000 103:0d 2317      /system/lib/libdrmframework.so
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55b9000-b55ba000 rw-p 00008000 103:0d 2433      /system/lib/libmediautils.so
(Console Logs) 03-09 18:51:40.335  W/art     (27293): b55b8000-b55b9000 r--p 00007000 103:0d 2433      /system/lib/libmediautils.so
(User Events) 03-09 18:51:35.941 {"msg":"saveNoDebounce"}
creativecreatorormaybenot commented 4 years ago

@AndrewMorsillo Are you using Firestore in native Android?

And if not, have you tried upgrading to the latest version of the plugin?

evelant commented 4 years ago

@creativecreatorormaybenot I'm using @react-native-firebase/firestore": "^7.7.0

evelant commented 4 years ago

This is still ongoing, one of our most common crashes. It's really hurting us. Has anybody found any sort of root cause or workaround? Any ideas @mikelehen or any thoughts on further debugging?

Still seeing this with "@react-native-firebase/firestore": "^7.8.6". Still mostly on Samsung devices. Still none of the devices are low on memory, they all have several hundreds of MB or more free.

I don't think the devices this is happening on are running out of memory -- this seems like a bug in Firestore. I've never seen low memory reported with this crash across hundreds of instances on many different devices.

The only clue seems to be that most crashes happen on Samsung devices, but not all. We aren't doing anything fancy or special with Firestore. We aren't writing huge docs or reading/writing them very quickly. The client usually loads ~25 docs on startup then saves a doc back every 5-10s depending on user interaction.

Here's another stack trace from today at android.database.CursorWindow.<init> on a Samsung Galaxy Tab A (2016) SDK 27

java.lang.RuntimeException: 
  at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3 (AsyncQueue.java:534)
  at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run (Unknown Source:2)
  at android.os.Handler.handleCallback (Handler.java:790)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:7000)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:441)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)
Caused by: java.lang.RuntimeException: 
  at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor.lambda$executeAndReportResult$1 (AsyncQueue.java:325)
  at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$$Lambda$2.run (Unknown Source:4)
  at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:457)
  at java.util.concurrent.FutureTask.run (FutureTask.java:266)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run (AsyncQueue.java:229)
  at java.lang.Thread.run (Thread.java:764)
Caused by: android.database.CursorWindowAllocationException: 
  at android.database.CursorWindow.<init> (CursorWindow.java:108)
  at android.database.AbstractWindowedCursor.clearOrCreateWindow (AbstractWindowedCursor.java:198)
  at android.database.sqlite.SQLiteCursor.clearOrCreateWindow (SQLiteCursor.java:309)
  at android.database.sqlite.SQLiteCursor.fillWindow (SQLiteCursor.java:147)
  at android.database.sqlite.SQLiteCursor.getCount (SQLiteCursor.java:141)
  at android.database.AbstractCursor.moveToPosition (AbstractCursor.java:220)
  at android.database.AbstractCursor.moveToNext (AbstractCursor.java:269)
  at com.google.firebase.firestore.local.SQLitePersistence$Query.forEach (SQLitePersistence.java:463)
  at com.google.firebase.firestore.local.SQLiteRemoteDocumentCache.getAll (SQLiteRemoteDocumentCache.java:113)
  at com.google.firebase.firestore.local.LocalDocumentsView.getDocuments (LocalDocumentsView.java:118)
  at com.google.firebase.firestore.local.LocalStore.lambda$writeLocally$1 (LocalStore.java:213)
  at com.google.firebase.firestore.local.LocalStore$$Lambda$2.get (Unknown Source:8)
  at com.google.firebase.firestore.local.SQLitePersistence.runTransaction (SQLitePersistence.java:207)
  at com.google.firebase.firestore.local.LocalStore.writeLocally (LocalStore.java:207)
  at com.google.firebase.firestore.core.SyncEngine.writeMutations (SyncEngine.java:270)
  at com.google.firebase.firestore.core.FirestoreClient.lambda$write$11 (FirestoreClient.java:204)
  at com.google.firebase.firestore.core.FirestoreClient$$Lambda$11.run (Unknown Source:6)
  at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$2 (AsyncQueue.java:436)
  at com.google.firebase.firestore.util.AsyncQueue$$Lambda$2.call (Unknown Source:2)
  at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor.lambda$executeAndReportResult$1 (AsyncQueue.java:322)

And another slightly different stack that's almost certainly the same issue but at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInternal on a Samsung Galaxy J3 (2016) SDK 25

java.lang.RuntimeException: 
  at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3 (AsyncQueue.java:534)
  at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run (AsyncQueue.java)
  at android.os.Handler.handleCallback (Handler.java:751)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6816)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1563)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1451)
Caused by: android.database.CursorWindowAllocationException: 
  at android.database.CursorWindow.<init> (CursorWindow.java:108)
  at android.database.AbstractWindowedCursor.clearOrCreateWindow (AbstractWindowedCursor.java:198)
  at android.database.sqlite.SQLiteCursor.clearOrCreateWindow (SQLiteCursor.java:300)
  at android.database.sqlite.SQLiteCursor.fillWindow (SQLiteCursor.java:138)
  at android.database.sqlite.SQLiteCursor.getCount (SQLiteCursor.java:132)
  at android.database.AbstractCursor.moveToPosition (AbstractCursor.java:219)
  at android.database.AbstractCursor.moveToFirst (AbstractCursor.java:258)
  at com.google.firebase.firestore.local.SQLitePersistence$Query.firstValue (SQLitePersistence.java:506)
  at com.google.firebase.firestore.local.SQLiteRemoteDocumentCache.get (SQLiteRemoteDocumentCache.java:86)
  at com.google.firebase.firestore.local.LocalStore.applyWriteToRemoteDocuments (LocalStore.java:650)
  at com.google.firebase.firestore.local.LocalStore.lambda$acknowledgeBatch$2 (LocalStore.java:265)
  at com.google.firebase.firestore.local.LocalStore$$Lambda$3.get (LocalStore.java)
  at com.google.firebase.firestore.local.SQLitePersistence.runTransaction (SQLitePersistence.java:207)
  at com.google.firebase.firestore.local.LocalStore.acknowledgeBatch (LocalStore.java:260)
  at com.google.firebase.firestore.core.SyncEngine.handleSuccessfulWrite (SyncEngine.java:434)
  at com.google.firebase.firestore.core.MemoryComponentProvider$RemoteStoreCallback.handleSuccessfulWrite (MemoryComponentProvider.java:104)
  at com.google.firebase.firestore.remote.RemoteStore.handleWriteStreamMutationResults (RemoteStore.java:646)
  at com.google.firebase.firestore.remote.RemoteStore.access$500 (RemoteStore.java:53)
  at com.google.firebase.firestore.remote.RemoteStore$2.onWriteResponse (RemoteStore.java:201)
  at com.google.firebase.firestore.remote.WriteStream.onNext (WriteStream.java:184)
  at com.google.firebase.firestore.remote.WriteStream.onNext (WriteStream.java:49)
  at com.google.firebase.firestore.remote.AbstractStream$StreamObserver.lambda$onNext$1 (AbstractStream.java:119)
  at com.google.firebase.firestore.remote.AbstractStream$StreamObserver$$Lambda$2.run (AbstractStream.java)
  at com.google.firebase.firestore.remote.AbstractStream$CloseGuardedRunner.run (AbstractStream.java:67)
  at com.google.firebase.firestore.remote.AbstractStream$StreamObserver.onNext (AbstractStream.java:110)
  at com.google.firebase.firestore.remote.FirestoreChannel$1.onMessage (FirestoreChannel.java:124)
  at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInternal (ClientCallImpl.java:658)
  at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext (ClientCallImpl.java:643)
  at io.grpc.internal.ContextRunnable.run (ContextRunnable.java:37)
  at io.grpc.internal.SerializingExecutor.run (SerializingExecutor.java:123)
  at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:428)
  at java.util.concurrent.FutureTask.run (FutureTask.java:237)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:272)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run (AsyncQueue.java:229)
  at java.lang.Thread.run (Thread.java:762)
evelant commented 4 years ago

I don't know the details of how sqlite operates on Android but is it possible that a different library in the same app also using sqlite could allocate too much and cause this crash to happen?

I discovered in reviewing logs of these crashes that at least in one instance the Instabug SDK crashes with a cursorWindowAllocationException before Firestore does so. The crash of Firestore is the one that actually takes down the app but I wonder if perhaps Instabug's behavior triggers the crash in Firestore?

Here's the interesting log bits:

(Console Logs) 14-10 17:13:37.637  E/CursorWindow( 8915): CursorWindow create() failed with -12 errno
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     ... 8 more
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor.lambda$executeAndReportResult$1(AsyncQueue.java:322)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.util.AsyncQueue$$Lambda$2.call(Unknown Source:2)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$2(AsyncQueue.java:436)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.core.FirestoreClient$$Lambda$11.run(Unknown Source:6)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.core.FirestoreClient.lambda$write$11(FirestoreClient.java:204)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.core.SyncEngine.writeMutations(SyncEngine.java:270)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.local.LocalStore.writeLocally(LocalStore.java:207)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.local.SQLitePersistence.runTransaction(SQLitePersistence.java:207)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.local.LocalStore$$Lambda$2.get(Unknown Source:8)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.local.LocalStore.lambda$writeLocally$1(LocalStore.java:213)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.local.LocalDocumentsView.getDocuments(LocalDocumentsView.java:118)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.local.SQLiteRemoteDocumentCache.getAll(SQLiteRemoteDocumentCache.java:113)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.local.SQLitePersistence$Query.forEach(SQLitePersistence.java:463)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.database.AbstractCursor.moveToNext(AbstractCursor.java:269)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:220)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:141)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:147)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.database.sqlite.SQLiteCursor.clearOrCreateWindow(SQLiteCursor.java:309)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.database.CursorWindow.<init>(CursorWindow.java:108)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915): Caused by: android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. 
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at java.lang.Thread.run(Thread.java:764)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run(AsyncQueue.java:229)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$$Lambda$2.run(Unknown Source:4)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor.lambda$executeAndReportResult$1(AsyncQueue.java:325)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915): Caused by: java.lang.RuntimeException: android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. 
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at java.lang.reflect.Method.invoke(Native Method)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.app.ActivityThread.main(ActivityThread.java:7000)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.os.Looper.loop(Looper.java:164)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.os.Handler.dispatchMessage(Handler.java:99)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at android.os.Handler.handleCallback(Handler.java:790)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run(Unknown Source:2)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915):     at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3(AsyncQueue.java:534)
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915): java.lang.RuntimeException: Internal error in Cloud Firestore (21.5.0).
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915): Process: com.foo.myapp, PID: 8915
(Console Logs) 14-10 17:13:37.619  E/AndroidRuntime( 8915): FATAL EXCEPTION: main
(User Events) 14-10 17:13:37.618 {"msg":"saveNoDebounce"}
(Console Logs) 14-10 17:13:37.615  D/AndroidRuntime( 8915): Shutting down VM
(Instabug Logs - Info) 14-10 17:13:37.613 {"message":"saving user, is batch false","metadata":{"level":"info","name":"a|firebaseUser","fullName":"a|firebaseUser","uid":"natanaelamorim321@gmail.com","createdAt":1602335187971,"createdAtStr":"2020-10-10T13:06:27.971Z","versionNumber":1602696795,"versionCode":"2.0.31","bundleId":"com.foo.myapp","platform":"android","platformVersion":27,"appVersion":669},"id":"lFKWlNR8RAQGtgIcRPqQHKfIUo63"}
(Instabug Logs - Info) 14-10 17:13:37.613 {"message":"Debounced save triggered from populateSmallGrowthInstances Saving now. Forced? false","metadata":{"level":"info","name":"a|models","fullName":"a|models","uid":"natanaelamorim321@gmail.com","createdAt":1602335187971,"createdAtStr":"2020-10-10T13:06:27.971Z","versionNumber":1602696795,"versionCode":"2.0.31","bundleId":"com.foo.myapp","platform":"android","platformVersion":27,"appVersion":669}}
(Console Logs) 14-10 17:13:37.576  E/CursorWindow( 8915): Could not allocate CursorWindow '/data/user/0/com.foo.myapp/databases/firestore.%5BDEFAULT%5D.myapp-cd01c.%28default%29' of size 2097152 due to error -12.
(Console Logs) 14-10 17:13:37.576  E/CursorWindow( 8915): CursorWindow create() failed with -12 errno
(Console Logs) 14-10 17:13:37.432  W/OpenGLRenderer( 8915): Failed to get last queued buffer, error = 2
(Console Logs) 14-10 17:13:37.431  E/        ( 8915): getLastQueuedBuffer failed to read buffer: 2
(Console Logs) 14-10 17:13:37.431  E/GraphicBuffer( 8915): unflatten: registerBuffer failed: Unknown error -2 (2)
(Console Logs) 14-10 17:13:37.431  W/GraphicBufferMapper( 8915): importBuffer(0xb135540) failed: 2
(Console Logs) 14-10 17:13:37.431  E/gralloc ( 8915): gralloc_map: could not mmap Out of memory
(Console Logs) 14-10 17:13:37.406  W/ResourceType( 8915): No package identifier when getting name for resource number 0x00004a5f
(Console Logs) 14-10 17:13:37.369  W/ResourceType( 8915): No package identifier when getting name for resource number 0x00000023
(Console Logs) 14-10 17:13:36.971  E/CursorWindow( 8915): Could not allocate CursorWindow '/data/user/0/com.foo.myapp/databases/instabug.db' of size 2097152 due to error -12.
(Console Logs) 14-10 17:13:36.971  E/CursorWindow( 8915): CursorWindow create() failed with -12 errno
(Console Logs) 14-10 17:13:36.963  E/CursorWindow( 8915): Could not allocate CursorWindow '/data/user/0/com.foo.myapp/databases/instabug.db' of size 2097152 due to error -12.
(Console Logs) 14-10 17:13:36.963  E/CursorWindow( 8915): CursorWindow create() failed with -12 errno
(Console Logs) 14-10 17:13:36.962  I/zygote  ( 8915): NativeAlloc concurrent copying GC freed 35079(1700KB) AllocSpace objects, 33(1224KB) LOS objects, 49% free, 14MB/28MB, paused 2.092ms total 247.019ms
(Console Logs) 14-10 17:13:36.960  E/CursorWindow( 8915): Could not allocate CursorWindow '/data/user/0/com.foo.myapp/databases/instabug.db' of size 2097152 due to error -12.
(Console Logs) 14-10 17:13:36.960  E/CursorWindow( 8915): CursorWindow create() failed with -12 errno
(Console Logs) 14-10 17:13:36.959  E/CursorWindow( 8915): Could not allocate CursorWindow '/data/user/0/com.foo.myapp/databases/instabug.db' of size 2097152 due to error -12.
(Console Logs) 14-10 17:13:36.959  E/CursorWindow( 8915): CursorWindow create() failed with -12 errno
(Console Logs) 14-10 17:13:36.958  E/CursorWindow( 8915): Could not allocate CursorWindow '/data/user/0/com.foo.myapp/databases/instabug.db' of size 2097152 due to error -12.
(Console Logs) 14-10 17:13:36.958  E/CursorWindow( 8915): CursorWindow create() failed with -12 errno
(Console Logs) 14-10 17:13:36.945  W/OpenGLRenderer( 8915): Failed to get last queued buffer, error = 2
(Console Logs) 14-10 17:13:36.945  E/        ( 8915): getLastQueuedBuffer failed to read buffer: 2
(Console Logs) 14-10 17:13:36.945  E/GraphicBuffer( 8915): unflatten: registerBuffer failed: Unknown error -2 (2)
(Console Logs) 14-10 17:13:36.945  W/GraphicBufferMapper( 8915): importBuffer(0xb1353c0) failed: 2
(Console Logs) 14-10 17:13:36.945  E/gralloc ( 8915): gralloc_map: could not mmap Out of memory
(User Events) 14-10 17:13:36.935 {"msg":"updateGame"}
(Console Logs) 14-10 17:13:36.901  W/ResourceType( 8915): No package identifier when getting name for resource number 0x000048bf
(Console Logs) 14-10 17:13:36.901  W/ResourceType( 8915): No package identifier when getting name for resource number 0x000048ab
(Console Logs) 14-10 17:13:36.900  W/ResourceType( 8915): No package identifier when getting name for resource number 0x000048ad
(Console Logs) 14-10 17:13:36.900  W/ResourceType( 8915): No package identifier when getting name for resource number 0x000048c3
(Console Logs) 14-10 17:13:36.900  W/ResourceType( 8915): No package identifier when getting name for resource number 0x000048c5
(User Events) 14-10 17:13:35.943 {"msg":"updateGame"}
(User Events) 14-10 17:13:35.134 {"msg":"updateGame"}
dconeybe commented 4 years ago

Unfortunately, without being able to reproduce we are unable to make progress towards a fix. If by some chance you are able to create a minimal app to reproduce that would be invaluable.

Nonetheless, I did some digging into the issue and it seems that CursorWindowAllocationException is not necessarily related to low device free memory but rather is related to an artificial memory limit imposed on shared memory allocated by cursor windows. So the hypothesis that some other part of the app is the actual culprit and Firestore happens to be the one to exceed the memory limit seems plausible.

Many posts on StackOverflow (e.g. https://stackoverflow.com/q/21219039/12975006) showed that CursorWindowAllocationException exceptions were often fixed when a call to close() on the SQLiteCursor objects was added. I did an audit of Firestore's source code in this GitHub repository and found that all cursors were being correctly closed. Another set of eyes on this, however, certainly wouldn't hurt. Consider auditing your own code and that of your dependencies to see if there are potential unclosed cursors, especially cursors created in a loop.

If possible, try enabling a StrictMode policy to crash your app when SQLite objects are leaked (e.g. https://stackoverflow.com/a/28155638/12975006). This could help identify a culprit that is failing to close SQLiteCursor objects.

We are also curious if you happen to be using WriteBatches, especially large ones.

evelant commented 4 years ago

@dconeybe Thanks for the info. I strongly suspect it's the Instabug Android SDK at fault here.

In the logs I posted above it starts throwing CursorWindowAllocationExceptions just before Firestore does. I think the difference being the exception in the Instabug SDK is caught and doesn't crash the app but it causes the same exception in Firestore which does need to crash.

We've unfortunately had a lot of problems with the Instabug SDK causing very hard to diagnose crashes. Not a great thing for a crash reporting tool to do haha. I don't have access to their source so I can't look for leaked cursors. I suspect I lack the Java knowledge to identify them properly anyway (our app is React Native, we pretty much never touch Java). I tried StrictMode but didn't see anything -- likely I just wasn't triggering the right conditions as this has been happening very randomly.

I'm going to remove Instabug from the app for awhile to see if the issue goes away. That's the only way I can think of debugging it further at this point.

creativecreatorormaybenot commented 4 years ago

@AndrewMorsillo I have never used the Instabug SDK in my case.

dconeybe commented 4 years ago

@AndrewMorsillo That will be interesting to see what differences you notice with the InstaBug SDK removed from your app.

@creativecreatorormaybenot Are you able to try running your app with the StrictMode policies detectLeakedSqlLiteObjects and detectLeakedClosableObjects enabled (https://stackoverflow.com/a/28155638/12975006)?

chokokatana commented 4 years ago

For what is worth, today I found this thread due to two crashes that appeared for the same user on my android non flutter app, running on a Nokia 4.2 with Android 10, Firestore version 21.1.1. According to activity logs the user had once been using the app on and off for about 40 minutes, the other time for about 20 minutes. The app is not heavy on database activity, it reads/writes a single gps location every second and so far this bug is new. We will shortly upgrade to firebase-bom:26.0.0:

Fatal Exception: java.lang.RuntimeException: Internal error in Cloud Firestore (21.1.1).
       at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3(AsyncQueue.java:529)
       at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run(AsyncQueue.java:5)
       at android.os.Handler.handleCallback(Handler.java:883)
       at android.os.Handler.dispatchMessage(Handler.java:100)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7410)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)

Caused by android.database.CursorWindowAllocationException: Could not allocate CursorWindow '/data/user/0/com.wavelt.sister/databases/firestore.%5BDEFAULT%5D.sister-c951e.%28default%29' of size 2097152 due to error -12.
       at android.database.CursorWindow.nativeCreate(CursorWindow.java)
       at android.database.CursorWindow.<init>(CursorWindow.java:139)
       at android.database.CursorWindow.<init>(CursorWindow.java:120)
       at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:202)
       at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:147)
       at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:140)
       at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:232)
       at android.database.AbstractCursor.moveToNext(AbstractCursor.java:281)
       at com.google.firebase.firestore.local.SQLitePersistence$Query.forEach(SQLitePersistence.java:483)
       at com.google.firebase.firestore.local.SQLiteRemoteDocumentCache.getAll(SQLiteRemoteDocumentCache.java:127)
       at com.google.firebase.firestore.local.LocalStore.lambda$applyRemoteEvent$5(LocalStore.java:376)
       at com.google.firebase.firestore.local.LocalStore$$Lambda$6.get(LocalStore.java:6)
       at com.google.firebase.firestore.local.SQLitePersistence.runTransaction(SQLitePersistence.java:229)
       at com.google.firebase.firestore.local.LocalStore.applyRemoteEvent(LocalStore.java:332)
       at com.google.firebase.firestore.core.SyncEngine.handleRemoteEvent(SyncEngine.java:305)
       at com.google.firebase.firestore.core.FirestoreClient.handleRemoteEvent(FirestoreClient.java:302)
       at com.google.firebase.firestore.remote.RemoteStore.raiseWatchSnapshot(RemoteStore.java:541)
       at com.google.firebase.firestore.remote.RemoteStore.handleWatchChange(RemoteStore.java:454)
       at com.google.firebase.firestore.remote.RemoteStore.access$100(RemoteStore.java:53)
       at com.google.firebase.firestore.remote.RemoteStore$1.onWatchChange(RemoteStore.java:176)
       at com.google.firebase.firestore.remote.WatchStream.onNext(WatchStream.java:108)
       at com.google.firebase.firestore.remote.WatchStream.onNext(WatchStream.java:38)
       at com.google.firebase.firestore.remote.AbstractStream$StreamObserver.lambda$onNext$1(AbstractStream.java:119)
       at com.google.firebase.firestore.remote.AbstractStream$StreamObserver$$Lambda$2.run(AbstractStream.java:5)
       at com.google.firebase.firestore.remote.AbstractStream$CloseGuardedRunner.run(AbstractStream.java:67)
       at com.google.firebase.firestore.remote.AbstractStream$StreamObserver.onNext(AbstractStream.java:110)
       at com.google.firebase.firestore.remote.FirestoreChannel$1.onMessage(FirestoreChannel.java:120)
       at io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
       at io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
       at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext(ClientCallImpl.java:563)
       at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
       at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
       at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run(AsyncQueue.java:224)
       at java.lang.Thread.run(Thread.java:919)
dconeybe commented 4 years ago

@chokokatana Thank you for the additional report. Unfortunately, the root cause of this crash has eluded us and we are unsure how to resolve it. If you are somehow able to consistently reproduce the issue or find a pattern that may provide additional context then that would be very helpful.

For quick reference, the latest update from the Firestore team on this issue is in this comment: https://github.com/firebase/firebase-android-sdk/issues/629#issuecomment-710126713.

adaonder commented 3 years ago

The same error was happening to me all the time.

Device: samsung Model: Galaxy Tab A 7.0 Free RAM: 765.04 MB Free disk: 2.71 GB Android: 5.1.1 Root: No

Firebase Crashlytics ClientCallImpl.java line 658 io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInternal

LOG1 Fatal Exception: java.lang.RuntimeException Internal error in Cloud Firestore (21.5.0). Fatal Exception: java.lang.RuntimeException: Internal error in Cloud Firestore (21.5.0). at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3(AsyncQueue.java:534) at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run(AsyncQueue.java) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6939) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

LOG2 Caused by java.lang.StackOverflowError stack size 1036KB Caused by java.lang.StackOverflowError: stack size 1036KB at com.google.protobuf.UnsafeUtil.getInt(UnsafeUtil.java:129) at com.google.protobuf.MessageSchema.isOneofCaseEqual(MessageSchema.java:5834) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:927) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:129) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:147) at com.google.protobuf.MapFieldLite.equals(MapFieldLite.java:158) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:907) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.protobuf.SchemaUtil.safeEquals(SchemaUtil.java:875) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:928) at com.google.protobuf.MessageSchema.equals(MessageSchema.java:787) at com.google.protobuf.GeneratedMessageLite.equals(GeneratedMessageLite.java:128) at com.google.firebase.firestore.model.Values.objectEquals(Values.java:160) at com.google.firebase.firestore.model.Values.equals(Values.java:112) at com.google.firebase.firestore.model.ObjectValue.equals(ObjectValue.java:122) at com.google.firebase.firestore.core.View.computeDocChanges(View.java:195) at com.google.firebase.firestore.core.View.computeDocChanges(View.java:118) at com.google.firebase.firestore.core.SyncEngine.emitNewSnapsAndNotifyLocalStore(SyncEngine.java:574) at com.google.firebase.firestore.core.SyncEngine.handleRemoteEvent(SyncEngine.java:343) at com.google.firebase.firestore.core.MemoryComponentProvider$RemoteStoreCallback.handleRemoteEvent(MemoryComponentProvider.java:94) at com.google.firebase.firestore.remote.RemoteStore.raiseWatchSnapshot(RemoteStore.java:547) at com.google.firebase.firestore.remote.RemoteStore.handleWatchChange(RemoteStore.java:459) at com.google.firebase.firestore.remote.RemoteStore.access$100(RemoteStore.java:53) at com.google.firebase.firestore.remote.RemoteStore$1.onWatchChange(RemoteStore.java:176) at com.google.firebase.firestore.remote.WatchStream.onNext(WatchStream.java:108) at com.google.firebase.firestore.remote.WatchStream.onNext(WatchStream.java:38) at com.google.firebase.firestore.remote.AbstractStream$StreamObserver.lambda$onNext$1(AbstractStream.java:119) at com.google.firebase.firestore.remote.AbstractStream$StreamObserver$$Lambda$2.run(AbstractStream.java) at com.google.firebase.firestore.remote.AbstractStream$CloseGuardedRunner.run(AbstractStream.java:67) at com.google.firebase.firestore.remote.AbstractStream$StreamObserver.onNext(AbstractStream.java:110) at com.google.firebase.firestore.remote.FirestoreChannel$1.onMessage(FirestoreChannel.java:124) at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInternal(ClientCallImpl.java:658) at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext(ClientCallImpl.java:643) at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run(AsyncQueue.java:229) at java.lang.Thread.run(Thread.java:818)

dconeybe commented 3 years ago

@adaonder Although your stack trace mentions an exception with the message "Internal error in Cloud Firestore" (similar to the stack trace in https://github.com/firebase/firebase-android-sdk/issues/629#issuecomment-709434074), your stack trace appears to be a distinct issue from the CursorWindowAllocationException. Please open a new ticket for your issue and fill out the template so we can investigate it properly.

abelthefirst commented 3 years ago

Seeing the same issue, as described in https://github.com/firebase/firebase-android-sdk/issues/629#issuecomment-755101095 - sometimes my app is stuck in an endless recursion when creating/updating a document. Once I have a bit more context, I'll create a separate issue.

guilhermeagostinelli commented 3 years ago

Similar problem here. Here's the stack trace:

E/CursorWindow(11853): CursorWindow: mmap() failed: errno=12.
D/AndroidRuntime(11853): Shutting down VM
E/AndroidRuntime(11853): FATAL EXCEPTION: main
E/AndroidRuntime(11853): Process: com.positiv.positiv_mobile_app, PID: 11853
E/AndroidRuntime(11853): java.lang.RuntimeException: Internal error in Cloud Firestore (21.3.0).
E/AndroidRuntime(11853):    at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3(com.google.firebase:firebase-firestore@@21.3.0:529)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run(Unknown Source:2)
E/AndroidRuntime(11853):    at android.os.Handler.handleCallback(Handler.java:883)
E/AndroidRuntime(11853):    at android.os.Handler.dispatchMessage(Handler.java:100)
E/AndroidRuntime(11853):    at android.os.Looper.loop(Looper.java:214)
E/AndroidRuntime(11853):    at android.app.ActivityThread.main(ActivityThread.java:7356)
E/AndroidRuntime(11853):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(11853):    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
E/AndroidRuntime(11853):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
E/AndroidRuntime(11853): Caused by: android.database.CursorWindowAllocationException: Could not allocate CursorWindow '/data/user/0/com.positiv.positiv_mobile_app/databases/firestore.%5BDEFAULT%5D.positiv-app.%28default%29' of size 2097152 due to error -12.
E/AndroidRuntime(11853):    at android.database.CursorWindow.nativeCreate(Native Method)
E/AndroidRuntime(11853):    at android.database.CursorWindow.<init>(CursorWindow.java:139)
E/AndroidRuntime(11853):    at android.database.CursorWindow.<init>(CursorWindow.java:120)
E/AndroidRuntime(11853):    at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:202)
E/AndroidRuntime(11853):    at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:147)
E/AndroidRuntime(11853):    at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:140)
E/AndroidRuntime(11853):    at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:232)
E/AndroidRuntime(11853):    at android.database.AbstractCursor.moveToFirst(AbstractCursor.java:271)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.local.SQLitePersistence$Query.firstValue(com.google.firebase:firebase-firestore@@21.3.0:501)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.local.SQLiteMutationQueue.getNextMutationBatchAfterBatchId(com.google.firebase:firebase-firestore@@21.3.0:236)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.local.LocalStore.getNextMutationBatch(com.google.firebase:firebase-firestore@@21.3.0:514)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.RemoteStore.fillWritePipeline(com.google.firebase:firebase-firestore@@21.3.0:570)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.RemoteStore.handleWriteStreamMutationResults(com.google.firebase:firebase-firestore@@21.3.0:643)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.RemoteStore.access$500(com.google.firebase:firebase-firestore@@21.3.0:53)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.RemoteStore$2.onWriteResponse(com.google.firebase:firebase-firestore@@21.3.0:201)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.WriteStream.onNext(com.google.firebase:firebase-firestore@@21.3.0:184)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.WriteStream.onNext(com.google.firebase:firebase-firestore@@21.3.0:49)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.AbstractStream$StreamObserver.lambda$onNext$1(com.google.firebase:firebase-firestore@@21.3.0:119)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.AbstractStream$StreamObserver$$Lambda$2.run(Unknown Source:4)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.AbstractStream$CloseGuardedRunner.run(com.google.firebase:firebase-firestore@@21.3.0:67)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.AbstractStream$StreamObserver.onNext(com.google.firebase:firebase-firestore@@21.3.0:110)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.remote.FirestoreChannel$1.onMessage(com.google.firebase:firebase-firestore@@21.3.0:124)
E/AndroidRuntime(11853):    at io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
E/AndroidRuntime(11853):    at io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
E/AndroidRuntime(11853):    at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext(ClientCallImpl.java:563)
E/AndroidRuntime(11853):    at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
E/AndroidRuntime(11853):    at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
E/AndroidRuntime(11853):    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/AndroidRuntime(11853):    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/AndroidRuntime(11853):    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
E/AndroidRuntime(11853):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(11853):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(11853):    at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run(com.google.firebase:firebase-firestore@@21.3.0:224)
E/AndroidRuntime(11853):    at java.lang.Thread.run(Thread.java:919)
I/Process (11853): Sending signal. PID: 11853 SIG: 9
Lost connection to device.
Exited (sigterm)
zholmes1 commented 3 years ago

Another instance of this bug. Mine looks to be happening specifically during a write to SQLite. All Samsung, all with 300mb+ of available memory.

Caused by android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. 
       at android.database.CursorWindow.<init>(CursorWindow.java:108)
       at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
       at android.database.sqlite.SQLiteCursor.clearOrCreateWindow(SQLiteCursor.java:300)
       at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:138)
       at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:132)
       at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:219)
       at android.database.AbstractCursor.moveToNext(AbstractCursor.java:268)
       at com.google.firebase.firestore.local.SQLitePersistence$Query.forEach(SQLitePersistence.java:463)
       at com.google.firebase.firestore.local.SQLiteRemoteDocumentCache.getAll(SQLiteRemoteDocumentCache.java:113)
       at com.google.firebase.firestore.local.LocalDocumentsView.getDocuments(LocalDocumentsView.java:118)
       at com.google.firebase.firestore.local.LocalStore.lambda$writeLocally$1(LocalStore.java:213)
       at com.google.firebase.firestore.local.LocalStore$$Lambda$2.get(LocalStore.java)
       at com.google.firebase.firestore.local.SQLitePersistence.runTransaction(SQLitePersistence.java:207)
       at com.google.firebase.firestore.local.LocalStore.writeLocally(LocalStore.java:207)
       at com.google.firebase.firestore.core.SyncEngine.writeMutations(SyncEngine.java:270)
       at com.google.firebase.firestore.core.FirestoreClient.lambda$write$11(FirestoreClient.java:204)
       at com.google.firebase.firestore.core.FirestoreClient$$Lambda$11.run(FirestoreClient.java)
       at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$2(AsyncQueue.java:436)
       at com.google.firebase.firestore.util.AsyncQueue$$Lambda$2.call(AsyncQueue.java)
       at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor.lambda$executeAndReportResult$1(AsyncQueue.java:322)
       at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$$Lambda$2.run(AsyncQueue.java)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
       at java.util.concurrent.FutureTask.run(FutureTask.java:237)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
       at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run(AsyncQueue.java:229)
       at java.lang.Thread.run(Thread.java:818)
NamBuiDanh2001 commented 1 year ago

I get same issue https://github.com/firebase/firebase-android-sdk/issues/629#issuecomment-755101095 , Any solution for issue ?

dconeybe commented 1 year ago

@NamBuiDanh2001 Thank you for the report. Please see the previous comment https://github.com/firebase/firebase-android-sdk/issues/629#issuecomment-734871343. tl;dr we need a consistent way to reproduce this issue in order to investigate further.

Shabinder commented 1 year ago

We are facing this as well, but sorry no repro steps to be concluded yet...

adamvarhegyi commented 9 months ago

Same issue.

Crashalytics:

Fatal Exception: java.lang.RuntimeException
Internal error in Cloud Firestore (24.10.0).
Caused by android.database.CursorWindowAllocationException
Could not allocate CursorWindow '/data/user/0/com.myapplication.test/databases/firestore.%5BDEFAULT%5D.dbname-358116.%28default%29' of size 2097152 due to error -12.

Any solution?