Native crash at /system/lib/libwebviewchromium.so on kitkat android 4.4 - android
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).
Related
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 16163 , how to fix this?
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.
App crashes when trying to use JavaMail for Android
I'm trying to use the JavaMail Android port in my application but my app crashes when I try to send anything. I've followed the guide here and created the Mailclass. Then in my MainActivity I've added protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Mail m = new Mail("mailtosendfrom", "mypassword"); new SendMailTask().execute(m); } private class SendMailTask extends AsyncTask<Mail, Void, Void> { #Override protected Void doInBackground(Mail... mail) { Mail m = mail[0]; String[] toArr = {"mailtosendto"}; m.setTo(toArr); m.setFrom("mailtosendfrom"); m.setSubject("This is an email sent using my Mail JavaMail wrapper from an Android device."); m.setBody("Email body."); try { m.send(); } catch (Exception e) { e.printStackTrace(); } return null; } } AndroidManifest.xml: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="mypackage" > <uses-permission android:name="android.permission.INTERNET" /> <application ...> ... </application> </manifest> Now when I start my app it crashes immediately with the following message in logcat: 04-19 18:37:58.540 4547-4547/? D/AndroidRuntime﹕ >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<< 04-19 18:37:58.540 4547-4547/? D/AndroidRuntime﹕ CheckJNI is ON 04-19 18:37:58.570 4547-4547/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory) 04-19 18:37:58.570 4547-4547/? E/android.os.Debug﹕ failed to load memtrack module: -2 04-19 18:37:58.590 4547-4547/? D/AndroidRuntime﹕ Calling main entry com.android.commands.am.Am --------- beginning of system 04-19 18:37:58.590 1313-1823/system_process I/ActivityManager﹕ Force stopping com.oskar.ratingapp appid=10046 user=0: from pid 4547 04-19 18:37:58.600 4547-4547/? D/AndroidRuntime﹕ Shutting down VM 04-19 18:37:58.600 4547-4550/? I/art﹕ Debugger is no longer active 04-19 18:37:58.600 4547-4556/? E/art﹕ Thread attaching while runtime is shutting down: Binder_1 04-19 18:37:58.600 4547-4556/? I/AndroidRuntime﹕ NOTE: attach of thread 'Binder_1' failed 04-19 18:37:58.990 4559-4559/? D/AndroidRuntime﹕ >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<< 04-19 18:37:58.990 4559-4559/? D/AndroidRuntime﹕ CheckJNI is ON 04-19 18:37:59.030 4559-4559/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory) 04-19 18:37:59.030 4559-4559/? E/android.os.Debug﹕ failed to load memtrack module: -2 04-19 18:37:59.050 4559-4559/? D/AndroidRuntime﹕ Calling main entry com.android.commands.am.Am 04-19 18:37:59.060 1313-1804/system_process I/ActivityManager﹕ START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.oskar.ratingapp/.MainActivity} from uid 0 on display 0 04-19 18:37:59.070 4559-4559/? D/AndroidRuntime﹕ Shutting down VM 04-19 18:37:59.080 1313-1330/system_process I/ActivityManager﹕ Start proc com.oskar.ratingapp for activity com.oskar.ratingapp/.MainActivity: pid=4569 uid=10046 gids={50046, 9997, 3003} abi=x86_64 04-19 18:37:59.080 4559-4561/? I/art﹕ Debugger is no longer active 04-19 18:37:59.080 4569-4569/? E/libprocessgroup﹕ failed to make and chown /acct/uid_10046: Read-only file system 04-19 18:37:59.080 4569-4569/? W/Zygote﹕ createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT? 04-19 18:37:59.080 4569-4569/? I/art﹕ Not late-enabling -Xcheck:jni (already on) 04-19 18:37:59.330 4569-4585/? D/OpenGLRenderer﹕ Render dirty regions requested: true 04-19 18:37:59.350 4569-4569/? D/﹕ HostConnection::get() New Host Connection established 0x7fb32fc8f280, tid 4569 04-19 18:37:59.370 4569-4569/? D/Atlas﹕ Validating map... 04-19 18:37:59.430 4569-4585/? D/﹕ HostConnection::get() New Host Connection established 0x7fb32fc8ff40, tid 4585 04-19 18:37:59.440 4569-4585/? I/OpenGLRenderer﹕ Initialized EGL, version 1.4 04-19 18:37:59.460 4569-4585/? D/OpenGLRenderer﹕ Enabling debug mode 0 04-19 18:37:59.480 4569-4585/? W/EGL_emulation﹕ eglSurfaceAttrib not implemented 04-19 18:37:59.480 4569-4585/? W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0x7fb32fc8ef00, error=EGL_SUCCESS --------- beginning of crash 04-19 18:37:59.610 4569-4584/? A/libc﹕ Fatal signal 11 (SIGSEGV), code 1, fault addr 0x750000013f in tid 4584 (AsyncTask #1) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 04-19 18:37:59.730 957-957/? I/DEBUG﹕ Build fingerprint: 'generic_x86_64/sdk_phone_x86_64/generic_x86_64:5.0/LRX09D/1504858:eng/test-keys' 04-19 18:37:59.730 957-957/? I/DEBUG﹕ Revision: '0' 04-19 18:37:59.730 957-957/? I/DEBUG﹕ ABI: 'x86_64' 04-19 18:37:59.730 957-957/? I/DEBUG﹕ pid: 4569, tid: 4584, name: AsyncTask #1 >>> com.oskar.ratingapp <<< 04-19 18:37:59.730 957-957/? I/DEBUG﹕ signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x750000013f 04-19 18:37:59.730 957-957/? I/DEBUG﹕ rax 0000000000000000 rbx 000000750000008f rcx 0000000000000081 rdx 0000000000000001 04-19 18:37:59.730 957-957/? I/DEBUG﹕ rsi 000000000000001e rdi 00007fb33a7a72b0 04-19 18:37:59.730 957-957/? I/DEBUG﹕ r8 000000000000014a r9 0000000000000000 r10 00007fb33e64fe2c r11 00007fb3410b12c0 04-19 18:37:59.730 957-957/? I/DEBUG﹕ r12 00007fb32fc91380 r13 0000000000000001 r14 00007fb32fccf268 r15 00007fb32fccf380 04-19 18:37:59.730 957-957/? I/DEBUG﹕ cs 0000000000000033 ss 000000000000002b 04-19 18:37:59.730 957-957/? I/DEBUG﹕ rip 00007fb3411144d6 rbp 0000000000000000 rsp 00007fb32fbfeb30 eflags 0000000000010202 04-19 18:37:59.730 957-957/? I/DEBUG﹕ backtrace: 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #00 pc 00000000000e34d6 /system/lib64/libcrypto.so (ENGINE_init+38) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #01 pc 00000000000eb435 /system/lib64/libcrypto.so (EVP_MD_CTX_copy_ex+37) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #02 pc 00000000000f8582 /system/lib64/libcrypto.so (HMAC_CTX_copy+66) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #03 pc 00000000000f7e32 /system/lib64/libcrypto.so 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #04 pc 00000000000f698a /system/lib64/libcrypto.so (EVP_PKEY_CTX_dup+234) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #05 pc 00000000000eb52b /system/lib64/libcrypto.so (EVP_MD_CTX_copy_ex+283) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #06 pc 000000000004a9b3 /system/lib64/libssl.so (tls1_mac+195) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #07 pc 0000000000032456 /system/lib64/libssl.so 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #08 pc 000000000003207e /system/lib64/libssl.so (ssl3_write_bytes+302) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #09 pc 00000000000261d0 /system/lib64/libssl.so (ssl3_do_write+32) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #10 pc 0000000000028ef1 /system/lib64/libssl.so (ssl3_connect+2353) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #11 pc 00000000000207d7 /system/lib64/libssl.so (ssl23_connect+3463) 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #12 pc 00000000000186a2 /system/lib64/libjavacrypto.so 04-19 18:37:59.730 957-957/? I/DEBUG﹕ #13 pc 0000000000409ef1 /data/dalvik-cache/x86_64/system#framework#boot.oat 04-19 18:37:59.800 957-957/? I/DEBUG﹕ Tombstone written to: /data/tombstones/tombstone_01 04-19 18:37:59.840 1313-1399/system_process W/InputDispatcher﹕ channel '27028e74 com.oskar.ratingapp/com.oskar.ratingapp.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 04-19 18:37:59.840 1313-1399/system_process E/InputDispatcher﹕ channel '27028e74 com.oskar.ratingapp/com.oskar.ratingapp.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 04-19 18:37:59.840 963-963/? I/Zygote﹕ Process 4569 exited due to signal (11) 04-19 18:37:59.940 1313-4593/system_process W/ActivityManager﹕ Force finishing activity com.oskar.ratingapp/.MainActivity 04-19 18:37:59.950 1313-1822/system_process I/WindowState﹕ WIN DEATH: Window{27028e74 u0 com.oskar.ratingapp/com.oskar.ratingapp.MainActivity} 04-19 18:37:59.950 1313-1822/system_process W/InputDispatcher﹕ Attempted to unregister already unregistered input channel '27028e74 com.oskar.ratingapp/com.oskar.ratingapp.MainActivity (server)' 04-19 18:37:59.950 1313-4593/system_process E/ActivityManager﹕ Invalid thumbnail dimensions: 360x360 04-19 18:37:59.950 1313-4593/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:479) at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:701) at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:852) at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2754) at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2611) at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2448) at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:11507) at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:11404) at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:12083) at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:11599) at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86) 04-19 18:37:59.950 946-946/? E/lowmemorykiller﹕ Error opening /proc/4569/oom_score_adj; errno=2 04-19 18:37:59.960 1313-1329/system_process I/ActivityManager﹕ Process com.oskar.ratingapp (pid 4569) has died 04-19 18:38:00.000 1313-2329/system_process I/OpenGLRenderer﹕ Initialized EGL, version 1.4 04-19 18:38:00.010 1903-1968/com.android.launcher W/EGL_emulation﹕ eglSurfaceAttrib not implemented 04-19 18:38:00.010 1903-1968/com.android.launcher W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0x7fb32dde2980, error=EGL_SUCCESS 04-19 18:38:00.010 1313-2329/system_process W/EGL_emulation﹕ eglSurfaceAttrib not implemented 04-19 18:38:00.010 1313-2329/system_process W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0x7fb328cf1780, error=EGL_SUCCESS 04-19 18:38:03.090 1313-1426/system_process D/TaskPersister﹕ removeObsoleteFile: deleting file=44_task.xml 04-19 18:38:03.200 1313-1414/system_process W/AudioTrack﹕ AUDIO_OUTPUT_FLAG_FAST denied by client 04-19 18:38:03.220 1313-1463/system_process W/InputMethodManagerService﹕ Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#12273a0d attribute=null, token = android.os.BinderProxy#133a0350 04-19 18:38:03.740 1903-1968/com.android.launcher W/OpenGLRenderer﹕ Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
complete shot in the dark. This has worked for me however. try this ExecutorService es = Executors.newCachedThreadPool(); es.execute(new Runnable() { #Override public void run() { //Run Mail Here } }); es.shutdown(); //This part is so that you know when the ES has finished so that you can persay say success. try { boolean finshed = es.awaitTermination(1, TimeUnit.MINUTES); } catch (InterruptedException e) { e.printStackTrace(); } I had an issue with AsyncTasks earlier. Hope it helps!
The code is not the problem, the emulator is. I just tried this on a device instead of the emulator and it works flawlessly.
android tesseract ocr
I am trying to make android OCR that reads arabic using tesseract and the code in this tutorial http://gaut.am/making-an-ocr-android-app-using-tesseract/ but every time I modify the code and change training data to arabic the app just shuts down without any error message. my logcat as follow 06-25 13:14:02.341: I/DEBUG(31): bef6ceb4 66206e69 06-25 13:14:03.331: I/BootReceiver(61): Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE) 06-25 13:14:03.361: D/Zygote(33): Process 335 terminated by signal (11) 06-25 13:14:03.371: I/ActivityManager(61): Process com.datumdroid.android.ocr.simple (pid 335) has died. 06-25 13:14:03.371: I/WindowManager(61): WIN DEATH: Window{4054f8f8 com.datumdroid.android.ocr.simple/com.datumdroid.android.ocr.simple.SimpleAndroidOCRActivity paused=false} 06-25 13:14:03.441: I/WindowManager(61): Setting rotation to 0, animFlags=1 06-25 13:14:03.641: I/ActivityManager(61): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=6} 06-25 13:14:04.511: W/IInputConnectionWrapper(344): showStatusIcon on inactive InputConnection 06-25 13:14:06.201: D/dalvikvm(61): GC_EXPLICIT freed 418K, 50% free 4160K/8263K, external 3125K/3903K, paused 77ms 06-25 13:18:06.902: D/SntpClient(61): request time failed: java.net.SocketException: Address family not supported by protocol
You do know that you need eng files besides the arab right? even though you dont need them for anything they need to be present in your training folder
Android app crashes when generating list-view
Frameworks/Tools used for app development: jQuery Mobile 1.0.1 PhoneGap 1.3 Device/s used used for testing: Lenovo Thinkpad (Android 3.1) Sony experia (Android 2.3) Issue: App will always crash when dynamically generating a page (jQuery Mobile) with list-view items (items 60+). This is the case only on Android 3.x, app works fine on Android 2.x. <ul id="mk_activity" data-role="listview"> //the rows are added here dynamically </ul> On Android 3.x crash can be replicated every time the app refreshes the page with dynamically generated list-view. Since the app works fine in Android 2.x and there are no issues when running the app on the browser I'm assuming that the issue has to be with Android 3.x. Please someone shed some light on this issue, thanks in advance. Here are the logs from logcat: 01-30 09:51:02.215: I//system/bin/fsck_msdos(29): Attempting to allocate 2032 KB for FAT 01-30 09:51:02.285: D/dalvikvm(146): GC_FOR_ALLOC freed 516K, 11% free 8127K/9095K, paused 69ms 01-30 09:51:02.445: D/dalvikvm(146): GC_CONCURRENT freed 4K, 5% free 8685K/9095K, paused 4ms+3ms 01-30 09:51:02.695: V/TLINE(146): new: android.text.TextLine#4063cde0 01-30 09:51:03.215: D/dalvikvm(146): GC_CONCURRENT freed 723K, 10% free 8756K/9671K, paused 3ms+97ms 01-30 09:51:03.475: D/dalvikvm(146): GC_FOR_ALLOC freed 350K, 9% free 8862K/9671K, paused 121ms 01-30 09:51:03.475: I/dalvikvm-heap(146): Grow heap (frag case) to 9.097MB for 342236-byte allocation 01-30 09:51:03.555: D/dalvikvm(146): GC_FOR_ALLOC freed <1K, 9% free 9196K/10055K, paused 67ms 01-30 09:51:03.705: D/dalvikvm(146): GC_FOR_ALLOC freed 348K, 9% free 9196K/10055K, paused 62ms 01-30 11:13:50.575: I/DEBUG(3107): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 01-30 11:13:50.575: I/DEBUG(3107): Build fingerprint: 'generic/sdk/generic:3.1/MASTER/123685:eng/test-keys' 01-30 11:13:50.575: I/DEBUG(3107): pid: 3123, tid: 3134 >>> e2o.mobile <<< 01-30 11:13:50.575: I/DEBUG(3107): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0081b000 01-30 11:13:50.575: I/DEBUG(3107): r0 008193a0 r1 0081aff4 r2 0000045c r3 00000000 01-30 11:13:50.575: I/DEBUG(3107): r4 00000000 r5 00000000 r6 00000028 r7 00000000 01-30 11:13:50.575: I/DEBUG(3107): r8 00000000 r9 00000000 10 00000000 fp 00000000 01-30 11:13:50.575: I/DEBUG(3107): ip 0081b000 sp 46ec98d0 lr a828894b pc aff0c998 cpsr 20000010 01-30 11:13:50.585: D/ShaderProgram(3123): couldn't load the vertex shader! 01-30 11:13:50.585: E/libEGL(3123): call to OpenGL ES API with no current context (logged once per thread) 01-30 11:13:50.585: D/ShaderProgram(3123): couldn't load the vertex shader! 01-30 11:13:51.545: I/DEBUG(3107): #00 pc 0000c998 /system/lib/libc.so (memcpy) 01-30 11:13:51.565: I/DEBUG(3107): #01 pc 00088948 /system/lib/libwebcore.so 01-30 11:13:51.565: I/DEBUG(3107): #02 pc 00082654 /system/lib/libwebcore.so 01-30 11:13:51.565: I/DEBUG(3107): #03 pc 00082754 /system/lib/libwebcore.so ... goes on 01-30 11:13:51.686: I/DEBUG(3107): #29 pc 000d284e /system/lib/libwebcore.so 01-30 11:13:51.695: I/DEBUG(3107): #30 pc 00284fd4 /system/lib/libwebcore.so 01-30 11:13:51.695: I/DEBUG(3107): #31 pc 002885cc /system/lib/libwebcore.so 01-30 11:13:51.705: I/DEBUG(3107): libc base address: aff00000 01-30 11:13:51.705: I/DEBUG(3107): code around pc: 01-30 11:13:51.705: I/DEBUG(3107): aff0c978 e0422003 e2522020 3a000008 e3c1c01f 01-30 11:13:51.715: I/DEBUG(3107): aff0c9b8 48b10300 28a000f0 48a00300 e1b0cf02 01-30 11:13:51.725: I/DEBUG(3107): code around lr: 01-30 11:13:51.725: I/DEBUG(3107): a8288928 30089302 99029003 42999b79 682fdbe6 01-30 11:13:51.725: I/DEBUG(3107): a8288938 9879ac5b 6ebc9400 9b049906 1c280042 01-30 11:13:51.725: I/DEBUG(3107): a8288948 980a47a0 4298ab0b f784d001 a85beea8 01-30 11:13:51.725: I/DEBUG(3107): a8288958 ee62f784 bdf0b073 e6f62700 95022500 01-30 11:13:51.725: I/DEBUG(3107): a8288968 9878e70a 9d7a4a0a 98050043 686f682e 01-30 11:13:51.725: I/DEBUG(3107): stack: 01-30 11:13:51.725: I/DEBUG(3107): 46ec9890 00000000 01-30 11:13:51.725: I/DEBUG(3107): 46ec9894 00818b00 [heap] 01-30 11:13:51.725: I/DEBUG(3107): 46ec9898 46ecbb54 01-30 11:13:51.725: I/DEBUG(3107): 46ec989c 00000178 01-30 11:13:51.725: I/DEBUG(3107): 46ec98a0 00000178 01-30 11:13:51.725: I/DEBUG(3107): 46ec98a4 0062a80c [heap] goes on... 01-30 11:13:51.835: I/DEBUG(3107): 46ec9ac8 000000bc 01-30 11:13:51.835: I/DEBUG(3107): 46ec9acc 00000000 01-30 11:13:51.835: I/DEBUG(3107): 46ec9ad0 46ec9af8 01-30 11:13:51.835: I/DEBUG(3107): 46ec9ad4 a8282659 /system/lib/libwebcore.so 01-30 11:13:53.265: D/dalvikvm(3123): GC_CONCURRENT freed 655K, 10% free 8079K/8903K, paused 3ms+4ms 01-30 11:13:56.335: D/dalvikvm(287): GC_EXPLICIT freed 8K, 10% free 6245K/6919K, paused 3ms+155ms 01-30 11:14:00.695: D/dalvikvm(260): GC_EXPLICIT freed 18K, 7% free 6344K/6791K, paused 3ms+173ms 01-30 11:14:02.925: I/BootReceiver(80): Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE) 01-30 11:14:03.446: D/dalvikvm(80): GC_CONCURRENT freed 2109K, 49% free 13814K/26823K, paused 8ms+40ms 01-30 11:14:03.985: I/Web Console(3123): QONTEXT starting checkalerts at file:///android_asset/www/static/javascript/initializer.js:1012 01-30 11:14:04.056: D/ShareImage:action=(3123): shareimage 01-30 11:14:04.755: I/Web Console(3123): QONTEXT https://pramati.qontext.com/notifications/feeds/network/2010122447649?type=plain&start=0&startIndex=0&count=20&csrf-token=434defd5553d10a02b0c70bdfa7a934d ==TIME:11:14:4 at file:///android_asset/www/static/javascript/initializer.js:1012 01-30 11:14:07.595: D/dalvikvm(3123): GC_CONCURRENT freed 474K, 9% free 8135K/8903K, paused 4ms+4ms 01-30 11:14:09.665: D/dalvikvm(146): GC_EXPLICIT freed 18K, 20% free 20228K/25031K, paused 4ms+337ms 01-30 11:14:10.535: I/Web Console(3123): QONTEXT https://pramati.qontext.com/notifications/feeds/network/2010122447649?type=plain&start=20&startIndex=20&count=20&csrf-token=434defd5553d10a02b0c70bdfa7a934d ==TIME:11:14:10 at file:///android_asset/www/static/javascript/initializer.js:1012 01-30 11:14:10.967: D/Zygote(33): Process 3123 terminated by signal (11) 01-30 11:14:10.975: I/ActivityManager(80): Process e2o.mobile (pid 3123) has died. 01-30 11:14:10.995: E/InputDispatcher(80): channel '41069718 e2o.mobile/e2o.mobile.Home (server)' ~ Consumer closed input channel or an error occurred. events=0x8 01-30 11:14:10.995: E/InputDispatcher(80): channel '41069718 e2o.mobile/e2o.mobile.Home (server)' ~ Channel is unrecoverably broken and will be disposed! 01-30 11:14:11.005: I/WindowManager(80): WIN DEATH: Window{41069718 e2o.mobile/e2o.mobile.Home paused=false} 01-30 11:14:11.015: I/WindowManager(80): WINDOW DIED Window{41069718 e2o.mobile/e2o.mobile.Home paused=false} 01-30 11:14:11.126: W/InputManagerService(80): Got RemoteException sending setActive(false) notification to pid 3123 uid 10036 The name of my app is e2o.mobile. The app is killed after getting a SIGSEGV. EDIT: on some digging into, it seems that the bug is related to the structure of my row elements of my list. if i print 1000 plain rows with text it doesn't crash. Here is the structure of my row- <li data-theme="c" class="ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-btn-hover-c ui-btn-up-c"> <div class="ui-btn-inner ui-li" aria-hidden="true"> <div class="ui-btn-text"> <a class="f-item ui-link-inherit" href="javascript:void(0);" > <p class="ui-li-heading f_feed_title f_l_indent ui-li-desc">abc</p> <p class="ui-li-desc f_feed_desc f_l_indent">asadasd</p> <div class="f_detail_ctr f_l_indent"> <p class="f_feed_desc f_c_margin ui-li-desc"> <span class="f_qw">1 <span class="f_icon "></span> </span> </p> </div> <img src="82b.jpg" class="ui-li-icon ui-li-thumb f_u_icon"> </a> </div> <span class="ui-icon ui-icon-arrow-r ui-icon-shadow"></span> </div> </li>
Live Streaming crashing on Honeycomb
Code: path = "httplive://<host>/moviets/index.m3u8"; // Create a new media player and set the listeners mMediaPlayer = new MediaPlayer(); mMediaPlayer.setDataSource(path); mMediaPlayer.setOnErrorListener(this); mMediaPlayer.setDisplay(holder); mMediaPlayer.prepare(); // Crashes here. prepareAsync() does not help either mMediaPlayer.setOnBufferingUpdateListener(this); mMediaPlayer.setOnCompletionListener(this); mMediaPlayer.setOnPreparedListener(this); mMediaPlayer.setOnVideoSizeChangedListener(this); mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); mMediaPlayer.start(); Stack trace: ERROR/MediaPlayer(1349): error (100, 0) ERROR/MediaPlayerDemo(1349): error: Prepare failed.: status=0x64 ERROR/MediaPlayerDemo(1349): java.io.IOException: Prepare failed.: status=0x64 ERROR/MediaPlayerDemo(1349): at android.media.MediaPlayer.prepare(Native Method) ERROR/MediaPlayerDemo(1349): at com.example.Example.VideoPlayerActivity.playVideo(VideoPlayerActivity.java:81) ERROR/MediaPlayerDemo(1349): at com.example.Example.VideoPlayerActivity.surfaceCreated(VideoPlayerActivity.java:138) ERROR/MediaPlayerDemo(1349): at android.view.SurfaceView.updateWindow(SurfaceView.java:565) ERROR/MediaPlayerDemo(1349): at android.view.SurfaceView.access$000(SurfaceView.java:84) ERROR/MediaPlayerDemo(1349): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:173) ERROR/MediaPlayerDemo(1349): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:590) ERROR/MediaPlayerDemo(1349): at android.view.ViewRoot.performTraversals(ViewRoot.java:1325) ERROR/MediaPlayerDemo(1349): at android.view.ViewRoot.handleMessage(ViewRoot.java:1944) ERROR/MediaPlayerDemo(1349): at android.os.Handler.dispatchMessage(Handler.java:99) ERROR/MediaPlayerDemo(1349): at android.os.Looper.loop(Looper.java:126) ERROR/MediaPlayerDemo(1349): at android.app.ActivityThread.main(ActivityThread.java:3997) ERROR/MediaPlayerDemo(1349): at java.lang.reflect.Method.invokeNative(Native Method) ERROR/MediaPlayerDemo(1349): at java.lang.reflect.Method.invoke(Method.java:491) ERROR/MediaPlayerDemo(1349): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) ERROR/MediaPlayerDemo(1349): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) ERROR/MediaPlayerDemo(1349): at dalvik.system.NativeStart.main(Native Method) DEBUG/MediaPlayerDemo(1349): surfaceChanged called Logcat: DEBUG/MediaPlayerDemo(1349): surfaceCreated called INFO/System.out(1349): the path is httplive://192.168.0.196/moviets/index.m3u8 INFO/StagefrightPlayer(1312): setDataSource('httplive://192.168.0.196/moviets/index.m3u8') INFO/LiveSession(1312): onConnect 'http://192.168.0.196/moviets/index.m3u8' INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/index.m3u8 #0 INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/index.m3u8 #0 INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/file5.ts #0 INFO/avc_utils(1312): found AVC codec config (320 x 240, Baseline-profile level 3.0) INFO/ESQueue(1312): found something resembling an AAC syncword at offset 1017 INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/file6.ts #0 INFO/ESQueue(1312): found AAC codec config (48000 Hz, 7 channels) INFO/ESQueue(1312): [ 06-26 17:37:17.397 1312:0x550 F/ESQueue ] INFO/ESQueue(1312): frameworks/base/media/libstagefright/mpeg2ts/ESQueue.cpp:255 Should not be here. INFO/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** INFO/DEBUG(31): Build fingerprint: 'generic/sdk/generic:3.0/HONEYCOMB/104254:eng/test-keys' INFO/DEBUG(31): pid: 1312, tid: 1360 >>> /system/bin/mediaserver <<< INFO/DEBUG(31): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad INFO/DEBUG(31): r0 deadbaad r1 0000000c r2 00000027 r3 00000000 INFO/DEBUG(31): r4 00000080 r5 aff46658 r6 00000007 r7 00000000 INFO/DEBUG(31): r8 a2b72589 r9 00012a6c 10 00100000 fp 00000001 INFO/DEBUG(31): ip ffffffff sp 4060f488 lr aff193e9 pc aff15f58 cpsr 00000030 INFO/NuHTTPDataSource(1312): connect to 192.168.0.196:80/moviets/file7.ts #0 INFO/DEBUG(31): #00 pc 00015f58 /system/lib/libc.so INFO/DEBUG(31): #01 pc 00001466 /system/lib/liblog.so (__android_log_assert) INFO/DEBUG(31): libc base address: aff00000 What stumps me is the line "found AAC codec config", while the video file contains mp3 encoding. Is that normal or my Android client is wrongly detecting mp3 as aac? FYI, other videos with aac encoding are playing okay on the client Any clue?
This seems like a bug in Honeycomb emulator where Android wrongly detects mp3 stream as aac. FFmpeg, on the other hand, detects the mp3 stream correctly, as below ffmpeg -i file6.ts Stream #0.1[0x101]: Audio: mp3, 48000 Hz, 2 channels, s16, 192 kb/s Unfortunately, Android thinks it is AAC INFO/avc_utils(1312): found AVC codec config (320 x 240, Baseline-profile level 3.0) INFO/ESQueue(1312): found something resembling an AAC syncword at offset 1017 INFO/NuHTTPDataSource(1312): connect to <ip>:<port>/moviets/file6.ts #0 INFO/ESQueue(1312): found AAC codec config (48000 Hz, 7 channels) INFO/ESQueue(1312): [ 06-26 17:37:17.397 1312:0x550 F/ESQueue ] INFO/ESQueue(1312): frameworks/base/media/libstagefright/mpeg2ts/ESQueue.cpp:255 \ Should not be here. The workaround is to use AAC encoding. If you are using ffmpeg, use the -acodec libfaac option. This works for our project because we have the liberty of choosing the source video formats. This might not necessarily be your case though.