android porting: "service 'SurfaceFlinger' died" - android

I am trying to boot blaze board with jellybean 4AJ.2.5P2. When I am trying to boot, I got the following error.
init: Failed to open socket 'property_service': Address family not supported by protocol
I have used the below bootargs:
setenv bootargs 'console=ttyO2,115200n8 mem=1G androidboot.console=ttyO2 root=/dev/mmcblk0p2 rw rootdelay=2 rootfstype=ext3 init=/init vram=32M omapfb.vram=0:16M androidboot.console=ttyO2 consoleblank=0'
setenv bootcmd 'mmcinit 0;fatload mmc 0 0x80000000 uImage; bootm 0x80000000'
boot
These are the log which i got.
[ 3.341949] cannot apply mgr(lcd2) on inactive device
[ 3.384948] Console: switching to colour frame buffer device 160x48
[ 3.438201] cannot apply mgr(lcd2) on inactive device
[ 3.443969] cannot aply mgr(lcd)--invalid device
[ 3.449310] omapfb omapfb: failed to apply dispc config
[ 3.455230] cannot aply mgr(tv)--invalid device
[ 3.460418] omapfb omapfb: failed to apply dispc config
[ 3.466674] cannot apply mgr(lcd2) on inactive device
[ 3.473510] omapfb omapfb: failed to apply dispc config
[ 3.481842] omapdss DPI: Could not find exact pixel clock. Requested 71000 kHz, got 69818 kHz
[ 3.497100] VUSB: incomplete constraints, leaving on
[ 3.504638] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 3.514099] ALSA device list:
[ 3.517669] No soundcards found.
[ 3.522155] Waiting 2sec before mounting root device...
[ 5.576232] kjournald starting. Commit interval 5 seconds
[ 5.580352] EXT3-fs (mmcblk0p2): using internal journal
[ 5.582672] EXT3-fs (mmcblk0p2): recovery complete
[ 5.582702] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 5.582763] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 5.583251] Freeing init memory: 272K
[ 5.616943] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
[ 5.802490] init: could not open /dev/keychord
[ 5.808410] init: cannot open '/initlogo.rle'
[ 6.206970] rproc remoteproc0: skipping power up until last virtio device ipu_c0
[ 6.217071] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 6.223083] init: Failed to open socket 'property_service': Address family not supported by protocol
[ 6.223602] init: init startup failure
[ 6.223999] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
I have searched a lot, i couldn't find anything useful.
Any help will be appreciated!
Thank you!
UPDATE:
We had changed lot in kernel. Now the above mentioned errors are no more. But, I am facing the problem in surface flinger.
When Surface flinger is started, crash is occurred and at last, logcat shows that "service 'SurfaceFlinger' died"
I've attached the recent logs below.
--------- beginning of /dev/log/main
I/installd( 94): installd firing up
E/uim-sysfs( 86): uim: Inside main
E/uim-sysfs( 86): uim:BT/FM/GPS would be unavailable on system
I/DEBUG ( 89): debuggerd: Nov 21 2013 17:58:24
--------- beginning of /dev/log/system
I/Vold ( 83): Vold 2.1 (the revenge) firing up
D/Vold ( 83): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 83): Volume usbflash1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 83): Volume usbflash2 state changing -1 (Initializing) -> 0 (No-Media)
I/Netd ( 88): Netd 1.0 starting
W/InterfaceController( 88): Warning (Cannot load library: load_library(linker.cpp:745): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface coy
V/IMGSRV ( 84): Succesfully loaded gfx modules
V/IMGSRV ( 84): pvrsrvinit complete
I/SurfaceFlinger( 90): SurfaceFlinger is starting
I/SurfaceFlinger( 90): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
I/libEGL ( 90): Processor type: omap4460
I/libEGL ( 90): egl.cfg: entry POWERVR_SGX540_120 omap4430
I/libEGL ( 90): egl.cfg: entry POWERVR_SGX540_120 omap4460
I/libEGL ( 90): Picked EGL type 'POWERVR_SGX540_120' for processor 'omap4460'
D/libEGL ( 90): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/MDnsDS ( 88): MDnsSdListener starting to monitor
D/MDnsDS ( 88): MDnsSdListener::Hander starting up
D/MDnsDS ( 88): Going to poll with pollCount 1
D/libEGL ( 90): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 90): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/mediaserver( 93): ServiceManager: 0x410ffe80
I/AudioFlinger( 93): Using default 3000 mSec as standby time.
I/CameraService( 93): CameraService started (pid=93)
E/SurfaceFlinger( 90): framebuffer_open for fb1 failed (Invalid argument)
E/SurfaceFlinger( 90): composer device failed to initialize (No such device)
I/SurfaceFlinger( 90): Using composer version 1.1
W/SurfaceFlinger( 90): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
E/BufferQueue( 90): [FramebufferSurface] setDefaultBufferSize: dimensions cannot be 0 (w=0, h=0)
I/SurfaceFlinger( 90): EGL informations:
I/SurfaceFlinger( 90): vendor : Android
I/SurfaceFlinger( 90): version : 1.4 Android META-EGL
I/SurfaceFlinger( 90): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_
I/SurfaceFlinger( 90): Client API: OpenGL_ES
I/SurfaceFlinger( 90): EGLSurface: 8-8-8-8, config=0x2
I/SurfaceFlinger( 90): OpenGL ES informations:
I/SurfaceFlinger( 90): vendor : Imagination Technologies
I/SurfaceFlinger( 90): renderer : PowerVR SGX 540
I/SurfaceFlinger( 90): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 90): extensions: GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_comprest
I/SurfaceFlinger( 90): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 90): GL_MAX_VIEWPORT_DIMS = 2048 x 2048
D/SurfaceFlinger( 90): Screen acquired, type=0 flinger=0x40af9318
F/libc ( 90): Fatal signal 11 (SIGSEGV) at 0x00000800 (code=1), thread 260 (SurfaceFlinger)
E/CameraHal( 93): (400cd3dc) hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXDCC.cpp:99 initDCC - No DCC files found, switching back to default DCC
E/CameraHal( 93): (400cd3dc) hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXDCC.cpp:44 loadDCC - Error in DCC Init
D/DOMX ( 93): hardware/ti/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1671 __PROXY_SetConfig()
D/DOMX ( 93): ERROR: failed check:(eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x80001009 - Error returned from OMX API in ducati
E/CameraHal( 93): (400cd3dc) hardware/ti/omap4xxx/camera/BaseCameraAdapter.cpp:2708 CameraAdapter_Capabilities - supportedCameras= 0
E/CameraHal( 93): (400cd3dc) hardware/ti/omap4xxx/camera/CameraProperties.cpp:108 loadProperties - camera busy. properties not loaded. num_cameras = 0
E/CameraHal( 93): (400cd3dc) hardware/ti/omap4xxx/camera/CameraHal_Module.cpp:770 camera_get_number_of_cameras - Unable to create or initialize CameraProperties
I/AudioPolicyManagerBase( 93): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/AudioFlinger( 93): loadHwModule() Loaded primary audio interface from Default audio HW HAL (audio) handle 1
I/AudioFlinger( 93): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
W/EffectsFactory( 93): loadLibrary() failed to open /system/lib/soundfx/libdseffect.so
W/EffectsFactory( 93): loadEffect() could not get library ds
I/AudioMixer( 93): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 93): Using module 1 has the primary audio interface
I/AudioFlinger( 93): AudioFlinger's thread 0x41102a58 ready to run
W/AudioFlinger( 93): Thread AudioOut_2 cannot connect to the power manager service
W/AudioFlinger( 93): Thread AudioOut_2 cannot connect to the power manager service
I/AudioFlinger( 93): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
I/AudioMixer( 93): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 93): AudioFlinger's thread 0x4110d6e8 ready to run
W/AudioFlinger( 93): Thread AudioOut_3 cannot connect to the power manager service
E/AudioFlinger( 93): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.hdmi (No such file or directory)
I/AudioFlinger( 93): loadHwModule() error -2 loading module hdmi
W/AudioPolicyManagerBase( 93): could not open HW module hdmi
I/audio_a2dp_hw( 93): adev_open: adev_open in A2dp_hw module
I/AudioFlinger( 93): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 4
I/r_submix( 93): adev_open(name=audio_hw_if)
I/r_submix( 93): adev_init_check()
I/AudioFlinger( 93): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 5
I/AudioPolicyService( 93): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/DEBUG ( 89): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 89): Build fingerprint: 'Android/svdu/svdu:4.2.2/JDQ39/eng.build.20131121.165220:userdebug/test-keys'
I/DEBUG ( 89): Revision: '0'
I/DEBUG ( 89): pid: 90, tid: 260, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 89): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000800
I/DEBUG ( 89): r0 40859390 r1 00000000 r2 00000000 r3 00000800
I/DEBUG ( 89): r4 40af9318 r5 00000000 r6 400cadc8 r7 00000000
I/DEBUG ( 89): r8 4017f1f6 r9 00000001 sl 40af955c fp 00000009
I/DEBUG ( 89): ip 400d7f80 sp 404e3c40 lr 400c187d pc 00000800 cpsr 40000110
I/DEBUG ( 89): d0 3831333966613034 d1 707974202c646572
I/DEBUG ( 89): d2 47207463656a6272 d3 5f454c5050415f65
I/DEBUG ( 89): d4 0000000080000000 d5 0000000100000000
I/DEBUG ( 89): d6 000000013f800000 d7 3f8000003f800000
I/DEBUG ( 89): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 89): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 89): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 89): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 89): d16 0000000000000001 d17 0000000000000000
I/DEBUG ( 89): d18 0000000000000000 d19 0000000000000000
I/DEBUG ( 89): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 89): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 89): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 89): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 89): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 89): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 89): scr 60000010
I/DEBUG ( 89):
I/DEBUG ( 89): backtrace:
I/DEBUG ( 89): #00 pc 00000800 <unknown>
I/DEBUG ( 89): #01 pc 0002387b /system/lib/libsurfaceflinger.so (android::HWComposer::acquire(int)+10)
I/DEBUG ( 89): #02 pc 000266bf /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::onScreenAcquired(android::sp<android::DisplayDevice const> const&)+74)
I/DEBUG ( 89): #03 pc 000288fb /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::onInitializeDisplays()+154)
I/DEBUG ( 89): #04 pc 00028929 /system/lib/libsurfaceflinger.so
I/DEBUG ( 89): #05 pc 000247c7 /system/lib/libsurfaceflinger.so (android::MessageBase::handleMessage(android::Message const&)+12)
I/DEBUG ( 89): #06 pc 00014c53 /system/lib/libutils.so (android::Looper::pollInner(int)+426)
I/DEBUG ( 89): #07 pc 00014d71 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+104)
I/DEBUG ( 89): #08 pc 00024b55 /system/lib/libsurfaceflinger.so (android::MessageQueue::waitMessage()+40)
I/DEBUG ( 89): #09 pc 00025145 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::threadLoop()+6)
I/DEBUG ( 89): #10 pc 00011267 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+114)
I/DEBUG ( 89): #11 pc 00010dcd /system/lib/libutils.so
I/DEBUG ( 89): #12 pc 0000e3e8 /system/lib/libc.so (__thread_entry+72)
I/DEBUG ( 89): #13 pc 0000dad4 /system/lib/libc.so (pthread_create+160)
I/DEBUG ( 89):
I/DEBUG ( 89): stack:
I/DEBUG ( 89): 404e3c00 40af9490 [heap]
I/DEBUG ( 89): 404e3c04 4017a3c7 /system/lib/libutils.so (android::SortedVectorImpl::_indexOrderOf(void const*, unsigned int*) const+50)
I/DEBUG ( 89): 404e3c08 409aeeac
I/DEBUG ( 89): 404e3c0c 40af9318 [heap]
I/DEBUG ( 89): 404e3c10 404e3c60 [stack:260]
I/DEBUG ( 89): 404e3c14 400c8595 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::setTransactionState(android::Vector<android::ComposerState> const&, )
I/DEBUG ( 89): 404e3c18 00000000
I/DEBUG ( 89): 404e3c1c 4017f1f6 /system/lib/libutils.so
I/DEBUG ( 89): 404e3c20 409aee90
I/DEBUG ( 89): 404e3c24 409b41d8
I/DEBUG ( 89): 404e3c28 404e3c60 [stack:260]
I/DEBUG ( 89): 404e3c2c 73e76319
I/DEBUG ( 89): 404e3c30 40af9318 [heap]
I/DEBUG ( 89): 404e3c34 404e3c60 [stack:260]
I/DEBUG ( 89): 404e3c38 df0027ad
I/DEBUG ( 89): 404e3c3c 00000000
I/DEBUG ( 89): #00 404e3c40 00000001
I/DEBUG ( 89): ........ ........
I/DEBUG ( 89): #01 404e3c40 00000001
I/DEBUG ( 89): 404e3c44 400c46c3 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::onScreenAcquired(android::sp<android::DisplayDevice const> const&)+7)
I/DEBUG ( 89): #02 404e3c48 40af9318 [heap]
I/DEBUG ( 89): 404e3c4c 404e3c60 [stack:260]
I/DEBUG ( 89): 404e3c50 404e3c8c [stack:260]
I/DEBUG ( 89): 404e3c54 40af9318 [heap]
I/DEBUG ( 89): 404e3c58 400c8595 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::setTransactionState(android::Vector<android::ComposerState> const&, )
I/DEBUG ( 89): 4[ 16.940643] init: Boot Animation exit
04e3c5c 400c68ff /system/lib/libsurfaceflinger.so (android::Su[ 16.949279] binder: undelivered death notification, 40673840
rfaceFlinger::onInitializeDisplays()+158)
I/DEBUG ( 89):
I/DEBUG ( 89): memory near r0:
I/DEBUG ( 89): 40859370 0049002e 00530044 00570053 00480042
I/DEBUG ( 89): 40859380 006c0061 00000000 00000000 0000005b
I/DEBUG ( 89): 40859390 00000000 00000000 00000001 40af9630
I/DEBUG ( 89): 408593[ 16.986175] init: untracked pid 405 exited
a0 00000000 00000001 404f8014 40859510
I/DEBUG ( 89): 408593b0 40868008 00000000 00000008 00000008
I/DEBUG ( 89): 408593c0 00000008 00000008 00000020 00000000
I/DEBUG ( 89): 408593d0 00000000 00000002 00000800 00000800
I/DEBUG ( 89): 408593e0 00000001 0000002b 00000001 00000000
I/DEBUG ( 89): 408593f0 00000000 0000003c 404f53e8 00000000
I/DEBUG ( 89): 40859400 00000000 00000000 00003038 0000002b
I/DEBUG ( 89): 40859410 00000001 00000000 00000000 0000000c
I/DEBUG ( 89): 40859420 404f54dc 00000000 00000000 408593e8
I/DEBUG ( 89): 40859430 40123d5c 0000002b 00000001 00000000
I/DEBUG ( 89): 40859440 00000000 00000004 404f5534 00000000
[ 17.056304] init: untracked pid 400 exited
I/DEBUG ( 89): 40859450 00000000 40859410 404f54dc 0000002b
I/DEBUG ( 89): 40859460 00000001 00000001 00000020 0000001c
I/DEBUG ( 89):
I/DEBUG ( 89): memory near r4:
I/DEBUG ( 89): 40af92f8 00630100 00000000 00000161 00670001
I/DEBUG ( 89): 40af9308 4028fa70 409b5d10 00000038 0000021b
I/DEBUG ( 89): 40af9318 400d150c 400d1580 00000000 00000000
I/DEBUG ( 89): 40af9328 400d15d0 400d15e8 00000000 40af9630
I/DEBUG ( 89): 40af9338 00000000 00000000 00000000 00000100
I/DEBUG ( 89): 40af9348 00000000 00000104 400d1608 00000000
I/DEBUG ( 89): 40af9358 400d1448 00000000 00000000 00000000
I/DEBUG ( 89): 40af9368 00000004 400d0ee0 409e8470 00000001
I/DEBUG ( 89): 40af9378 00000000 00000040 ffffffff 00000000
I/DEBUG ( 89): 40af9388 400d29bc 40124228 400d1a10 bed33b10
I/DEBUG ( 89): 40af9398 00000000 00000000 00000000 40af9318
I/DEBUG ( 89): 40af93a8 400d1a14 000000df 40af5030 00000018
I/DEBUG ( 89): 40af93b8 00000000 00000000 400d0c60 00000000
I/DEBUG ( 89): 40af93c8 00000000 00000000 00000004 00000000
I/DEBUG ( 89): 40af93d8 400ce8c0 00000000 00000000 00000000
I/DEBUG ( 89): 40af93e8 00000004 00000000 00000000 40854dc0
I/DEBUG ( 89):
I/DEBUG ( 89): memory near r6:
I/DEBUG ( 89): 400cada8 7fffe88e 00001e04 7fffe898 00001e08
I/DEBUG ( 89): 400cadb8 7fffe96c 8007aab0 7fffeca8 00000001
I/DEBUG ( 89): 400cadc8 66727553 46656361 676e696c 50007265
I/DEBUG ( 89): 400cadd8 696d7265 6f697373 6544206e 6c61696e
I/DEBUG ( 89): 400cade8 6163203a 2074276e 6e65706f 626f6c47
I/DEBUG ( 89): 400cadf8 72546c61 61736e61 6f697463 6970206e
I/DEBUG ( 89): 400cae08 64253d64 6975202c 64253d64 74656700
I/DEBUG ( 89): 400cae18 6579614c 65735572 616e2872 253d656d
I/DEBUG ( 89): 400cae28 69202964 65642073 61006461 6f72646e
I/DEBUG ( 89): 400cae38 702e6469 696d7265 6f697373 43412e6e
I/DEBUG ( 89): 400cae48 53534543 5255535f 45434146 494c465f
I/DEBUG ( 89): 400cae58 5245474e 204c4700 6f727265 78302072
I/DEBUG ( 89): 400cae68 78343025 6c676500 70617753 66667542
I/DEBUG ( 89): 400cae78 28737265 202c7025 20297025 6c696166
I/DEBUG ( 89): 400cae88 77206465 20687469 30257830 42007838
I/DEBUG ( 89): 400cae98 746c6975 206e692d 65726353 48006e65
I/DEBUG ( 89):
I/DEBUG ( 89): memory near r8:
I/DEBUG ( 89): 4017f1d4 20746f67 6e727265 64253d6f 206e6f20
I/DEBUG ( 89): 4017f1e4 27732527 6572000a 746c7573 203d2120
I/DEBUG ( 89): 4017f1f4 6f4c0030 7265706f 756f4300 6e20646c
I/DEBUG ( 89): 4017f204 6120746f 636f6c6c 20657461 20534c54
I/DEBUG ( 89): 4017f214 2e79656b 756f4300 6e20646c 6320746f
I/DEBUG ( 89): 4017f224 74616572 61772065 7020656b 2e657069
I/DEBUG ( 89): 4017f234 72652020 3d6f6e72 43006425 646c756f
I/DEBUG ( 89): 4017f244 746f6e20 6b616d20 61772065 7220656b
I/DEBUG ( 89): 4017f254 20646165 65706970 6e6f6e20 6f6c622d
I/DEBUG ( 89): 4017f264 6e696b63 20202e67 6e727265 64253d6f
I/DEBUG ( 89): 4017f274 756f4300 6e20646c 6d20746f 20656b61
I/DEBUG ( 89): 4017f284 656b6177 69727720 70206574 20657069
I/DEBUG ( 89): 4017f294 2d6e6f6e 636f6c62 676e696b 6520202e
I/DEBUG ( 89): 4017f2a4 6f6e7272 0064253d 6f70456d 64466c6c
I/DEBUG ( 89): 4017f2b4 30203c20 756f4300 6e20646c 6320746f
I/DEBUG ( 89): 4017f2c4 74616572 70652065 206c6c6f 74736e69
I/DEBUG ( 89):
I/DEBUG ( 89): memory near sl:
I/DEBUG ( 89): 40af953c 00000000 00000000 00000073 40181bd8
I/DEBUG ( 89): 40af954c 40af95b8 00000001 00000009 0000000a
I/DEBUG ( 89): 40af955c 00000000 40181a18 409e8330 00000000
I/DEBUG ( 89): 40af956c 00000000 00000010 00000001 0000000b
I/DEBUG ( 89): 40af957c 40181a60 409b5c28 00000001 00000000
I/DEBUG ( 89): 40af958c 00000014 40181ad0 00000000 00000000
I/DEBUG ( 89): 40af959c 00000000 00000014 00000000 ffffffff
I/DEBUG ( 89): 40af95ac 7fffffff 00000000 0000001b 00000001
I/DEBUG ( 89): 40af95bc 00000001 40af9548 00000000 00000000
I/DEBUG ( 89): 40af95cc 0000001b 400d0b3c 40af94dc 00000000
I/DEBUG ( 89): 40af95dc 400d0b64 40af95e8 0000001b 00000001
I/DEBUG ( 89): 40af95ec 00000001 40af95dc 00000000 00000000
I/DEBUG ( 89): 40af95fc 00000013 40afa6a8 40af9620 404e5fbc
I/DEBUG ( 89): 40af960c 00000023 00000001 00000009 66727553
I/DEBUG ( 89): 40af961c 46656361 70616d6f 30363434 00000000
I/DEBUG ( 89): 40af962c 00000043 4009d3dc 409b5b18 00000001
I/DEBUG ( 89):
I/DEBUG ( 89): memory near ip:
I/DEBUG ( 89): 400d7f60 00000000 00000000 400fa741 400fa631
I/DEBUG ( 89): 400d7f70 400e6748 400f4d73 400efe38 400e6c78
I/DEBUG ( 89): 400d7f80 400f0024 400e7ef9 400f0568 400f1988
I/DEBUG ( 89): 400d7f90 40111b93 400f2540 400fa27d 400eb781
I/DEBUG ( 89): 400d7fa0 400f7a5d 400f1890 400f107c 400f1610
I/DEBUG ( 89): 400d7fb0 400f6615 400e5f2d 400e5f19 400fe021
I/DEBUG ( 89): 400d7fc0 400fe041 400fe1a7 400f66d5 40100db1
I/DEBUG ( 89): 400d7fd0 40101ba1 40111c7c 400e5f05 400fe001
I/DEBUG ( 89): 400d7fe0 400fe0d9 400efd98 400efed4 400f1c89
I/DEBUG ( 89): 400d7ff0 400efe54 400f4d33 400fd609 400fad57
I/DEBUG ( 89): 400d8000 400d8000 00000004 00000005 00000006
I/DEBUG ( 89): 400d8010 00000007 400d5089 00000000 00000000
I/DEBUG ( 89): 400d8020 00000000 00000000 00000000 00000000
I/DEBUG ( 89): 400d8030 00000000 00000000 00000000 00000000
I/DEBUG ( 89): 400d8040 00000000 00000000 00000000 00000000
I/DEBUG ( 89): 400d8050 00000000 00000000 00000000 00000000
I/DEBUG ( 89):
I/DEBUG ( 89): memory near sp:
I/DEBUG ( 89): 404e3c20 409aee90 409b41d8 404e3c60 73e76319
I/DEBUG ( 89): 404e3c30 40af9318 404e3c60 df0027ad 00000000
I/DEBUG ( 89): 404e3c40 00000001 400c46c3 40af9318 404e3c60
I/DEBUG ( 89): 404e3c50 404e3c8c 40af9318 400c8595 400c68ff
I/DEBUG ( 89): 404e3c60 409b2b78 400d0fc0 00000000 00000000
I/DEBUG ( 89): 404e3c70 00000000 00000060 400d1008 409e8388
I/DEBUG ( 89): 404e3c80 00000001 00000000 00000034 00000004
I/DEBUG ( 89): 404e3c90 409aee90 00000000 00000001 00000000
I/DEBUG ( 89): 404e3ca0 00000000 00000000 ffffffff ffffffff
I/DEBUG ( 89): 404e3cb0 00000000 00000000 ffffffff ffffffff
I/DEBUG ( 89): 404e3cc0 40af9560 409b5c80 409b5c84 400c27bb
I/DEBUG ( 89): 404e3cd0 40af9560 400c692d 400d165c 400c27c9
I/DEBUG ( 89): 404e3ce0 400d165c 40af9548 00000000 4017cc55
I/DEBUG ( 89): 404e3cf0 00100000 00000014 00100000 642f0001
I/DEBUG ( 89): 404e3d00 00000001 40af9590 0000287d 000028aa
I/DEBUG ( 89): 404e3d10 735f7974 409b5c80 00000000 00000000
I/DEBUG ( 89):
I/DEBUG ( 89): code around pc:
I/DEBUG ( 89): 000007e0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 000007f0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000800 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000810 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000820 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000830 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000840 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000850 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000860 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000870 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000880 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 00000890 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 000008a0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 000008b0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 000008c0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89): 000008d0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 89):
I/DEBUG ( 89): code around lr:
I/DEBUG ( 89): 400c185c 0100f8d4 d3e84285 e8bd4638 bf0083f8
I/DEBUG ( 89): 400c186c 01010001 68c0b508 6cc3b110 47982200
I/DEBUG ( 89): 400c187c 2900bd08 dd09b530 4500f04f 4118f8d0
I/DEBUG ( 89): 400c188c 422540cd f06fd105 bd30004a 004af06f
I/DEBUG ( 89): 400c189c 2448bd30 31284361 50421844 60632000
I/DEBUG ( 89): 400c18ac f8842301 bd303020 b5102900 480fdc14
I/DEBUG ( 89): 400c18bc 4478490f e0034479 490f480e 44794478
I/DEBUG ( 89): 400c18cc f7f82200 f7f9ed5e 2300e934 63a362a3
I/DEBUG ( 89): 400c18dc f88463e3 bd103020 dced2902 fb042448
I/DEBUG ( 89): 400c18ec 34280401 28006aa0 bd10d1ed 00009e7b
I/DEBUG ( 89): 400c18fc 00009504 00009e99 000094fa 4604b510
I/DEBUG ( 89): 400c190c b12868c0 f7ff4904 b108f8d9 bd102005
I/DEBUG ( 89): 400c191c 6d186863 bf00bd10 01010001 b11068c0
I/DEBUG ( 89): 400c192c f7ff4901 4770b8cb 01010001 41f0e92d
I/DEBUG ( 89): 400c193c 68c04604 4617460d b1c8461e f7ff490e
I/DEBUG ( 89): 400c194c b1a8f8bd 46294620 4633463a 41f0e8bd
D/skia ( 91): SkGraphics::Init() - BLTsville (CPU) dlopen success
D/AndroidRuntime( 91):
D/AndroidRuntime( 91): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 91): CheckJNI is OFF
I/ServiceManager( 82): service 'SurfaceFlinger' died
W/SurfaceComposerClient( 355): ComposerService remote (surfaceflinger) died [0x415f94d8]
D/BootAnimation( 355): SurfaceFlinger died, exiting...
D/skia ( 382): SkGraphics::Init() - BLTsville (CPU) dlopen success
D/AndroidRuntime( 382):
D/AndroidRuntime( 382): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 382): CheckJNI is OFF
D/dalvikvm( 382): Unable to stat classpath element '/system/framework/ds.jar'
D/dalvikvm( 382): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 382): Added shared lib libjavacore.so 0x0
D/dalvikvm( 382): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 382): Added shared lib libnativehelper.so 0x0
I/SamplingProfilerIntegration( 382): Profiling disabled.
Please help me to debug it.
Any Guidance will be appreciated!!

