Skip to content

Camera and Media Manager errors #270

@addition-tg

Description

@addition-tg

2 bugs, maybe related


From #266 (comment):


Samsung Galaxy S3, 4.4.2
(Pixel, Android 7.1.1?)

  1. Add a new step to a guide
  2. Choose to add an image via Media Manager
  3. Choose to upload an image in the Med. Man.
  4. See the app either crash or work abnormally
  5. See the messages below in adb logcat
  6. Try adding an additional image (click an empty photo slot)
  7. See it seem to work ok
  8. Try saving
  9. See Validation Error message (Validation failed. Invalid value for images.)
  10. Exiting the guide and reopening it brings you back to the state before trying to do the previous steps
  11. Go back and try to add the image with problems from before (should still be in the MM).
  12. See successful add
ntext=u:object_r:sysfs_pcie:s0 tclass=dir permissive=0
03-22 11:04:02.204  1115  1781 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{2265082 1829:com.dozuki.ifixit/u0a136} (pid=1829, uid=10136) that is not exported from uid 10083
03-22 11:04:02.423  1115 13212 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{2265082 1829:com.dozuki.ifixit/u0a136} (pid=1829, uid=10136) that is not exported from uid 10083
03-22 11:04:02.442  1115  1484 I nanohub : osLog: bridge: Got event 0x00000221 with 1296 bytes of data
03-22 11:04:02.449  1115  1484 I nanohub : osLog: bridge: Got event 0x00000221 with 720 bytes of data
03-22 11:04:02.453  1115  1484 I nanohub : osLog: bridge: Issuing on-demand request for Cell Info
03-22 11:04:02.473  1115  1484 I nanohub : osLog: bridge: Got event 0x00000225 with 200 bytes of data
03-22 11:04:02.487  1115  1484 I nanohub : osLog: [WifiLocator] incoming scan 0x20028ea0
03-22 11:04:02.488  1115  1484 I nanohub : osLog: [WifiLocator] wifi position success (21m)
03-22 11:04:02.490  1115  1484 I nanohub : osLog: [CellLocator] incoming scan 0x20028dac
03-22 11:04:02.492  1115  1484 I nanohub : osLog: [CellLocator] cell position success (2649m)
03-22 11:04:02.494  1115  1484 I nanohub : osLog: [LocEng] Sending Scan Request with interval ~60 seconds, ~174 meters
03-22 11:04:02.496  1115  1484 I nanohub : osLog: [GeofencingEngine] LocationCallback: provider 1, accuracy 20 meters, 0 transitions
03-22 11:04:02.625  2847 28821 I GCoreUlr: Successfully inserted 1 locations
03-22 11:04:02.632  1115  1129 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{2265082 1829:com.dozuki.ifixit/u0a136} (pid=1829, uid=10136) that is not exported from uid 10083
03-22 11:04:02.844  1115  5406 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{2265082 1829:com.dozuki.ifixit/u0a136} (pid=1829, uid=10136) that is not exported from uid 10083
03-22 11:04:03.057  1115 30560 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{2265082 1829:com.dozuki.ifixit/u0a136} (pid=1829, uid=10136) that is not exported from uid 10083
03-22 11:04:03.272  1115  1128 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{2265082 1829:com.dozuki.ifixit/u0a136} (pid=1829, uid=10136) that is not exported from uid 10083
03-22 11:04:03.485  1115  5365 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{2265082 1829:com.dozuki.ifixit/u0a136} (pid=1829, uid=10136) that is not exported from uid 10083
03-22 11:04:03.698  1115 13212 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{2265082 1829:com.dozuki.ifixit/u0a136} (pid=1829, uid=10136) that is not exported from uid 10083
03-22 11:04:03.890  1115  4705 D DhcpClient: Received packet: 28:cf:da:e2:67:56 ACK: your new IP /192.168.40.148, netmask /255.255.0.0, gateways [/192.168.41.2] DNS servers: /8.8.8.8 /8.8.4.4 , lease time 86400
03-22 11:04:03.913  1115  4944 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{2265082 1829:com.do


From #266 (comment):


Samsung G S3, 4.4.2

Problem with using camera in app (also happens with Media Manager)

  1. Choose to create a guide
  2. On the initial step edit, choose to add an image
  3. Choose Camera
  4. Take an image
  5. See error message: img_2264
W/QCameraHWI_Preview(  181): Debug : virtual void android::QCameraStream_preview::stop() : Preview streaming Stopped                                                                                          [186/1820
V/Sensors (  763): setDelay - sensor Accelerometer (handle 4), rate 66 ms (15.15 Hz)
E/Sensors (  763): activatePendingSensors : mEnabled = 10
E/Sensors (  763): requested_sensors(70) from kernel
E/mm-camera(  181): mm_camera_ch_fn: MM_CAMERA_STATE_EVT_UNREG_BUF
W/QCameraHWI_Preview(  181): Debug : virtual void android::QCameraStream_preview::stop() : Buffer Unprepared
W/QCameraHWI_Preview(  181):  put buffer 0 successfully
D/PowerManagerService(  763): [api] applyWakeLockFlagsOnReleaseLocked : userActivityNoUpdateLocked is called : SCREEN_BRIGHT_WAKE_LOCK        'AbstractCameraActivity' ON_AFTER_RELEASE (uid=10128, pid=12035, ws=null)
(elapsedTime=7247)
W/WindowManager(  763): Force-removing child win Window{43069df8 u0 SurfaceView} from container Window{430338c0 u0 com.sec.android.app.camera/com.sec.android.app.camera.Camera}
I/SurfaceFlinger(  178): id=204 Removed TurfaceView (11/16)
I/SurfaceFlinger(  178): id=204 Removed TurfaceView (-2/16)
W/QCameraHWI_Preview(  181):  put buffer 1 successfully
D/KeyguardUpdateMonitor(  981): sendKeyguardVisibilityChanged(true)
D/KeyguardUpdateMonitor(  981): handleKeyguardVisibilityChanged(1)
W/QCameraHWI_Preview(  181):  put buffer 2 successfully
W/QCameraHWI_Preview(  181): virtual void android::QCameraStream_preview::stop(): X
W/QCameraHWI(  181): <DEBUG><845>myMode = 9, ZSL mode = 8
W/QCameraHWI_Still(  181): stopPolling
E/Sensors (  763): activatePendingSensors : mEnabled = 10
E/Sensors (  763): requested_sensors(70) from kernel
E/mm-camera(  436): config_v4l2_request, type = 2
E/mm-camera(  436): config_v4l2_request, type = 2
E/mm-camera(  436): config_CAMERA_STOP_ZSL:, ctrl->state = 5
E/mm-camera(  436): config_CAMERA_STOP_ZSL: return ctrlCmd->status = 1
E/mm-camera(  436): config_MSM_V4L2_STREAM_OFF: Calling zoom_set_parms for MODE
E/mm-camera(  436): config_MSG_ID_STOP_ACK: ctrlCmd->type 2
E/mm-camera(  436): sending CTRL_CMD_DONE to kernel!, length = 0, status = 1
E/mm-camera(  436): config_MSG_ID_STOP_ACK: new ctrl->state is 0
W/QCameraHWI_Still(  181): void android::QCameraStream_Snapshot::deInitBuffer(): E
E/mm-camera(  181): mm_camera_ch_fn: MM_CAMERA_STATE_EVT_UNREG_BUF
W/QCameraHWI(  181): Release 0xb857c684
E/QCameraHWI(  181): heap->fd[0]=74, heap->camera_memory[0]=0xb8552d10, Release 0xe662c540
E/QCameraHWI(  181): heap->fd[1]=77, heap->camera_memory[1]=0xb8552df0, Release 0xe662cfc0
I/ServiceKeeper(  763): In getseinfo pid = 763 uid = 1000 seinfo= system
E/QCameraHWI(  181): heap->fd[2]=80, heap->camera_memory[2]=0xb85785e8, Release 0xdbf12a80
E/QCameraHWI(  181): heap->fd[3]=83, heap->camera_memory[3]=0xb85786c8, Release 0xdbf12680
E/QCameraHWI(  181): heap->fd[4]=86, heap->camera_memory[4]=0xb85787a8, Release 0xe307bb80
W/QCameraHWI(  181): Release 0xb857c994
E/QCameraHWI(  181): heap->fd[0]=89, heap->camera_memory[0]=0xb8551a40, Release 0xe307b240
E/QCameraHWI(  181): heap->fd[1]=92, heap->camera_memory[1]=0xb8551b20, Release 0xe5d340c0
E/QCameraHWI(  181): heap->fd[2]=95, heap->camera_memory[2]=0xb8551c00, Release 0xe4ba7380
E/QCameraHWI(  181): heap->fd[3]=98, heap->camera_memory[3]=0xb8551ce0, Release 0xe4908100
E/QCameraHWI(  181): heap->fd[4]=101, heap->camera_memory[4]=0xb854bfd0, Release 0xe35a9c40
W/QCameraHWI(  181): Release 0xb857cfb4
E/QCameraHWI(  181): heap->fd[0]=68, heap->camera_memory[0]=0xb858e240, Release 0xe1fa2d40
D/SecCameraCoreManager(  181): cancelPicture
W/QualcommCamera2(  181): Q int android::cancel_picture(camera_device*): E
D/SecCameraCoreManager(  181): release
D/SecCameraCoreManager(  181): virtual void android::SecCameraCoreManager::release(): release IT policy checking thread
W/QualcommCamera2(  181): Q void android::release(camera_device*): E
D/SecCameraCoreManager(  181): setPreviewWindow
W/QCameraHWI(  181): [setPreviewWindow:3007] E mPreviewState = 0, mStreamDisplay = 0x0xb8582228
W/QCameraHWI(  181): android::status_t android::QCameraHardwareInterface::setPreviewWindow(preview_stream_ops_t*):Received Setting NULL preview window
W/QCameraHWI(  181): android::status_t android::QCameraHardwareInterface::setPreviewWindow(preview_stream_ops_t*): mPreviewWindow = 0x0x0, mStreamDisplay = 0x0xb8582228
W/QCameraHWI_Preview(  181):  setPreviewWindow: E
W/QCameraHWI_Preview(  181):  Setting NULL preview window
W/QCameraHWI(  181):  setPreviewWindow : X, mPreviewState = 0
D/SecCameraCoreManager(  181): SecCameraCoreManager destroyed: pid=181
I/ShotSingle(  181): ShotSingle destroyed: pid=181
I/ShotSingle(  181): Wait for compressed image callback to be done.
I/ShotSingle(  181): Wait done. (0s. 0ms.) with [0, 0]
I/ShotCommon(  181): ShotCommon destroyed: pid=181
D/SecCameraCoreManager(  181): SecCameraCoreManager destroyed: before mHardware.clear()
I/SecCameraCoreManager(  181): Destroying camera 0
W/QualcommCamera2(  181): Q int android::close_camera_device(hw_device_t*): device =0xb8567cd8 E
W/QCameraHWI_Preview(  181): virtual void android::QCameraStream_preview::release() : BEGIN
W/QCameraHWI_Preview(  181): Debug : virtual void android::QCameraStream_preview::release() : De init Channel
W/QCameraHWI_Preview(  181): virtual void android::QCameraStream_preview::release(): END
W/QCameraHWI(  181): virtual android::QCameraHardwareInterface::~QCameraHardwareInterface():Before lock
W/QCameraHWI(  181): virtual android::QCameraHardwareInterface::~QCameraHardwareInterface():After lock
W/QCameraHWI(  181): Release 0xb857b58c
E/QCameraHWI(  181): heap->fd[0]=71, heap->camera_memory[0]=0xb8576f98, Release 0xe1afaa80
E/mm-camera(  181): mm_camera_poll_proc_pipe: handling MM_CAMERA_PIPE_CMD_EXIT
I/SurfaceFlinger(  178): id=203 Removed TurfaceView (10/15)
I/SurfaceFlinger(  178): id=203 Removed TurfaceView (-2/15)
E/mm-camera(  181): mm_camera_close : Close Threads in Cam Close
E/mm-camera(  181): mm_camera_poll_proc_pipe: handling MM_CAMERA_PIPE_CMD_EXIT
E/mm-camera(  181): mm_camera_poll_proc_pipe: handling MM_CAMERA_PIPE_CMD_EXIT
E/mm-camera(  181): mm_camera_poll_proc_pipe: handling MM_CAMERA_PIPE_CMD_EXIT
E/mm-camera(  181): mm_camera_poll_proc_pipe: handling MM_CAMERA_PIPE_CMD_EXIT
E/mm-camera(  181): mm_camera_poll_proc_pipe: handling MM_CAMERA_PIPE_CMD_EXIT
W/WindowManager(  763): Force-removing child win Window{43044de8 u0 SurfaceView} from container Window{430338c0 u0 com.sec.android.app.camera/com.sec.android.app.camera.Camera}
D/KeyguardUpdateMonitor(  981): sendKeyguardVisibilityChanged(true)
D/KeyguardUpdateMonitor(  981): handleKeyguardVisibilityChanged(1)
I/SurfaceFlinger(  178): id=202 Removed Damera (10/14)
I/SurfaceFlinger(  178): id=202 Removed Damera (-2/14)
I/SurfaceFlinger(  178): id=202 Removed Damera (-2/14)
D/KeyguardUpdateMonitor(  981): sendKeyguardVisibilityChanged(true)
D/KeyguardUpdateMonitor(  981): handleKeyguardVisibilityChanged(1)
I/ServiceKeeper(  763): In getseinfo pid = 763 uid = 1000 seinfo= system
W/WindowManager(  763): Failed looking up window
W/WindowManager(  763): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@42a152a8 does not exist
W/WindowManager(  763):         at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9928)
W/WindowManager(  763):         at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9919)
W/WindowManager(  763):         at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1495)
W/WindowManager(  763):         at android.os.BinderProxy.sendDeathNotice(Binder.java:493)
W/WindowManager(  763):         at dalvik.system.NativeStart.run(Native Method)
I/WindowState(  763): WIN DEATH: null
W/WindowManager(  763): Failed looking up window
W/WindowManager(  763): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@42ce5b40 does not exist
W/WindowManager(  763):         at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9928)
W/WindowManager(  763):         at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9919)
W/WindowManager(  763):         at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1495)
W/WindowManager(  763):         at android.os.BinderProxy.sendDeathNotice(Binder.java:493)
W/WindowManager(  763):         at dalvik.system.NativeStart.run(Native Method)
E/mm-camera(  181): mm_camera_close: ds_fd = 33
E/mm-camera(  181): mm_camera_socket_close: fd = 33
I/WindowState(  763): WIN DEATH: null
D/SecCameraCoreManager(  181): SecCameraCoreManager destroyed: after mHardware.clear()
V/MediaPlayer(  181): disconnect
V/MediaPlayerService(  181): disconnect(2) from pid 12035
V/StagefrightPlayer(  181): reset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions