[Xiaomi Mi 2] caesun:
camera crash log

camera crash log.

06-27 11:16:45.574 514 582 I ActivityManager: Start proc 16308:com.android.camera2/u0a53 for activity com.android.camera2/com.android.camera.CameraLauncher
06-27 11:16:45.592 16308 16308 I Zygote : seccomp disabled by setenforce 0
06-27 11:16:45.608 16308 16308 E android.camera: Not starting debugger since process cannot load the jdwp agent.
06-27 11:16:45.599 1473 1473 I mpdecision: type=1400 audit(0.0:1477): avc: denied { write } for name="online" dev="sysfs" ino=3473 scontext=u:r:init:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=1
06-27 11:16:45.637 514 1595 D CompatibilityInfo: mCompatibilityFlags - 10
06-27 11:16:45.637 514 1595 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:45.637 514 1595 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:45.654 514 1595 D CompatibilityInfo: mCompatibilityFlags - 10
06-27 11:16:45.654 514 1595 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:45.655 514 1595 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:45.692 16308 16308 I android.camera: The ClassLoaderContext is a special shared library.
06-27 11:16:45.806 16308 16308 W SoundPool: Use of stream types is deprecated for operations other than volume control
06-27 11:16:45.806 16308 16308 W SoundPool: See the documentation of SoundPool() for what to use instead with android.media.AudioAttributes to qualify your playback use case
06-27 11:16:45.807 16308 16308 I CAM_OneCamFtrCnfgCrtr: CaptureModule? true
06-27 11:16:45.847 16308 16308 I CAM_Profiler: [ 75.439ms][ui] GUARD: CameraActivity.onCreateTasks - [30.365ms] Glide.setup
06-27 11:16:45.872 16308 16308 E SoundPool: error loading /product/media/audio/ui/camera_click.ogg
06-27 11:16:45.873 16308 16308 I CameraManagerGlobal: Connecting to camera service
06-27 11:16:45.869 16308 16308 I android.camera2: type=1400 audit(0.0:1479): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=6467 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=1
06-27 11:16:45.907 16308 16339 I OMXClient: IOmx service obtained
06-27 11:16:45.908 384 512 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in <unknown> process
06-27 11:16:45.911 16308 16308 I CAM_Profiler: [139.130ms][ui] GUARD: CameraActivity.onCreateTasks - [17.609ms] computePictureSizes
06-27 11:16:45.917 384 512 E OMXNodeInstance: getConfig(0xb551d8a0:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
06-27 11:16:45.925 310 310 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0xb4c96170, 32768)
06-27 11:16:45.947 310 310 I chatty : uid=1000(system) /system/bin/hw/android.hidl.allocator@1.0-service identical 6 lines
06-27 11:16:45.949 310 310 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0xb4c96170, 32768)
06-27 11:16:45.950 16308 16308 D OpenGLRenderer: Skia GL Pipeline
06-27 11:16:45.971 310 310 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0xb4c96170, 32768)
06-27 11:16:45.973 310 310 I chatty : uid=1000(system) /system/bin/hw/android.hidl.allocator@1.0-service identical 2 lines
06-27 11:16:45.974 310 310 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0xb4c96170, 32768)
06-27 11:16:45.985 16308 16308 W CAM_Log : Tag RoundedThumbnailView is 1 chars longer than limit.
06-27 11:16:46.133 514 582 I ActivityManager: Start proc 16343:com.google.android.gms.persistent/u0a25 for service com.google.android.gms/com.google.android.contextmanager.service.ContextManagerService
06-27 11:16:46.168 16343 16343 I Zygote : seccomp disabled by setenforce 0
06-27 11:16:46.183 16343 16343 E .gms.persisten: Not starting debugger since process cannot load the jdwp agent.
06-27 11:16:46.187 16308 16308 I CAM_Profiler: [415.344ms][ui] GUARD: CameraActivity.onCreateTasks - [269.623ms] setContentView()
06-27 11:16:46.196 1873 1942 I Finsky : [118] jfe.run(3): Stats for Executor: bgExecutor jgr@78af06c[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 31]
06-27 11:16:46.208 1612 1612 W LauncherTransition: Failed to animate, surface got destroyed.
06-27 11:16:46.217 514 786 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.217 514 786 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.217 514 786 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.223 16308 16308 I CAM_Profiler: [451.202ms][ui] GUARD: CameraActivity.onCreateTasks - [35.858ms] Configure Camera UI
06-27 11:16:46.226 514 786 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.226 514 786 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.226 514 786 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.233 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.233 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.233 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.234 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.234 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.234 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.236 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.236 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.236 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.238 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.238 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.238 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.239 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.239 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.239 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.241 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.241 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.241 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.243 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.243 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.243 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.244 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.244 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.244 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.245 16308 16332 W CAM2PORT_AndCamAgntImp: Releasing camera without any camera opened.
06-27 11:16:46.245 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.245 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.245 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.247 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.247 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.247 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.248 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.248 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.248 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.250 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.250 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.250 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.253 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.253 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.253 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.256 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.256 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.256 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.257 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.257 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.257 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.258 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.258 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.258 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.262 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.262 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.262 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.268 514 578 D CompatibilityInfo: mCompatibilityFlags - 0
06-27 11:16:46.268 514 578 D CompatibilityInfo: applicationDensity - 320
06-27 11:16:46.268 514 578 D CompatibilityInfo: applicationScale - 1.0
06-27 11:16:46.277 16308 16308 D AndroidRuntime: Shutting down VM
06-27 11:16:46.279 16308 16308 E AndroidRuntime: FATAL EXCEPTION: main
06-27 11:16:46.279 16308 16308 E AndroidRuntime: Process: com.android.camera2, PID: 16308
06-27 11:16:46.279 16308 16308 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}: java.lang.RuntimeException: Camera is being used after Camera.release() was called
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2914)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3049)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1809)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6692)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: Caused by: java.lang.RuntimeException: Camera is being used after Camera.release() was called
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.hardware.Camera._enableShutterSound(Native Method)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.hardware.Camera.updateAppOpsPlayAudio(Camera.java:1870)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.hardware.Camera.initAppOps(Camera.java:661)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.hardware.Camera.<init>(Camera.java:654)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.hardware.Camera.getEmptyParameters(Camera.java:2268)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.hardware.camera2.legacy.LegacyMetadataMapper.createCharacteristics(LegacyMetadataMapper.java:151)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:277)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.camera.one.v2.Camera2OneCameraManagerImpl.findFirstCameraIdFacing(Camera2OneCameraManagerImpl.java:159)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.camera.one.v2.Camera2OneCameraManagerImpl.findFirstBackCameraId(Camera2OneCameraManagerImpl.java:135)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.camera.one.v2.Camera2OneCameraManagerImpl.findCameraId(Camera2OneCameraManagerImpl.java:128)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.camera.one.v2.Camera2OneCameraManagerImpl.findFirstCameraFacing(Camera2OneCameraManagerImpl.java:102)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.camera.CaptureModule.updateCameraCharacteristics(CaptureModule.java:390)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.camera.CaptureModule.init(CaptureModule.java:417)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.camera.CameraActivity.onCreateTasks(CameraActivity.java:1627)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at com.android.camera.util.QuickActivity.onCreate(QuickActivity.java:114)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7136)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7127)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2894)
06-27 11:16:46.279 16308 16308 E AndroidRuntime: ... 11 more
06-27 11:16:46.283 514 8598 W ActivityManager: Force finishing activity com.android.camera2/com.android.camera.CameraLauncher