I had the same issue with my Nexus 7 AOSP build.
Its was an LOL moment for me after spending 2 days behind this issue.
I hope this will help you in your journey of building ROM using AOSP for android devices.
You are missing some proprietary binaries required to run hardware components used by devices. Those lib are not built by using AOSP make command.
Those binaries can be found here: https://developers.google.com/android/nexus/drivers#flo. Make sure your binaries are for the correct Android version you're building (5.1.1 in my case).
Extract the downloaded files into the root of your working directory. Run the extracted scripts and go through the included terms of agreement. You will get some files like "extract-***.sh" in you home directory, run them one by one like
$ ./extract-****-**.sh**
run make command again.
hope this will take care of the issue you have.
Happy coding.

Related

Haxe/OpenFL - Android crash because of BitmapData

I'm developing a tile-based game for mobile platforms, written in Haxe (with OpenFL): it works like a charm when I try it for HTML5 or a desktop target (Mac OS), but it crashes in its Android version.
I don't get errors, but I figured out the line which causes the problem (if I remove the code from that line, the application works):
var bitm = Assets.getBitmapData("assets/grass0.png");
I tried to change the file path trying with
var bitm = Assets.getBitmapData("grass0.png"); // or:
var bitm = Assets.getBitmapData("/grass0.png");
// and so on...
But I just get errors about the non existence of the file, so the path is correct...as I wrote, I don't get errors, the app just crashes at the beginning.
UPDATE #1:
This is the log from adb logcat -c (the app is com.sample.pokemon):
--------- beginning of /dev/log/main
D/audio_hw_primary( 118): select_output_device: AUDIO_DEVICE_OUT_SPEAKER
D/dalvikvm( 668): GC_CONCURRENT freed 4307K, 36% free 9522K/14692K, paused 3ms+9ms, total 60ms
D/dalvikvm( 668): GC_CONCURRENT freed 594K, 26% free 10955K/14692K, paused 2ms+5ms, total 42ms
D/dalvikvm( 668): WAIT_FOR_CONCURRENT_GC blocked 35ms
D/dalvikvm( 668): WAIT_FOR_CONCURRENT_GC blocked 34ms
D/dalvikvm( 668): WAIT_FOR_CONCURRENT_GC blocked 31ms
D/audio_hw_primary( 118): select_output_device: AUDIO_DEVICE_OUT_SPEAKER
--------- beginning of /dev/log/system
I/ActivityManager( 403): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sample.pokemon/.MainActivity} from pid 668
I/ActivityManager( 403): Start proc com.sample.pokemon for activity com.sample.pokemon/.MainActivity: pid=4607 uid=10101 gids={50101, 3003, 1028}
V/SDL ( 4607): Device: espresso10wifi
V/SDL ( 4607): Model: GT-P5110
V/SDL ( 4607): onCreate(): null
D/dalvikvm( 4607): Trying to load lib /data/app-lib/com.sample.pokemon-1/libstd.so 0x41b21d80
D/dalvikvm( 4607): Added shared lib /data/app-lib/com.sample.pokemon-1/libstd.so 0x41b21d80
D/dalvikvm( 4607): No JNI_OnLoad found in /data/app-lib/com.sample.pokemon-1/libstd.so 0x41b21d80, skipping init
D/dalvikvm( 4607): Trying to load lib /data/app-lib/com.sample.pokemon-1/libregexp.so 0x41b21d80
D/dalvikvm( 4607): Added shared lib /data/app-lib/com.sample.pokemon-1/libregexp.so 0x41b21d80
D/dalvikvm( 4607): No JNI_OnLoad found in /data/app-lib/com.sample.pokemon-1/libregexp.so 0x41b21d80, skipping init
D/dalvikvm( 4607): Trying to load lib /data/app-lib/com.sample.pokemon-1/libzlib.so 0x41b21d80
D/dalvikvm( 4607): Added shared lib /data/app-lib/com.sample.pokemon-1/libzlib.so 0x41b21d80
D/dalvikvm( 4607): No JNI_OnLoad found in /data/app-lib/com.sample.pokemon-1/libzlib.so 0x41b21d80, skipping init
D/dalvikvm( 4607): Trying to load lib /data/app-lib/com.sample.pokemon-1/liblime.so 0x41b21d80
I/OpenAL_SLES( 4607): alc_opensles_init
D/dalvikvm( 4607): Added shared lib /data/app-lib/com.sample.pokemon-1/liblime.so 0x41b21d80
V/SDL ( 4607): onResume()
D/libEGL ( 4607): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 4607): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 4607): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/OpenGLRenderer( 4607): Enabling debug mode 0
V/SDL ( 4607): surfaceCreated()
V/SDL ( 4607): surfaceChanged()
V/SDL ( 4607): pixel format RGB_565
V/SDL ( 4607): Window size: 1280x752
I/SDL ( 4607): SDL_Android_Init()
I/SDL ( 4607): SDL_Android_Init() finished!
D/dalvikvm( 4607): Trying to load lib /data/app-lib/com.sample.pokemon-1/libApplicationMain.so 0x41b21d80
D/dalvikvm( 4607): Added shared lib /data/app-lib/com.sample.pokemon-1/libApplicationMain.so 0x41b21d80
D/dalvikvm( 4607): No JNI_OnLoad found in /data/app-lib/com.sample.pokemon-1/libApplicationMain.so 0x41b21d80, skipping init
I/haxe plugin( 4607): Got Load Proc 5fed9394
I/haxe plugin( 4607): Got Load Proc 5fed9394
I/haxe plugin( 4607): Got Load Proc 5fed9394
I/haxe plugin( 4607): Got Load Proc 5fed9394
I/OpenAL_SLES( 4607): opensles_open_playback pDevice=0x58c5f008, deviceName=(null)
I/OpenAL_SLES( 4607): alc_opensles_probe DEVICE_PROBE
I/OpenAL_SLES( 4607): opensles_reset_playback pDevice=0x58c5f008
I/OpenAL_SLES( 4607): bits=16, channels=2, samples=1024, size=4096, freq=44100
I/OpenAL_SLES( 4607): create audio player
W/libc ( 4607): pthread_create sched_setscheduler call failed: Operation not permitted
I/OpenAL_SLES( 4607): playback_function started
I/OpenAL ( 4607): _SC_NPROCESSORS_ONLN=2
V/SDL ( 4607): onWindowFocusChanged(): true
I/ActivityManager( 403): Displayed com.sample.pokemon/.MainActivity: +507ms
I/SDL/APP ( 4607): Added joystick Android Accelerometer with device_id -2147483648
I/trace ( 4607): Shader.hx:141: Compile failed.
I/trace ( 4607): WARNING: 0:23: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results
I/trace ( 4607): WARNING: 1 compilation warnings.
I/trace ( 4607):
F/libc ( 4607): ### ABORTING: invalid address or address of corrupt block 0x593c3d88 passed to dlfree
F/libc ( 4607): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 4621 (SDLThread)
I/DEBUG ( 113): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 113): Build fingerprint: 'samsung/espresso10wifixx/espresso10wifi:4.0.3/IML74K/P5110XWALD2:user/release-keys'
I/DEBUG ( 113): Revision: '9'
I/DEBUG ( 113): pid: 4607, tid: 4621, name: SDLThread >>> com.sample.pokemon <<<
I/DEBUG ( 113): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 113): Abort message: '### ABORTING: invalid address or address of corrupt block 0x593c3d88 passed to dlfree'
I/DEBUG ( 113): r0 00000027 r1 00000000 r2 00000008 r3 deadbaad
I/DEBUG ( 113): r4 00000000 r5 5fb02c1c r6 4002d000 r7 593c3d90
I/DEBUG ( 113): r8 60008214 r9 00000011 sl 5fb03304 fp 60041cbc
I/DEBUG ( 113): ip 593c3d90 sp 5fb02c18 lr 4012a91f pc 40127e84 cpsr 60070030
I/DEBUG ( 113): d0 2064657372666c64 d1 72726f6320666f20
I/DEBUG ( 113): d2 64612064696c6176 d3 726f207373657264
I/DEBUG ( 113): d4 4047000000000000 d5 3fc10c60fd000000
I/DEBUG ( 113): d6 41c10c60fd000000 d7 3fc10c60fd000000
I/DEBUG ( 113): d8 3fe0000000000000 d9 0000000000000000
I/DEBUG ( 113): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 113): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 113): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 113): d16 3a38317930526f67 d17 3225737465737361
I/DEBUG ( 113): d18 0000000000000603 d19 3fa555549c6765ab
I/DEBUG ( 113): d20 be927e4f5c2d943e d21 3ff0000000000000
I/DEBUG ( 113): d22 3e21ee9ea4546f42 d23 3fe0000000000000
I/DEBUG ( 113): d24 3c19d9ccf0000000 d25 3ea5abe1bdacb6e2
I/DEBUG ( 113): d26 3c83854000000000 d27 3da603d2e5dcd5ed
I/DEBUG ( 113): d28 3fefffefbf178516 d29 3e30828a237153c9
I/DEBUG ( 113): d30 3fc2492492c0a16e d31 4000000000000000
I/DEBUG ( 113): scr 80000010
I/DEBUG ( 113):
I/DEBUG ( 113): backtrace:
I/DEBUG ( 113): #00 pc 0001ee84 /system/lib/libc.so
I/DEBUG ( 113): #01 pc 0001c67c /system/lib/libc.so (abort+4)
I/DEBUG ( 113): #02 pc 00012365 /system/lib/libc.so
I/DEBUG ( 113): #03 pc 00011031 /system/lib/libc.so (dlfree+1184)
I/DEBUG ( 113): #04 pc 0000db77 /system/lib/libc.so (free+10)
I/DEBUG ( 113): #05 pc 00049f14 /data/app-lib/com.sample.pokemon-1/liblime.so
I/DEBUG ( 113): #06 pc 000404d4 /data/app-lib/com.sample.pokemon-1/liblime.so
I/DEBUG ( 113):
I/DEBUG ( 113): stack:
I/DEBUG ( 113): 5fb02bd8 00000000
I/DEBUG ( 113): 5fb02bdc 00000000
I/DEBUG ( 113): 5fb02be0 ffffffff
I/DEBUG ( 113): 5fb02be4 40154310
I/DEBUG ( 113): 5fb02be8 401478b5 /system/lib/libc.so
I/DEBUG ( 113): 5fb02bec 5fb02bfe
I/DEBUG ( 113): 5fb02bf0 40151264 /system/lib/libc.so
I/DEBUG ( 113): 5fb02bf4 401511c4 /system/lib/libc.so
I/DEBUG ( 113): 5fb02bf8 00000000
I/DEBUG ( 113): 5fb02bfc 4012a91f /system/lib/libc.so (_fwalk+34)
I/DEBUG ( 113): 5fb02c00 40129bc9 /system/lib/libc.so (_cleanup)
I/DEBUG ( 113): 5fb02c04 5fb02c1c
I/DEBUG ( 113): 5fb02c08 4002d000
I/DEBUG ( 113): 5fb02c0c 593c3d90
I/DEBUG ( 113): 5fb02c10 df0027ad
I/DEBUG ( 113): 5fb02c14 00000000
I/DEBUG ( 113): #00 5fb02c18 5937e004
I/DEBUG ( 113): 5fb02c1c fffffbdf
I/DEBUG ( 113): 5fb02c20 0000005a
I/DEBUG ( 113): 5fb02c24 4011b2ed /system/lib/libc.so
I/DEBUG ( 113): 5fb02c28 ffffffff
I/DEBUG ( 113): 5fb02c2c 00000000
I/DEBUG ( 113): 5fb02c30 00000003
I/DEBUG ( 113): 5fb02c34 5fb02c5c
I/DEBUG ( 113): 5fb02c38 40154110
I/DEBUG ( 113): 5fb02c3c 40125680 /system/lib/libc.so (__pthread_clone)
I/DEBUG ( 113): #01 5fb02c40 00000000
I/DEBUG ( 113): 5fb02c44 4011b369 /system/lib/libc.so
I/DEBUG ( 113): #02 5fb02c48 5fb0306c
I/DEBUG ( 113): 5fb02c4c 00000055
I/DEBUG ( 113): 5fb02c50 5fb02c5c
I/DEBUG ( 113): 5fb02c54 5fb02cb1
I/DEBUG ( 113): 5fb02c58 5fb0305b
I/DEBUG ( 113): 5fb02c5c 20404040
I/DEBUG ( 113): 5fb02c60 524f4241 /dev/ashmem/dalvik-mark-stack (deleted)
I/DEBUG ( 113): 5fb02c64 474e4954 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 113): 5fb02c68 6e69203a
I/DEBUG ( 113): 5fb02c6c 696c6176
I/DEBUG ( 113): 5fb02c70 64612064
I/DEBUG ( 113): 5fb02c74 73657264
I/DEBUG ( 113): 5fb02c78 726f2073
I/DEBUG ( 113): 5fb02c7c 64646120
I/DEBUG ( 113): 5fb02c80 73736572
I/DEBUG ( 113): 5fb02c84 20666f20
I/DEBUG ( 113): ........ ........
I/DEBUG ( 113):
I/DEBUG ( 113): memory near r5:
I/DEBUG ( 113): 5fb02bfc 4012a91f 40129bc9 5fb02c1c 4002d000
I/DEBUG ( 113): 5fb02c0c 593c3d90 df0027ad 00000000 5937e004
I/DEBUG ( 113): 5fb02c1c fffffbdf 0000005a 4011b2ed ffffffff
I/DEBUG ( 113): 5fb02c2c 00000000 00000003 5fb02c5c 40154110
I/DEBUG ( 113): 5fb02c3c 40125680 00000000 4011b369 5fb0306c
I/DEBUG ( 113): 5fb02c4c 00000055 5fb02c5c 5fb02cb1 5fb0305b
I/DEBUG ( 113): 5fb02c5c 20404040 524f4241 474e4954 6e69203a
I/DEBUG ( 113): 5fb02c6c 696c6176 64612064 73657264 726f2073
I/DEBUG ( 113): 5fb02c7c 64646120 73736572 20666f20 72726f63
I/DEBUG ( 113): 5fb02c8c 20747075 636f6c62 7830206b 63333935
I/DEBUG ( 113): 5fb02c9c 38386433 73617020 20646573 64206f74
I/DEBUG ( 113): 5fb02cac 6572666c 00000065 00000000 00000000
I/DEBUG ( 113): 5fb02cbc 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 5fb02ccc 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 5fb02cdc 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 5fb02cec 00000000 00000000 00000000 00000000
I/DEBUG ( 113):
I/DEBUG ( 113): memory near r6:
I/DEBUG ( 113): 4002cfe0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 113): 4002cff0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 113): 4002d000 00000000 00000023 5bf8659a 5992e3c8
I/DEBUG ( 113): 4002d010 00000000 00000000 15400000 4252f944
I/DEBUG ( 113): 4002d020 5c2a1000 00000023 407f1da8 00000002
I/DEBUG ( 113): 4002d030 00000008 4002d048 408e37e9 00000000
I/DEBUG ( 113): 4002d040 00000000 0000002b 4002d008 4002d070
I/DEBUG ( 113): 4002d050 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 4002d060 00000000 00000000 00000000 00000023
I/DEBUG ( 113): 4002d070 5bf85eae 00000000 15400000 4252f944
I/DEBUG ( 113): 4002d080 43de3400 42eccefa 012bb38b 00000023
I/DEBUG ( 113): 4002d090 00730041 00610069 0055002f 00750072
I/DEBUG ( 113): 4002d0a0 0071006d 00000069 00000000 00000023
I/DEBUG ( 113): 4002d0b0 5bf86200 5992e3c8 00000000 00000000
I/DEBUG ( 113): 4002d0c0 43de3400 42eccefa 5c2a1000 00000023
I/DEBUG ( 113): 4002d0d0 407f1da8 00000001 00000008 4002d0f0
I/DEBUG ( 113):
I/DEBUG ( 113): memory near r7:
I/DEBUG ( 113): 593c3d70 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 593c3d80 00000000 00000000 6e702e32 00000251
I/DEBUG ( 113): 593c3d90 5935dcd0 672f7374 73736172 00000241
I/DEBUG ( 113): 593c3da0 73740067 00000239 40154190 40154190
I/DEBUG ( 113): 593c3db0 68676972 702e3074 65737361 612f7374
I/DEBUG ( 113): 593c3dc0 74657373 72672f73 30737361 676e702e
I/DEBUG ( 113): 593c3dd0 00000030 0000002a 7461642f 70612f61
I/DEBUG ( 113): 593c3de0 6f632f70 61732e6d 656c706d 6b6f702e
I/DEBUG ( 113): 593c3df0 6e6f6d65 612e312d 00000058 0000004a
I/DEBUG ( 113): 593c3e00 402e1d88 00000001 593c3ec0 00000000
I/DEBUG ( 113): 593c3e10 00000000 33523252 ffffffff ffffffff
I/DEBUG ( 113): 593c3e20 0000019b 00000000 00000000 00000000
I/DEBUG ( 113): 593c3e30 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 593c3e40 3252676e 00000199 401541a0 401541a0
I/DEBUG ( 113): 593c3e50 613a3532 74657373 7461642f 70612f61
I/DEBUG ( 113): 593c3e60 6f632f70 61732e6d 656c706d 6b6f702e
I/DEBUG ( 113):
I/DEBUG ( 113): memory near r8:
I/DEBUG ( 113): 600081f4 60007a90 016a0016 65737361 32257374
I/DEBUG ( 113): 60008204 61726746 2e307373 00676e70 01000015
I/DEBUG ( 113): 60008214 65737361 672f7374 73736172 6e702e30
I/DEBUG ( 113): 60008224 00000067 0112800d 5ffab508 00000011
I/DEBUG ( 113): 60008234 60008214 012a8019 5ffa85f8 00000003
I/DEBUG ( 113): 60008244 00000003 00000001 00000002 60008270
I/DEBUG ( 113): 60008254 013a0015 6000822c 00000004 60007a90
I/DEBUG ( 113): 60008264 4a51e5a5 00000000 01560009 600082ac
I/DEBUG ( 113): 60008274 600082f4 016e800e 5ffab508 00000004
I/DEBUG ( 113): 60008284 60007ba4 0100800d 5ffab508 00000004
I/DEBUG ( 113): 60008294 60007ba4 010a800d 5ffab508 00000005
I/DEBUG ( 113): 600082a4 60007bdc 011a0015 6000829c 00000004
I/DEBUG ( 113): 600082b4 60007ba4 4d08f2ba 00000000 012a800d
I/DEBUG ( 113): 600082c4 5ffab508 00000002 60007c18 0142800d
I/DEBUG ( 113): 600082d4 5ffab508 00000002 60007c18 0152800d
I/DEBUG ( 113): 600082e4 5ffab508 00000011 60008214 01620016
I/DEBUG ( 113):
I/DEBUG ( 113): memory near sl:
I/DEBUG ( 113): 5fb032e4 00000011 60041c01 00000011 60041c01
I/DEBUG ( 113): 5fb032f4 60041d04 6000b601 5fb03370 00000000
I/DEBUG ( 113): 5fb03304 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 5fb03314 60041d14 60041cbc 5fb03370 5fb034d0
I/DEBUG ( 113): 5fb03324 00000000 5fb03460 60006d18 00000001
I/DEBUG ( 113): 5fb03334 5febc064 00000005 00000011 60008214
I/DEBUG ( 113): 5fb03344 00000011 60041cbc 00000011 60008214
I/DEBUG ( 113): 5fb03354 5ff18c0c 00000011 00000011 60041cbc
I/DEBUG ( 113): 5fb03364 00000000 00000000 5ff0ef00 60041d04
I/DEBUG ( 113): 5fb03374 5febb71c 60041cd4 00000005 5fb03530
I/DEBUG ( 113): 5fb03384 5ff62478 5ffac5a4 60006d18 5fb03554
I/DEBUG ( 113): 5fb03394 5fe96dac 5fb03401 409dc1e8 00000005
I/DEBUG ( 113): 5fb033a4 5ff626bc 00000000 5ff685d8 0000001b
I/DEBUG ( 113): 5fb033b4 00000030 5935dfb0 401197cf 5ff65b68
I/DEBUG ( 113): 5fb033c4 5fedcecc 6000c648 000001a0 5fb03510
I/DEBUG ( 113): 5fb033d4 58b24008 00000014 5935df98 58b2407c
I/DEBUG ( 113):
I/DEBUG ( 113): memory near fp:
I/DEBUG ( 113): 60041c9c 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 60041cac 00000000 00000000 00000000 01000015
I/DEBUG ( 113): 60041cbc 65737361 672f7374 73736172 6e702e30
I/DEBUG ( 113): 60041ccc 00000067 013a000d 5ffab508 00000005
I/DEBUG ( 113): 60041cdc 5ff626bc 0152800d 5ffab508 00000005
I/DEBUG ( 113): 60041cec 60007bdc 0162000d 5ffab508 00000005
I/DEBUG ( 113): 60041cfc 5ff626bc 0100800d 5ffab508 00000011
I/DEBUG ( 113): 60041d0c 60008214 01028039 5ffa0d40 00000000
I/DEBUG ( 113): 60041d1c 00000000 ffffffff 00000000 00000000
I/DEBUG ( 113): 60041d2c 00000000 5ffed254 ffffffff 00000000
I/DEBUG ( 113): 60041d3c 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 60041d4c 0112800d 5ffab508 00000011 60008214
I/DEBUG ( 113): 60041d5c 014e8009 5ffa78c8 60041f20 015e8011
I/DEBUG ( 113): 60041d6c 5ff9d818 0000019b 0000019b 60041d80
I/DEBUG ( 113): 60041d7c 016a019e 00000000 00000000 00000000
I/DEBUG ( 113): 60041d8c 00000000 00000000 00000000 00000000
I/DEBUG ( 113):
I/DEBUG ( 113): memory near ip:
I/DEBUG ( 113): 593c3d70 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 593c3d80 00000000 00000000 6e702e32 00000251
I/DEBUG ( 113): 593c3d90 5935dcd0 672f7374 73736172 00000241
I/DEBUG ( 113): 593c3da0 73740067 00000239 40154190 40154190
I/DEBUG ( 113): 593c3db0 68676972 702e3074 65737361 612f7374
I/DEBUG ( 113): 593c3dc0 74657373 72672f73 30737361 676e702e
I/DEBUG ( 113): 593c3dd0 00000030 0000002a 7461642f 70612f61
I/DEBUG ( 113): 593c3de0 6f632f70 61732e6d 656c706d 6b6f702e
I/DEBUG ( 113): 593c3df0 6e6f6d65 612e312d 00000058 0000004a
I/DEBUG ( 113): 593c3e00 402e1d88 00000001 593c3ec0 00000000
I/DEBUG ( 113): 593c3e10 00000000 33523252 ffffffff ffffffff
I/DEBUG ( 113): 593c3e20 0000019b 00000000 00000000 00000000
I/DEBUG ( 113): 593c3e30 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 593c3e40 3252676e 00000199 401541a0 401541a0
I/DEBUG ( 113): 593c3e50 613a3532 74657373 7461642f 70612f61
I/DEBUG ( 113): 593c3e60 6f632f70 61732e6d 656c706d 6b6f702e
I/DEBUG ( 113):
I/DEBUG ( 113): memory near sp:
I/DEBUG ( 113): 5fb02bf8 00000000 4012a91f 40129bc9 5fb02c1c
I/DEBUG ( 113): 5fb02c08 4002d000 593c3d90 df0027ad 00000000
I/DEBUG ( 113): 5fb02c18 5937e004 fffffbdf 0000005a 4011b2ed
I/DEBUG ( 113): 5fb02c28 ffffffff 00000000 00000003 5fb02c5c
I/DEBUG ( 113): 5fb02c38 40154110 40125680 00000000 4011b369
I/DEBUG ( 113): 5fb02c48 5fb0306c 00000055 5fb02c5c 5fb02cb1
I/DEBUG ( 113): 5fb02c58 5fb0305b 20404040 524f4241 474e4954
I/DEBUG ( 113): 5fb02c68 6e69203a 696c6176 64612064 73657264
I/DEBUG ( 113): 5fb02c78 726f2073 64646120 73736572 20666f20
I/DEBUG ( 113): 5fb02c88 72726f63 20747075 636f6c62 7830206b
I/DEBUG ( 113): 5fb02c98 63333935 38386433 73617020 20646573
I/DEBUG ( 113): 5fb02ca8 64206f74 6572666c 00000065 00000000
I/DEBUG ( 113): 5fb02cb8 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 5fb02cc8 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 5fb02cd8 00000000 00000000 00000000 00000000
I/DEBUG ( 113): 5fb02ce8 00000000 00000000 00000000 00000000
I/DEBUG ( 113):
I/DEBUG ( 113): code around pc:
I/DEBUG ( 113): 40127e64 461ce00b 2b006823 e026d1fb b12468e4
I/DEBUG ( 113): 40127e74 21014a18 6011447a 4b1247a0 24002027
I/DEBUG ( 113): 40127e84 f7fc7018 2106ea2a ec80f7fd 5180f04f
I/DEBUG ( 113): 40127e94 91042006 460aa902 94039402 e82cf7fd
I/DEBUG ( 113): 40127ea4 46224629 f7fd2002 f7fce838 2106ea16
I/DEBUG ( 113): 40127eb4 ec6cf7fd f7fb2001 6960eec2 d1dc2800
I/DEBUG ( 113): 40127ec4 bf00e7d4 deadbaad 00029190 ffffff9c
I/DEBUG ( 113): 40127ed4 0002c540 0002c524 2400b510 4669b088
I/DEBUG ( 113): 40127ee4 9002aa04 94014620 94039400 ef7af7fc
I/DEBUG ( 113): 40127ef4 db0642a0 b1139b07 1c419806 98069106
I/DEBUG ( 113): 40127f04 4620e000 bd10b008 4b1eb40e b5f0491e
I/DEBUG ( 113): 40127f14 447bb082 585eaf00 021cf107 4b04f852
I/DEBUG ( 113): 40127f24 68352101 f852607d 31015b04 d1fa2d00
I/DEBUG ( 113): 40127f34 320e008a 0507f022 0220f107 0d05ebad
I/DEBUG ( 113): 40127f44 4669603a 0224f107 9400466d 4c04f852
I/DEBUG ( 113): 40127f54 f8453204 2c004f04 f8dfd1f8 f853c030
I/DEBUG ( 113):
I/DEBUG ( 113): code around lr:
I/DEBUG ( 113): 4012a8fc 4a0e4b0d 41f0e92d 447b4680 589c2600
I/DEBUG ( 113): 4012a90c 686768a5 f9b5e007 2b00300c 4628dd02
I/DEBUG ( 113): 4012a91c 430647c0 3f013554 6824d5f5 d1ef2c00
I/DEBUG ( 113): 4012a92c e8bd4630 bf0081f0 000266ce ffffffc4
I/DEBUG ( 113): 4012a93c 43f0e92d f502fb01 4b16461e 4916460f
I/DEBUG ( 113): 4012a94c 447bb087 46149001 aa012001 92039502
I/DEBUG ( 113): 4012a95c 90049505 681a585b b1124698 f0094630
I/DEBUG ( 113): 4012a96c 4630fd20 f7ffa903 4681fe9c 0000f8d8
I/DEBUG ( 113): 4012a97c 4630b110 fd22f009 0f00f1b9 9c05d005
I/DEBUG ( 113): 4012a98c 1b284639 eab2f017 46204604 e8bdb007
I/DEBUG ( 113): 4012a99c bf0083f0 00026686 ffffff60 46036842
I/DEBUG ( 113): 4012a9ac 29001e51 da016041 bb98f000 f8126802
I/DEBUG ( 113): 4012a9bc 601a0b01 00004770 4a104b0f 4604b570
I/DEBUG ( 113): 4012a9cc 589b447b 461e6819 f009b109 6860fcea
I/DEBUG ( 113): 4012a9dc 2d001e45 da046065 f0004620 4605fb7f
I/DEBUG ( 113): 4012a9ec 6822e003 5b01f812 68336022 4620b113
I/DEBUG ( 113):
I/DEBUG ( 113): memory map around fault addr deadbaad:
I/DEBUG ( 113): bea17000-bea38000 rw- [stack]
I/DEBUG ( 113): (no map for address)
I/DEBUG ( 113): ffff0000-ffff1000 r-x [vectors]
I/BootReceiver( 403): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
W/InputDispatcher( 403): channel '423bcdb0 com.sample.pokemon/com.sample.pokemon.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 403): channel '423bcdb0 com.sample.pokemon/com.sample.pokemon.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
D/Zygote ( 116): Process 4607 terminated by signal (11)
D/dalvikvm( 403): GC_FOR_ALLOC freed 1436K, 23% free 12431K/16028K, paused 100ms, total 100ms
W/InputDispatcher( 403): Attempted to unregister already unregistered input channel '423bcdb0 com.sample.pokemon/com.sample.pokemon.MainActivity (server)'
I/ActivityManager( 403): Process com.sample.pokemon (pid 4607) has died.
I/WindowState( 403): WIN DEATH: Window{4241dc30 u0 SurfaceView}
W/ActivityManager( 403): Force removing ActivityRecord{42246720 u0 com.sample.pokemon/.MainActivity}: app died, no saved state
I/WindowState( 403): WIN DEATH: Window{423bcdb0 u0 com.sample.pokemon/com.sample.pokemon.MainActivity}
D/dalvikvm( 403): GC_FOR_ALLOC freed 83K, 21% free 12787K/16028K, paused 100ms, total 100ms
I/dalvikvm-heap( 403): Grow heap (frag case) to 13.330MB for 294932-byte allocation
D/dalvikvm( 403): GC_FOR_ALLOC freed 215K, 22% free 12862K/16320K, paused 89ms, total 90ms
D/dalvikvm( 403): GC_FOR_ALLOC freed 584K, 24% free 12470K/16320K, paused 90ms, total 90ms
I/ActivityManager( 403): Start proc com.google.android.gsf.login for service com.google.android.gsf.login/com.google.android.gsf.loginservice.GoogleLoginService: pid=4630 uid=10050 gids={50050, 3003, 1007, 1028, 1015, 1006, 3002, 3001, 2001, 3006}
W/System ( 1422): Ignoring HTTP header field 'User-Agent' because its value is null
I/ActivityManager( 403): No longer want system:ui (pid 4334): empty #17
W/InputMethodManagerService( 403): Got RemoteException sending setActive(false) notification to pid 4607 uid 10101
Here my library versions:
actuate: 1.8.3 [1.8.6]
box2d: [1.2.3]
haxeui: [1.7.14]
hscript: [2.0.4]
hxcpp: [3.2.102]
layout: [1.2.0]
lime-samples: [2.3.0]
lime: [2.4.5]
openfl-samples: [2.2.2]
openfl: [3.1.1] 3.1.3 3.1.4
svg: [1.0.8]
swf: [1.8.9]
yagp: [1.1.4]
I've tried with OpenFL 3.1.4 (last version installed) but I get this error when I run sudo openfl test android:
/usr/lib/haxelib/openfl/3,1,4/openfl/display/BitmapData.hx:5: characters 7-44 : Type not found : lime.graphics.cairo.CairoImageSurface
So I've tried with OpenFL 3.1.3 but I get another error:
/usr/lib/haxelib/openfl/3,1,3/openfl/display/Loader.hx:4: characters 7-35 : Type not found : lime.system.BackgroundWorker
(I didn't get any error with OpenFL 3.1.1)
P.s.:
I tried using another image but it didn't solve the problem.
I checked that the images are correctly in the Export/android/bin/assets/assets/ folder.
The images I'm using are ~4KB 32x32 .png files.
UPDATE #2:
I get the same problem using a sample project (PiratePig).
I tried to use a Windows 7 computer with the Android emulator, too, but it didn't solve it.
I decided to report this problem to the OpenFL Community.

Advanced Android crash analysis?

Is there a way to get more useful information from an android crash? Deliberately inducing a UAF crash in android ICS I get the following output to my logcat, but is there a way to do a more complete stack dump and heap dump at the time of the crash? I can't seem to do it in ddms because as soon as the fatal signal is hit ddms abandons the process (because it doesn't exist anymore)
F/libc ( 598): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
I/DEBUG ( 33): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEUG ( 33): Build fingerprint: 'generic/sdk/generic:4.0.2/ICS_MR0/229537:eng/test-keys'
I/DEBUG ( 33): pid: 598, tid: 621 >>> com.android.browser <<<
I/DEBUG ( 33): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 33): r0 4b7824f0 r1 004b6da0 r2 00000000 r3 00000000
I/DEBUG ( 33): r4 00e8d7c0 r5 004b6da0 r6 00348370 r7 00000000
I/DEBUG ( 33): r8 49c61b10 r9 4afc808d 10 497df75d fp 00108698
I/DEBUG ( 33): ip 00000000 sp 4b7824f0 lr 496bf215 pc 00000000 cpsr 20000010
I/DEBUG ( 33): d0 44750000cf000000 d1 44c1000000000000
I/DEBUG ( 33): d2 0000000044c10000 d3 4475000044750000
I/DEBUG ( 33): d4 0000000000000000 d5 44c1000000000000
I/DEBUG ( 33): d6 0000000000000000 d7 0000000000000000
I/DEBUG ( 33): d8 0000000000000000 d9 3fa999999999999a
I/DEBUG ( 33): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 33): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 33): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 33): scr 60000013
I/DEBUG ( 33):
I/DEBUG ( 33): #00 pc 00000000
I/DEBUG ( 33): #01 pc 00191212 /system/lib/libwebcore.so
I/DEBUG ( 33): #02 pc 001745c8 /system/lib/libwebcore.so
I/DEBUG ( 33): #03 pc 002b1766 /system/lib/libwebcore.so
I/DEBUG ( 33): #04 pc 004dccae /system/lib/libwebcore.so
I/DEBUG ( 33): #05 pc 004e052a /system/lib/libwebcore.so
I/DEBUG ( 33): #06 pc 004c3aae /system/lib/libwebcore.so
I/DEBUG ( 33): #07 pc 004c3b34 /system/lib/libwebcore.so
I/DEBUG ( 33):
I/DEBUG ( 33): code around pc:
I/DEBUG ( 33): 00000000 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 33): 00000010 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 33): 00000020 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 33): 00000030 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 33): 00000040 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 33):
I/DEBUG ( 33): code around lr:
I/DEBUG ( 33): 496bf1f4 47904668 bd0e9801 68c3b507 b1134601
I/DEBUG ( 33): 496bf204 fc64f004 6800e005 20b0f8d0 47904668
I/DEBUG ( 33): 496bf214 bd0e9800 68c3b510 f004b113 e001fc49
I/DEBUG ( 33): 496bf224 fd18f7fe bf00bd10 68c3b510 f004b113
I/DEBUG ( 33): 496bf234 e001fc31 fd04f7fe bf00bd10 0124f1a1
I/DEBUG ( 33):
I/DEBUG ( 33): stack:
I/DEBUG ( 33): 4b7824b0 00738f28
I/DEBUG ( 33): 4b7824b4 00348370
I/DEBUG ( 33): 4b7824b8 00000000
I/DEBUG ( 33): 4b7824bc 49c61b10
I/DEBUG ( 33): 4b7824c0 4afc808d
I/DEBUG ( 33): 4b7824c4 497df75d /system/lib/libwebcore.so
I/DEBUG ( 33): 4b7824c8 00108698
I/DEBUG ( 33): 4b7824cc 49857421 /system/lib/libwebcore.so
I/DEBUG ( 33): 4b7824d0 00e7c388
I/DEBUG ( 33): 4b7824d4 00000000
I/DEBUG ( 33): 4b7824d8 00e7c388
I/DEBUG ( 33): 4b7824dc 498573f9 /system/lib/libwebcore.so
I/DEBUG ( 33): 4b7824e0 00e7c388
I/DEBUG ( 33): 4b7824e4 00000000
I/DEBUG ( 33): 4b7824e8 df0027ad
I/DEBUG ( 33): 4b7824ec 00000000
I/DEBUG ( 33): #01 4b7824f0 004b6da0
I/DEBUG ( 33): 4b7824f4 00000001
I/DEBUG ( 33): 4b7824f8 00000000
I/DEBUG ( 33): 4b7824fc 496a25cd /system/lib/libwebcore.so
You can see the complete logs of the device by selecting All messages(no filters) option in Logcat.

