wordpress-mobile / wordpress-mobile/WordPress-Android
JniAndroid$UncaughtExceptionException: Native stack trace:
Open
Nobody has claimed this yet.
[Pri] Medium
[Type] Crash
General
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Sentry Issue: JETPACK-ANDROID-JM4
IllegalStateException: SurfaceView width and height must be smaller than 16384
at android.view.SurfaceControl$Builder.setBufferSize(SurfaceControl.java:1197)
at android.view.View.startDragAndDrop(View.java:26906)
at org.chromium.ui.base.ViewAndroidDelegate.startDragAndDrop(chromium-TrichromeWebViewGoogle6432.aab-stable-616717833:836)
at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
at android.os.MessageQueue.next(MessageQueue.java:339)
...
(6 additional frame(s) were not displayed)
JniAndroid$UncaughtExceptionException: Native stack trace:
#00 pc 0x0000000003cb8ebf /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#01 pc 0x0000000002bb5e2f /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#02 pc 0x0000000002bb5517 /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#03 pc 0x00000000070743e7 /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#04 pc 0x00000000054feaaf /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#05 pc 0x00000000053b98f3 /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#06 pc 0x0000000005396483 /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#07 pc 0x000000000398520b /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#08 pc 0x0000000002bd1e5f /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#09 pc 0x0000000002bd172b /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#10 pc 0x0000000002bd19df /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#11 pc 0x0000000002a7bc37 /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#12 pc 0x0000000002a7baef /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#13 pc 0x0000000002b6c40f /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#14 pc 0x0000000002b6712f /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#15 pc 0x0000000003aa47cb /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#16 pc 0x0000000003aa474f /data/app/~~8RpiSCmZNCKw9VRdHQPtAA==/com.google.android.trichromelibrary_616717833-8V4-KXNnEm6BzhQAhnb_3g==/base.apk (offset 0x8dc000)
#17 pc 0x000000000000a187 /system/lib64/libutils.so
#18 pc 0x0000000000009d87 /system/lib64/libutils.so
#19 pc 0x00000000000a3fa7 /system/lib64/libandroid_runtime.so
at org.chromium.base.JniAndroid.handleException(chromium-TrichromeWebViewGoogle6432.aab-stable-616717833:11)
at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
at android.os.MessageQueue.next(MessageQueue.java:339)
at android.os.Looper.loopOnce(Looper.java:179)
at android.os.Looper.loop(Looper.java:344)
...
(4 additional frame(s) were not displayed)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Sentry issue and the provided Android stack trace, focusing on SurfaceView.setBufferSize and View.startDragAndDrop in the Chromium WebView path. Determine how WordPress for Android reaches this crash and establish a reproducible trigger; done would require a validated fix that prevents the reported exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100