Closed Bug 1181866 Opened 9 years ago Closed 9 years ago

QR code reader crashes Firefox on Nexus 5

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

42 Branch
ARM
Android
defect
Not set
normal

Tracking

(fennec41+)

RESOLVED DUPLICATE of bug 1182220
Tracking Status
fennec 41+ ---

People

(Reporter: lmandel, Assigned: karim)

Details

Nightly consistently appears to crash (still listed in app manager) when I select the QR icon in the awesomebar. I get the message "Unfortunately, CAA has stopped." Note that CAA is the app for the Canadian version of AAA.

Nightly 42.0a1 2015-07-08
Nexus 5 Android 5.1.1
OS: Unspecified → Android
Hardware: Unspecified → ARM
Version: unspecified → Firefox 42
Karim, can you look into this?
Assignee: nobody → kbenhmida
tracking-fennec: --- → ?
Flags: needinfo?(kbenhmida)
tracking-fennec: ? → 41+
(In reply to :Margaret Leibovic from comment #1)
> Karim, can you look into this?

Yes. liuche ordered a Nexus 5, I'll look into it once we get the phone.
Flags: needinfo?(kbenhmida)
Can you attach a video of this? I'm trying to understand when exactly the crash occurs.
Flags: needinfo?(lmandel)
Sorry about the video being flipped. https://youtu.be/0tz2I3IKmPU
Flags: needinfo?(lmandel)
Thanks for the video. One last question: Do you have the Barcode Scanner app (by ZXing) installed on your phone?
Flags: needinfo?(lmandel)
(In reply to Karim Benhmida (:karim) from comment #6)
> Thanks for the video. One last question: Do you have the Barcode Scanner app
> (by ZXing) installed on your phone?

No, I didn't. Installing it causes Android to prompt me to complete the action with CAA or Barcode Scanner. Looks like CAA is crashing in this case.

With both apps installed, when CAA crashes I am returned to Fennec at the awesomescreen. When only CAA is installed (and it is therefore the default intent handler),  when CAA crashes I am returned to the Android homescreen.
Flags: needinfo?(lmandel)
Can you pull down the commit below and tell me if you still have this issue? (I wasn't able to reproduce it, as I need a Canadian Play Store account to download the CAA app).

hg pull -r dcda45d7820d71399d31ef695b323dfaf203d873 https://reviewboard-hg.mozilla.org/gecko/
Flags: needinfo?(lmandel)
(In reply to Karim Benhmida (:karim) from comment #8)
> Can you pull down the commit below and tell me if you still have this issue?
> (I wasn't able to reproduce it, as I need a Canadian Play Store account to
> download the CAA app).
> 
> hg pull -r dcda45d7820d71399d31ef695b323dfaf203d873
> https://reviewboard-hg.mozilla.org/gecko/

This Try build might be easier to get:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=dcda45d7820d
You can download and test with this apk: http://d.pr/f/12sTl
Same results with the build linked in comment 10 as I reported in the description.
Flags: needinfo?(lmandel)
(In reply to Lawrence Mandel [:lmandel] (use needinfo) from comment #11)
> Same results with the build linked in comment 10 as I reported in the
> description.

Is it possible for you to get a log via ADB?
Flags: needinfo?(lmandel)
I just tested and realized that I gave you the wrong build (I probably wasn't in the right commit when I packaged). Anyway, try with this one : http://d.pr/f/19wAD
I've been able to download the CAA app and test, and this build fixes it for me (You shouldn't see the QR code icon unless you have the ZXing barcode scanner).
Flags: needinfo?(lmandel)
Flags: needinfo?(lmandel)
This bug would occur because CAA registers as a QR code reader. Fixed by Bug 1182220 - QR Code reader should only support ZXing barcode scanner.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(lmandel)
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.