Issue on emulating external storage in am335xevm

I want to bring up JellyBean sources into am335xevm board. The board was booted with JellyBean.
I also want to mount /data/media/ as external storage on my board. I have refered this link to achieve that.
I have used following codes in my init.vendor.rc file
on init
# for backwards compatibility
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage/emulated 0555 root root
export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated
symlink /storage/emulated/legacy /sdcard
symlink /storage/emulated/legacy /mnt/sdcard
symlink /storage/emulated/legacy /storage/sdcard0
symlink /mnt/shell/emulated/0 /storage/emulated/legacy
on post-fs-data
mkdir /data/media 0770 media_rw media_rw
chown media_rw media_rw /data/media
on fs
setprop ro.crypto.fuse_sdcard true
service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
class main
and storage_list.xml file
<storage android:mountPoint="/storage/sdcard0"
android:storageDescription="#string/storage_internal"
android:primary="true"
android:emulated="true"
android:mtpReserve="100" />
I'm putting prints on /system/core/sdcard/sdcard.c also.
When I see logs for this, it was getting crashed frequently. I've attached the logcat also here.
I/installd( 265): installd firing up
E/cutils ( 265): Failed to read /data/.layout_version: No such file or directory
D/installd( 265): Upgrading /data/media for multi-user
D/installd( 265): Upgrading to shared /data/media/obb
F/libc ( 267): Fatal signal 11 (SIGSEGV) at 0x00000002 (code=1), thread 267 (sdcard)
F/libc ( 267): Unable to open connection to debuggerd: Connection refused
--------- beginning of /dev/log/system
D/Sdcard ( 267): Entered into main argc are: 5
D/Sdcard ( 267): Inside for loop i = 1 argv is /data/media
D/Sdcard ( 267): Source path is set
D/Sdcard ( 267): Loop 1 is finished
D/Sdcard ( 267): Inside for loop i = 2 argv is /mnt/shell/emulated
D/Sdcard ( 267): Dest path is set
D/Sdcard ( 267): Loop 2 is finished
D/Sdcard ( 267): Inside for loop i = 3 argv is 1023
D/Sdcard ( 267): Uid is set
D/Sdcard ( 267): Loop 3 is finished
D/Sdcard ( 267): Inside for loop i = 4 argv is 1023
D/Sdcard ( 267): Gid is set
D/Sdcard ( 267): Loop 4 is finished
I/DEBUG ( 260): debuggerd: Apr 30 2014 15:34:12
I/Vold ( 258): Vold 2.1 (the revenge) firing up
D/Vold ( 258): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 258): Volume media state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 258): Volume usb state changing -1 (Initializing) -> 0 (No-Media)
I/Netd ( 259): Netd 1.0 starting
W/InterfaceController( 259): Warning (Cannot load library: load_library(linker.cpp:745): library "/system/lib/libnetcmdiface.so" not found) while opening the net intery
D/Vold ( 258): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 258): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
E/DirectVolume( 258): Partition '/devices/platform/omap/omap_hsmmc.1/mmc_host/mmc1/mmc1:0001/block/mmcblk1/mmcblk1p3' has a different major than its disk!
I/SurfaceFlinger( 261): SurfaceFlinger is starting
I/SurfaceFlinger( 261): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 261): loaded /system/lib/egl/libGLES_android.so
I/gralloc ( 261): using (fd=12)
I/gralloc ( 261): id = DA8xx FB Drv
I/gralloc ( 261): xres = 320 px
I/gralloc ( 261): yres = 240 px
I/gralloc ( 261): xres_virtual = 320 px
I/gralloc ( 261): yres_virtual = 480 px
I/gralloc ( 261): bpp = 16
I/gralloc ( 261): r = 11:5
I/gralloc ( 261): g = 5:6
I/gralloc ( 261): b = 0:5
I/gralloc ( 261): width = 51 mm (159.372543 dpi)
I/gralloc ( 261): height = 38 mm (160.421051 dpi)
I/gralloc ( 261): refresh rate = 61.01 Hz
E/SurfaceFlinger( 261): hwcomposer module not found
W/SurfaceFlinger( 261): getting VSYNC period from fb HAL: 16390756
W/SurfaceFlinger( 261): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 261): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
W/SurfaceFlinger( 261): no suitable EGLConfig found, trying with 16-bit color allowed
W/SurfaceFlinger( 261): EGL_SLOW_CONFIG selected!
I/SurfaceFlinger( 261): EGL informations:
I/SurfaceFlinger( 261): vendor : Android
I/SurfaceFlinger( 261): version : 1.4 Android META-EGL
I/SurfaceFlinger( 261): extensions: EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
I/SurfaceFlinger( 261): Client API: OpenGL_ES
I/SurfaceFlinger( 261): EGLSurface: 5-6-5-0, config=0x0
I/SurfaceFlinger( 261): OpenGL ES informations:
I/SurfaceFlinger( 261): vendor : Android
I/SurfaceFlinger( 261): renderer : Android PixelFlinger 1.4
I/SurfaceFlinger( 261): version : OpenGL ES-CM 1.0
I/SurfaceFlinger( 261): extensions: GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_palette
I/SurfaceFlinger( 261): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 261): GL_MAX_VIEWPORT_DIMS = 4096 x 4096
D/SurfaceFlinger( 261): Screen acquired, type=0 flinger=0x40c8e318
D/libEGL ( 296): loaded /system/lib/egl/libGLES_android.so
I/ARMAssembler( 296): generated scanline__00000077:03010102_00008A01_00000000 [ 9 ipp] (30 ins) at [0x409921f0:0x40992268] in 274659 ns
D/AndroidRuntime( 262):
D/AndroidRuntime( 262): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 262): CheckJNI is ON
I/mediaserver( 264): ServiceManager: 0x40cadee8
I/AudioFlinger( 264): Using default 3000 mSec as standby time.
I/CameraService( 264): CameraService started (pid=264)
I/AudioPolicyManagerBase( 264): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
E/audio_hw_primary( 264): Duplicate path setting '(null)'
E/audio_hw_primary( 264): Duplicate path setting '(null)'
E/audio_hw_primary( 264): Duplicate path setting '(null)'
I/AudioFlinger( 264): loadHwModule() Loaded primary audio interface from Rowboat audio HW HAL (audio) handle 1
I/AudioFlinger( 264): HAL output buffer size 880 frames, normal mix buffer size 1056 frames
I/AudioMixer( 264): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
E/MonoPipe( 264): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
D/dalvikvm( 262): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
D/dalvikvm( 373): Ignoring duplicate verify attempt on Ljava/lang/Object;
D/dalvikvm( 373): Ignoring duplicate verify attempt on Ljava/lang/Class;
D/dalvikvm( 373): Ignoring duplicate verify attempt on Ljava/lang/ref/Reference;
D/dalvikvm( 373): Ignoring duplicate verify attempt on Ljava/lang/ref/ReferenceQueue;
D/MDnsDS ( 259): MDnsSdListener::Hander starting up
D/MDnsDS ( 259): MDnsSdListener starting to monitor
D/MDnsDS ( 259): Going to poll with pollCount 1
D/dalvikvm( 373): Ignoring duplicate verify attempt on Ljava/lang/ref/FinalizerReference;
F/libc ( 494): Fatal signal 11 (SIGSEGV) at 0x00000002 (code=1), thread 494 (sdcard)
D/Sdcard ( 494): Entered into main argc are: 5
D/Sdcard ( 494): Inside for loop i = 1 argv is /data/media
D/Sdcard ( 494): Source path is set
D/Sdcard ( 494): Loop 1 is finished
D/Sdcard ( 494): Inside for loop i = 2 argv is /mnt/shell/emulated
D/Sdcard ( 494): Dest path is set
D/Sdcard ( 494): Loop 2 is finished
D/Sdcard ( 494): Inside for loop i = 3 argv is 1023
D/Sdcard ( 494): Uid is set
D/Sdcard ( 494): Loop 3 is finished
D/Sdcard ( 494): Inside for loop i = 4 argv is 1023
D/Sdcard ( 494): Gid is set
D/Sdcard ( 494): Loop 4 is finished
I/DEBUG ( 260): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 260): Build fingerprint: 'Android/twizzler/twizzler:4.2.2/JDQ39/eng.root.20140429.171356:eng/test-keys'
I/DEBUG ( 260): Revision: '0'
I/DEBUG ( 260): pid: 494, tid: 494, name: sdcard >>> /system/bin/sdcard <<<
I/DEBUG ( 260): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000002
I/DEBUG ( 260): r0 00000002 r1 0000003b r2 00000002 r3 00000000
I/DEBUG ( 260): r4 bed6eb28 r5 00000004 r6 00000000 r7 00000002
I/DEBUG ( 260): r8 bed6e06c r9 bed6e6a4 sl bed6e6a4 fp bed6eb2c
I/DEBUG ( 260): ip 00000073 sp bed6dfb0 lr 40169e71 pc 40163540 cpsr 20000010
I/DEBUG ( 260): d0 652f6c6c6568736d d1 203a657261206375
I/DEBUG ( 260): d2 000000000000006c d3 0000000000000061
I/DEBUG ( 260): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 260): d6 0000000000000000 d7 0085219f00000000
I/DEBUG ( 260): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 260): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 260): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 260): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 260): d16 4160a433f2e978d5 d17 3f50624dd2f1a9fc
I/DEBUG ( 260): d18 41c59a83b3800000 d19 0000000000000000
I/DEBUG ( 260): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 260): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 260): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 260): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 260): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 260): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 260): scr 00000010
I/DEBUG ( 260):
I/DEBUG ( 260): backtrace:
I/DEBUG ( 260): #00 pc 00019540 /system/lib/libc.so (strlen+16)
I/DEBUG ( 260): #01 pc 0001fe6d /system/lib/libc.so (__vfprintf+2124)
I/DEBUG ( 260): #02 pc 000212b3 /system/lib/libc.so (vsnprintf+70)
I/DEBUG ( 260): #03 pc 0000139d /system/lib/liblog.so (__android_log_buf_print+44)
I/DEBUG ( 260): #04 pc 00002335 /system/bin/sdcard
I/DEBUG ( 260): #05 pc 000126f7 /system/lib/libc.so (__libc_init+38)
I/DEBUG ( 260): #06 pc 00000e70 /system/bin/sdcard
I/DEBUG ( 260):
I/DEBUG ( 260): stack:
I/DEBUG ( 260): bed6df70 bed6e72c [stack]
I/DEBUG ( 260): bed6df74 40167f23 /system/lib/libc.so
I/DEBUG ( 260): bed6df78 bed6e6a4 [stack]
I/DEBUG ( 260): bed6df7c bed6e028 [stack]
I/DEBUG ( 260): bed6df80 00000013
I/DEBUG ( 260): bed6df84 bed6e028 [stack]
I/DEBUG ( 260): bed6df88 00000003
I/DEBUG ( 260): bed6df8c 00000000
I/DEBUG ( 260): bed6df90 bed6eccd [stack]
I/DEBUG ( 260): bed6df94 bed6e074 [stack]
I/DEBUG ( 260): bed6df98 bed6e6a4 [stack]
I/DEBUG ( 260): bed6df9c 00000013
I/DEBUG ( 260): bed6dfa0 ffffffed
I/DEBUG ( 260): bed6dfa4 40169617 /system/lib/libc.so
I/DEBUG ( 260): bed6dfa8 df0027ad
I/DEBUG ( 260): bed6dfac 00000000
I/DEBUG ( 260): #00 bed6dfb0 00000000
I/DEBUG ( 260): ........ ........
I/DEBUG ( 260): #01 bed6dfb0 00000000
I/DEBUG ( 260): bed6dfb4 00000000
I/DEBUG ( 260): bed6dfb8 00000000
I/DEBUG ( 260): bed6dfbc 00000000
I/DEBUG ( 260): bed6dfc0 00000000
I/DEBUG ( 260): bed6dfc4 00000073
I/DEBUG ( 260): bed6dfc8 00000000
I/DEBUG ( 260): bed6dfcc ffffffff
I/DEBUG ( 260): bed6dfd0 bed6e06c [stack]
I/DEBUG ( 260): bed6dfd4 400fe947 /system/bin/sdcard
I/DEBUG ( 260): bed6dfd8 00000000
I/DEBUG ( 260): bed6dfdc 0000004b
I/DEBUG ( 260): bed6dfe0 00000000
I/DEBUG ( 260): bed6dfe4 00000000
I/DEBUG ( 260): bed6dfe8 400fe914 /system/bin/sdcard
I/DEBUG ( 260): bed6dfec 00000000
I/DEBUG ( 260): ........ ........
I/DEBUG ( 260): #02 bed6e690 400fc7aa /system/bin/sdcard
I/DEBUG ( 260): bed6e694 00000000
I/DEBUG ( 260): bed6e698 00000000
I/DEBUG ( 260): bed6e69c 00000009
I/DEBUG ( 260): bed6e6a0 00004000
I/DEBUG ( 260): bed6e6a4 bed6e73f [stack]
I/DEBUG ( 260): bed6e6a8 00000003
I/DEBUG ( 260): bed6e6ac 000003c4
I/DEBUG ( 260): bed6e6b0 ffff0208 [vectors]
I/DEBUG ( 260): bed6e6b4 bed6e704 [stack]
I/DEBUG ( 260): bed6e6b8 000003ff
I/DEBUG ( 260): bed6e6bc 400fe84f /system/bin/sdcard
I/DEBUG ( 260): bed6e6c0 00000003
I/DEBUG ( 260): bed6e6c4 bed6e704 [stack]
I/DEBUG ( 260): bed6e6c8 00000003
I/DEBUG ( 260): bed6e6cc 400992a3 /system/lib/liblog.so (__android_log_buf_write+186)
I/DEBUG ( 260): ........ ........
I/DEBUG ( 260):
I/DEBUG ( 260): memory near r4:
I/DEBUG ( 260): bed6eb08 400fff14 000003ff 400fe84f 400fe914
I/DEBUG ( 260): bed6eb18 400fe339 400fe914 bed6ecc1 bed6eccd
I/DEBUG ( 260): bed6eb28 00000002 00000022 00001000 bed6eb54
I/DEBUG ( 260): bed6eb38 00000002 bed6ebc4 400fe897 00000005
I/DEBUG ( 260): bed6eb48 00000667 000005f9 ffffffff bed6ecea
I/DEBUG ( 260): bed6eb58 00000000 400fe1b5 bed6ebb4 00000005
I/DEBUG ( 260): bed6eb68 bed6ebcc 00000000 00000000 00000000
I/DEBUG ( 260): bed6eb78 bed6ebac 4015c6f9 bed6eb98 00000000
I/DEBUG ( 260): bed6eb88 00000000 00000000 00000000 400fce74
I/DEBUG ( 260): bed6eb98 400ffddc 400ffde4 400ffdec bed6ebb0
I/DEBUG ( 260): bed6eba8 00000000 40133bbb 00000005 bed6ecae
I/DEBUG ( 260): bed6ebb8 bed6ecc1 bed6eccd bed6ece1 bed6ece6
I/DEBUG ( 260): bed6ebc8 00000000 bed6eceb bed6ed28 bed6ed50
I/DEBUG ( 260): bed6ebd8 bed6ed63 bed6ed78 bed6ed93 bed6eda6
I/DEBUG ( 260): bed6ebe8 bed6edbf bed6edd9 bed6edf2 bed6ef46
I/DEBUG ( 260): bed6ebf8 bed6ef70 bed6ef9c bed6efc6 00000000
I/DEBUG ( 260):
I/DEBUG ( 260): memory near r8:
I/DEBUG ( 260): bed6e04c 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e05c 00000000 00000000 400fe935 00000010
I/DEBUG ( 260): bed6e06c bed6eccd 00000013 00000000 00000000
I/DEBUG ( 260): bed6e07c 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e08c 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e09c 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e0ac 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e0bc 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e0cc 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e0dc 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e0ec 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e0fc 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e10c 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e11c 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e12c 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e13c 00000000 00000000 00000000 00000000
I/DEBUG ( 260):
I/DEBUG ( 260): memory near r9:
I/DEBUG ( 260): bed6e684 000003ff 400fff14 4016b2b7 400fc7aa
I/DEBUG ( 260): bed6e694 00000000 00000000 00000009 00004000
I/DEBUG ( 260): bed6e6a4 bed6e73f 00000003 000003c4 ffff0208
I/DEBUG ( 260): bed6e6b4 bed6e704 000003ff 400fe84f 00000003
I/DEBUG ( 260): bed6e6c4 bed6e704 00000003 400992a3 00000000
I/DEBUG ( 260): bed6e6d4 bed6e694 bed6e6d4 00000001 400fe84f
I/DEBUG ( 260): bed6e6e4 00000007 bed6e704 00000013 40195228
I/DEBUG ( 260): bed6e6f4 400fe84f 40195228 400993a1 bed6eb20
I/DEBUG ( 260): bed6e704 72756f73 705f6563 20687461 2f207369
I/DEBUG ( 260): bed6e714 61746164 64656d2f 64206169 5f747365
I/DEBUG ( 260): bed6e724 68746170 20736920 746e6d2f 6568732f
I/DEBUG ( 260): bed6e734 652f6c6c 616c756d 6f646574 00000000
I/DEBUG ( 260): bed6e744 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e754 00000000 00000000 40047d74 4014aed4
I/DEBUG ( 260): bed6e764 000000a0 00000004 40047d5c 4013f88c
I/DEBUG ( 260): bed6e774 40046114 40046f54 00000004 bed6e7c8
I/DEBUG ( 260):
I/DEBUG ( 260): memory near sl:
I/DEBUG ( 260): bed6e684 000003ff 400fff14 4016b2b7 400fc7aa
I/DEBUG ( 260): bed6e694 00000000 00000000 00000009 00004000
I/DEBUG ( 260): bed6e6a4 bed6e73f 00000003 000003c4 ffff0208
I/DEBUG ( 260): bed6e6b4 bed6e704 000003ff 400fe84f 00000003
I/DEBUG ( 260): bed6e6c4 bed6e704 00000003 400992a3 00000000
I/DEBUG ( 260): bed6e6d4 bed6e694 bed6e6d4 00000001 400fe84f
I/DEBUG ( 260): bed6e6e4 00000007 bed6e704 00000013 40195228
I/DEBUG ( 260): bed6e6f4 400fe84f 40195228 400993a1 bed6eb20
I/DEBUG ( 260): bed6e704 72756f73 705f6563 20687461 2f207369
I/DEBUG ( 260): bed6e714 61746164 64656d2f 64206169 5f747365
I/DEBUG ( 260): bed6e724 68746170 20736920 746e6d2f 6568732f
I/DEBUG ( 260): bed6e734 652f6c6c 616c756d 6f646574 00000000
I/DEBUG ( 260): bed6e744 00000000 00000000 00000000 00000000
I/DEBUG ( 260): bed6e754 00000000 00000000 40047d74 4014aed4
I/DEBUG ( 260): bed6e764 000000a0 00000004 40047d5c 4013f88c
I/DEBUG ( 260): bed6e774 40046114 40046f54 00000004 bed6e7c8
I/DEBUG ( 260):
I/DEBUG ( 260): memory near fp:
I/DEBUG ( 260): bed6eb0c 000003ff 400fe84f 400fe914 400fe339
I/DEBUG ( 260): bed6eb1c 400fe914 bed6ecc1 bed6eccd 00000002
I/DEBUG ( 260): bed6eb2c 0^Z[1] + Stopped logcat
root#android:/ # [ 51.934753] warning: `zygote' uses 32-bit capabilities (legacy support in use)
[ 68.456970] request_suspend_state: wakeup (3->0) at 68414745129 (2000-01-01 00:01:07.347010007 UTC)
[ 69.688903] acc_open
[ 69.691253] acc_release
[ 111.173339] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit
What might be the problem for crash? I have searched lot. But, I didn't get any solution. Whether I'm doing is correct or not?
Please anyone share your view?

