Status Update
Comments
vk...@google.com <vk...@google.com> #2
Some notes from digging into this a bit:
- unexpected wrapping doesn't start until a TextView that line wraps runs it's line breaking logic.
- style doesn't seem to matter, so long as the line breaker is ran.
- Moving the
TextView
below the compose view so that it runs first makes the first draw not wrap in the compose text. Subsequent re-measures will start wrapping. - This may require a
StaticLayout
to run inTextView
beforeStaticLayout
runs inText
(BoringLayout
doesn't seem to cause this, but that doesn't have line breaking by definition), but I'm not certain.
- Inputs to
LineBreaker.computeLineBreaks
seem to have consistent arguments for repro and non-repro use cases. - Couldn't run in demo app, so the layouts/views may also be necessary to repro.
- Used a API 35 Pixel 9 Pro XL emulator to repro. Verified that using API 34 does not repro.
- Moving the
TextView
from the layout to anAndroidView
in ourComposeView
still repros.
vk...@google.com <vk...@google.com> #3
Able to repro from a blank project with only activity-compose, compose foundation, and the font files.
- Create new blank compose project. (should be target api 35 already)
- Replace
dependencies
inapp/build.gradle.kts
with the below and sync the dependencies. - Delete the
ui
source dirs (all the material related stuff). - Copy the font files from the
reprod.zip
in the description of this bug into the new project. - Replace the
MainActivity
file with the below code. - Run the app on a Pixel 9 Pro XL - API 35 emulator.
dependencies {
implementation("androidx.activity:activity-compose:1.10.0")
implementation("androidx.compose.foundation:foundation:1.7.6")
}
import android.os.Bundle
import android.widget.TextView
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.safeContentPadding
import androidx.compose.foundation.text.BasicText
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import androidx.compose.ui.viewinterop.AndroidView
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
enableEdgeToEdge()
setContent { Content() }
}
}
private val ReproFontFamily =
FontFamily(
Font(R.font.noto_ikea_latin_regular, FontWeight.Normal),
Font(R.font.noto_ikea_latin_bold, FontWeight.Bold)
)
@Composable
private fun Content() {
Column(
modifier = Modifier
.safeContentPadding()
.fillMaxWidth()
.padding(32.dp)
) {
AndroidView(factory = { ctx -> TextView(ctx).apply { text = "Line1\nLine2" } })
BasicText(
text = "ALEX",
style = TextStyle(
fontWeight = FontWeight.Bold,
color = Color.Black,
fontFamily = ReproFontFamily,
fontSize = 14.sp,
lineHeight = 22.sp,
),
modifier = Modifier.background(Color.Magenta),
)
}
}
ca...@gmail.com <ca...@gmail.com> #4
This actually does work in the demo app, I just forgot to change the target api. See
vk...@google.com <vk...@google.com> #5
Maybe related, but not convinced:
nt...@google.com <nt...@google.com> #7
fontSize = 12.sp
fontWeight = SemiBold
letterSpacing = 0
lineHeights = 16.sp
jb...@deezer.com <jb...@deezer.com> #8
ch...@google.com <ch...@google.com> #9
I don't recommend this, but if you really need a workaround right now, here it is. This is probably quite brittle, slow, and I have not tested it other than checking that it does fix the bug. Use at your own risk. The actual fix for this is expected in 1.8.0-beta02
.
A very hacky workaround would be adding this modifier to the end of your Text
's modifier chain:
/** Intercept pre-layout to manually recycle `StaticLayout.Builder.useBoundsForWidth`. */
private fun Modifier.unexpectedTextWrappingWorkaround(): Modifier =
layout { measurable, constraints ->
if (Build.VERSION.SDK_INT >= 35) {
Api35Helper.resetStaticLayoutBuilderUseBoundsForWidth()
}
val placeable = measurable.measure(constraints)
layout(placeable.width, placeable.height) { placeable.place(0, 0) }
}
@RequiresApi(35)
private object Api35Helper {
@JvmStatic
fun resetStaticLayoutBuilderUseBoundsForWidth() {
StaticLayout.Builder.obtain("a", 0, 1, TextPaint(), 1024)
.setUseBoundsForWidth(false)
.build() // recycles the StaticLayout.
}
}
mi...@mikehardy.net <mi...@mikehardy.net> #10
Project: platform/frameworks/support
Branch: androidx-main
Author: Seigo Nonaka <
Link:
Fix unexpected enabling of useBoundsForWidth
Expand for full commit details
Fix unexpected enabling of useBoundsForWidth
This fixes a bug where a text may wrap to a second line where it is unnecessary.
Bug: 391378120
Test: Manual tests to ensure the unexpected wrapping stops after the fix is applied
Test: StaticLayoutFactoryTest#create_useBoundsForWidth_disabled
Test: BasicTextUnexpectedWrappingRegressionTest
Change-Id: I1b40c5816f2b4c1e787de05d5332db6fc0efad14
Files:
- A
compose/foundation/foundation/src/androidInstrumentedTest/assets/font/overshoot_test.ttx
- A
compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/BasicTextUnexpectedWrappingRegressionTest.kt
- A
compose/foundation/foundation/src/androidInstrumentedTest/res/font/overshoot_test.ttf
- M
compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/android/StaticLayoutFactoryTest.kt
- M
compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/android/StaticLayoutFactory.android.kt
Hash: 7d19be04e9c2af237f0605a148605bf52f607497
Date: Thu Jan 23 17:40:54 2025
wi...@gmail.com <wi...@gmail.com> #11
vl...@gmail.com <vl...@gmail.com> #12
This will be targeting 1.8
, likely landing in beta02
.
1.7.*
targets android API 34, and this fix requires API 35. Upgrading 1.7
to android api 35 is too large of a change for a 1.7.x
version.
ho...@gmail.com <ho...@gmail.com> #13
Separate note, an upstream fix in the android platform is expected in api level 36, so this issue should only occur when API level is 35 and compose version is below 1.8.
[Deleted User] <[Deleted User]> #14
Saw that beta02
is out but there is no mention of this issue being fixed in the release notes. Were you able to land the fix in beta02 or it got pushed to a future version?
fr...@gmail.com <fr...@gmail.com> #15
Looks like it actually went out in beta01
.
[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