Status Update
Comments
vk...@google.com <vk...@google.com> #2
This is an inherently unsafe thing to ask for (which is why we have no built in support for this use case), but to explain why, I'll need to go into a lot of detail with what 'running suspend code when a lifecycle state is at least X' implies.
Namely: What behavior do you want to have if the Lifecycle falls below your chosen Lifecycle.State
while your suspending work is running?
The way the when
APIs worked is that the work was paused - when you hit a suspension point, your code just wouldn't run anymore. This is purposefully not supported anymore (as it could leave things hanging for a very long time if for instance the user hit the Home button).
So the only other options are (ignoring the case when the Lifecycle is DESTROYED
and the whole coroutine scope is cancelled):
1. Let the suspending code continue to run to completion.
This has the benefit that the entire block runs atomically - i.e., it wouldn't be cancelled half way through.
That approach looks like:
lifecycleScope.launch {
// Suspend until you are STARTED
withStarted { }
// Run your code that happens after you become STARTED here
doYourOneTimeWork()
// Note: your code will continue to run even if the Lifecycle falls below STARTED
}
This type of code comes with the assumption that your one time work does not depend on staying above your state, but that's not something a library could know. For example, if you run a FragmentTransaction
after your suspending work, the state might be saved prior to that call happening.
2. Cancel the suspending code and restart it when you come back above that state.
This is exactly the contract for repeatOnLifecycle
- re-running the block every time you go back above the given State. However, there's no way for a library to know if it is safe for you to re-run the entire block or if you need to checkpoint more often.
In the naive case, where you can run the entire block multiple times until it actually completes successfully, this is just tracking a isComplete
flag:
lifecycleScope.launch {
var isComplete = false
repeatOnLifecycle(Lifecycle.State.STARTED) {
if (!isComplete) {
// Do your work here. It will be canceled if the Lifecycle
// goes down while it is running
doYourOneTimeWork()
// Then mark the work as complete
isComplete = true
}
}
}
Of course, the 'it is safe to rerun the entire block if it gets canceled half way through' is a really big assumption.
3. Cancel the suspending code and don't restart it
This is similar to the previous one, but uses a finally
block to set the isComplete
flag no matter if the work was cancelled or not.
lifecycleScope.launch {
var isComplete = false
repeatOnLifecycle(Lifecycle.State.STARTED) {
if (!isComplete) {
try {
// Do your work here. It will be canceled if the Lifecycle
// goes down while it is running
doYourOneTimeWork()
} finally {
// By marking the work as complete in the finally block,
// we never restart the block just leaving it potentially
// half complete.
isComplete = true
}
}
}
}
I'm struggling to find a valid use case where you want to leave the work only partially finished, so I mostly include this for completeness.
I hope this gives a little more background on this problem space and why only we have the APIs we have - ideally, you'd avoid all of these cases entirely by not trying to run one-time suspending code when a lifecycle state is at least X.
vk...@google.com <vk...@google.com> #3
Thanks for the detailed response! I think my majority use cases fall into either 1 or 3, i.e. if user initiated an action and then closed the activity/fragment, I would like the action (as a suspend block) to also get cancelled upon lifecycle reaching destroyed. I guess in fact for use case 3, I really just need lifecycleScope.launch
without even needing repeatOnLifecycle
. (In fact, it sounds like launchWhenCreated
acts identically as launch
...)
ca...@gmail.com <ca...@gmail.com> #4
In examples 2 and 3 wouldn't repeatOnLifecycle
continue to be executed every time the lifecycle state gets to STARTED
, even after isComplete
has been set to true
? Is there no way to tell the repeatOnLifecycle function that it can stop repeating?
vk...@google.com <vk...@google.com> #5
Re launch
to cancel the whole code block if you want. Obviously that only works well if you are doing a naive all or nothing approach and not something where you are check-pointing at multiple points in your suspending block.
jb...@deezer.com <jb...@deezer.com> #8
ch...@google.com <ch...@google.com> #9
Cause it might get confusing for people finding that documentation page and then being told that it's gonna be deprecated.
mi...@mikehardy.net <mi...@mikehardy.net> #10
wi...@gmail.com <wi...@gmail.com> #11
vl...@gmail.com <vl...@gmail.com> #12
ho...@gmail.com <ho...@gmail.com> #13
Here is one of them.
It will be great if you can take some time to revisit duplicate tickets. I believe a lot of developer are looking for the fix or workaround.
Thank you!
[Deleted User] <[Deleted User]> #14
fr...@gmail.com <fr...@gmail.com> #15
[Deleted User] <[Deleted User]> #16
W/System.err: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
at android.view.ViewRootImpl.setView(ViewRootImpl.java:566)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:282)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
at android.app.Dialog.show(Dialog.java:298)
at com.android.org.chromium.content.browser.input.SelectPopupDialog.show(SelectPopupDialog.java:133)
at com.android.org.chromium.content.browser.ContentViewCore.showSelectPopup(ContentViewCore.java:2229)
at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
an...@gmail.com <an...@gmail.com> #17
hb...@gmail.com <hb...@gmail.com> #19
ye...@gmail.com <ye...@gmail.com> #21
ye...@gmail.com <ye...@gmail.com> #22
This is a project created by New Android Project -> Blank Activity -> Add WebView to layout/main_activity.xml, run on API21 emulator and it crashes with the following trace
11-27 14:12:26.160 3218-3218/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.crashingwebview, PID: 3218
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.crashingwebview/com.example.crashingwebview.MainActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class android.webkit.WebView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
at android.app.ActivityThread.access$800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
Caused by: android.view.InflateException: Binary XML file line #17: Error inflating class android.webkit.WebView
at android.view.LayoutInflater.createView(LayoutInflater.java:633)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:55)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:682)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555)
at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161)
at com.example.crashingwebview.MainActivity.onCreate(MainActivity.kt:10)
at android.app.Activity.performCreate(Activity.java:5937)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
at android.app.ActivityThread.access$800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
at android.view.LayoutInflater.createView(LayoutInflater.java:607)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:55)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:682)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555)
at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161)
at com.example.crashingwebview.MainActivity.onCreate(MainActivity.kt:10)
at android.app.Activity.performCreate(Activity.java:5937)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
at android.app.ActivityThread.access$800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x2040002
at android.content.res.Resources.getText(Resources.java:274)
at android.content.res.Resources.getString(Resources.java:360)
at com.android.org.chromium.content.browser.ContentViewCore.setContainerView(ContentViewCore.java:702)
at com.android.org.chromium.content.browser.ContentViewCore.initialize(ContentViewCore.java:608)
at com.android.org.chromium.android_webview.AwContents.createAndInitializeContentViewCore(AwContents.java:619)
at com.android.org.chromium.android_webview.AwContents.setNewAwContents(AwContents.java:758)
at com.android.org.chromium.android_webview.AwContents.<init>(AwContents.java:608)
at com.android.org.chromium.android_webview.AwContents.<init>(AwContents.java:546)
at com.android.webview.chromium.WebViewChromium.initForReal(WebViewChromium.java:312)
at com.android.webview.chromium.WebViewChromium.access$100(WebViewChromium.java:97)
at com.android.webview.chromium.WebViewChromium$1.run(WebViewChromium.java:264)
at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.drainQueue(WebViewChromium.java:124)
at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue$1.run(WebViewChromium.java:111)
at com.android.org.chromium.base.ThreadUtils.runOnUiThread(ThreadUtils.java:144)
at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.addTask(WebViewChromium.java:108)
at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:261)
at android.webkit.WebView.<init>(WebView.java:548)
at android.web
changing appcompat library version to 1.1.0-rc01, the app launches with an empty webview without crashing.
ch...@google.com <ch...@google.com> #23
Anyway, I've found a workaround which I *think* works, at least the tests are now all passing on API 21/22. Apologies for the delay in reaching this. It unfortunately wasn't an easy bug to find a workaround for.
Pending CL:
hq...@gmail.com <hq...@gmail.com> #24
Besides, `Context.getAssets()` and `Context.getResources().getAssets()` are returning the same object on latest versions of Android in the same condition. I found that `ContextImpl.getAssets()` is returning `getResources().getAssets()` in the latest source code.
ch...@google.com <ch...@google.com> #25
ap...@google.com <ap...@google.com> #26
Branch: androidx-master-dev
commit 0850be80d556fc23a6f39a094c923665c24e3de2
Author: Chris Banes <chrisbanes@google.com>
Date: Thu Nov 28 16:39:07 2019
DayNight rewrite v2.5
We've now moved to using createConfigurationContext(),
instead of applyOverrideConfiguration(). Certain older versions
of WebView have an issue when an app uses
applyOverrideConfiguration(), but they seem to work fine
using createConfigurationContext() /shruggie.
To use createConfigurationContext(), I've had to refactor a
lot of updateNightMode() code to also have another entry
point which returns a Context for attachBaseContext().
Test: ./gradlew appcompat:connectedCheck
BUG: 141351441
Change-Id: I7a5b59071f82b79820c6df695bfa622d727f2030
M appcompat/appcompat/api/1.2.0-alpha01.txt
M appcompat/appcompat/api/current.txt
M appcompat/appcompat/api/public_plus_experimental_1.2.0-alpha01.txt
M appcompat/appcompat/api/public_plus_experimental_current.txt
M appcompat/appcompat/src/main/java/androidx/appcompat/app/AppCompatActivity.java
M appcompat/appcompat/src/main/java/androidx/appcompat/app/AppCompatDelegate.java
M appcompat/appcompat/src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java
M samples/Support7Demos/src/main/res/layout/appcompat_night_mode.xml
M samples/Support7Demos/src/main/res/values/strings.xml
ch...@google.com <ch...@google.com> #27
This should be out in AppCompat v1.2.0-alpha02
.
If you'd like to try this now, you can try the 1.2.0-SNAPSHOT
version, available at the following repository:
repositories {
maven {
url 'https://ci.android.com/builds/submitted/6043188/androidx_snapshot/latest/repository/'
}
}
[Deleted User] <[Deleted User]> #28
ye...@gmail.com <ye...@gmail.com> #29
ch...@google.com <ch...@google.com> #30
#29: Probably not. The fix is quite invasive and moves AppCompat to using yet-another-way to implement custom configuration handling. The change itself may uncover more issues so we need some soak time in alpha.
[Deleted User] <[Deleted User]> #31
ch...@google.com <ch...@google.com> #32
Hmmm, confirmed. Looks like my change didn't actually make it into the snapshot I listed above. /facepalm I just tried the latest snapshot repository available, and that is working:
androidx.appcompat:appcompat:1.2.0-SNAPSHOT
repositories {
maven {
url 'https://ci.android.com/builds/submitted/6052626/androidx_snapshot/latest/repository/'
}
}
[Deleted User] <[Deleted User]> #33
mi...@mikehardy.net <mi...@mikehardy.net> #34
I know there are lots of people getting mail on each comment, apologies, but I wanted to confirm that the fix will still be landing in 1.2.0-alpha02? I'll be ready to test it but don't waste the time if the last couple comments mean it will be in the release after alpha02 now
Thanks!
ch...@google.com <ch...@google.com> #35
Yep, should be in 1.2.0-alpha02
.
The last few comments are just about the snapshots release.
[Deleted User] <[Deleted User]> #36
ch...@gmail.com <ch...@gmail.com> #37
`1.2.0-alpha02` still not release in google maven. When you'll release this modification for everyone?
au...@gmail.com <au...@gmail.com> #38
The desire to let this change "soak" because it is a major implementation change suggests that I am probably better with "the devil I know," and should stay with the alpha01 release, particularly since it is only an issue on Android 5 and only triggered by a particular activity that is not routinely performed by most users.
Thoughts?
lu...@gmail.com <lu...@gmail.com> #39
ja...@gmail.com <ja...@gmail.com> #40
lo...@googlemail.com <lo...@googlemail.com> #41
er...@gmail.com <er...@gmail.com> #42
fr...@gmail.com <fr...@gmail.com> #43
Thanks for any info.
ch...@google.com <ch...@google.com> #44
Apologies for the delay in releasing, it slipped through the cracks. AppCompat 1.2.0-alpha02 is currently scheduled for release later this week, but may slip to next week.
ch...@google.com <ch...@google.com> #45
10...@btc.com.bh <10...@btc.com.bh> #46
[Deleted User] <[Deleted User]> #47
This is the crash when i press (NOT LONG PRESS) and select a popup:
W/System.err: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
W/System.err: at android.view.ViewRootImpl.setView(ViewRootImpl.java:566)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:282)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
at android.app.Dialog.show(Dialog.java:298)
at com.android.org.chromium.content.browser.input.SelectPopupDialog.show(SelectPopupDialog.java:133)
at com.android.org.chromium.content.browser.ContentViewCore.showSelectPopup(ContentViewCore.java:2229)
W/System.err: at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
me...@bolt.eu <me...@bolt.eu> #49
Hey guys
If you have this argument
Wrapping Resources is not supported by the framework and you must not create your own instances of Resources at all (the APIs to do so are now marked deprecated after they were accidentally exposed).
Then you must supply a way to implement custom translations, there are many companies out there using translations on the runtime via 3rd party integration. How can we dynamically intercept the "getString" calls?
[Deleted User] <[Deleted User]> #51
Then you must supply a way to implement custom translations, there are many companies out there using translations on the runtime via 3rd party integration. How can we dynamically intercept the "getString" calls?
From the changelog:
[Deleted User] <[Deleted User]> #52
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3534)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3689)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:140)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:100)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2239)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:227)
at android.app.ActivityThread.main(ActivityThread.java:7822)
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:1026)
[Deleted User] <[Deleted User]> #53
Happened in a webview when long press
Model Name: P8 Lite
Manufacturer: Huawei
Android Version: Android 5.0
Native platform: armeabi-v7a
FATAL EXCEPTION: Thread-1182
android.content.res.Resources$NotFoundException: String resource ID #0x3040002
at android.content.res.HwResources.getText(HwResources.java:1252)
at android.content.res.Resources.getString(Resources.java:374)
at com.android.org.chromium.content.browser.ContentViewCore.setContainerView(ContentViewCore.java:948)
at com.android.org.chromium.content.browser.ContentViewCore.initialize(ContentViewCore.java:848)
at com.android.org.chromium.android_webview.AwContents.createAndInitializeContentViewCore(AwContents.java:649)
at com.android.org.chromium.android_webview.AwContents.setNewAwContents(AwContents.java:788)
at com.android.org.chromium.android_webview.AwContents.<init>(AwContents.java:635)
at com.android.org.chromium.android_webview.AwContents.<init>(AwContents.java:573)
at com.android.webview.chromium.WebViewChromium.initForReal(WebViewChromium.java:315)
at com.android.webview.chromium.WebViewChromium.access$100(WebViewChromium.java:100)
at com.android.webview.chromium.WebViewChromium$1.run(WebViewChromium.java:267)
at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.drainQueue(WebViewChromium.java:127)
at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue$1.run(WebViewChromium.java:114)
at com.android.org.chromium.base.ThreadUtils.runOnUiThread(ThreadUtils.java:144)
at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.addTask(WebViewChromium.java:111)
at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:264)
at android.webkit.WebView.<init>(WebView.java:548)
ji...@gmail.com <ji...@gmail.com> #54
Any guidance?
he...@gmail.com <he...@gmail.com> #55
he...@gmail.com <he...@gmail.com> #56
at android.content.res.Resources.getText(Resources.java:318)
at android.content.res.VivoResources.getText(VivoResources.java:123)
at android.content.res.Resources.getString(Resources.java:404)
at com.android.org.chromium.content.browser.ContentViewCore.setContainerView(ContentViewCore.java:694)
at com.android.org.chromium.content.browser.ContentViewCore.initialize(ContentViewCore.java:618)
at com.android.org.chromium.android_webview.AwContents.createAndInitializeContentViewCore(AwContents.java:631)
at com.android.org.chromium.android_webview.AwContents.setNewAwContents(AwContents.java:780)
at com.android.org.chromium.android_webview.AwContents.<init>(AwContents.java:619)
at com.android.org.chromium.android_webview.AwContents.<init>(AwContents.java:556)
at com.android.webview.chromium.WebViewChromium.initForReal(WebViewChromium.java:312)
at com.android.webview.chromium.WebViewChromium.access$100(WebViewChromium.java:96)
at com.android.webview.chromium.WebViewChromium$1.run(WebViewChromium.java:264)
at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.drainQueue(WebViewChromium.java:123)
at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue$1.run(WebViewChromium.java:110)
at com.android.org.chromium.base.ThreadUtils.runOnUiThread(ThreadUtils.java:144)
at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.addTask(WebViewChromium.java:107)
at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:261)
at android.webkit.WebView.<init>(WebView.java:554)
at android.webkit.WebView.<init>(WebView.java:489)
at android.webkit.WebView.<init>(WebView.java:472)
at android.webkit.WebView.<init>(WebView.java:459)
a7...@gmail.com <a7...@gmail.com> #57
appcompat 1.2.0
12-16 14:39:57.971 14769-14769 W/ResourceType: No known package when getting value for resource number 0x02090000
12-16 14:39:57.971 14769-14769 W/System.err: android.content.res.Resources$NotFoundException: Resource ID #0x2090000
12-16 14:39:57.973 14769-14769 W/System.err: at android.content.res.Resources.getValue(Resources.java:1566)
12-16 14:39:57.973 14769-14769 W/System.err: at android.content.res.Resources.loadXmlResourceParser(Resources.java:3147)
12-16 14:39:57.973 14769-14769 W/System.err: at android.content.res.Resources.getLayout(Resources.java:1322)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.MenuInflater.inflate(MenuInflater.java:107)
12-16 14:39:57.973 14769-14769 W/System.err: at androidx.appcompat.view.SupportMenuInflater.inflate(SupportMenuInflater.java:120)
12-16 14:39:57.973 14769-14769 W/System.err: at org.chromium.content.browser.SelectActionModeCallback.createActionMenu(SelectActionModeCallback.java:123)
12-16 14:39:57.973 14769-14769 W/System.err: at org.chromium.content.browser.SelectActionModeCallback.onCreateActionMode(SelectActionModeCallback.java:104)
12-16 14:39:57.973 14769-14769 W/System.err: at com.android.internal.policy.impl.PhoneWindow$DecorView$ActionModeCallbackWrapper.onCreateActionMode(PhoneWindow.java:3511)
12-16 14:39:57.973 14769-14769 W/System.err: at androidx.appcompat.view.SupportActionModeWrapper$CallbackWrapper.onCreateActionMode(SupportActionModeWrapper.java:159)
12-16 14:39:57.973 14769-14769 W/System.err: at androidx.appcompat.app.AppCompatDelegateImpl$ActionModeCallbackWrapperV9.onCreateActionMode(AppCompatDelegateImpl.java:2678)
12-16 14:39:57.973 14769-14769 W/System.err: at androidx.appcompat.app.AppCompatDelegateImpl.startSupportActionModeFromWindow(AppCompatDelegateImpl.java:1324)
12-16 14:39:57.973 14769-14769 W/System.err: at androidx.appcompat.app.AppCompatDelegateImpl.startSupportActionMode(AppCompatDelegateImpl.java:1209)
12-16 14:39:57.973 14769-14769 W/System.err: at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.startAsSupportActionMode(AppCompatDelegateImpl.java:3146)
12-16 14:39:57.973 14769-14769 W/System.err: at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.onWindowStartingActionMode(AppCompatDelegateImpl.java:3128)
12-16 14:39:57.973 14769-14769 W/System.err: at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionMode(PhoneWindow.java:2896)
12-16 14:39:57.973 14769-14769 W/System.err: at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionModeForChild(PhoneWindow.java:2879)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:732)
12-16 14:39:57.973 14769-14769 W/System.err: at android.view.View.startActionMode(View.java:4975)
12-16 14:39:57.973 14769-14769 W/System.err: at org.chromium.content.browser.ContentViewCore.showSelectActionBar(ContentViewCore.java:2149)
12-16 14:39:57.973 14769-14769 W/System.err: at org.chromium.content.browser.ContentViewCore.onSelectionEvent(ContentViewCore.java:2206)
12-16 14:39:57.973 14769-14769 W/System.err: at org.chromium.android_webview.AwContents.nativeOnDraw(Native Method)
12-16 14:39:57.973 14769-14769 W/System.err: at org.chromium.android_webview.AwContents.access$4300(AwContents.java:90)
12-16 14:39:57.974 14769-14769 W/System.err: at org.chromium.android_webview.AwContents$AwViewMethodsImpl.onDraw(AwContents.java:2663)
12-16 14:39:57.974 14769-14769 W/System.err: at org.chromium.android_webview.AwContents.onDraw(AwContents.java:1132)
12-16 14:39:57.974 14769-14769 W/System.err: at com.android.webview.chromium.WebViewChromium.onDraw(WebViewChromium.java:1601)
12-16 14:39:57.974 14769-14769 W/System.err: at android.webkit.WebView.onDraw(WebView.java:2531)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.draw(View.java:15526)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14415)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.draw(View.java:15235)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.drawChild(ViewGroup.java:3548)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3341)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14407)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.974 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3532)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3511)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:14365)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.View.getDisplayList(View.java:14444)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:279)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:285)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:335)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ViewRootImpl.draw(ViewRootImpl.java:3051)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2864)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2448)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1351)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6820)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:804)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:607)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.Choreographer.doFrame(Choreographer.java:576)
12-16 14:39:57.975 14769-14769 W/System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:790)
12-16 14:39:57.975 14769-14769 W/System.err: at android.os.Handler.handleCallback(Handler.java:815)
12-16 14:39:57.975 14769-14769 W/System.err: at android.os.Handler.dispatchMessage(Handler.java:104)
12-16 14:39:57.975 14769-14769 W/System.err: at android.os.Looper.loop(Looper.java:224)
12-16 14:39:57.975 14769-14769 W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5958)
12-16 14:39:57.975 14769-14769 W/System.err: at java.lang.reflect.Method.invoke(Native Method)
12-16 14:39:57.975 14769-14769 W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
12-16 14:39:57.975 14769-14769 W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1113)
12-16 14:39:57.975 14769-14769 W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879)
[Deleted User] <[Deleted User]> #58
"ApkAssets{path=/product/app/WebViewGoogle/WebViewGoogle.apk}"
"ApkAssets{path=/product/app/TrichromeLibrary/TrichromeLibrary.apk}"
[Deleted User] <[Deleted User]> #59
ma...@gmail.com <ma...@gmail.com> #60
Process: cz.rohlik.app.debug, PID: 26786
android.content.res.Resources$NotFoundException: Resource ID #0x20c0006
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:225)
at android.content.res.Resources.getInteger(Resources.java:1192)
at WV.p5.onCreateActionMode(chromium-TrichromeWebViewGoogle6432.apk-stable-609919332:52)
at com.android.internal.policy.DecorView$ActionModeCallback2Wrapper.onCreateActionMode(DecorView.java:2722)
at com.android.internal.policy.DecorView.startActionMode(DecorView.java:926)
at com.android.internal.policy.DecorView.startActionModeForChild(DecorView.java:882)
at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:1035)
at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:1035)
at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:1035)
at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:1035)
at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:1035)
at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:1035)
at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:1035)
at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:1035)
at android.view.View.startActionMode(View.java:7654)
at org.chromium.content.browser.selection.SelectionPopupControllerImpl.F(chromium-TrichromeWebViewGoogle6432.apk-stable-609919332:84)
at org.chromium.content.browser.selection.SelectionPopupControllerImpl.I(chromium-TrichromeWebViewGoogle6432.apk-stable-609919332:138)
at WV.EM.a(chromium-TrichromeWebViewGoogle6432.apk-stable-609919332:38)
at WV.qO.g(chromium-TrichromeWebViewGoogle6432.apk-stable-609919332:7)
at WV.n4.run(chromium-TrichromeWebViewGoogle6432.apk-stable-609919332:14)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:335)
at android.os.Looper.loopOnce(Looper.java:161)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7870)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Description
Version used:1.1.0
Theme used:
Devices/Android versions reproduced on: API 23
I recently migrated one of my projects to androidx and updated androidx.appcompat:appcompat to version 1.1.0, then I found webview crashes when long pressed. Changing to version 1.0.0 solved this problem, and I have to suppress the line to avoid inspection. Abandoning AppCompatActivity also works, but there's reasons that I have to use it.
Here're what I got from Logcat:
09-21 01:12:51.916 11995-11995/top.donmor.tiddloidlite W/ResourceType: No known package when getting value for resource number 0x02090000
09-21 01:12:51.916 11995-11995/top.donmor.tiddloidlite W/ResourceType: No known package when getting value for resource number 0x02090000
09-21 01:12:51.916 11995-11995/top.donmor.tiddloidlite W/System.err: android.content.res.Resources$NotFoundException: Resource ID #0x2090000
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.content.res.Resources.getValue(Resources.java:1351)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.content.res.Resources.loadXmlResourceParser(Resources.java:2774)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.content.res.Resources.getLayout(Resources.java:1165)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.MenuInflater.inflate(MenuInflater.java:108)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at org.chromium.content.browser.SelectActionModeCallback.createActionMenu(SelectActionModeCallback.java:153)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at org.chromium.content.browser.SelectActionModeCallback.onCreateActionMode(SelectActionModeCallback.java:124)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at com.android.webview.chromium.FloatingSelectActionModeCallback.onCreateActionMode(FloatingSelectActionModeCallback.java:32)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at com.android.internal.policy.PhoneWindow$DecorView$ActionModeCallback2Wrapper.onCreateActionMode(PhoneWindow.java:3531)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at com.android.internal.policy.PhoneWindow$DecorView.startActionMode(PhoneWindow.java:2772)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at com.android.internal.policy.PhoneWindow$DecorView.startActionModeForChild(PhoneWindow.java:2729)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:812)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:812)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:812)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:812)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:812)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.View.startActionMode(View.java:5335)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at com.android.webview.chromium.WebViewContentsClientAdapter.startFloatingActionMode(WebViewContentsClientAdapter.java:432)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at com.android.webview.chromium.WebViewContentsClientAdapter.startActionMode(WebViewContentsClientAdapter.java:414)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at org.chromium.android_webview.AwContentViewClient.startActionMode(AwContentViewClient.java:73)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at org.chromium.content.browser.ContentViewCore.showSelectActionMode(ContentViewCore.java:2131)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at org.chromium.content.browser.ContentViewCore.onSelectionEvent(ContentViewCore.java:2203)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at org.chromium.android_webview.AwContents.nativeOnDraw(Native Method)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at org.chromium.android_webview.AwContents.access$4500(AwContents.java:92)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at org.chromium.android_webview.AwContents$AwViewMethodsImpl.onDraw(AwContents.java:2731)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at org.chromium.android_webview.AwContents.onDraw(AwContents.java:1191)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at com.android.webview.chromium.WebViewChromium.onDraw(WebViewChromium.java:1713)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.webkit.WebView.onDraw(WebView.java:2486)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.View.draw(View.java:16178)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:15174)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:15134)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:15134)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:15134)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:15134)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:15134)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:15134)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:281)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:287)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:322)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewRootImpl.draw(ViewRootImpl.java:2615)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2434)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2067)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
09-21 01:12:51.917 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:670)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.Choreographer.doFrame(Choreographer.java:606)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at android.os.Handler.handleCallback(Handler.java:739)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at android.os.Looper.loop(Looper.java:148)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5417)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at java.lang.reflect.Method.invoke(Native Method)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite A/chromium: [FATAL:jni_android.cc(249)] Check failed: false. Please include Java exception stack in crash report
--------- beginning of crash
09-21 01:12:51.918 11995-11995/top.donmor.tiddloidlite A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 11995 (or.tiddloidlite)
09-21 01:12:52.020 1352-1352/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-21 01:12:52.020 1352-1352/? A/DEBUG: Build fingerprint: 'Android/sdk_google_phone_x86/generic_x86:6.0/MASTER/5525988:userdebug/test-keys'
09-21 01:12:52.020 1352-1352/? A/DEBUG: Revision: '0'
09-21 01:12:52.020 1352-1352/? A/DEBUG: ABI: 'x86'
09-21 01:12:52.021 1352-1352/? A/DEBUG: pid: 11995, tid: 11995, name: or.tiddloidlite >>> top.donmor.tiddloidlite <<<
09-21 01:12:52.021 1352-1352/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
09-21 01:12:52.031 1352-1352/? A/DEBUG: Abort message: '[FATAL:jni_android.cc(249)] Check failed: false. Please include Java exception stack in crash report
'
09-21 01:12:52.032 1352-1352/? A/DEBUG: eax 00000000 ebx 00002edb ecx 00002edb edx 00000006
09-21 01:12:52.032 1352-1352/? A/DEBUG: esi b7754c50 edi 0000000b
09-21 01:12:52.032 1352-1352/? A/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 00000007 xss 0000007b
09-21 01:12:52.032 1352-1352/? A/DEBUG: eip b731da56 ebp 00002edb esp bf98fd60 flags 00200206
09-21 01:12:52.033 1352-1352/? A/DEBUG: backtrace:
09-21 01:12:52.034 1352-1352/? A/DEBUG: #00 pc 00083a56 /system/lib/libc.so (tgkill+22)
09-21 01:12:52.034 1352-1352/? A/DEBUG: #01 pc 00081608 /system/lib/libc.so (pthread_kill+70)
09-21 01:12:52.034 1352-1352/? A/DEBUG: #02 pc 00027205 /system/lib/libc.so (raise+36)
09-21 01:12:52.034 1352-1352/? A/DEBUG: #03 pc 000209e4 /system/lib/libc.so (abort+80)
09-21 01:12:52.034 1352-1352/? A/DEBUG: #04 pc 0037328a /system/app/webview/webview.apk (offset 0x7ea000)
09-21 01:12:52.034 1352-1352/? A/DEBUG: #05 pc 000009a3 /data/misc/shared_relro/libwebviewchromium32.relro
09-21 01:12:52.158 1352-1352/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_02
09-21 01:12:52.158 1352-1352/? E/DEBUG: AM write failed: Broken pipe
09-21 01:12:52.158 1676-12061/system_process W/ActivityManager: Force finishing activity top.donmor.tiddloidlite/.MainActivity
09-21 01:12:52.158 1676-1701/system_process I/BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
09-21 01:12:52.162 1235-2139/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 1327104
09-21 01:12:52.209 1235-1235/? E/EGL_emulation: tid 1235: eglCreateSyncKHR(1881): error 0x3004 (EGL_BAD_ATTRIBUTE)
09-21 01:12:52.223 1676-12061/system_process E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 104)
09-21 01:12:52.223 1676-12061/system_process W/ActivityManager: Exception thrown during pause
android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:727)
at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:867)
at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2907)
at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2763)
at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2755)
at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:11971)
at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:11867)
at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:12556)
at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:12063)
at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
09-21 01:12:52.226 1233-1233/? E/lowmemorykiller: Error writing /proc/11995/oom_score_adj; errno=22
09-21 01:12:52.241 1676-1687/system_process D/GraphicsStats: Buffer count: 7
09-21 01:12:52.241 1676-1687/system_process I/WindowState: WIN DEATH: Window{b9f5e85 u0 top.donmor.tiddloidlite/top.donmor.tiddloidlite.MainActivity}
09-21 01:12:52.244 1676-1754/system_process W/InputDispatcher: channel '8fc5e01 PopupWindow:6f5edf2 (server)' ~ Consumer closed input channel or an error occurred. events=0x9
09-21 01:12:52.244 1676-1754/system_process E/InputDispatcher: channel '8fc5e01 PopupWindow:6f5edf2 (server)' ~ Channel is unrecoverably broken and will be disposed!
09-21 01:12:52.245 1676-1754/system_process W/InputDispatcher: channel '28d3ee7 PopupWindow:ccd1bf9 (server)' ~ Consumer closed input channel or an error occurred. events=0x9
09-21 01:12:52.245 1676-1754/system_process E/InputDispatcher: channel '28d3ee7 PopupWindow:ccd1bf9 (server)' ~ Channel is unrecoverably broken and will be disposed!
09-21 01:12:52.245 1676-1863/system_process I/WindowState: WIN DEATH: Window{8fc5e01 u0 PopupWindow:6f5edf2}
09-21 01:12:52.245 1676-1863/system_process W/InputDispatcher: Attempted to unregister already unregistered input channel '8fc5e01 PopupWindow:6f5edf2 (server)'
09-21 01:12:52.247 1676-10504/system_process I/WindowState: WIN DEATH: Window{28d3ee7 u0 PopupWindow:ccd1bf9}
09-21 01:12:52.249 1358-1358/? I/Zygote: Process 11995 exited due to signal (6)
09-21 01:12:52.286 1676-10504/system_process W/InputDispatcher: Attempted to unregister already unregistered input channel '28d3ee7 PopupWindow:ccd1bf9 (server)'
09-21 01:12:52.288 1676-3353/system_process I/ActivityManager: Process top.donmor.tiddloidlite (pid 11995) has died
09-21 01:12:52.309 2211-2211/com.google.android.googlequicksearchbox:search I/BackgroundMemoryTrimmer: Trimming objects from memory, since app is in the background.
09-21 01:12:52.378 1676-1686/system_process I/art: Background partial concurrent mark sweep GC freed 6754(527KB) AllocSpace objects, 9(1244KB) LOS objects, 26% free, 11MB/15MB, paused 48.707ms total 156.667ms
09-21 01:12:52.383 2023-2301/com.android.launcher3 D/EGL_emulation: eglMakeCurrent: 0xae414480: ver 2 0 (tinfo 0xae4125e0)
09-21 01:12:52.413 1676-3390/system_process I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 01:12:52.429 1676-3390/system_process D/EGL_emulation: eglCreateContext: 0x9c010620: maj 2 min 0 rcv 2
09-21 01:12:52.431 1676-3390/system_process D/EGL_emulation: eglMakeCurrent: 0x9c010620: ver 2 0 (tinfo 0x9f162830)
09-21 01:12:52.472 1676-3390/system_process D/EGL_emulation: eglMakeCurrent: 0x9c010620: ver 2 0 (tinfo 0x9f162830)
09-21 01:12:52.633 1676-2303/system_process I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
09-21 01:12:52.710 1676-1860/system_process I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
09-21 01:12:52.952 1676-1703/system_process W/WindowAnimator: Failed to dispatch window animation state change.
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.view.IWindow$Stub$Proxy.onAnimationStopped(IWindow.java:534)
at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:286)
at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:678)
at com.android.server.wm.WindowAnimator.-wrap0(WindowAnimator.java)
at com.android.server.wm.WindowAnimator$1.doFrame(WindowAnimator.java:123)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)
at android.view.Choreographer.doCallbacks(Choreographer.java:670)
at android.view.Choreographer.doFrame(Choreographer.java:603)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
at com.android.server.ServiceThread.run(ServiceThread.java:46)
09-21 01:12:53.008 1676-1693/system_process I/UsageStatsService: User[0] Flushing usage stats to disk
09-21 01:13:00.057 1235-1309/? D/hwcomposer: hw_composer sent 769 syncs in 60s