Android webview segfaults on display

I have a webview in a fragment. It has been working fine for a few months. I was playing around with the HTML embedded in it (a generated string) and i think it had a bad font reference.
The result is that now on one device this webview always segfaults when it displays - but only on the one device (a Galaxy Nexus) i was testing on - testing on other devices it all works fine. it load in the background in a viewpager so I know it initialises properly but when it display it always segfaults the app on this device.
So it looks like there is some cached data somewhere that is not being cleared. I cant understand why the same apk works on all other devices (all android versions - but only crashes on this one device.
i have tried to clear the cache using
_web.clearCache(true);
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
but no difference. Are there any other caches i can clear?
I have rebooted the phone - no difference.
Looking for any ideas on how to resolve this error - no matter how crazy!
Here is the segfault - looks to be OpenGL related -
-does the webview use opengl for fonts?
- Is there a font cache for the webview?
D/TilesManager( 5776): new EGLContext from framework: 50c5df28
D/GLWebViewState( 5776): Reinit shader
W/webcore ( 5776): skip viewSizeChanged as w is 0
D/GLWebViewState( 5776): Reinit transferQueue
D/MyPodV2 ( 5776): load page:0 - 0.0
D/MyPodV2 ( 5776): load page:720 - 100.0
F/libc ( 5776): Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 5776 (nelweb.mypod.v2)
I/DEBUG ( 121): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 121): Build fingerprint: 'samsung/yakjuxw/maguro:4.1.1/JRO03C/I9250XWLH2:user/release-keys'
I/DEBUG ( 121): pid: 5776, tid: 5776, name: nelweb.mypod.v2 >>> co.uk.sentinelweb.mypod.v2 <<<
I/DEBUG ( 121): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000008
I/DEBUG ( 121): r0 00000008 r1 585b7008 r2 00000010 r3 00000004
I/DEBUG ( 121): r4 56dbdb90 r5 56dbe9c0 r6 00000001 r7 00000004
I/DEBUG ( 121): r8 00000008 r9 00000001 sl 00000004 fp 00000001
I/DEBUG ( 121): ip 00000001 sp beac4180 lr 5863688c pc 5865f774 cpsr 80000010
I/DEBUG ( 121): d0 000000003e8374f1 d1 0000000000000000
I/DEBUG ( 121): d2 3e8374f100000000 d3 0000000000000000
I/DEBUG ( 121): d4 0000000000000000 d5 000000003f800000
I/DEBUG ( 121): d6 426d42bcc1248268 d7 3f80000000000000
I/DEBUG ( 121): d8 4411c6fc438013e9 d9 4507000000000000
I/DEBUG ( 121): d10 43e72bda4481c000 d11 43e670f943e670f9
I/DEBUG ( 121): d12 43e670f943e670f9 d13 bfa2695643f6cead
I/DEBUG ( 121): d14 00000000bd134ab6 d15 0000000000000000
I/DEBUG ( 121): d16 0000000800000000 d17 0000000000000000
I/DEBUG ( 121): d18 0000000000000000 d19 0000000000000000
I/DEBUG ( 121): d20 3ff0000000000000 d21 0000000000000000
I/DEBUG ( 121): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 121): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 121): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 121): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 121): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 121): scr 20000013
I/DEBUG ( 121):
I/DEBUG ( 121): backtrace:
I/DEBUG ( 121): #00 pc 00034774 /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121): #01 pc 0000b888 /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121):
I/DEBUG ( 121): stack:
I/DEBUG ( 121): beac4140 03d00000
I/DEBUG ( 121): beac4144 00000000
I/DEBUG ( 121): beac4148 5c7b3dd0
I/DEBUG ( 121): beac414c 586d79f8
I/DEBUG ( 121): beac4150 56dbea6c
I/DEBUG ( 121): beac4154 585b6c7c /dev/pvrsrvkm
I/DEBUG ( 121): beac4158 00000002
I/DEBUG ( 121): beac415c 00000004
I/DEBUG ( 121): beac4160 56dbea6c
I/DEBUG ( 121): beac4164 56dbdb90
I/DEBUG ( 121): beac4168 56dbe9bc
I/DEBUG ( 121): beac416c 00000000
I/DEBUG ( 121): beac4170 00000004
I/DEBUG ( 121): beac4174 00000023
I/DEBUG ( 121): beac4178 df0027ad
I/DEBUG ( 121): beac417c 00000000
I/DEBUG ( 121): #00 beac4180 56dbdb90
I/DEBUG ( 121): ........ ........
I/DEBUG ( 121): #01 beac4180 56dbdb90
I/DEBUG ( 121): beac4184 5863688c /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121): beac4188 56dbdb90
I/DEBUG ( 121): beac418c 00000004
I/DEBUG ( 121): beac4190 00000004
I/DEBUG ( 121): beac4194 00000000
I/DEBUG ( 121): beac4198 00000005
I/DEBUG ( 121): beac419c 5863898c /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121): beac41a0 56dbdb90
I/DEBUG ( 121): beac41a4 00000004
I/DEBUG ( 121): beac41a8 00000000
I/DEBUG ( 121): beac41ac 5868606c /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/DEBUG ( 121): beac41b0 00000005
I/DEBUG ( 121): beac41b4 58639a70 /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so (glDrawArrays+804)
I/DEBUG ( 121): beac41b8 00000004
I/DEBUG ( 121): beac41bc 00000000
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r1:
I/DEBUG ( 121): 585b6fe8 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 585b6ff8 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 585b7008 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 585b7018 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121): 585b7028 ffffffff ffffffff ffffffff ffffffff ................
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r4:
I/DEBUG ( 121): 56dbdb70 10000298 58ec5138 5dc1229f 00000298 ....8Q.X.".]....
I/DEBUG ( 121): 56dbdb80 58ca335c 5dbf356f 00000000 00000f9b \3.Xo5.]........
I/DEBUG ( 121): 56dbdb90 00000018 0000e7fd 00001c80 00001100 ................
I/DEBUG ( 121): 56dbdba0 00001100 00000024 000003aa 00000064 ....$.......d...
I/DEBUG ( 121): 56dbdbb0 00000064 00000064 00000064 00000004 d...d...d.......
I/DEBUG ( 121):
I/DEBUG ( 121): memory near r5:
I/DEBUG ( 121): 56dbe9a0 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 121): 56dbe9b0 00000000 00000000 56dbe794 56dbe83c ...........V<..V
I/DEBUG ( 121): 56dbe9c0 56dbe86c 00000000 00000000 00000000 l..V............
I/DEBUG ( 121): 56dbe9d0 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 121): 56dbe9e0 00000002 00000003 00000003 00000004 ................
I/DEBUG ( 121):
I/DEBUG ( 121): memory near sp:
I/DEBUG ( 121): beac4160 56dbea6c 56dbdb90 56dbe9bc 00000000 l..V...V...V....
I/DEBUG ( 121): beac4170 00000004 00000023 df0027ad 00000000 ....#....'......
I/DEBUG ( 121): beac4180 56dbdb90 5863688c 56dbdb90 00000004 ...V.hcX...V....
I/DEBUG ( 121): beac4190 00000004 00000000 00000005 5863898c ..............cX
I/DEBUG ( 121): beac41a0 56dbdb90 00000004 00000000 5868606c ...V........l`hX
I/DEBUG ( 121):
I/DEBUG ( 121): code around pc:
I/DEBUG ( 121): 5865f754 e781410c e28cc001 e15c0003 3afffffa .A........\....:
I/DEBUG ( 121): 5865f764 e8bd8010 e92d4010 e3a0c000 ea000004 .....#-.........
I/DEBUG ( 121): 5865f774 e5904000 e5014008 e5904004 e0800002 .#...#...#......
I/DEBUG ( 121): 5865f784 e5014004 e15c0003 e2811008 e28cc001 .#....\.........
I/DEBUG ( 121): 5865f794 3afffff6 e8bd8010 e92d4010 e3a0c000 ...:.....#-.....
I/DEBUG ( 121):
I/DEBUG ( 121): code around lr:
I/DEBUG ( 121): 5863686c e3530000 1a000005 e1a03007 e59c0018 ..S......0......
I/DEBUG ( 121): 5863687c e59c101c e59c2014 e1a0e00f e59cf024 ..... ......$...
I/DEBUG ( 121): 5863688c e2866001 e2855004 e5942e50 e3a03001 .`...P..P....0..
I/DEBUG ( 121): 5863689c e1560002 3affffeb e2840eed e1a01008 ..V....:........
I/DEBUG ( 121): 586368ac e280000c e1a02003 e8bd41f0 eaffe178 ..... ...A..x...
I/BootReceiver( 316): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
UPDATE 10/03/13: this is the code that i use to stop caching - obviously i am getting a bit desperate.
_web.clearCache(true);
_web.setAnimationCacheEnabled(false);
_web.setDrawingCacheEnabled(false);
_web.setAlwaysDrawnWithCacheEnabled(false);
_web.clearHistory();
_web.clearFormData();
webSettings.setJavaScriptEnabled(false);
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webSettings.setAppCacheMaxSize(0);
webSettings.setAppCachePath("");
webSettings.setAppCacheEnabled(false);
getActivity().deleteDatabase("webview.db");
getActivity().deleteDatabase("webviewCache.db");
webSettings.setDomStorageEnabled(false);
webSettings.setLoadsImagesAutomatically(false);
_web.setWillNotCacheDrawing(true);
webSettings.setBuiltInZoomControls(false);
webSettings.setSupportZoom(false);
webSettings.setSaveFormData(false);
//_web.setWillNotDraw(true);// loads but stops drawing
webSettings.setRenderPriority(WebSettings.RenderPriority.LOW);
Interesting to note that _web.setWillNotDraw(true); stops the segfault but does not draw anything (which is logical) so that indicates to me that segfault must be in the webview. drawing code.
Webview caches are app-specific, so uninstalling and reinstalling the app should fix this, if it was a temporary problem as you describe.
For more detail, caches live in:
/data/data/your.package.name/cache/
which you could have a look at, but then we get into the realms of whether you have access.
If your app was built for debug, then this adb command may let you see the directory contents:
run-as your.package.name ls /data/data/your.package.name/cache/
On my Galaxy S3 the related files are called 'webviewCacheChromiumStaging' and 'com.android.renderscript.cache', so your results may vary.
The settings that I use to prevent using cache:
_web.clearCache(true);
_web.setAppCacheEnabled(false);
webSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
webSettings.setAppCacheMaxSize(0);
webSettings.setAppCacheEnabled(false);
mContext.deleteDatabase("webview.db");
mContext.deleteDatabase("webviewCache.db");
also, have a look at: this one or this one.

