Post by Zeeshan Pathan on Sept 13, 2017 14:23:19 GMT
Hi,
I'm using Rhodes OSS. Sometimes on the huawei tablet after taking the picture and accepting it from the screen the app suddenly crashes. I suspect there is something wrong in the onPictureTaken method for this device. I have attached the logs below for your reference. Any help on where to look for a fix will be much appreciated.
/ImagingSystem( 2841): virtual hw::TRetCode hw::CFilterBase::stop()(758): instance[0xab6ee7f8].
I/ImagingSystem( 2841): virtual hw::TRetCode hw::CFilterBase::stop()(758): instance[0xab6e9c54].
E/WifiStateMachine( 3371): ConnectedState !CMD_RSSI_POLL 240 0 "FWDPH" 34:6f:90:8b:78:50 rssi=-55 f=2462 sc=100 link=39 tx=0.5, 0.0, 0.0 rx=0.0 bcn=0 [on:0 tx:0 rx:0 period:3003] from screen [on:0 period:2066006723] gl u24 rssi=-55 ag=0 hr ls-=0 [56,56,56,56,61] brc=0 lrc=0
E/WifiStateMachine( 3371): L2ConnectedState !CMD_RSSI_POLL 240 0 "FWDPH" 34:6f:90:8b:78:50 rssi=-55 f=2462 sc=100 link=39 tx=0.5, 0.0, 0.0 rx=0.0 bcn=0 [on:0 tx:0 rx:0 period:1] from screen [on:0 period:2066006724] gl u24 rssi=-55 ag=0 hr ls-=0 [56,56,56,56,61] brc=0 lrc=0
I/ImagingSystem( 2841): #Camera# [142729756]< 2_stopStreaming
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab18caa8].
I/Camera3StreamImpl( 3247): virtual int hw::Camera3StreamImpl::stop()(273): instance[0xab187768].
I/ImagingSystem( 2841): void hw::CImagingPipeline::stopStream(hw::IImagingStream*) (1619) m_stopfetchmeta true
E/WifiStateMachine( 3371): fetchRssiLinkSpeedAndFrequencyNative rssi=-54 linkspeed=39 SSID="FWDPH"
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab18caa8].
I/Camera3Stream( 3247): virtual hw::Camera3Stream::~Camera3Stream(): instance[0xab18caa8].
I/Camera3StreamImpl( 3247): virtual hw::Camera3StreamImpl::~Camera3StreamImpl()(59): instance[0xab187768].
E/WifiStateMachine( 3371): calculateWifiScore freq=2462 speed=39 score=100 highRSSI -> txbadrate=0.00 txgoodrate=0.25 txretriesrate=0.00 rxrate=0.00 userTriggerdPenalty0
E/WifiStateMachine( 3371): good link -> stuck count =0
E/WifiStateMachine( 3371): badRSSI count0 lowRSSI count0 --> score 56
E/WifiStateMachine( 3371): isHighRSSI ---> score=61
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab1d9bc0].
I/Camera3StreamImpl( 3247): virtual int hw::Camera3StreamImpl::stop()(273): instance[0xab1d98b8].
I/ImagingSystem( 2841): void hw::CImagingPipeline::stopStream(hw::IImagingStream*) (1619) m_stopfetchmeta true
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab1d9bc0].
I/Camera3Stream( 3247): virtual hw::Camera3Stream::~Camera3Stream(): instance[0xab1d9bc0].
I/Camera3StreamImpl( 3247): virtual hw::Camera3StreamImpl::~Camera3StreamImpl()(59): instance[0xab1d98b8].
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab1e6bf8].
I/Camera3StreamImpl( 3247): virtual int hw::Camera3StreamImpl::stop()(273): instance[0xab1e6d58].
I/ImagingSystem( 2841): void hw::CImagingPipeline::stopStream(hw::IImagingStream*) (1619) m_stopfetchmeta true
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab1e6bf8].
I/Camera3Stream( 3247): virtual hw::Camera3Stream::~Camera3Stream(): instance[0xab1e6bf8].
I/Camera3StreamImpl( 3247): virtual hw::Camera3StreamImpl::~Camera3StreamImpl()(59): instance[0xab1e6d58].
I/ImagingSystem( 2841): virtual hw::TRetCode hw::CAltek6045Manager::powerDown(hw::IImagingPipeline*, uint32_t)
I/ImagingSystem( 2841): void hw::CAltek6045Controller::powerDown()
I/Altek6045FlashController( 2841): void hw::CAltek6045FlashController::clear() m_flashOnFlg=0.
I/Camera3Module( 3247): close camera /dev/video3 succeed.
E/camera_metadata( 3247): set_camera_metadata_vendor_tag_ops: This function has been deprecated
I/Camera3-Device( 3247): disconnect: X
I/Camera3-Device( 3247): disconnect: E
I/Camera3-Device( 3247): disconnect: X, device has been disconnected before.
I/Camera2Client( 3247): ~Camera2Client
I/Camera2Client( 3247): disconnect(), Camera 0, calling PID: 3247, client PID: 0, service PID: 3247
I/Camera2Client( 3247): Camera 0: Closed
I/CameraHwCallBack( 3247): ~CameraHwCallBack()
I/CameraHwSendCmd( 3247): ~CameraHwSendCmd()
I/CameraHwParam( 3247): Enter ~CCameraHwParam(46)
W/System.err( 3371): java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder com.android.internal.app.IAppOpsCallback.asBinder()' on a null object reference
W/System.err( 3371): at com.android.server.AppOpsService.stopWatchingMode(AppOpsService.java:550)
W/System.err( 3371): at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:122)
W/System.err( 3371): at android.os.Binder.execTransact(Binder.java:446)
I/Camera2ClientBase( 3247): Closed Camera 0. Client was: com.huawei.camera (PID 16415, UID 10016)
W/System.err( 3371): java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder com.android.internal.app.IAppOpsCallback.asBinder()' on a null object reference
W/System.err( 3371): at com.android.server.AppOpsService.stopWatchingMode(AppOpsService.java:550)
W/System.err( 3371): at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:122)
W/System.err( 3371): at android.os.Binder.execTransact(Binder.java:446)
I/CAMERA3_StereoController(16415): unbind Stereo Service Success
I/CAMERA3_WaitInputUIController(16415): WaitInputUIController onPause registerReceiver
I/CAMERA3_CameraActivity(16415): write database cost : 13
I/ImagingSystem( 2841): virtual hw::TRetCode hw::CAltek6045Manager::powerDownDone(hw::IImagingPipeline*, uint32_t)
E/ImagingSystem( 2841): virtual hw::TRetCode hw::CSensorManager::powerDown(hw::IImagingPipeline*, uint32_t)(232, 0xab6e9bc0): . TODO: !
I/FLashDevice( 2841): int hw::CFlashController::TurnOff() enter.
I'm using Rhodes OSS. Sometimes on the huawei tablet after taking the picture and accepting it from the screen the app suddenly crashes. I suspect there is something wrong in the onPictureTaken method for this device. I have attached the logs below for your reference. Any help on where to look for a fix will be much appreciated.
/ImagingSystem( 2841): virtual hw::TRetCode hw::CFilterBase::stop()(758): instance[0xab6ee7f8].
I/ImagingSystem( 2841): virtual hw::TRetCode hw::CFilterBase::stop()(758): instance[0xab6e9c54].
E/WifiStateMachine( 3371): ConnectedState !CMD_RSSI_POLL 240 0 "FWDPH" 34:6f:90:8b:78:50 rssi=-55 f=2462 sc=100 link=39 tx=0.5, 0.0, 0.0 rx=0.0 bcn=0 [on:0 tx:0 rx:0 period:3003] from screen [on:0 period:2066006723] gl u24 rssi=-55 ag=0 hr ls-=0 [56,56,56,56,61] brc=0 lrc=0
E/WifiStateMachine( 3371): L2ConnectedState !CMD_RSSI_POLL 240 0 "FWDPH" 34:6f:90:8b:78:50 rssi=-55 f=2462 sc=100 link=39 tx=0.5, 0.0, 0.0 rx=0.0 bcn=0 [on:0 tx:0 rx:0 period:1] from screen [on:0 period:2066006724] gl u24 rssi=-55 ag=0 hr ls-=0 [56,56,56,56,61] brc=0 lrc=0
I/ImagingSystem( 2841): #Camera# [142729756]< 2_stopStreaming
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab18caa8].
I/Camera3StreamImpl( 3247): virtual int hw::Camera3StreamImpl::stop()(273): instance[0xab187768].
I/ImagingSystem( 2841): void hw::CImagingPipeline::stopStream(hw::IImagingStream*) (1619) m_stopfetchmeta true
E/WifiStateMachine( 3371): fetchRssiLinkSpeedAndFrequencyNative rssi=-54 linkspeed=39 SSID="FWDPH"
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab18caa8].
I/Camera3Stream( 3247): virtual hw::Camera3Stream::~Camera3Stream(): instance[0xab18caa8].
I/Camera3StreamImpl( 3247): virtual hw::Camera3StreamImpl::~Camera3StreamImpl()(59): instance[0xab187768].
E/WifiStateMachine( 3371): calculateWifiScore freq=2462 speed=39 score=100 highRSSI -> txbadrate=0.00 txgoodrate=0.25 txretriesrate=0.00 rxrate=0.00 userTriggerdPenalty0
E/WifiStateMachine( 3371): good link -> stuck count =0
E/WifiStateMachine( 3371): badRSSI count0 lowRSSI count0 --> score 56
E/WifiStateMachine( 3371): isHighRSSI ---> score=61
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab1d9bc0].
I/Camera3StreamImpl( 3247): virtual int hw::Camera3StreamImpl::stop()(273): instance[0xab1d98b8].
I/ImagingSystem( 2841): void hw::CImagingPipeline::stopStream(hw::IImagingStream*) (1619) m_stopfetchmeta true
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab1d9bc0].
I/Camera3Stream( 3247): virtual hw::Camera3Stream::~Camera3Stream(): instance[0xab1d9bc0].
I/Camera3StreamImpl( 3247): virtual hw::Camera3StreamImpl::~Camera3StreamImpl()(59): instance[0xab1d98b8].
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab1e6bf8].
I/Camera3StreamImpl( 3247): virtual int hw::Camera3StreamImpl::stop()(273): instance[0xab1e6d58].
I/ImagingSystem( 2841): void hw::CImagingPipeline::stopStream(hw::IImagingStream*) (1619) m_stopfetchmeta true
I/Camera3Stream( 3247): virtual int hw::Camera3Stream::stop(): instance[0xab1e6bf8].
I/Camera3Stream( 3247): virtual hw::Camera3Stream::~Camera3Stream(): instance[0xab1e6bf8].
I/Camera3StreamImpl( 3247): virtual hw::Camera3StreamImpl::~Camera3StreamImpl()(59): instance[0xab1e6d58].
I/ImagingSystem( 2841): virtual hw::TRetCode hw::CAltek6045Manager::powerDown(hw::IImagingPipeline*, uint32_t)
I/ImagingSystem( 2841): void hw::CAltek6045Controller::powerDown()
I/Altek6045FlashController( 2841): void hw::CAltek6045FlashController::clear() m_flashOnFlg=0.
I/Camera3Module( 3247): close camera /dev/video3 succeed.
E/camera_metadata( 3247): set_camera_metadata_vendor_tag_ops: This function has been deprecated
I/Camera3-Device( 3247): disconnect: X
I/Camera3-Device( 3247): disconnect: E
I/Camera3-Device( 3247): disconnect: X, device has been disconnected before.
I/Camera2Client( 3247): ~Camera2Client
I/Camera2Client( 3247): disconnect(), Camera 0, calling PID: 3247, client PID: 0, service PID: 3247
I/Camera2Client( 3247): Camera 0: Closed
I/CameraHwCallBack( 3247): ~CameraHwCallBack()
I/CameraHwSendCmd( 3247): ~CameraHwSendCmd()
I/CameraHwParam( 3247): Enter ~CCameraHwParam(46)
W/System.err( 3371): java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder com.android.internal.app.IAppOpsCallback.asBinder()' on a null object reference
W/System.err( 3371): at com.android.server.AppOpsService.stopWatchingMode(AppOpsService.java:550)
W/System.err( 3371): at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:122)
W/System.err( 3371): at android.os.Binder.execTransact(Binder.java:446)
I/Camera2ClientBase( 3247): Closed Camera 0. Client was: com.huawei.camera (PID 16415, UID 10016)
W/System.err( 3371): java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder com.android.internal.app.IAppOpsCallback.asBinder()' on a null object reference
W/System.err( 3371): at com.android.server.AppOpsService.stopWatchingMode(AppOpsService.java:550)
W/System.err( 3371): at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:122)
W/System.err( 3371): at android.os.Binder.execTransact(Binder.java:446)
I/CAMERA3_StereoController(16415): unbind Stereo Service Success
I/CAMERA3_WaitInputUIController(16415): WaitInputUIController onPause registerReceiver
I/CAMERA3_CameraActivity(16415): write database cost : 13
I/ImagingSystem( 2841): virtual hw::TRetCode hw::CAltek6045Manager::powerDownDone(hw::IImagingPipeline*, uint32_t)
E/ImagingSystem( 2841): virtual hw::TRetCode hw::CSensorManager::powerDown(hw::IImagingPipeline*, uint32_t)(232, 0xab6e9bc0): . TODO: !
I/FLashDevice( 2841): int hw::CFlashController::TurnOff() enter.