Project

General

Profile

Actions

OMAP4DucatiCamera » History » Revision 7

« Previous | Revision 7/41 (diff) | Next »
Denis 'GNUtoo' Carikli, 11/02/2012 07:23 PM


Omap4-tiler-Camera

The galaxy Nexus chip has a camera that accesible trough the ducati microcontroller.

Research

Using the camera application produces the following traces:

[...]
V/camera  ( 7834): Preview size is 960x720
V/MediaProfilesJNI( 7834): native_get_num_image_encoding_quality_levels
V/MediaProfilesJNI( 7834): native_get_image_encoding_quality_level
V/MediaProfilesJNI( 7834): native_get_image_encoding_quality_level
V/MediaProfilesJNI( 7834): native_get_image_encoding_quality_level
D/CameraSettings( 7834): Parameters: [antibanding-values=auto,50hz,60hz,off, antibanding=auto, auto-convergence-mode=, auto-convergence=, auto-exposure-lock-supported=true, auto-exposure-lock=false, auto-whitebalance-lock-supported=true, auto-whitebalance-lock=false, brightness=50, camera-mode=0, camera-name=S5K4E1GA, contrast=100, current-iso=100, effect-values=none,negative,solarize,sepia,mono,whiteboard,blackboard,aqua,posterize, effect=none, exif-make=Samsung, exif-model=Galaxy Nexus, exposure-compensation-step=0.1, exposure-compensation=0, exposure-mode-values=auto,night,backlighting,spotlight,sports,snow,beach,aperture,small-aperture,, exposure=auto, flash-mode-values=off,on,auto,torch, flash-mode=auto, focal-length=3.43, focus-distances=Infinity,Infinity,Infinity, focus-mode-values=continuous-video,auto,macro,infinity,infinity,continuous-picture, focus-mode=continuous-picture, gbce=disable, horizontal-view-angle=54.8, ipp-values=off,ldc,nsf,ldc-nsf, ipp=ldc-nsf, iso-mode-values=auto,100,200,400,800, iso=auto, jpeg-quality=95, jpeg-thumbnail-height=120, jpeg-thumbnail-quality=60, jpeg-thumbnail-size-values=640x480,160x120,200x120,320x240,512x384,352x144,176x144,96x96,0x0, jpeg-thumbnail-width=160, manual-convergence-values=, max-exposure-compensation=30, max-framerate=30, max-num-detected-faces-hw=35, max-num-detected-faces-sw=0, max-num-focus-areas=10, max-num-metering-areas=10, max-zoom=60, min-exposure-compensation=-30, min-framerate=15, picture-format-values=yuv420sp,yuv420p,yuv422i-yuyv,rgb565,raw,jpeg, picture-format=jpeg, picture-size-values=2592x1944,2592x1728,2592x1458,2048x1536,1600x1200,1280x1024,1152x864,1280x960,640x480,320x240, picture-size=2592x1944, preview-format-values=yuv420sp,yuv420p,yuv422i-yuyv,yuv420p, preview-format=yuv420sp, preview-fps-range-values=(15000,15000),(15000,30000),(24000,30000), preview-fps-range=15000,30000, preview-frame-rate-values=30,15, preview-frame-rate=30, preview-size-values=1920x1080,1280x720,960x720,800x480,720x576,720x480,768x576,640x480,320x240,352x288,240x160,176x144,128x96, preview-size=960x720, recording-hint=false, s3d-supported=, s3d2d-preview-values=, s3d2d-preview=, saturation=100, scene-mode-values=auto,action,night,party,sunset, scene-mode=auto, sensor-orientation-values=, sensor-orientation=, sharpness=100, smooth-zoom-supported=true, vertical-view-angle=42.5, video-frame-format=OMX_TI_COLOR_FormatYUV420PackedSemiPlanar, video-snapshot-supported=true, video-stabilization-supported=true, video-stabilization=false, whitebalance-values=auto,daylight,cloudy-daylight,fluorescent,incandescent,, whitebalance=auto, zoom-ratios=100,104,107,111,115,119,123,127,132,137,141,146,152,157,162,168,174,180,187,193,200,207,214,222,230,238,246,255,264,273,283,293,303,314,325,336,348,361,373,386,400,414,429,444,459,476,492,510,528,546,566,586,606,628,650,673,696,721,746,773,800, zoom-supported=true, zoom=0]
V/camera  ( 7834): startPreview
I/CameraHAL( 7751): NULL ANativeWindow passed to setPreviewWindow
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706507, pParamStruct = 0x41b5ebd4
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706506, pParamStruct = 0x41b5ebd0
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706548, pParamStruct = 0x41b5ebc8
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706469, pParamStruct = 0x41b5ebd4
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 2130706509, pConfigStruct = 0x41b5ebbc
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706515, pParamStruct = 0x41b5ebd0
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706514, pParamStruct = 0x41b5ebcc
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440522, pConfigStruct = 0x41b5ebbc
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440522, pConfigStruct = 0x41b5ebbc
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706522, pParamStruct = 0x41b5eb14
I/Process (  189): Sending signal. PID: 7834 SIG: 3
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
I/dalvikvm( 7834): threadid=3: reacting to signal 3
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x41b5ebc0
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x41b5ebc0
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x41b5ebc0
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706522, pParamStruct = 0x41b5eb14
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706519, pParamStruct = 0x41b5ebfc
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x7f000057
I/CameraHAL( 7751): Preview not started. Preview in progress flag set
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, eCmd = 2, nParam = 2, pCmdData = 0x0
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SendCommand:644
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): TRACE: 
D/DOMX    ( 7751): **__**Got eventhandler from Remote Core succesffuly - values are : **__**
D/DOMX    ( 7751): TRACE: hComp :0x154e570,eEvent: 0x0,nData1: 0x2,nData2: 0x2,pEventData: 0x0
D/DOMX    ( 7751): TRACE: Just Before Entering Proxy Event handler call
D/DOMX    ( 7751): ENTER: hComponent=0x154e570, pCompPrv=0x1556240, eEvent=0x0, nData1=0x2, nData2=0x2, pEventData=0x0
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, eCmd = 0, nParam = 2, pCmdData = 0x0
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SendCommand:644
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): TRACE: 
D/DOMX    ( 7751): **__**Got eventhandler from Remote Core succesffuly - values are : **__**
D/DOMX    ( 7751): TRACE: hComp :0x154e570,eEvent: 0x0,nData1: 0x0,nData2: 0x2,pEventData: 0x0
D/DOMX    ( 7751): TRACE: Just Before Entering Proxy Event handler call
D/DOMX    ( 7751): ENTER: hComponent=0x154e570, pCompPrv=0x1556240, eEvent=0x0, nData1=0x0, nData2=0x2, pEventData=0x0
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, eCmd = 0, nParam = 3, pCmdData = 0x0
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SendCommand:644
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: 
D/DOMX    ( 7751): **__**Got eventhandler from Remote Core succesffuly - values are : **__**
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): TRACE: hComp :0x154e570,eEvent: 0x0,nData1: 0x0,nData2: 0x3,pEventData: 0x0
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): TRACE: Just Before Entering Proxy Event handler call
D/DOMX    ( 7751): ENTER: hComponent=0x154e570, pCompPrv=0x1556240, eEvent=0x0, nData1=0x0, nData2=0x3, pEventData=0x0
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
V/camera  ( 7834): surfaceChanged. w=720. h=960
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x413a1b50
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x413a1b50
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x413a1b50
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 2130706541, pConfigStruct = 0x413a1b58
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, eCmd = 3, nParam = 2, pCmdData = 0x0
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SendCommand:644
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706545, pParamStruct = 0x413a1ba0
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nPortIndex = 0x2, pAppPrivate = 0x0, nSizeBytes = 1142784, pBuffer = 0x154a580
D/DOMX    ( 7751): TRACE: In UB, no. of buffers = 0
D/DOMX    ( 7751): TRACE: Preparing buffer to Remote Core...
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): ERROR: [DBG] eError = 0, line 1037
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE:  PROXY_UTIL Get Parameter Successful
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE:  PROXY_UTIL Get Parameter Successful
D/DOMX    ( 7751): TRACE: Port Number: 2 :: NumOfLines 720
D/DOMX    ( 7751): EXIT: eError: 0
D/DOMX    ( 7751): ERROR: [DBG] eError = 0, line 1047
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706550, pParamStruct = 0x413a1b34
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
D/DOMX    ( 7751): TRACE: Recd. omx message
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x7f000076
D/DOMX    ( 7751): ERROR: [DBG] eError = 0, line 1116
D/DOMX    ( 7751): TRACE: Metadata size = 12332
D/DOMX    ( 7751): TRACE: ion_fd=70
D/DOMX    ( 7751): TRACE: ION being USED for allocation!!!!! handle = c3e30380, ret =0
D/DOMX    ( 7751): ERROR: [DBG] eError = 0, line 1130
D/DOMX    ( 7751): TRACE: Metadata buffer ion handle = c3e30380
D/DOMX    ( 7751): ENTER: 
D/DOMX    ( 7751): TRACE: Marshaling data
D/DOMX    ( 7751): TRACE: eMapInfo = 3
D/DOMX    ( 7751): TRACE: UV buffer fd= 3141592
D/DOMX    ( 7751): TRACE: Metadata buffer = c3e30380
D/DOMX    ( 7751): TRACE: About to send packet
D/DOMX    ( 7751): TRACE: RPC_sendPacket_sync hCtx->fd_omx=26|nPacketSize=240
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_UseBuffer:1080
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync write errno error 22
D/DOMX    ( 7751): ERROR: DOMX Write failed 0xffffffff -1
D/DOMX    ( 7751): ERROR: failed check:status >= 0 - returning error: 0x81001 - Write failed
D/DOMX    ( 7751): EXIT: 
D/DOMX    ( 7751): ERROR: RPC function returned error 0x81001
D/DOMX    ( 7751): TRACE: Use Buffer Successful
D/DOMX    ( 7751): TRACE: Value of pBufHeaderRemote: 0x0 LocalBufferHdr :0x15714e8, LocalBuffer :0x154a580
D/DOMX    ( 7751): TRACE: Metadata buffer ion handle given to ion map = c3e30380
D/DOMX    ( 7751): TRACE: Updating no. of buffer to 1
D/DOMX    ( 7751): ERROR: [DBG] eError = -2147479551, line 1192
D/DOMX    ( 7751): EXIT: eError: -2147479551
E/CameraHAL( 7751): OMX_UseBuffer-0x80001001
E/CameraHAL( 7751): Exiting function UseBuffersPreview because of ret 0 eError=80001001
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570
E/ion     ( 7751): ioctl -1073460991 failed with code -1: Bad file number
F/libc    ( 7751): @@@ ABORTING: INVALID HEAP ADDRESS IN dlfree
F/libc    ( 7751): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
I/Process (  189): Sending signal. PID: 7834 SIG: 3
I/dalvikvm( 7834): threadid=3: reacting to signal 3
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
I/DEBUG   (  127): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  127): Build fingerprint: 'google/yakju/maguro:4.0.4/IMM76I/330937:user/release-keys'
I/DEBUG   (  127): pid: 7751, tid: 7758  >>> /system/bin/mediaserver <<<
I/DEBUG   (  127): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG   (  127):  r0 deadbaad  r1 00000001  r2 a0000000  r3 00000000
I/DEBUG   (  127):  r4 00000000  r5 00000027  r6 401342f4  r7 401424d4
I/DEBUG   (  127):  r8 01571540  r9 40fe1000  10 0155f9a0  fp 01570e5c
I/DEBUG   (  127):  ip ffffffff  sp 413a19c0  lr 40115441  pc 40111788  cpsr 600f0030
I/DEBUG   (  127):  d0  656c696620646120  d1  373565343531786e
I/DEBUG   (  127):  d2  6c202c3135353975  d3  3239313120656e6d
I/DEBUG   (  127):  d4  7264487265666675  d5  3137353178303a20
I/DEBUG   (  127):  d6  636f4c202c386534  d7  7265666675426c61
I/DEBUG   (  127):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  127):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  127):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  127):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  127):  d16 3f7316d1d399f1e0  d17 3ffd42315763b9eb
I/DEBUG   (  127):  d18 4000000000000000  d19 3fc5ee7544e230aa
I/DEBUG   (  127):  d20 3f1152f62f5a4167  d21 bebbb7b7df4a3093
I/DEBUG   (  127):  d22 3ff0000000000000  d23 3ff316d1d399f1e0
I/DEBUG   (  127):  d24 3e66376972bea4d0  d25 3fee147ae0000000
I/DEBUG   (  127):  d26 0000000000000000  d27 0000000000000000
I/DEBUG   (  127):  d28 0000000000000000  d29 0000000000000000
I/DEBUG   (  127):  d30 0000000000000000  d31 0000000000000000
I/DEBUG   (  127):  scr 68000010
I/DEBUG   (  127): 
I/DEBUG   (  127):          #00  pc 00017788  /system/lib/libc.so
I/DEBUG   (  127):          #01  pc 00013732  /system/lib/libc.so
I/DEBUG   (  127):          #02  pc 00015a70  /system/lib/libc.so (dlfree)
I/DEBUG   (  127):          #03  pc 00016100  /system/lib/libc.so (free)
I/DEBUG   (  127):          #04  pc 000019e6  /system/lib/libmm_osal.so (TIMM_OSAL_Free)
I/DEBUG   (  127):          #05  pc 00006446  /system/lib/libdomx.so (PROXY_ComponentDeInit)
I/DEBUG   (  127):          #06  pc 000018ec  /system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so
I/DEBUG   (  127):          #07  pc 00001df6  /system/lib/libOMX_Core.so (OMX_FreeHandle)
I/DEBUG   (  127):          #08  pc 000284fc  /system/lib/hw/camera.omap4.so (_ZN7android16OMXCameraAdapter24performCleanupAfterErrorEv)
I/DEBUG   (  127):          #09  pc 0002b04e  /system/lib/hw/camera.omap4.so (_ZN7android16OMXCameraAdapter17UseBuffersPreviewEPvi)
I/DEBUG   (  127):          #10  pc 0002b182  /system/lib/hw/camera.omap4.so (_ZN7android16OMXCameraAdapter10useBuffersENS_13CameraAdapter10CameraModeEPvijj)
I/DEBUG   (  127):          #11  pc 00024c4c  /system/lib/hw/camera.omap4.so (_ZN7android17BaseCameraAdapter11sendCommandENS_13CameraAdapter14CameraCommandsEiii)
I/DEBUG   (  127):          #12  pc 0001d3d0  /system/lib/hw/camera.omap4.so (_ZN7android9CameraHal12startPreviewEv)
I/DEBUG   (  127):          #13  pc 0001d6de  /system/lib/hw/camera.omap4.so (_ZN7android9CameraHal16setPreviewWindowEP18preview_stream_ops)
I/DEBUG   (  127):          #14  pc 0001ae80  /system/lib/hw/camera.omap4.so (_Z25camera_set_preview_windowP13camera_deviceP18preview_stream_ops)
I/DEBUG   (  127):          #15  pc 000076cc  /system/lib/libcameraservice.so
I/DEBUG   (  127):          #16  pc 000091b4  /system/lib/libcameraservice.so (_ZN7android13CameraService6Client16setPreviewWindowERKNS_2spINS_7IBinderEEERKNS2_I13ANativeWindowEE)
I/DEBUG   (  127):          #17  pc 000092ea  /system/lib/libcameraservice.so (_ZN7android13CameraService6Client17setPreviewDisplayERKNS_2spINS_7SurfaceEEE)
I/DEBUG   (  127):          #18  pc 00013592  /system/lib/libcamera_client.so (_ZN7android8BnCamera10onTransactEjRKNS_6ParcelEPS1_j)
I/DEBUG   (  127):          #19  pc 00017f44  /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j)
I/DEBUG   (  127):          #20  pc 0001b26e  /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi)
I/DEBUG   (  127):          #21  pc 0001b44a  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb)
I/DEBUG   (  127):          #22  pc 00020744  /system/lib/libbinder.so
I/DEBUG   (  127):          #23  pc 00022a1e  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv)
I/DEBUG   (  127):          #24  pc 00023064  /system/lib/libutils.so
I/DEBUG   (  127):          #25  pc 00012e2c  /system/lib/libc.so (__thread_entry)
I/DEBUG   (  127):          #26  pc 0001295c  /system/lib/libc.so (pthread_create)
I/DEBUG   (  127): 
I/DEBUG   (  127): code around pc:
I/DEBUG   (  127): 40111768 4623b15c 2c006824 e026d1fb b12368db  \.#F$h.,..&..h#.
I/DEBUG   (  127): 40111778 21014a17 6011447a 48124798 24002527  .J.!zD.`.G.H'%.$
I/DEBUG   (  127): 40111788 f7f47005 2106ef8c e838f7f6 460aa901  .p.....!..8....F
I/DEBUG   (  127): 40111798 f04f2006 94015380 94029303 ebe4f7f5  . O..S..........
I/DEBUG   (  127): 401117a8 4622a905 f7f52002 f7f4ebee 2106ef78  .."F. ......x..!
I/DEBUG   (  127): 
I/DEBUG   (  127): code around lr:
I/DEBUG   (  127): 40115420 41f0e92d 46804c0c 447c2600 68a56824  -..A.L.F.&|D$h.h
I/DEBUG   (  127): 40115430 e0076867 300cf9b5 dd022b00 47c04628  gh.....0.+..(F.G
I/DEBUG   (  127): 40115440 35544306 37fff117 6824d5f4 d1ee2c00  .CT5...7..$h.,..
I/DEBUG   (  127): 40115450 e8bd4630 bf0081f0 000280be 41f0e92d  0F..........-..A
I/DEBUG   (  127): 40115460 fb01b086 9004f602 461f4815 4615460c  .........H.F.F.F
I/DEBUG   (  127): 
I/DEBUG   (  127): memory map around addr deadbaad:
I/DEBUG   (  127): bede2000-bee03000 [stack]
I/DEBUG   (  127): (no map for address)
I/DEBUG   (  127): ffff0000-ffff1000 [vectors]
I/DEBUG   (  127): 
I/DEBUG   (  127): stack:
I/DEBUG   (  127):     413a1980  00000001  
I/DEBUG   (  127):     413a1984  413a19c0  
I/DEBUG   (  127):     413a1988  4013d7e0  /system/lib/libc.so
I/DEBUG   (  127):     413a198c  0000000c  
I/DEBUG   (  127):     413a1990  4013d780  /system/lib/libc.so
I/DEBUG   (  127):     413a1994  4013d718  /system/lib/libc.so
I/DEBUG   (  127):     413a1998  00000000  
I/DEBUG   (  127):     413a199c  40115441  /system/lib/libc.so
I/DEBUG   (  127):     413a19a0  00000000  
I/DEBUG   (  127):     413a19a4  413a19d4  
I/DEBUG   (  127):     413a19a8  401342f4  /system/lib/libc.so
I/DEBUG   (  127):     413a19ac  401424d4  
I/DEBUG   (  127):     413a19b0  01571540  [heap]
I/DEBUG   (  127):     413a19b4  401145ad  /system/lib/libc.so
I/DEBUG   (  127):     413a19b8  df0027ad  
I/DEBUG   (  127):     413a19bc  00000000  
I/DEBUG   (  127): #00 413a19c0  413a19bc  
I/DEBUG   (  127):     413a19c4  00000001  
I/DEBUG   (  127):     413a19c8  401342d8  /system/lib/libc.so
I/DEBUG   (  127):     413a19cc  00000005  
I/DEBUG   (  127):     413a19d0  413a19ec  
I/DEBUG   (  127):     413a19d4  fffffbdf  
I/DEBUG   (  127):     413a19d8  413a19ec  
I/DEBUG   (  127):     413a19dc  413a19ec  
I/DEBUG   (  127):     413a19e0  401377f4  /system/lib/libc.so
I/DEBUG   (  127):     413a19e4  4010d737  /system/lib/libc.so
I/DEBUG   (  127): #01 413a19e8  01571560  [heap]
I/DEBUG   (  127):     413a19ec  20404040  
I/DEBUG   (  127):     413a19f0  524f4241  
I/DEBUG   (  127):     413a19f4  474e4954  
I/DEBUG   (  127):     413a19f8  4e49203a  
I/DEBUG   (  127):     413a19fc  494c4156  
I/DEBUG   (  127):     413a1a00  45482044  
I/DEBUG   (  127):     413a1a04  41205041  /dev/snd/pcmC0D0p
I/DEBUG   (  127):     413a1a08  45524444  
I/DEBUG   (  127):     413a1a0c  49205353  
I/DEBUG   (  127):     413a1a10  6c64204e  
I/DEBUG   (  127):     413a1a14  65657266  
I/DEBUG   (  127):     413a1a18  00000000  
I/DEBUG   (  127):     413a1a1c  17f80cb3  
I/DEBUG   (  127):     413a1a20  00000000  
I/DEBUG   (  127):     413a1a24  00000060  
I/DEBUG   (  127):     413a1a28  40fa4b13  /system/lib/libdomx.so
I/DEBUG   (  127):     413a1a2c  40fa7c7d  /system/lib/libdomx.so
I/DEBUG   (  127):     413a1a30  00000020  
I/DEBUG   (  127):     413a1a34  40f95340  /system/lib/libmm_osal.so
I/DEBUG   (  127):     413a1a38  ffffffff  
I/DEBUG   (  127):     413a1a3c  02000001  
I/DEBUG   (  127):     413a1a40  000000fb  
I/DEBUG   (  127):     413a1a44  401424d4  
I/DEBUG   (  127):     413a1a48  01571568  [heap]
I/DEBUG   (  127):     413a1a4c  00000000  
I/DEBUG   (  127):     413a1a50  00000000  
I/DEBUG   (  127):     413a1a54  401424d4  
I/DEBUG   (  127):     413a1a58  7f000076  
I/DEBUG   (  127):     413a1a5c  4010ec25  /system/lib/libc.so
I/DEBUG   (  127):     413a1a60  01571560  [heap]
I/DEBUG   (  127):     413a1a64  01571658  [heap]
I/DEBUG   (  127):     413a1a68  000000fb  
I/DEBUG   (  127):     413a1a6c  401424d4  
I/DEBUG   (  127):     413a1a70  01571568  [heap]
I/DEBUG   (  127):     413a1a74  00000000  
I/DEBUG   (  127):     413a1a78  8060f290  
I/DEBUG   (  127):     413a1a7c  401424d4  
I/DEBUG   (  127):     413a1a80  00000002  
I/DEBUG   (  127):     413a1a84  4010ec25  /system/lib/libc.so
I/DEBUG   (  127):     413a1a88  01571560  [heap]
I/DEBUG   (  127):     413a1a8c  01571658  [heap]
I/DEBUG   (  127):     413a1a90  00006288  
I/DEBUG   (  127):     413a1a94  401424d4  
I/DEBUG   (  127):     413a1a98  01571568  [heap]
I/DEBUG   (  127):     413a1a9c  0157157c  [heap]
I/DEBUG   (  127):     413a1aa0  00000002  
I/DEBUG   (  127):     413a1aa4  4010fa89  /system/lib/libc.so
I/DEBUG   (  127):     413a1aa8  015714e8  [heap]
I/DEBUG   (  127):     413a1aac  01571568  [heap]
I/DEBUG   (  127):     413a1ab0  80001001  
I/DEBUG   (  127):     413a1ab4  00000003  
I/DEBUG   (  127):     413a1ab8  00000046  
I/DEBUG   (  127):     413a1abc  413a1acc  
I/DEBUG   (  127):     413a1ac0  015714e0  [heap]
I/DEBUG   (  127):     413a1ac4  01571538  [heap]
I/DEBUG   (  127):     413a1ac8  00006308  
I/DEBUG   (  127):     413a1acc  401424d4  
I/DEBUG   (  127):     413a1ad0  015714e8  [heap]
I/DEBUG   (  127):     413a1ad4  40fa8ae1  /system/lib/libdomx.so
I/DEBUG   (  127):     413a1ad8  40143280  
I/DEBUG   (  127):     413a1adc  4011c8ad  /system/lib/libc.so
I/DEBUG   (  127):     413a1ae0  01556240  [heap]
I/DEBUG   (  127):     413a1ae4  01556240  [heap]
I/DEBUG   (  127):     413a1ae8  00000000  
I/DEBUG   (  127):     413a1aec  17f80cb3  
I/DEBUG   (  127):     413a1af0  01571538  [heap]
I/DEBUG   (  127):     413a1af4  01556240  [heap]
I/DEBUG   (  127):     413a1af8  00000000  
I/DEBUG   (  127):     413a1afc  4010fa75  /system/lib/libc.so
I/Process (  189): Sending signal. PID: 7834 SIG: 3
I/dalvikvm( 7834): threadid=3: reacting to signal 3
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
W/AudioTrack( 7751): obtainBuffer timed out (is the CPU pegged?) 0x154a940 user=00150740, server=0014f800
I/Process (  189): Sending signal. PID: 7834 SIG: 3
I/dalvikvm( 7834): threadid=3: reacting to signal 3
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
I/Process (  189): Sending signal. PID: 7834 SIG: 3
I/dalvikvm( 7834): threadid=3: reacting to signal 3
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
W/AudioTrack( 7751): obtainBuffer timed out (is the CPU pegged?) 0x154a940 user=00150740, server=0014f800
I/Process (  189): Sending signal. PID: 7834 SIG: 3
I/dalvikvm( 7834): threadid=3: reacting to signal 3
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
I/Process (  189): Sending signal. PID: 7834 SIG: 3
I/dalvikvm( 7834): threadid=3: reacting to signal 3
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
W/AudioTrack( 7751): obtainBuffer timed out (is the CPU pegged?) 0x154a940 user=00150740, server=0014f800
I/Process (  189): Sending signal. PID: 7834 SIG: 3
I/dalvikvm( 7834): threadid=3: reacting to signal 3
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
W/AudioSystem(  189): AudioFlinger server died!
W/AudioSystem(  189): AudioPolicyService server died!
I/ServiceManager(  122): service 'media.audio_flinger' died
I/ServiceManager(  122): service 'media.player' died
I/ServiceManager(  122): service 'media.camera' died
I/ServiceManager(  122): service 'media.audio_policy' died
W/IMediaDeathNotifier(  723): media server died
E/MediaPlayer(  723): error (100, 0)
W/Camera  ( 7834): Camera server died!
W/Camera  ( 7834): ICamera died
E/MediaPlayer(  723): Error (100,0)
E/VanillaMusic(  723): MediaPlayer error: 100 0
I/ActivityManager(  189): Displayed com.android.camera/.Camera: +4s446ms
D/CameraStorage( 7834): External storage state=mounted
I/Thumbnail( 7834): Fail to load bitmap. java.io.FileNotFoundException: /data/data/com.android.camera/files/last_thumb: open failed: ENOENT (No such file or directory)
E/Camera  ( 7834): Error 100
E/CameraErrorCallback( 7834): Got camera error callback. error=100
D/AndroidRuntime( 7834): Shutting down VM
W/dalvikvm( 7834): threadid=1: thread exiting with uncaught exception (group=0x40a411f8)
I/        ( 7873): ServiceManager: 0x959958
E/SRS-Client( 7873): OpenClient_RILD
D/SRS-Client( 7873): Unsolicited handler isn't implemented yet!
I/AudioFlinger( 7873): Loaded primary audio interface from Tuna audio HW HAL (audio)
I/AudioFlinger( 7873): Using 'Tuna audio HW HAL' (audio.primary) as the primary audio interface
I/AudioFlinger( 7873): Loaded a2dp audio interface from A2DP Audio HW HAL (audio)
I/CameraService( 7873): CameraService started (pid=7873)
I/AudioFlinger( 7873): AudioFlinger's thread 0x960400 ready to run
I/AudioPolicyService( 7873): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/Process (  189): Sending signal. PID: 7834 SIG: 3
I/dalvikvm( 7834): threadid=3: reacting to signal 3
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
E/AudioService(  189): Media server died.
E/AudioService(  189): Media server started.
W/AudioPolicyManagerBase( 7873): setPhoneState() setting same state 0

The interesting part in all that noise is the following:

D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync write errno error 22
D/DOMX    ( 7751): ERROR: DOMX Write failed 0xffffffff -1

Basically write fails at:
#define RPC_sendPacket_sync(hCtx, pPacket, nPacketSize, nFxnIdx, pRetPacket, nSize) do { \
    DOMX_ERROR("[DBG] RPC_sendPacket_sync %s:%d",__func__,__LINE__); \
    status = write(hCtx->fd_omx, pPacket, nPacketSize); \
    if (status == -1){ \
        int errsv = errno; \
        DOMX_ERROR("[DBG] RPC_sendPacket_sync write errno error %d",errsv); \
    } \
    RPC_freePacket(pPacket); \
    pPacket = NULL; \
    if(status < 0 ) DOMX_ERROR("DOMX Write failed 0x%x %d",status,status); \
    RPC_assert(status >= 0, RPC_OMX_ErrorUndefined, "Write failed"); \
    eError = TIMM_OSAL_ReadFromPipe(hCtx->pMsgPipe[nFxnIdx], &pRetPacket, \
        RPC_MSG_SIZE_FOR_PIPE, (TIMM_OSAL_U32 *)(&nSize), TIMM_OSAL_SUSPEND); \
    RPC_assert(eError == TIMM_OSAL_ERR_NONE, eError, \
        "Read failed"); \
    } while(0)

That means that a normal unix write fails with EINVAL.
Which produces something like that in the kernel when the powervr kernel driver is there but the non-free userland is not.
<6>[  661.167572] PVR_K:(Error): GetHandleStructure: Handle index out of range (1835561824 >= 0) [454, /home/gnutoo/embedded/android/replicant-4.0/kernel/samsung/tuna/drivers/gpu/pvr/handle.c]
<6>[  661.167694] PVR_K:(Error): PVRSRVLookupHandle: Error looking up handle (149) [1407, /home/gnutoo/embedded/android/replicant-4.0/kernel/samsung/tuna/drivers/gpu/pvr/handle.c]
<6>[  661.167877] PVR_K:(Error): PVRSRVExportFDToIONHandle: Failed to look up MEM_INFO handle [78, /home/gnutoo/embedded/android/replicant-4.0/kernel/samsung/tuna/drivers/gpu/pvr/ion.c]
<6>[  664.378570] binder: release 928:1091 transaction 11681 in, still active
<6>[  664.378692] binder: send failed reply for transaction 11681 to 1073:1073
<3>[  669.935791] omap-rproc omap-rproc.1: rproc_watchdog_isr
<6>[  669.936187] omap_rproc_dump_registers: REGISTER DUMP FOR REMOTEPROC ipu
<6>[  669.936401] omap_rproc_dump_registers: PC is at 002a5006
<6>[  669.936676] omap_rproc_dump_registers: LR is at 002a5007
<6>[  669.936859] omap_rproc_dump_registers: pc : [<002a5006>]    lr : [<002a5007>]    psr: 61000000
<6>[  669.936889] sp : 806041e8  ip : 806041a8  fp : 802b839c
<6>[  669.937438] omap_rproc_dump_registers: r10: 802a5f27  r9 : 0000804f  r8 : 00000000
<6>[  669.937622] omap_rproc_dump_registers: r7 : 00000137  r6 : 00000000  r5 : 80604214  r4 : 00254a3c
<6>[  669.937927] omap_rproc_dump_registers: r3 : 00000000  r2 : 9f070000  r1 : 00000010  r0 : 00000000
<6>[  669.938415] omap_rproc_dump_registers: Flags: nZCv  IRQs on  FIQs on
<6>[  669.939636] _event_notify: remoteproc: ipu has crashed

Updated by Denis 'GNUtoo' Carikli over 12 years ago · 7 revisions

Also available in: PDF HTML TXT