focus-android icon indicating copy to clipboard operation
focus-android copied to clipboard

[Android 5] Focus crashes when camera is allowed on Xiaomi mi4i

Open lobontiumira opened this issue 3 years ago • 17 comments

Steps to reproduce

  1. Go to https://mozilla.github.io/webrtc-landing/gum_test.html.
  2. Tap on Camera & microphone button.
  3. The "Allow the site to use your camera and microphone?" prompt is displayed. Select "Allow".

Expected behavior

The video starts.

Actual behavior

Focus crashes.

Device information

  • Android device: Xiaomi mi4i (Android 5.0.2)
  • NOT reproducible on Samsung Galaxy Tab A6 (Android 5.1.1), nor on Lenovo Tablet M10 (Android 10), Oppo Reno 6 (Android 12)
  • Focus versions: RC 101.1.0, Beta 101.0.0-beta.6, and Focus Nightly 102.0a1 (build 361440509, GV 102.0a1-20220523095244)
  • Fenix Nightly 102.0a1 (build 2015882281), AC 102.0.20220524015637
  • Logcat
  • Crash details: https://crash-stats.mozilla.org/report/index/afb8b7ee-c691-4991-a76c-236590220524
  • Short video:

https://user-images.githubusercontent.com/40694158/170031788-48d77d44-16da-4cc5-980a-20f106bf7923.mp4

lobontiumira avatar May 24 '22 12:05 lobontiumira

@lobontiumira Is the crash specific for Android only?

amedyne avatar May 24 '22 12:05 amedyne

@amedyne I don't have an iOS device to test. So far is happening only on Android 5, more specific on Xiaomi.

lobontiumira avatar May 24 '22 12:05 lobontiumira

As @lobontiumira confirmed this also happens for Fenix, I've opened a bug for tracking the issue in Bugzilla.

mcarare avatar May 24 '22 13:05 mcarare

I investigated a little more on this crash, and it seems this crash is reproducing on the Xiaomi device from the implementation of the camera permissions on Focus Nightly, the build from 4/6 (build 360961708 with GV 101.0a1-20220405094056).

I'll investigate more on Fenix, hoping to find a regression range.

lobontiumira avatar May 25 '22 07:05 lobontiumira

I've found #15316 from Fenix repo.

lobontiumira avatar May 25 '22 08:05 lobontiumira

Reproducible on the same Xiaomi mi4i (Android 5.0.2) device on Beta 102.0.0-beta.5.

lobontiumira avatar Jun 16 '22 09:06 lobontiumira

Reproducible on the same Xiaomi mi4i (Android 5.0.2) device on RC 102.1.0.

lobontiumira avatar Jun 21 '22 11:06 lobontiumira

Reproducible on the same Xiaomi mi4i (Android 5.0.2) device on Beta 103.0.0-beta.1.

lobontiumira avatar Jun 29 '22 08:06 lobontiumira

Waiting for a resolution from GV - https://bugzilla.mozilla.org/show_bug.cgi?id=1770940

Mugurell avatar Jul 04 '22 11:07 Mugurell

Reproducible on the same Xiaomi mi4i (Android 5.0.2) device on RC 102.2.0.

lobontiumira avatar Jul 06 '22 07:07 lobontiumira

Still reproducible on the Xiaomi mi4i (Android 5.0.2) device on Beta 103.0.0-beta.5.

lobontiumira avatar Jul 15 '22 12:07 lobontiumira

Reproducible with the Xiaomi mi4i (Android 5.0.2) device, on the Beta 104.0b1 build.

lobontiumira avatar Jul 27 '22 08:07 lobontiumira

Reproducible with the Xiaomi mi4i (Android 5.0.2) device, on the Beta 105.0b3 build.

lobontiumira avatar Aug 29 '22 12:08 lobontiumira

Reproducible with the Xiaomi mi4i (Android 5.0.2) device, on the Beta 105.0b4 build.

lobontiumira avatar Sep 02 '22 07:09 lobontiumira

Reproducible with the Xiaomi mi4i (Android 5.0.2) device, on the Beta 105.0b5 build.

lobontiumira avatar Sep 05 '22 09:09 lobontiumira

Reproducible on the latest Beta 105.0b6 build, and RC 104.2.0 with the same Xiaomi mi4i (Android 5.0.2) device.

lobontiumira avatar Sep 09 '22 08:09 lobontiumira

Reproducible on the latest RC 105.1.0 build 2 with the same Xiaomi mi4i (Android 5.0.2) device.

lobontiumira avatar Sep 16 '22 06:09 lobontiumira

Verified as fixed on Focus Nightly 108.0a1 with Xiaomi mi4i (Android 5.0.2). Still reproducible on Beta 107.0b1 with the same device.

lobontiumira avatar Oct 19 '22 07:10 lobontiumira

Verified as fixed on the Beta 107.0b2 build with Xiaomi mi4i (Android 5.0.2).

lobontiumira avatar Oct 21 '22 06:10 lobontiumira