Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BCR Module crashes camera video recording #614

Open
MuhammadKasimov opened this issue Oct 17, 2024 · 3 comments
Open

BCR Module crashes camera video recording #614

MuhammadKasimov opened this issue Oct 17, 2024 · 3 comments
Assignees
Labels
bug/limitation elsewhere Bug/limitation in the ROM or another project

Comments

@MuhammadKasimov
Copy link

No description provided.

@chenxiaolong
Copy link
Owner

Sorry, I can't help without any details provided.

Please grab a logcat right after the crash and upload that.

@chenxiaolong chenxiaolong self-assigned this Oct 17, 2024
@SaganVadim
Copy link

type: crash
osVersion: Redmi/veux_global/veux:13/TKQ1.221114.001/V816.0.9.0.TKCMIXM:user/release-keys
package: com.android.camera:450030900
process: com.android.camera
processUptime: 1602 + 70 ms

io.reactivex.exceptions.OnErrorNotImplementedException: Error retrieving camcorder profile params
	at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:2)
	at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:1)
	at io.reactivex.internal.observers.ConsumerSingleObserver.onError(ConsumerSingleObserver.java:2)
	at io.reactivex.internal.operators.single.SingleDetach$DetachSingleObserver.onError(SingleDetach.java:4)
	at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onError(SingleMap.java:1)
	at io.reactivex.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:2)
	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:1)
	at android.os.Handler.handleCallback(Handler.java:959)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8732)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:585)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)
Caused by: java.lang.RuntimeException: Error retrieving camcorder profile params
	at android.media.CamcorderProfile.native_get_camcorder_profile(Native Method)
	at android.media.CamcorderProfile.get(CamcorderProfile.java:528)
	at com.android.camera.lib.compatibility.util.CompatibilityUtils.fetchCamcorderProfile(CompatibilityUtils.java:3)
	at com.android.camera.module.video.UserRecordSetting.fetchProfile(UserRecordSetting.java:1)
	at com.android.camera.module.video.UserRecordSetting.readVideoPreferences(UserRecordSetting.java:3)
	at com.android.camera.module.VideoModule.readVideoPreferences(VideoModule.java:1)
	at com.android.camera.module.VideoModule.onCameraOpened(VideoModule.java:7)
	at com.android.camera.module.VideoModule.onCreate(VideoModule.java:14)
	at com.android.camera.module.BaseModule.onGLAndCameraReady(BaseModule.java:1)
	at com.android.camera.module.loader.FunctionModuleSetup.apply(FunctionModuleSetup.java:33)
	at com.android.camera.module.loader.FunctionModuleSetup.apply(FunctionModuleSetup.java:1)
	at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onSuccess(SingleMap.java:1)
	at io.reactivex.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:3)
	at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:3)
	at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:1)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at com.xiaomi.camera.rx.CameraSchedulers$2.run(CameraSchedulers.java:3)
	at java.lang.Thread.run(Thread.java:1012)

@chenxiaolong
Copy link
Owner

That's interesting. Sadly, I have no idea what could possibly cause that. BCR doesn't even run in the background until you're in a call and the Magisk module doesn't touch any other app's files.

@chenxiaolong chenxiaolong added the bug/limitation elsewhere Bug/limitation in the ROM or another project label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/limitation elsewhere Bug/limitation in the ROM or another project
Projects
None yet
Development

No branches or pull requests

3 participants