I'm experiencing a 'Can't Play this Video' pop-up error when using the ViewPager 1 with VideoView. The popup message only happens when the user waits about an hour and a half and then navigates away to another video page that's adjacent to it. Looking at the logs, there seems to be a native crash with 'OMX.google.h264.decoder'. I'd like to figure out the root cause of this since I've recently migrated to ViewPager 2 and the issue seems to be fixed (not sure why). I'm using SDK version 25 with a custom ROM (if it matters). Also, I haven't been able to reproduce this issue on an emulator.
Steps to Reproduce:
Navigate to a video page that has an adjacent video page
Wait an hour and a half
Navigate to the adjacent video page
Expected Result:
Can't play this video error doesn't appear
Actual Result:
Can't play this video error appears
01-02 17:55:40.320 511 574 E SoundPool: Error creating AudioTrack
01-02 17:55:40.638 251 685 D NuPlayerDriver: pause(0xb060c060)
01-02 17:55:40.638 251 685 D NuPlayerDriver: notifyListener_l(0xb060c060), (7, 0, 0), loop setting(0, 0)
01-02 17:55:40.639 251 251 D NuPlayerDriver: seekTo(0xb060c060) 0 ms at state 6
01-02 17:55:40.639 251 251 D NuPlayerDriver: notifyListener_l(0xb060c060), (7, 0, 0), loop setting(0, 0)
01-02 17:55:40.642 251 296 D NuPlayerDriver: start(0xb1e2ac00), state is 6, eos is 0
01-02 17:55:40.649 251 2163 D NuPlayerDriver: notifyListener_l(0xb1e2ac00), (6, 0, 0), loop setting(0, 0)
01-02 17:55:40.652 248 2169 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2169 (le.h264.decoder)
01-02 17:55:40.653 222 222 W : debuggerd: handling request: pid=248 uid=1046 gid=1006 tid=2169
01-02 17:55:40.707 1964 1975 I art : Background sticky concurrent mark sweep GC freed 53604(4MB) AllocSpace objects, 37(740KB) LOS objects, 26% free, 11MB/16MB, paused 1.070ms total 160.419ms
01-02 17:55:40.748 17200 17200 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-02 17:55:40.750 17200 17200 F DEBUG : Build fingerprint: 'Android/pico_7d/pico_7d:7.1.2/dev-keys'
01-02 17:55:40.750 17200 17200 F DEBUG : Revision: '0'
01-02 17:55:40.750 17200 17200 F DEBUG : ABI: 'arm'
01-02 17:55:40.750 17200 17200 F DEBUG : pid: 248, tid: 2169, name: le.h264.decoder >>> media.codec <<<
01-02 17:55:40.750 17200 17200 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-02 17:55:40.751 17200 17200 F DEBUG : r0 00000000 r1 00000879 r2 00000006 r3 00000008
01-02 17:55:40.751 17200 17200 F DEBUG : r4 aa2ef978 r5 00000006 r6 aa2ef920 r7 0000010c
01-02 17:55:40.751 17200 17200 F DEBUG : r8 aacadbe0 r9 000f4240 sl aaa140a0 fp aaa6e0d0
01-02 17:55:40.751 17200 17200 F DEBUG : ip 00000016 sp aa2ef4b8 lr ab2de257 pc ab2e0ab4 cpsr 200f0010
01-02 17:55:40.796 17200 17200 F DEBUG :
01-02 17:55:40.796 17200 17200 F DEBUG : backtrace:
01-02 17:55:40.797 17200 17200 F DEBUG : #00 pc 00049ab4 /system/lib/libc.so (tgkill+12)
01-02 17:55:40.797 17200 17200 F DEBUG : #01 pc 00047253 /system/lib/libc.so (pthread_kill+34)
01-02 17:55:40.797 17200 17200 F DEBUG : #02 pc 0001d525 /system/lib/libc.so (raise+10)
01-02 17:55:40.797 17200 17200 F DEBUG : #03 pc 00019071 /system/lib/libc.so (__libc_android_abort+34)
01-02 17:55:40.797 17200 17200 F DEBUG : #04 pc 00017034 /system/lib/libc.so (abort+4)
01-02 17:55:40.797 17200 17200 F DEBUG : #05 pc 0000b50b /system/lib/libstagefright_soft_avcdec.so (_ZN7android7SoftAVC13onQueueFilledEj+1334)
01-02 17:55:40.797 17200 17200 F DEBUG : #06 pc 00023175 /system/lib/libstagefright_omx.so (_ZN7android22SimpleSoftOMXComponent17onMessageReceivedERKNS_2spINS_8AMessageEEE+272)
01-02 17:55:40.797 17200 17200 F DEBUG : #07 pc 000241ad /system/lib/libstagefright_omx.so
01-02 17:55:40.797 17200 17200 F DEBUG : #08 pc 0000f505 /system/lib/libstagefright_foundation.so (_ZN7android8AHandler14deliverMessageERKNS_2spINS_8AMessageEEE+24)
01-02 17:55:40.797 17200 17200 F DEBUG : #09 pc 00011795 /system/lib/libstagefright_foundation.so (_ZN7android8AMessage7deliverEv+60)
01-02 17:55:40.798 17200 17200 F DEBUG : #10 pc 0001006d /system/lib/libstagefright_foundation.so (_ZN7android7ALooper4loopEv+380)
01-02 17:55:40.798 17200 17200 F DEBUG : #11 pc 0000e3c1 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+264)
01-02 17:55:40.798 17200 17200 F DEBUG : #12 pc 00046d23 /system/lib/libc.so (_ZL15__pthread_startPv+22)
01-02 17:55:40.798 17200 17200 F DEBUG : #13 pc 00019abd /system/lib/libc.so (__start_thread+6)
01-02 17:55:41.120 511 604 W NativeCrashListener: Couldn't find ProcessRecord for pid 248
01-02 17:55:41.121 17200 17200 E : debuggerd: failed to kill process 248: No such process
01-02 17:55:41.124 511 529 I BootReceiver: Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE)
01-02 17:55:41.137 222 222 W : debuggerd: resuming target 248
01-02 17:55:41.194 251 2168 E ACodec : OMX/mediaserver died, signalling error!
01-02 17:55:41.194 251 2168 E ACodec : signalError(omxError 0x8000100d, internalError -32)
01-02 17:55:41.194 251 2214 E ACodec : OMX/mediaserver died, signalling error!
01-02 17:55:41.194 251 2214 E ACodec : signalError(omxError 0x8000100d, internalError -32)
01-02 17:55:41.196 1964 1977 E MediaPlayer: error (100, 2)
01-02 17:55:41.196 1964 1964 E MediaPlayer: Error (100,2)
01-02 17:55:41.196 1964 1964 D VideoView: Error: 100,2
01-02 17:55:41.197 251 2167 E MediaCodec: Codec reported err 0xffffffe0, actionCode 0, while in state 6
01-02 17:55:41.197 251 2166 E NuPlayerDecoder: Decoder (video) reported error : 0xffffffe0
01-02 17:55:41.197 251 2213 E MediaCodec: Codec reported err 0xffffffe0, actionCode 0, while in state 7
01-02 17:55:41.197 251 2163 E NuPlayer: received error(0xffffffe0) from video decoder, flushing(0), now shutting down
01-02 17:55:41.197 251 2163 D NuPlayerDriver: notifyListener_l(0xb1e2ac00), (100, 1, -32), loop setting(0, 0)
01-02 17:55:41.207 1964 1976 E MediaPlayer: error (100, 2)
01-02 17:55:41.217 1964 1977 E MediaPlayer: error (1, -32)
01-02 17:55:41.218 251 2166 E NuPlayerDecoder: failed to flush OMX.google.h264.decoder (err=-38)
01-02 17:55:41.218 251 2163 E NuPlayer: received error(0xffffffda) from video decoder, flushing(2), now shutting down
01-02 17:55:41.218 251 2163 D NuPlayerDriver: notifyListener_l(0xb1e2ac00), (100, 1, -38), loop setting(0, 0)
01-02 17:55:41.225 251 2166 W AMessage: failed to post message as target looper for handler 0 is gone.
01-02 17:55:41.237 238 238 I ServiceManager: service 'media.codec' died
01-02 17:55:41.239 1964 1976 E MediaPlayer: error (1, -38)
01-02 17:55:41.258 1964 1964 E MediaPlayer: Error (100,2)
01-02 17:55:41.258 1964 1964 D VideoView: Error: 100,2
01-02 17:55:41.304 1964 1964 E MediaPlayer: Error (1,-32)
01-02 17:55:41.304 1964 1964 D VideoView: Error: 1,-32
01-02 17:55:41.351 1964 1964 E MediaPlayer: Error (1,-38)
01-02 17:55:41.351 1964 1964 D VideoView: Error: 1,-38
01-02 17:55:41.361 251 2212 E NuPlayerDecoder: failed to flush OMX.google.h264.decoder (err=-32)
01-02 17:55:41.361 251 2204 E NuPlayer: received error(0xffffffe0) from video decoder, flushing(1), now shutting down
01-02 17:55:41.361 251 2204 D NuPlayerDriver: notifyListener_l(0xb060c060), (100, 1, -32), loop setting(0, 0)
01-02 17:55:41.361 1964 1977 E MediaPlayer: error (1, -32)
01-02 17:55:41.367 251 2204 W AMessage: failed to post message as target looper for handler 0 is gone.
01-02 17:55:41.368 250 677 D FslExtractor: HandleSeekOperation do seek index=0
01-02 17:55:41.369 250 677 D FslExtractor: HandleSeekOperation index=0,ts=0,flag=2
01-02 17:55:41.371 251 2204 D NuPlayerDriver: notifyListener_l(0xb060c060), (4, 0, 0), loop setting(0, 0)
01-02 17:55:41.547 1964 1964 E MediaPlayer: Error (1,-32)
01-02 17:55:41.547 1964 1964 D VideoView: Error: 1,-32
01-02 17:55:41.587 17205 17205 I mediacodec: ### mediacodecservice starting
01-02 17:55:41.587 17205 17205 W /system/bin/mediacodec: libminijail: allowing syscall: clock_gettime
01-02 17:55:41.587 17205 17205 W /system/bin/mediacodec: libminijail: allowing syscall: connect
01-02 17:55:41.587 17205 17205 W /system/bin/mediacodec: libminijail: allowing syscall: fcntl64
01-02 17:55:41.587 17205 17205 W /system/bin/mediacodec: libminijail: allowing syscall: socket
01-02 17:55:41.588 17205 17205 W /system/bin/mediacodec: libminijail: allowing syscall: writev
01-02 17:55:41.588 17205 17205 W /system/bin/mediacodec: libminijail: logging seccomp filter failures
01-02 17:55:46.147 1964 2000 I nativePoll: Call timed out and no file descriptors were ready for GPIO
01-02 17:55:49.343 582 589 I art : Debugger is no longer active
01-02 17:55:49.344 582 589 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.344 1964 1971 I art : Debugger is no longer active
01-02 17:55:49.344 1964 1971 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.344 781 789 I art : Debugger is no longer active
01-02 17:55:49.344 897 904 I art : Debugger is no longer active
01-02 17:55:49.344 897 904 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.344 781 789 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.345 838 847 I art : Debugger is no longer active
01-02 17:55:49.345 511 517 I art : Debugger is no longer active
01-02 17:55:49.345 838 847 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.345 511 517 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.345 626 643 I art : Debugger is no longer active
01-02 17:55:49.345 626 643 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.348 975 982 I art : Debugger is no longer active
01-02 17:55:49.348 975 982 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.348 880 888 I art : Debugger is no longer active
01-02 17:55:49.348 880 888 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.348 1136 1143 I art : Debugger is no longer active
01-02 17:55:49.348 1136 1143 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.349 596 606 I art : Debugger is no longer active
01-02 17:55:49.349 596 606 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.349 925 931 I art : Debugger is no longer active
01-02 17:55:49.349 925 931 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.349 990 997 I art : Debugger is no longer active
01-02 17:55:49.349 990 997 I art : Starting a blocking GC Instrumentation
01-02 17:55:49.354 17126 17126 D StudioTransport: Profiler:Signal received 1
01-02 17:55:49.354 17126 17126 D StudioTransport: Profiler:TerminationService shutting down with signal 1
01-02 17:55:49.830 17210 17210 I getprop : type=1400 audit(0.0:690): avc: denied { open } for path="/dev/__properties__/u:object_r:safemode_prop:s0" dev="tmpfs" ino=6854 scontext=u:r:shell:s0 tcontext=u:object_r:safemode_prop:s0 tclass=file permissive=1
01-02 17:55:49.850 17210 17210 I getprop : type=1400 audit(0.0:691): avc: denied { getattr } for path="/dev/__properties__/u:object_r:safemode_prop:s0" dev="tmpfs" ino=6854 scontext=u:r:shell:s0 tcontext=u:object_r:safemode_prop:s0 tclass=file permissive=1
01-02 17:55:49.850 17210 17210 I getprop : type=1400 audit(0.0:692): avc: denied { open } for path="/dev/__properties__/u:object_r:mmc_prop:s0" dev="tmpfs" ino=6855 scontext=u:r:shell:s0 tcontext=u:object_r:mmc_prop:s0 tclass=file permissive=1
01-02 17:55:49.850 17210 17210 I getprop : type=1400 audit(0.0:693): avc: denied { getattr } for path="/dev/__properties__/u:object_r:mmc_prop:s0" dev="tmpfs" ino=6855 scontext=u:r:shell:s0 tcontext=u:object_r:mmc_prop:s0 tclass=file permissive=1
01-02 17:55:49.850 17210 17210 I getprop : type=1400 audit(0.0:694): avc: denied { open } for path="/dev/__properties__/u:object_r:device_logging_prop:s0" dev="tmpfs" ino=6857 scontext=u:r:shell:s0 tcontext=u:object_r:device_logging_prop:s0 tclass=file permissive=1
01-02 17:55:49.850 17210 17210 I getprop : type=1400 audit(0.0:695): avc: denied { getattr } for path="/dev/__properties__/u:object_r:device_logging_prop:s0" dev="tmpfs" ino=6857 scontext=u:r:shell:s0 tcontext=u:object_r:device_logging_prop:s0 tclass=file permissive=1
01-02 17:55:51.290 17267 17267 V StudioTransport: Server listening on 127.0.0.1:12389 port:12389
01-02 17:55:56.157 1964 2000 I nativePoll: Call timed out and no file descriptors were ready for GPIO
01-02 17:56:06.167 1964 2000 I nativePoll: Call timed out and no file descriptors were ready for GPIO
01-02 17:56:15.070 1964 1996 I BatteryMonitor: Battery voltage (V) current (mA), 4.5757, 522
01-02 17:56:15.073 1964 1981 I TemperatureLogger: Unit temperature (deg C), 71.00
01-02 17:56:16.177 1964 2000 I nativePoll: Call timed out and no file descriptors were ready for GPIO
01-02 17:56:26.187 1964 2000 I nativePoll: Call timed out and no file descriptors were ready for GPIO
01-02 17:56:36.197 1964 2000 I nativePoll: Call timed out and no file descriptors were ready for GPIO
01-02 17:56:46.206 1964 2000 I nativePoll: Call timed out and no file descriptors were ready for GPIO
I'm working on project, and integrated card.io and tess-two libraries. I have already owned these libraries, and use for reading national ID and other ID cards. Before upgrading to ndk-14, everything worked well. But after upgrade, i got lots of problems. I downgraded to ndk-13, but yet have these errors. Here are my logs:
04-06 14:22:41.997 3075-3075/com.javadbadirkhanly.newcardscannerproject A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 3075 (dscannerproject)
[ 04-06 14:22:42.000 375: 375 W/ ]
debuggerd: handling request: pid=3075 uid=10125 gid=10125 tid=3075
04-06 14:22:42.099 3236-3236/? A/DEBUG: pid: 3075, tid: 3075, name: dscannerproject >>> com.javadbadirkhanly.newcardscannerproject <<<
04-06 14:22:42.169 3236-3236/? A/DEBUG: #04 pc 0000000000139a60 /data/app/com.javadbadirkhanly.newcardscannerproject-1/lib/arm64/libtess.so (_ZNK7ERRCODE5errorEPKc16TessErrorLogCodeS1_z+360)
04-06 14:22:42.169 3236-3236/? A/DEBUG: #05 pc 0000000000148b90 /data/app/com.javadbadirkhanly.newcardscannerproject-1/lib/arm64/libtess.so (_ZN9tesseract8Classify22InitAdaptiveClassifierEb+252)
04-06 14:22:42.169 3236-3236/? A/DEBUG: #06 pc 0000000000233364 /data/app/com.javadbadirkhanly.newcardscannerproject-1/lib/arm64/libtess.so (_ZN9tesseract7Wordrec14program_editupEPKcbb+56)
04-06 14:22:42.169 3236-3236/? A/DEBUG: #07 pc 00000000000f0bfc /data/app/com.javadbadirkhanly.newcardscannerproject-1/lib/arm64/libtess.so (_ZN9tesseract9Tesseract23init_tesseract_internalEPKcS2_S2_NS_13OcrEngineModeEPPciPK13GenericVectorI6STRINGESA_b+268)
04-06 14:22:42.169 3236-3236/? A/DEBUG: #08 pc 00000000000f06bc /data/app/com.javadbadirkhanly.newcardscannerproject-1/lib/arm64/libtess.so (_ZN9tesseract9Tesseract14init_tesseractEPKcS2_S2_NS_13OcrEngineModeEPPciPK13GenericVectorI6STRINGESA_b+392)
04-06 14:22:42.169 3236-3236/? A/DEBUG: #09 pc 00000000000a1788 /data/app/com.javadbadirkhanly.newcardscannerproject-1/lib/arm64/libtess.so (_ZN9tesseract11TessBaseAPI4InitEPKcS2_NS_13OcrEngineModeEPPciPK13GenericVectorI6STRINGESA_b+288)
04-06 14:22:42.169 3236-3236/? A/DEBUG: #10 pc 000000000001f37c /data/app/com.javadbadirkhanly.newcardscannerproject-1/lib/arm64/libcardioRecognizer_tegra2.so (Java_com_javadbadirkhanly_newcardscannerproject_hardware_CardScanner_nSetup+104)
04-06 14:22:43.255 4939-3258/? W/ActivityManager: Force finishing activity com.javadbadirkhanly.newcardscannerproject/.activities.CardIOActivity
[ 04-06 14:22:43.276 375: 375 W/ ]
debuggerd: resuming target 3075
04-06 14:22:43.284 4939-19110/? I/WindowManager: WIN DEATH: Window{63d7429 u0 com.javadbadirkhanly.newcardscannerproject/com.javadbadirkhanly.newcardscannerproject.activities.CardIOActivity}
04-06 14:22:43.285 4939-4958/? I/ActivityManager: Process com.javadbadirkhanly.newcardscannerproject (pid 3075) has died
04-06 14:22:43.285 4939-4958/? W/ActivityManager: Scheduling restart of crashed service com.javadbadirkhanly.newcardscannerproject/com.android.tools.fd.runtime.InstantRunService in 1000ms
04-06 14:22:43.286 4939-6710/? W/InputDispatcher: channel '7e4664e com.javadbadirkhanly.newcardscannerproject/com.javadbadirkhanly.newcardscannerproject.activities.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
04-06 14:22:43.286 4939-6710/? E/InputDispatcher: channel '7e4664e com.javadbadirkhanly.newcardscannerproject/com.javadbadirkhanly.newcardscannerproject.activities.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
04-06 14:22:43.292 4939-21535/? I/WindowManager: WIN DEATH: Window{7e4664e u0 com.javadbadirkhanly.newcardscannerproject/com.javadbadirkhanly.newcardscannerproject.activities.MainActivity}
04-06 14:22:43.292 4939-21535/? W/InputDispatcher: Attempted to unregister already unregistered input channel '7e4664e com.javadbadirkhanly.newcardscannerproject/com.javadbadirkhanly.newcardscannerproject.activities.MainActivity (server)'
04-06 14:22:43.305 4939-4958/? I/ActivityManager: Start proc 3261:com.javadbadirkhanly.newcardscannerproject/u0a125 for activity com.javadbadirkhanly.newcardscannerproject/.activities.MainActivity
04-06 14:22:43.611 3261-3261/? I/InstantRun: Starting Instant Run Server for com.javadbadirkhanly.newcardscannerproject
04-06 14:22:43.815 4939-4996/? I/ActivityManager: Displayed com.javadbadirkhanly.newcardscannerproject/.activities.MainActivity: +523ms
04-06 14:24:38.638 4939-3258/? W/ActivityManager: Ignoring remove of inactive process: ProcessRecord{fad747e 0:com.javadbadirkhanly.newcardscannerproject/u0a125}
The problem about libtess.so library, but i don't know why? Please help me, and ask for more details.
Here is my some essential codes from jni:
Initialize:
int res = api->Init(env->GetStringUTFChars(dataPath, 0), "aze");
if (res) {
dmz_error_log("Could not initialize tesseract");
} else {
dmz_debug_log("Initialized tesseract");
}
Getting image from card:
char *getCardNumberImage(cv::Mat cardImage) {
cv::Rect cropRect(kCreditCardTargetWidth * 76 / mmCardWidth,
kCreditCardTargetHeight * 14 / mmCardHeight,
kCreditCardTargetWidth * 24 / mmCardWidth,
kCreditCardTargetHeight * 4 / mmCardHeight);
api->SetVariable("tessedit_char_whitelist",
"0123456789");
return getOCRText(cardImage(cropRect));
}
Getting result from tesseract:
char *getOCRText(cv::Mat image) {
api->SetImage((uchar *) image.data, image.size().width, image.size().height,
image.channels(), image.step1());
// Get OCR result
char *outText = api->GetUTF8Text();
dmz_debug_log("TEXT %s", outText);
return outText;
}
I When i use training data which trained with 3.05 it works well, but when i use data which trained with 4.00 it gives me such errors. My tesseract version is 4.00 Alpha.
The issue I'm having is that, the application I'm developing is running till Lollipop version and now when I trying to run an application on Marshmallow my application is getting crash and the log I getting are as follow :
05-12 11:22:34.402 848-978/system_process I/ActivityManager: START u0
{act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
flg=0x10200000 cmp=com.aceroute.mobile.aceroute/.SplashII (has
extras)} from uid 10008 on display 0 05-12 11:22:34.443 16163-16163/?
I/art: Late-enabling -Xcheck:jni 0
5-12 11:22:34.449
848-860/system_process I/ActivityManager: Start proc
16163:com.aceroute.mobile.aceroute/u0a83 for activity
com.aceroute.mobile.aceroute/.SplashII 05-12 11:22:34.455 505-876/?
D/AudioFlinger: mixer(0xf1d80000) throttle end: throttle time(8) 05-12
11:22:34.482 16163-16168/? I/art: Debugger is no longer active 05-12
11:22:34.513 16163-16163/? A/libc: Fatal signal 11 (SIGSEGV), code 1,
fault addr 0x0 in tid 16163 (mobile.aceroute) 05-12 11:22:34.614
104-104/? A/DEBUG: *
05-12 11:22:34.614 104-104/? A/DEBUG: Build fingerprint: 'Android/vbox86p/vbox86p:6.0/MRA58K/buildbot01102000:userdebug/test-keys'
05-12 11:22:34.614 104-104/? A/DEBUG: Revision: '0' 05-12 11:22:34.614
104-104/? A/DEBUG: ABI: 'x86' 05-12 11:22:34.614 104-104/? A/DEBUG:
pid: 16163, tid: 16163, name: mobile.aceroute >>>
com.aceroute.mobile.aceroute <<< 05-12 11:22:34.614 104-104/? A/DEBUG:
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 05-12
11:22:34.621 104-104/? A/DEBUG: eax 00000000 ebx f77469c0 ecx
00000000 edx 00000000 05-12 11:22:34.621 104-104/? A/DEBUG: esi
f3e19a80 edi 00000000 05-12 11:22:34.621 104-104/? A/DEBUG: xcs
00000023 xds 0000002b xes 0000002b xfs 00000007 xss 0000002b 05-12
11:22:34.621 104-104/? A/DEBUG: eip f732c442 ebp 12c6f280 esp
fff7f21c flags 00210283 05-12 11:22:34.629 104-104/? A/DEBUG: #00
pc 0001e442 /system/lib/libc.so (strlen+18) 05-12 11:22:34.630
104-104/? A/DEBUG: #01 pc 0001322b /system/lib/libutils.so
(android::String16::String16(char const)+29) 05-12 11:22:34.630
104-104/? A/DEBUG: #02 pc 0004172d /system/lib/libmedia_jni.so
05-12 11:22:34.630 104-104/? A/DEBUG: #03 pc 720eff30
/data/dalvik-cache/x86/system#framework#boot.oat (offset 0x1eb9000)
05-12 11:22:34.637 1116-1345/com.android.launcher3 E/Surface:
getSlotFromBufferLocked: unknown buffer: 0xdec7bcd0 05-12 11:22:34.742
104-104/? E/DEBUG: AM write failed: Broken pipe 05-12 11:22:34.742
848-865/system_process I/BootReceiver: Copying
/data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE) 05-12
11:22:34.757 848-16180/system_process W/ActivityManager: Force
finishing activity com.aceroute.mobile.aceroute/.SplashII 05-12
11:22:34.780 503-503/? I/Zygote: Process 16163 exited due to signal
(11) 05-12 11:22:34.783 826-826/? E/EGL_emulation: tid 826:
eglCreateSyncKHR(1215): error 0x3004 (EGL_BAD_ATTRIBUTE) 05-12
11:22:34.898 848-16180/system_process W/ActivityManager: Exception
thrown during pause
android.os.DeadObjectException
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)
05-12 11:22:34.941 848-1160/system_process I/ActivityManager: Process
com.aceroute.mobile.aceroute (pid 16163) has died 05-12 11:22:34.992
848-867/system_process W/WindowManager: Failed looking up window
java.lang.IllegalArgumentException: Requested window
android.view.ViewRootImpl$W#bbc7de0 does not exist
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8733)
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8724)
at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2697)
at com.android.server.wm.Session.remove(Session.java:187)
at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3099)
at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5606)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3409)
at android.os.Handler.dispatchMessage(Handler.java:102)
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) 05-12
11:22:35.035 848-1719/system_process I/OpenGLRenderer: Initialized
EGL, version 1.4 05-12 11:22:35.041 1116-1345/com.android.launcher3
W/EGL_emulation: eglSurfaceAttrib not implemented 05-12 11:22:35.041
1116-1345/com.android.launcher3 W/OpenGLRenderer: Failed to set
EGL_SWAP_BEHAVIOR on surface 0xe06b6dc0, error=EGL_SUCCESS 05-12
11:22:35.103 848-1719/system_process W/EGL_emulation: eglSurfaceAttrib
not implemented 05-12 11:22:35.103 848-1719/system_process
W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface
0xd972c800, error=EGL_SUCCESS 05-12 11:22:37.435
848-1719/system_process E/Surface: getSlotFromBufferLocked: unknown
buffer: 0xf2cf5c60 05-12 11:22:37.437 848-1719/system_process
D/OpenGLRenderer: endAllStagingAnimators on 0xdeed2280
(RippleDrawable) with handle 0xdbb22df0 05-12 11:22:37.441
848-1160/system_process W/InputMethodManagerService: Window already
focused, ignoring focus gain of:
com.android.internal.view.IInputMethodClient$Stub$Proxy#c3b1c3c
attribute=null, token = android.os.BinderProxy#5926644 05-12
11:22:37.475 505-876/? D/AudioFlinger: mixer(0xf1d80000) throttle end:
throttle time(15) 05-12 11:22:37.689 848-867/system_process W/AppOps:
Finishing op nesting under-run: uid 1000 pkg android code 24 time=0
duration=0 nesting=0 05-12 11:23:02.221 100-100/? D/Genyd: Received
Set Clipboard 05-12 11:23:02.221 100-100/? D/Genymotion: Received Set
Some reference I have got are :
Android Fatal signal 11 (SIGSEGV) at 0x636f7d89 (code=1). How can it be tracked down?
Please have a look and help me.
I get "Native crash at /system/lib/libwebviewchromium.so" errors many times for android 4.4+. There was no such problem before 4.4.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/ja3gxx/ja3g:4.4.2/KOT49H/I9500XXUFNB4:user/release-keys'
Revision: '10'
pid: 32504, tid: 32595, name: xxx.yyy >>> com.xxx.yyy <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000001
r0 83c80e70 r1 00000000 r2 00000001 r3 00000000
r4 7ea6d230 r5 7a806d20 r6 7ea6d234 r7 00000000
r8 7ea6d264 r9 7ea6d274 sl 00000000 fp 83c80e70
ip 00000001 sp 7a806d00 lr 75e63a97 pc 75e63a9c cpsr 68030030
d0 3f8000003f800000 d1 3e80000000000001
d2 42a20000430c8000 d3 0000005142a30000
d4 0000008cfffffffb d5 0000005142a20000
d6 0000000700000000 d7 000000013f800000
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 4016800000000000 d17 0000000000000000
d18 402e000000000000 d19 0000000000000000
d20 3fd8000000000000 d21 0000000000000000
d22 0000000000000000 d23 0000000000000000
d24 402e000000000000 d25 0000000000000000
d26 3fd8000000000000 d27 0000000000000000
d28 4016800000000000 d29 0000000000000000
d30 09800261096d825c d31 09a4c26a09924265
scr 88000010
backtrace:
#00 pc 00b53a9c /system/lib/libwebviewchromium.so
#01 pc 001dbc1b /system/lib/libwebviewchromium.so
#02 pc 001dbe67 /system/lib/libwebviewchromium.so
#03 pc 001da09f /system/lib/libwebviewchromium.so
#04 pc 0000d280 /system/lib/libc.so (__thread_entry+72)
#05 pc 0000d418 /system/lib/libc.so (pthread_create+240)
code around pc:
75e63a7c f7fd4628 a807ff92 ff8ff7fd 0008f104
75e63a8c db9ef691 f6854630 9806dca4 68024639
75e63a9c 47986813 f6714630 9806d843 aa092101
75e63aac 46497241 46289009 ff54f7ff 46289a08
75e63abc a020f8cd f7fd9207 9b07ff70 f104bb23
75e63acc a9060060 fd34f7fe f7fda807 a806ff66
75e63adc da61f671 f855e789 93093b04 1e50695a
75e63aec b9186158 a9094640 fcf4f7ff 68819807
75e63afc d1f0428d f691e7e3 a805db63 db92f649
75e63b0c f691e004 e770db23 e7ef685d e8bdb00b
75e63b1c b5708ff0 4604b09e 460da810 d801f67f
75e63b2c f67ea817 2300dffe a8104629 93099308
75e63b3c f7ff930a 1d20fc83 f6709003 6e25dff1
75e63b4c f855e01f aa063b04 a910a80c f7ff9306
75e63b5c 9e0cff01 900c2000 9607a80c ff1df7fd
75e63b6c 2a009a07 809df040 f7fda807 e008ff16
code around lr:
75e63a74 462b4649 fefaf7fe f7fd4628 a807ff92
75e63a84 ff8ff7fd 0008f104 db9ef691 f6854630
75e63a94 9806dca4 68024639 47986813 f6714630
75e63aa4 9806d843 aa092101 46497241 46289009
75e63ab4 ff54f7ff 46289a08 a020f8cd f7fd9207
75e63ac4 9b07ff70 f104bb23 a9060060 fd34f7fe
75e63ad4 f7fda807 a806ff66 da61f671 f855e789
75e63ae4 93093b04 1e50695a b9186158 a9094640
75e63af4 fcf4f7ff 68819807 d1f0428d f691e7e3
75e63b04 a805db63 db92f649 f691e004 e770db23
75e63b14 e7ef685d e8bdb00b b5708ff0 4604b09e
75e63b24 460da810 d801f67f f67ea817 2300dffe
75e63b34 a8104629 93099308 f7ff930a 1d20fc83
75e63b44 f6709003 6e25dff1 f855e01f aa063b04
75e63b54 a910a80c f7ff9306 9e0cff01 900c2000
75e63b64 9607a80c ff1df7fd 2a009a07 809df040
I could only created the situation on genymotion emulator(Samsung Galaxy S4) when I tried to play mp4 video:
06-25 08:31:19.647: I/chromium(2652): [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
06-25 08:31:19.715: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:19.751: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:19.779: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:19.803: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:19.827: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:19.851: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:19.871: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:19.919: E/chromium(2652): [ERROR:gles2_cmd_decoder_autogen.h(69)] [GroupMarkerNotSet(crbug.com/242999)!:C0EBA4B9]GL ERROR :GL_INVALID_ENUM : glBindTexture: target was GL_TEXTURE_EXTERNAL_OES
06-25 08:31:19.919: E/chromium(2652): [ERROR:gles2_cmd_decoder_autogen.h(3142)] [GroupMarkerNotSet(crbug.com/242999)!:C0EBA4B9]GL ERROR :GL_INVALID_ENUM : glProduceTextureCHROMIUM: target was GL_TEXTURE_EXTERNAL_OES
06-25 08:31:19.919: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:19.991: I/qtaguid(191): Tagging socket 37 with tag 3f500000000(1013) for uid 10059 failed errno=-13
06-25 08:31:20.167: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:20.247: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:20.323: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:20.371: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:20.435: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:20.491: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:20.895: V/FFmpegExtractor(191): SniffFFMPEG
06-25 08:31:20.895: I/FFmpegExtractor(191): android-source:0xb8b91830
06-25 08:31:20.895: D/FFMPEG(191): android source begin open
06-25 08:31:20.895: D/FFMPEG(191): android open, url: android-source:0xb8b91830
06-25 08:31:20.895: D/FFMPEG(191): ffmpeg open android data source success, source ptr: 0xb8b91830
06-25 08:31:20.895: D/FFMPEG(191): android source open success
06-25 08:31:21.563: I/NuCachedSource2(191): new range: offset= 3406048
06-25 08:31:21.567: I/qtaguid(191): Tagging socket 39 with tag 3f500000000(1013) for uid 10059 failed errno=-13
06-25 08:31:21.579: I/qtaguid(191): Untagging socket 37 failed errno=-13
06-25 08:31:24.979: I/NuCachedSource2(191): ERROR_END_OF_STREAM
06-25 08:31:25.031: I/NuCachedSource2(191): new range: offset= 0
06-25 08:31:25.079: I/ChromiumHTTPDataSource(191): Reconnecting...
06-25 08:31:25.231: I/NuCachedSource2(191): retrying a previously failed read succeeded.
06-25 08:31:25.271: I/FFMPEG(191): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'android-source:0xb8b91830':
06-25 08:31:25.275: I/FFMPEG(191): Metadata:
06-25 08:31:25.275: I/FFMPEG(191): major_brand : mp42
06-25 08:31:25.275: I/FFMPEG(191): minor_version : 1
06-25 08:31:25.275: I/FFMPEG(191): compatible_brands: mp42avc1
06-25 08:31:25.275: I/FFMPEG(191): creation_time : 2014-06-24 11:20:49
06-25 08:31:25.275: I/FFMPEG(191): Duration: 00:01:14.48, start: 0.000000, bitrate: 397 kb/s
06-25 08:31:25.275: I/FFMPEG(191): Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 640x360, 334 kb/s, 25 fps, 25 tbr, 2500 tbn, 5k tbc (default)
06-25 08:31:25.275: I/FFMPEG(191): Metadata:
06-25 08:31:25.275: I/FFMPEG(191): creation_time : 2014-06-24 11:20:50
06-25 08:31:25.275: I/FFMPEG(191): handler_name : Apple Video Media Handler
06-25 08:31:25.275: I/FFMPEG(191): Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 59 kb/s (default)
06-25 08:31:25.275: I/FFMPEG(191): Metadata:
06-25 08:31:25.275: I/FFMPEG(191): creation_time : 2014-06-24 11:20:50
06-25 08:31:25.275: I/FFMPEG(191): handler_name : Apple Sound Media Handler
06-25 08:31:25.275: I/FFmpegExtractor(191): FFmpegExtrator, url: android-source:0xb8b91830, format_name: mov,mp4,m4a,3gp,3g2,mj2, format_long_name: QuickTime / MOV
06-25 08:31:25.275: I/FFmpegExtractor(191): list the formats suppoted by ffmpeg:
06-25 08:31:25.275: I/FFmpegExtractor(191): ========================================
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[00]: mpeg
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[01]: mpegts
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[02]: mov,mp4,m4a,3gp,3g2,mj2
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[03]: matroska,webm
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[04]: asf
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[05]: rm
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[06]: flv
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[07]: swf
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[08]: avi
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[09]: ape
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[10]: dts
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[11]: flac
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[12]: ac3
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[13]: wav
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[14]: ogg
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[15]: vc1
06-25 08:31:25.275: V/FFmpegExtractor(191): format_names[16]: hevc
06-25 08:31:25.275: I/FFmpegExtractor(191): ========================================
06-25 08:31:25.275: V/FFmpegExtractor(191): major_brand tag is:mp42
06-25 08:31:25.275: D/FFmpegExtractor(191): suppoted codec(h264) by official Stagefright
06-25 08:31:25.275: D/FFmpegExtractor(191): suppoted codec(aac) by official Stagefright
06-25 08:31:25.275: D/FFMPEG(191): android source close
06-25 08:31:25.275: I/FFmpegExtractor(191): sniff through BetterSniffFFMPEG success
06-25 08:31:25.275: D/FFmpegExtractor(191): ffmpeg detected media content as 'video/mp4' with confidence 0.08
06-25 08:31:25.275: I/FFmpegExtractor(191): support container: video/mp4, but it is caching data source, Don't use ffmpegextractor
06-25 08:31:26.211: I/NuCachedSource2(191): new range: offset= 3406048
06-25 08:31:26.211: I/qtaguid(191): Tagging socket 37 with tag 3f500000000(1013) for uid 10059 failed errno=-13
06-25 08:31:26.227: I/qtaguid(191): Untagging socket 39 failed errno=-13
06-25 08:31:26.951: I/NuCachedSource2(191): ERROR_END_OF_STREAM
06-25 08:31:26.987: I/MediaFocusControl(577): AudioFocus requestAudioFocus() from android.media.AudioManager#52b19560com.android.org.chromium.media.MediaPlayerListener#52824660
06-25 08:31:26.987: D/MediaPlayer(2652): Couldn't open file on client side, trying server side
06-25 08:31:26.991: I/AwesomePlayer(191): setDataSource_l(URL suppressed)
06-25 08:31:27.039: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:27.107: E/eglCodecCommon(2652): **** ERROR unknown type 0x0 (glSizeof,73)
06-25 08:31:27.191: A/libc(2652): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 2652 (isefe.gazeteler)
06-25 08:31:27.295: I/DEBUG(106): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-25 08:31:27.295: I/DEBUG(106): Build fingerprint: 'generic/vbox86p/vbox86p:4.4.2/KOT49H/eng.buildbot.20140524.041238:userdebug/test-keys'
06-25 08:31:27.295: I/DEBUG(106): Revision: '0'
06-25 08:31:27.295: I/DEBUG(106): pid: 2652, tid: 2652, name: isefe.gazeteler >>> com.barisefe.gazeteler <<<
06-25 08:31:27.295: I/DEBUG(106): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
06-25 08:31:27.519: I/DEBUG(106): backtrace:
06-25 08:31:27.519: I/DEBUG(106): #00 pc 011cc329 /system/lib/libwebviewchromium.so (cc::GLRenderer::DrawStreamVideoQuad(cc::DirectRenderer::DrawingFrame const*, cc::StreamVideoDrawQuad const*)+111)
06-25 08:31:27.519: I/DEBUG(106): stack:
06-25 08:31:27.519: I/DEBUG(106): bf8bfd18 00000438
06-25 08:31:27.519: I/DEBUG(106): bf8bfd1c 0000025e
06-25 08:31:27.519: I/DEBUG(106): bf8bfd20 43858000
06-25 08:31:27.519: I/DEBUG(106): bf8bfd24 b97ba3b0 [heap]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd28 b97ba3c0 [heap]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd2c 984aa285 /system/lib/libwebviewchromium.so (cc::GLRenderer::SetBlendEnabled(bool)+47)
06-25 08:31:27.519: I/DEBUG(106): bf8bfd30 b970d8a8 [heap]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd34 00000be2
06-25 08:31:27.519: I/DEBUG(106): bf8bfd38 984ac03d /system/lib/libwebviewchromium.so (cc::GLRenderer::GetVideoStreamTextureProgram(cc::TexCoordPrecision)+9)
06-25 08:31:27.519: I/DEBUG(106): bf8bfd3c 98d9eeb8 /system/lib/libwebviewchromium.so
06-25 08:31:27.519: I/DEBUG(106): bf8bfd40 b934d998 [heap]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd44 b97ba398 [heap]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd48 00000001
06-25 08:31:27.519: I/DEBUG(106): bf8bfd4c 984ac325 /system/lib/libwebviewchromium.so (cc::GLRenderer::DrawStreamVideoQuad(cc::DirectRenderer::DrawingFrame const*, cc::StreamVideoDrawQuad const*)+107)
06-25 08:31:27.519: I/DEBUG(106): bf8bfd50 b934d998 [heap]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd54 00000001
06-25 08:31:27.519: I/DEBUG(106): #00 bf8bfd58 000000ca
06-25 08:31:27.519: I/DEBUG(106): bf8bfd5c bf8bfd80 [stack]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd60 3f800000
06-25 08:31:27.519: I/DEBUG(106): bf8bfd64 00000002
06-25 08:31:27.519: I/DEBUG(106): bf8bfd68 bf8bfd90 [stack]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd6c b934d998 [heap]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd70 00000000
06-25 08:31:27.519: I/DEBUG(106): bf8bfd74 0000010b
06-25 08:31:27.519: I/DEBUG(106): bf8bfd78 00000438
06-25 08:31:27.519: I/DEBUG(106): bf8bfd7c 984b4008 /system/lib/libwebviewchromium.so (cc::GLRenderer::DoDrawQuad(cc::DirectRenderer::DrawingFrame*, cc::DrawQuad const*)+286)
06-25 08:31:27.519: I/DEBUG(106): bf8bfd80 00000168
06-25 08:31:27.519: I/DEBUG(106): bf8bfd84 000000ca
06-25 08:31:27.519: I/DEBUG(106): bf8bfd88 44870000
06-25 08:31:27.519: I/DEBUG(106): bf8bfd8c 44178000
06-25 08:31:27.519: I/DEBUG(106): bf8bfd90 b934d998 [heap]
06-25 08:31:27.519: I/DEBUG(106): bf8bfd94 bf8bfea8 [stack]
06-25 08:31:27.675: I/BootReceiver(577): Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
06-25 08:31:27.695: D/dalvikvm(577): GC_FOR_ALLOC freed 1712K, 21% free 14837K/18732K, paused 20ms, total 20ms
06-25 08:31:27.703: W/ActivityManager(577): Force finishing activity com.barisefe.gazeteler/.NewsBrowserActivity
06-25 08:31:27.723: W/MediaFocusControl(577): AudioFocus audio focus client died
06-25 08:31:27.723: I/MediaFocusControl(577): AudioFocus removeFocusStackEntry(): removing entry for android.os.BinderProxy#529ab19c
06-25 08:31:27.723: I/ActivityManager(577): Process com.barisefe.gazeteler (pid 2652) has died.
06-25 08:31:27.727: I/AwesomePlayer(191): Prepare cancelled while waiting for initial cache fill.
06-25 08:31:27.727: W/MediaPlayerService(191): native_window_api_disconnect returned an error: Broken pipe (-32)
06-25 08:31:27.727: W/InputDispatcher(577): channel '52a12384 com.barisefe.gazeteler/com.barisefe.gazeteler.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-25 08:31:27.727: E/InputDispatcher(577): channel '52a12384 com.barisefe.gazeteler/com.barisefe.gazeteler.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-25 08:31:27.731: W/InputDispatcher(577): Attempted to unregister already unregistered input channel '52a12384 com.barisefe.gazeteler/com.barisefe.gazeteler.MainActivity (server)'
06-25 08:31:27.731: I/WindowState(577): WIN DEATH: Window{52a12384 u0 com.barisefe.gazeteler/com.barisefe.gazeteler.MainActivity}
06-25 08:31:27.735: I/WindowState(577): WIN DEATH: Window{5295de8c u0 com.barisefe.gazeteler/com.barisefe.gazeteler.NewsBrowserActivity}
06-25 08:31:27.743: D/dalvikvm(2749): Late-enabling CheckJNI
06-25 08:31:27.755: I/ActivityManager(577): Start proc com.barisefe.gazeteler for activity com.barisefe.gazeteler/.MainActivity: pid=2749 uid=10059 gids={50059, 3003}
06-25 08:31:27.827: I/qtaguid(191): Untagging socket 37 failed errno=-13
06-25 08:31:27.843: D/dalvikvm(2749): GC_CONCURRENT freed 58K, 4% free 3497K/3636K, paused 2ms+0ms, total 12ms
06-25 08:31:27.879: D/dalvikvm(2749): GC_FOR_ALLOC freed 9K, 4% free 3676K/3796K, paused 3ms, total 3ms
06-25 08:31:27.887: I/dalvikvm-heap(2749): Grow heap (frag case) to 8.660MB for 5241612-byte allocation
06-25 08:31:27.895: D/dalvikvm(2749): GC_FOR_ALLOC freed <1K, 2% free 8795K/8916K, paused 9ms, total 10ms
06-25 08:31:27.899: D/dalvikvm(2749): GC_CONCURRENT freed 0K, 2% free 8795K/8916K, paused 2ms+1ms, total 4ms
06-25 08:31:27.967: W/GooglePlayServicesUtil(2749): Google Play services is missing.
06-25 08:31:27.975: D/dalvikvm(2749): DexOpt: --- BEGIN 'ads695412881.jar' (bootstrap=0) ---
06-25 08:31:27.975: D/Zygote(190): Process 2652 terminated by signal (11)
06-25 08:31:27.979: W/linker(2763): libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
06-25 08:31:27.995: D/dalvikvm(2763): DexOpt: load 2ms, verify+opt 1ms, 158252 bytes
06-25 08:31:28.003: D/dalvikvm(2749): DexOpt: --- END 'ads695412881.jar' (success) ---
06-25 08:31:28.003: D/dalvikvm(2749): DEX prep '/data/data/com.barisefe.gazeteler/cache/ads695412881.jar': unzip in 0ms, rewrite 26ms
06-25 08:31:28.007: I/Ads(2749): Use AdRequest.Builder.addTestDevice("82E22535BB949544CBEEF894029F0CE9") to get test ads on this device.
06-25 08:31:28.011: I/Ads(2749): Starting ad request.
06-25 08:31:28.015: V/WebViewChromium(2749): Binding Chromium to the background looper Looper (main, tid 1) {52828044}
06-25 08:31:28.015: I/chromium(2749): [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0
06-25 08:31:28.019: I/BrowserProcessMain(2749): Initializing chromium process, renderers=0
06-25 08:31:28.031: D/libEGL(2749): loaded /system/lib/egl/libEGL_genymotion.so
06-25 08:31:28.031: D/(2749): HostConnection::get() New Host Connection established 0xb9301bc0, tid 2749
06-25 08:31:28.031: W/chromium(2749): [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation
06-25 08:31:28.047: D/libEGL(2749): loaded /system/lib/egl/libGLESv1_CM_genymotion.so
06-25 08:31:28.047: D/libEGL(2749): loaded /system/lib/egl/libGLESv2_genymotion.so
06-25 08:31:28.099: D/dalvikvm(2749): GC_FOR_ALLOC freed 229K, 4% free 9191K/9500K, paused 5ms, total 5ms
06-25 08:31:28.103: I/dalvikvm-heap(2749): Grow heap (frag case) to 11.466MB for 2536932-byte allocation
06-25 08:31:28.107: D/dalvikvm(2749): GC_CONCURRENT freed <1K, 3% free 11668K/11980K, paused 5ms+0ms, total 7ms
06-25 08:31:28.263: W/EGL_genymotion(2749): eglSurfaceAttrib not implemented
06-25 08:31:28.267: E/OpenGLRenderer(2749): Getting MAX_TEXTURE_SIZE from GradienCache
06-25 08:31:28.267: E/OpenGLRenderer(2749): MAX_TEXTURE_SIZE: 8192
06-25 08:31:28.271: E/OpenGLRenderer(2749): Getting MAX_TEXTURE_SIZE from Caches::initConstraints()
06-25 08:31:28.271: E/OpenGLRenderer(2749): MAX_TEXTURE_SIZE: 8192
06-25 08:31:28.271: D/OpenGLRenderer(2749): Enabling debug mode 0
06-25 08:31:32.755: I/Choreographer(2749): Skipped 267 frames! The application may be doing too much work on its main thread.
06-25 08:31:32.791: W/WindowManager(577): Rebuild removed 3 windows but added 2
06-25 08:31:32.791: W/WindowManager(577): java.lang.RuntimeException: here
06-25 08:31:32.791: W/WindowManager(577): at com.android.server.wm.WindowManagerService.rebuildAppWindowListLocked(WindowManagerService.java:8011)
06-25 08:31:32.791: W/WindowManager(577): at com.android.server.wm.WindowManagerService.rebuildAppWindowListLocked(WindowManagerService.java:7947)
06-25 08:31:32.791: W/WindowManager(577): at com.android.server.wm.WindowManagerService.handleAnimatingStoppedAndTransitionLocked(WindowManagerService.java:8691)
06-25 08:31:32.791: W/WindowManager(577): at com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner(WindowManagerService.java:9205)
06-25 08:31:32.791: W/WindowManager(577): at com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop(WindowManagerService.java:8163)
06-25 08:31:32.791: W/WindowManager(577): at com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked(WindowManagerService.java:8105)
06-25 08:31:32.791: W/WindowManager(577): at com.android.server.wm.WindowManagerService.access$300(WindowManagerService.java:157)
06-25 08:31:32.791: W/WindowManager(577): at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:7139)
06-25 08:31:32.791: W/WindowManager(577): at android.os.Handler.dispatchMessage(Handler.java:102)
06-25 08:31:32.791: W/WindowManager(577): at android.os.Looper.loop(Looper.java:136)
06-25 08:31:32.791: W/WindowManager(577): at android.os.HandlerThread.run(HandlerThread.java:61)
06-25 08:31:32.791: W/WindowManager(577): This window was lost: Window{5295de8c u0 com.barisefe.gazeteler/com.barisefe.gazeteler.NewsBrowserActivity}
06-25 08:31:32.791: W/WindowManager(577): mDisplayId=0 mSession=Session{52b692b4 2652:u0a10059} mClient=android.os.BinderProxy#529978b4
06-25 08:31:32.791: W/WindowManager(577): mOwnerUid=10059 mShowToOwnerOnly=true package=com.barisefe.gazeteler appop=NONE
06-25 08:31:32.791: W/WindowManager(577): mAttrs=WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=1 fl=#1810180 pfl=0x8 wanim=0x10302a1}
06-25 08:31:32.791: W/WindowManager(577): Requested w=1080 h=1776 mLayoutSeq=520
06-25 08:31:32.791: W/WindowManager(577): mBaseLayer=21000 mSubLayer=0 mAnimLayer=21005+0=21005 mLastLayer=21015
06-25 08:31:32.791: W/WindowManager(577): mToken=AppWindowToken{5299aeb4 token=Token{5292a720 ActivityRecord{5298fec8 u0 com.barisefe.gazeteler/.NewsBrowserActivity t7}}}
06-25 08:31:32.791: W/WindowManager(577): mRootToken=AppWindowToken{5299aeb4 token=Token{5292a720 ActivityRecord{5298fec8 u0 com.barisefe.gazeteler/.NewsBrowserActivity t7}}}
06-25 08:31:32.791: W/WindowManager(577): mAppToken=AppWindowToken{5299aeb4 token=Token{5292a720 ActivityRecord{5298fec8 u0 com.barisefe.gazeteler/.NewsBrowserActivity t7}}}
06-25 08:31:32.791: W/WindowManager(577): mViewVisibility=0x0 mHaveFrame=true mObscured=false
06-25 08:31:32.791: W/WindowManager(577): mSeq=0 mSystemUiVisibility=0x0
06-25 08:31:32.791: W/WindowManager(577): mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
06-25 08:31:32.791: W/WindowManager(577): mConfiguration={1.0 ?mcc?mnc en_US ldltr sw360dp w360dp h567dp 480dpi nrml port finger qwerty/v/v dpad/v s.5}
06-25 08:31:32.791: W/WindowManager(577): mHasSurface=true mShownFrame=[0.0,0.0][1080.0,1776.0] isReadyForDisplay()=false
06-25 08:31:32.791: W/WindowManager(577): mFrame=[0,0][1080,1776] last=[0,0][1080,1776]
06-25 08:31:32.791: W/WindowManager(577): mSystemDecorRect=[0,75][1080,1776] last=[0,75][1080,1776]
06-25 08:31:32.791: W/WindowManager(577): Frames: containing=[0,0][1080,1776] parent=[0,0][1080,1776]
06-25 08:31:32.791: W/WindowManager(577): display=[0,0][1080,1776] overscan=[0,0][1080,1920]
06-25 08:31:32.791: W/WindowManager(577): content=[0,75][1080,1776] visible=[0,75][1080,1776]
06-25 08:31:32.791: W/WindowManager(577): decor=[0,75][1080,1776]
06-25 08:31:32.791: W/WindowManager(577): Cur insets: overscan=[0,0][0,0] content=[0,75][0,0] visible=[0,75][0,0]
06-25 08:31:32.791: W/WindowManager(577): Lst insets: overscan=[0,0][0,0] content=[0,75][0,0] visible=[0,75][0,0]
06-25 08:31:32.791: W/WindowManager(577): WindowStateAnimator{52b684d0 com.xxx.yyy/com.xxx.yyy.HedeBrowserActivity}:
06-25 08:31:32.791: W/WindowManager(577): mSurface=Surface(name=com.xxx.yyy/com.xxx.yyy.HedeBrowserActivity)
06-25 08:31:32.791: W/WindowManager(577): mDrawState=HAS_DRAWN mLastHidden=true
06-25 08:31:32.791: W/WindowManager(577): Surface: shown=false layer=21015 alpha=1.0 rect=(0.0,0.0) 1080.0 x 1776.0
06-25 08:31:32.791: W/WindowManager(577): mGlobalScale=1.0 mDsDx=1.0 mDtDx=0.0 mDsDy=0.0 mDtDy=1.0
06-25 08:31:32.791: W/WindowManager(577): mExiting=false mRemoveOnExit=false mDestroying=true mRemoved=false
06-25 08:31:32.791: W/WindowManager(577): Current app token list:
06-25 08:31:32.791: V/WindowManager(577): Display 0
06-25 08:31:32.791: V/WindowManager(577): #1: Token{52a0cb88 ActivityRecord{52a0cad8 u0 com.xxx.yyy/.MainActivity t7}}
06-25 08:31:32.791: V/WindowManager(577): #0: Token{529b44ec ActivityRecord{52991f2c u0 com.android.launcher/com.android.launcher2.Launcher t1}}
06-25 08:31:32.791: W/WindowManager(577): Final window list:
06-25 08:31:32.791: V/WindowManager(577): #0: Window{529c3590 u0 SearchPanel}
06-25 08:31:32.791: V/WindowManager(577): #1: Window{52990efc u0 NavigationBar}
06-25 08:31:32.791: V/WindowManager(577): #2: Window{52980744 u0 StatusBar}
06-25 08:31:32.791: V/WindowManager(577): #3: Window{529cf5d8 u0 Keyguard}
06-25 08:31:32.791: V/WindowManager(577): #4: Window{5290d2a8 u0 KeyguardScrim}
06-25 08:31:32.791: V/WindowManager(577): #5: Window{5296d0cc u0 Application Error: com.xxx.yyy}
06-25 08:31:32.791: V/WindowManager(577): #6: Window{529a7b38 u0 com.xxx.yyy/com.xxx.yyy.MainActivity}
06-25 08:31:32.791: V/WindowManager(577): #7: Window{52964704 u0 com.android.launcher/com.android.launcher2.Launcher}
06-25 08:31:32.791: V/WindowManager(577): #8: Window{52919a38 u0 com.android.systemui.ImageWallpaper}
06-25 08:31:32.803: I/ActivityManager(577): Displayed com.xxx.yyy/.MainActivity: +5s72ms
06-25 08:31:32.939: I/chromium(2749): [INFO:simple_index_file.cc(397)] Simple Cache Index is being restored from disk.
06-25 08:31:32.943: I/Ads(2749): JS: Document was loaded from Application Cache with manifest http://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache (http://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html:0)
06-25 08:31:32.943: I/chromium(2749): [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest http://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache", source: http://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
06-25 08:31:32.943: I/Ads(2749): JS: Application Cache Checking event (http://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html:0)
06-25 08:31:32.943: I/chromium(2749): [INFO:CONSOLE(0)] "Application Cache Checking event", source: http://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
06-25 08:31:33.143: I/Ads(2749): JS: Application Cache NoUpdate event (http://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html:0)
06-25 08:31:33.143: I/chromium(2749): [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: http://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
06-25 08:31:33.199: W/ContextImpl(2749): Implicit intents with startService are not safe: Intent { act=com.google.android.gms.analytics.service.START (has extras) } android.content.ContextWrapper.bindService:517 com.google.analytics.tracking.android.AnalyticsGmsCoreClient.connect:82 com.google.analytics.tracking.android.GAServiceProxy.connectToService:330
06-25 08:31:33.199: W/GAV3(2749): Thread[GAThread,5,main]: Service unavailable (code=1), will retry.
06-25 08:31:33.199: I/GAV3(2749): Thread[GAThread,5,main]: No campaign data found.
06-25 08:31:33.199: W/ActivityManager(577): Unable to start service Intent { act=com.google.android.gms.analytics.service.START (has extras) } U=0: not found
06-25 08:31:35.007: W/InputMethodManagerService(577): Got RemoteException sending setActive(false) notification to pid 2652 uid 10059
06-25 08:31:35.011: W/Binder(763): Caught a RuntimeException from the binder stub implementation.
06-25 08:31:35.011: W/Binder(763): java.lang.NullPointerException
06-25 08:31:35.011: W/Binder(763): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
06-25 08:31:35.011: W/Binder(763): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
06-25 08:31:35.011: W/Binder(763): at android.os.Binder.execTransact(Binder.java:404)
06-25 08:31:35.011: W/Binder(763): at dalvik.system.NativeStart.run(Native Method)
I couldn't control the html coming from url so I need a solution that works on application site.
Thanks.
I'm experiencing a very similar issue with my app on Android 4.4.2.
I found this thread on Chromium support forum that identifies the issue I think is 100% relevant to me, and may be relevant to you.
https://code.google.com/p/chromium/issues/detail?id=334992
334992 - WebView on Nexus 10 with stock KitKat 4.4.2 crashes when scrolling up or down
Basically, when attempting to scroll (up-down, or left-right) on long content that has not fully loaded, you can reliably make the webview control crash.
It only happens on some devices (like it happens on Galaxy S5 for me, but not Galaxy Mega), but always seems to affect Android 4.4.2.
Check out that Chromium thread, and I hope that helps.
There's a chromium bug link on this line:
06-25 08:31:19.919: E/chromium(2652): [ERROR:gles2_cmd_decoder_autogen.h(69)] [GroupMarkerNotSet(crbug.com/242999)!:C0EBA4B9]GL ERROR :GL_INVALID_ENUM : glBindTexture: target was GL_TEXTURE_EXTERNAL_OES
which is pointing to : https://code.google.com/p/chromium/issues/detail?id=242999
Most probably, the GLES implementation on genymotion is missing OES_EGL_image_external*
*http://www.khronos.org/registry/gles/extensions/OES/OES_EGL_image_external.txt
This could be caused from a graphic memory bug, so you can try to disable some CSS using any -CSS webkit-transform like " -webkit-transform: rotate(0deg) scaleX(1) scaleY(1); ". (I saw this same bug on iOS if you load too many data in GPU memory).
Pre-requisites: ARMv7 device, Android platform 4.2.2.
Time to time I get SIGABRT upon interaction with a system service (a really buggy one) over a binder. The stack trace is as follows:
#00 pc 000170ac /system/lib/libc.so (__ioctl+8)
#01 pc 0002aa8d /system/lib/libc.so (ioctl+16)
#02 pc 00016ba1 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+132)
#03 pc 0001709d /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+44)
#04 pc 000172b7 /system/lib/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+114)
#05 pc 00014a3b /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+34)
__ioctl resolves to the following assembly code:
000170a4 <__ioctl>:
170a4: e92d0090 push {r4, r7}
170a8: e3a07036 mov r7, #54 ; 0x36
170ac: ef000000 svc 0x00000000
170b0: e8bd0090 pop {r4, r7}
170b4: e1b00000 movs r0, r0
170b8: 512fff1e bxpl lr
170bc: ea0093a6 b 3bf5c
The stack dump is triggered by signal 6 (SIGABRT), code -6 (SI_KILL), with a fault address like 0x304, 0x330, 0x33A (it differs time to time and I am not even sure whether it is really an address in any address space rather than an error code or a flag combination).
I have no idea what the signal might indicate, i.e. whether it is
a driver error (but why is it relayed in such a strange way rather than over the return value?)
an unintercepted driver fault (is that even possible without a kernel panic?);
a kernel fault (outside the driver call and possibly unrelated to the driver);
a broken interrupt vector (then why not SIGSEGV or SIGILL?);
a result of SIGQUIT (Dalvik stack trace signal) received in supervisor mode.
In the last case, I take my amazement back and proceed to investigation of the blocking call freeze cause (deadlock in the called process?). Possibly, I can build a test application to reproduce this specific precondition but it will take time.
I found a number of similar-looking traces and bug reports around the web, indicating that the issue is not device or vendor specific (though possibly platform version specific).
The exact service being interacted with does not matter either.
P.S. logcat:
03-21 16:21:22.933 772 831 I InputDispatcher: Application is not responding: Window{41000dd8 u0 my.application.package/my.application.package.MyActivity}. It has been 5008.3ms since event, 5005.7ms since wait started. Reason: Waiting because the touched window has not finished processing the input events that were previously delivered to it.
03-21 16:21:22.943 772 831 I WindowManager: Input event dispatching timed out sending to my.application.package/my.application.package.MyActivity
03-21 16:21:23.163 772 831 I Process : Sending signal. PID: 16195 SIG: 3
03-21 16:21:23.163 16195 16200 I dalvikvm: threadid=3: reacting to signal 3
03-21 16:21:23.263 16195 16200 I dalvikvm: Wrote stack traces to '/data/anr/traces.txt'
03-21 16:21:23.273 772 831 E ActivityManager: ANR in my.application.package (my.application.package/my.application.package.MyActivity)
03-21 16:21:23.273 772 831 E ActivityManager: Reason: keyDispatchingTimedOut
03-21 16:21:23.273 772 831 E ActivityManager: Load: 0.0 / 0.0 / 0.0
03-21 16:21:23.273 772 831 E ActivityManager: CPU usage from 18140ms to 0ms ago:
-- CPU usage dump, nothing unusual --
03-21 16:21:23.273 772 831 E ActivityManager: 61% TOTAL: 33% user + 27% kernel + 0% iowait + 0.8% softirq
03-21 16:21:23.273 772 831 E ActivityManager: CPU usage from 5686369ms to 5686369ms ago with 0% awake:
03-21 16:21:23.273 772 831 E ActivityManager: 0% TOTAL: 0% user + 0% kernel
03-21 16:21:23.283 772 831 I Process : Sending signal. PID: 16195 SIG: 6
03-21 16:21:23.283 16195 16195 F libc : Fatal signal 6 (SIGABRT) at 0x00000304 (code=0), thread 16195 (my.application.package)
-- and then the stack dump --