ananjaser1211 / FloydQ_Reports

BUG Reporting for Exynos8890 OneUI 2.0 Project
57 stars 7 forks source link

[BUG] Can't access camera, you must restart phone #221

Closed jucasowi closed 3 years ago

jucasowi commented 3 years ago

Describe the bug The camera stop working and you must restart the phone. I saw that if you not open Facebook, tik tok, etc... the camera works. I am not quite sure about that but I think that apk that uses camera makes the error.

ananjaser1211 commented 3 years ago

Send me your data/log and data/tombstones

jucasowi commented 3 years ago

How can I give you that information?

ananjaser1211 commented 3 years ago

@jucasowi Use fx explorer for example. Grant it root and copy these files.

Assuming the errors where not overwritten the crash might be recorded there.

However in the future whenever this happens. Don't reboot your phone and run logcat_all from the logging kit. More info is on the first page of this repo

jucasowi commented 3 years ago

I didn't root my phone, because I use it for pay and I am not sure if it works with rooted devide. Is it another way to take the files? like recovery or ADB?

ananjaser1211 commented 3 years ago

@jucasowi You can copy these files to your sdcard via recovery file manager. In advanced > file manager

jucasowi commented 3 years ago

I couldn't found the data/log and data/tombstones. The log is attached.

Log_cat.txt

reaitten commented 3 years ago

I recently had this problem. Here is a screen recording of it happening w/ logs. I hope this helps.

https://drive.google.com/u/0/uc?id=1wHhL1inRUCgH635UAv5dYPs6-zWBecOY&export=open Log_2020-12-06_16-02-32.txt

verbose: Log_2020-12-06_16-22-47.txt debug: Log_2020-12-06_16-23-52.txt data/tombstones + data/log https://drive.google.com/file/d/14n7beA-kOtOIoSYW9S1iG8xFEKzE99mJ/view?usp=sharing

(sorry gdrive links are dead, I lost access to them due to a stupid mistake on my end.)

ananjaser1211 commented 3 years ago

Thanks for the logs.

This is caused by double mutex locks

 ` #00 pc 000a7e2e  /apex/com.android.runtime/lib/bionic/libc.so (pthread_mutex_lock+6) (BuildId: 51d80220c9e0c42255369657a8641799)`

the patch i made in V5 seems to not fix this fully as seen by signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c

i will work on implementing another patch