reboot using newly built libdvm.so gives fatal error

I have changed the structure of the JIT table (pJitEntryTable in /
dalvik/vm/Globals.h) from a chained array(sort of hash) to a
combination of hash table and B-tree. It finds hashed value based on
PC and enters the corresponding JitEntry(dalvik address,translated
address) into the b-tree pointed by the hashed index. I built the code
successfully and pushed libdvm.so file into the emulator and rebooted
the emulator by killing zygote. But the boot screen is showing
"android" for infinite time and when i did a $adb logcat i found the
following log
I/DEBUG ( 33): *** *** *** *** *** *** *** *** *** *** *** ***
*** *** *** ***
I/DEBUG ( 33): Build fingerprint: 'generic/sdk/generic:4.0.3/
MR1/237985:eng/test-keys'
I/DEBUG ( 33): pid: 491, tid: 520 >>> system_server <<<
I/DEBUG ( 33): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault
addr 002e0080
I/DEBUG ( 33): r0 002e0081 r1 4d685228 r2 00000014 r3 002e006d
I/DEBUG ( 33): r4 4d685228 r5 51669e38 r6 001de3b8 r7 000086f4
I/DEBUG ( 33): r8 407d9dc0 r9 00000002 10 00000000 fp 520a0e68
I/DEBUG ( 33): ip 00000030 sp 520a0da0 lr 00000000 pc
002e0080 cpsr 20000030
I/DEBUG ( 33): d0 437000004382353f d1 3ff0000043700000
I/DEBUG ( 33): d2 3ff0000000000000 d3 4197d78400000000
I/DEBUG ( 33): d4 3ff0000000000000 d5 4028000000000000
I/DEBUG ( 33): d6 43e0000000000000 d7 000000f000000000
I/DEBUG ( 33): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 33): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 33): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 33): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 33): scr 80000012
I/DEBUG ( 33):
D/dalvikvm( 491): in getCodeAddrCommon function
D/dalvikvm( 491): searching in the JIT table
I/DEBUG ( 33): #00 pc 002e0080
I/DEBUG ( 33): #01 lr 00000000 <unknown>
I/DEBUG ( 33):
I/DEBUG ( 33): code around pc:
I/DEBUG ( 33): 002e0060 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33): 002e0070 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33): 002e0080 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33): 002e0090 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33): 002e00a0 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33):
I/DEBUG ( 33): code around lr:
I/DEBUG ( 33): 00000000 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33): 00000010 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33): 00000020 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33): 00000030 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33): 00000040 ffffffff ffffffff ffffffff
ffffffff ................
I/DEBUG ( 33):
I/DEBUG ( 33): memory map around addr 002e0080:
I/DEBUG ( 33): 0000b000-00237000 [heap]
I/DEBUG ( 33): (no map for address)
I/DEBUG ( 33): 10000000-10001000
I/DEBUG ( 33):
I/DEBUG ( 33): stack:
I/DEBUG ( 33): 520a0d60 4d685228 /system/framework/
framework.odex
I/DEBUG ( 33): 520a0d64 00000000
I/DEBUG ( 33): 520a0d68 00000000
I/DEBUG ( 33): 520a0d6c 407d9dc0 /system/lib/libdvm.so
I/DEBUG ( 33): 520a0d70 00000002
I/DEBUG ( 33): 520a0d74 00000000
I/DEBUG ( 33): 520a0d78 520a0e68
I/DEBUG ( 33): 520a0d7c 4083c78b /system/lib/libdvm.so
I/DEBUG ( 33): 520a0d80 4d685228 /system/framework/
framework.odex
I/DEBUG ( 33): 520a0d84 51669e38
I/DEBUG ( 33): 520a0d88 001de3b8 [heap]
I/DEBUG ( 33): 520a0d8c 000086f4 /system/bin/app_process
I/DEBUG ( 33): 520a0d90 407d9dc0 /system/lib/libdvm.so
I/DEBUG ( 33): 520a0d94 4083c7e5 /system/lib/libdvm.so
I/DEBUG ( 33): 520a0d98 df0027ad
I/DEBUG ( 33): 520a0d9c 00000000
I/DEBUG ( 33): #00 520a0da0 00000000
I/DEBUG ( 33): 520a0da4 001de3b8 [heap]
I/DEBUG ( 33): 520a0da8 4086ef90 /system/lib/libdvm.so
I/DEBUG ( 33): 520a0dac 520a0dd8
I/DEBUG ( 33): 520a0db0 44e6bb60 /dev/ashmem/dalvik-
LinearAlloc (deleted)
I/DEBUG ( 33): 520a0db4 520a0e1c
I/DEBUG ( 33): 520a0db8 00000000
I/DEBUG ( 33): 520a0dbc fffffe60
I/DEBUG ( 33): 520a0dc0 520a0e68
I/DEBUG ( 33): 520a0dc4 407ef200 /system/lib/libdvm.so
I/DEBUG ( 33): 520a0dc8 00000000
I/DEBUG ( 33): 520a0dcc 00000000
I/DEBUG ( 33): 520a0dd0 00000000
I/DEBUG ( 33): 520a0dd4 520a0eb8
I/DEBUG ( 33): 520a0dd8 00000000
I/DEBUG ( 33): 520a0ddc 00000000
I/DEBUG ( 33): 520a0de0 00000000
I/DEBUG ( 33): 520a0de4 00000000
I don't understand the error. Do i need to make any adjustments to the
jit code cache size and heap size? Any help regarding this will be
appreciated.
Thanks
This is a segfault crash. Something is trying to access a segment of memory that hasn't been allocated, or it is otherwise not allowed to. This most likely indicates a bug in the libdvm changes that you made.
Debugging will be tricky. What I would try is to build a libdvm_new.so and dalvikvm_new binary that links against it, and push those to a device/emulator (rather than replacing the existing libdvm.so and dalvikvm) and then use gdb-server and gdb to debug dalvikvm_new, on a command line type program (the typical static void main(String[] args) type program).

Categories

Resources